Dreams:author: Difference between revisions

From DREAMS
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
WHERE {
WHERE {
   ?report dreamst:P24 target: .
   ?report dreamst:P24 target: .
   BIND(CONCAT("#report/", SUBSTR(STR(?report)) AS ?reportUrl)
   BIND(CONCAT("#report/", SUBSTR(STR(?report), 38)) AS ?reportUrl)
   SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
}
}
}}
}}

Revision as of 15:19, 11 August 2022

Reports

PREFIX target: <https://dreams.wikibase.cloud/entity/Q222>
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 
  ?report ?reportLabel ?reportUrl
WHERE {
  ?report dreamst:P24 target: .
  BIND(CONCAT("#report/", SUBSTR(STR(?report), 38)) AS ?reportUrl)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
}