Dreams:projecttype-report-index

From DREAMS
Jump to navigation Jump to search

Rapporter

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

SELECT 
  ?projekttype ?projekttypeLabel
  (CONCAT("#projecttype/", SUBSTR(STR(?projekttype), 38)) AS ?projekttypeUrl)

  ?rapport ?rapportLabel
  (CONCAT("#report/", SUBSTR(STR(?rapport), 38)) AS ?rapportUrl)

WHERE {
  ?projekttype dreamst:P10* target: .
  ?rapport dreamst:P2 / dreamst:P10* dreams:Q8 ;   
          dreamst:P16 ?projekttype .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en,it". }
}