Dreams:pattern-index: Difference between revisions

From DREAMS
Jump to navigation Jump to search
(Created page with "== Effect patterns == {{SPARQL | query= }}")
 
No edit summary
Line 1: Line 1:
== Effect patterns ==
== Effect patterns ==
{{SPARQL | query=
{{SPARQL | query=
PREFIX dreams: <https://dreams.wikibase.cloud/entity/>
PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/>
PREFIX dreamsp: <https://dreams.wikibase.cloud/prop/>
PREFIX dreamspsv: <https://dreams.wikibase.cloud/prop/statement/value/>


SELECT
  ?effect ?effectLabel
  ?subject ?subjectLabel
  ?object ?objectLabel
  ?quote
  ?project_phase ?project_phaseLabel
  ?project_type ?project_typeLabel
  ?report
WHERE {
  ?effect dreamst:P2 dreams:Q263 ;
          dreamst:P33 ?subject ;
          dreamst:P34 ?object ;
          dreamst:P18 ?quote ;
          dreamst:P20 ?report .
  OPTIONAL { ?effect dreamst:P19 ?project_phase . }
  OPTIONAL { ?effect dreamst:P16 ?project_type . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
}
}}
}}

Revision as of 12:36, 11 August 2022

Effect patterns

PREFIX dreams: <https://dreams.wikibase.cloud/entity/>
PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/>
PREFIX dreamsp: <https://dreams.wikibase.cloud/prop/>
PREFIX dreamspsv: <https://dreams.wikibase.cloud/prop/statement/value/> 

SELECT
  ?effect ?effectLabel
  ?subject ?subjectLabel
  ?object ?objectLabel
  ?quote 
  ?project_phase ?project_phaseLabel
  ?project_type ?project_typeLabel
  ?report 
WHERE {
  ?effect dreamst:P2 dreams:Q263 ;
          dreamst:P33 ?subject ;
          dreamst:P34 ?object ;
          dreamst:P18 ?quote ;
          dreamst:P20 ?report .
  OPTIONAL { ?effect dreamst:P19 ?project_phase . }
  OPTIONAL { ?effect dreamst:P16 ?project_type . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
}