Dreams:projecttype-report-index

From DREAMS
Revision as of 15:07, 1 December 2022 by Fnielsen (talk | contribs) (Created page with "PREFIX target1: <https://dreams.wikibase.cloud/entity/Q5580> PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> SELECT ?project_type ?project_typeLabel (CONCAT("#projecttype/", SUBSTR(STR(?project_type), 38)) AS ?project_typeUrl) ?report ?reportLabel (CONCAT("#report/", SUBSTR(STR(?report), 38)) AS ?reportUrl) WHERE { ?project_type dreamst:P10* target1: . ?report dreamst:P2 / dreamst:P10* dr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PREFIX target1: <https://dreams.wikibase.cloud/entity/Q5580> PREFIX dreams: <https://dreams.wikibase.cloud/entity/> PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/>

SELECT

 ?project_type ?project_typeLabel
 (CONCAT("#projecttype/", SUBSTR(STR(?project_type), 38)) AS ?project_typeUrl)
 ?report ?reportLabel
 (CONCAT("#report/", SUBSTR(STR(?report), 38)) AS ?reportUrl)

WHERE {

 ?project_type dreamst:P10* target1: .
 ?report dreamst:P2 / dreamst:P10* dreams:Q8 ;   
         dreamst:P16 ?project_type .
 SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en,it". }

}