Dreams:report: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 121: Line 121:
   SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". }
}
}
}}
== Citations ==
{{SPARQL | query=
PREFIX target: <https://dreams.wikibase.cloud/entity/Q100>
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
  ?wikidata_q ?wikidata
  ?cited (?title AS ?citedLabel)
WHERE {
  target: dreamst:P3 ?wikidata_q .
  BIND(IRI(CONCAT("http://www.wikidata.org/entity/", ?wikidata_q)) AS ?wikidata)
 
  SERVICE <https://query.wikidata.org/sparql> {
    ?wikidata wdt:P2860 ?cited .
    OPTIONAL {
      ?cited wdt:P1476 ?title .
    }
   
  }
}
}}
}}