Dreams:location: Difference between revisions

Jump to navigation Jump to search
Line 54: Line 54:
}}
}}


== Co-mentioned locations ==
== Samnævnte steder ==
{{SPARQL | query=
{{SPARQL | query=
PREFIX target: <https://dreams.wikibase.cloud/entity/Q306>
PREFIX target: <https://dreams.wikibase.cloud/entity/Q306>
Line 61: Line 61:


SELECT  
SELECT  
   (COUNT(?report) AS ?count)
   (COUNT(?rapport) AS ?count)
   ?location ?locationLabel
   ?sted ?stedLabel
   (CONCAT("#location/", SUBSTR(STR(?location), 38)) AS ?locationUrl)
   (CONCAT("#location/", SUBSTR(STR(?sted), 38)) AS ?stedUrl)
WHERE {
WHERE {
   ?report dreamst:P12 target: , ?location .
   ?rapport dreamst:P12 target: , ?sted .
   FILTER (target: != ?location)  
   FILTER (target: != ?sted)  
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],da,en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],da,en". }
}
}
GROUP BY ?location ?locationLabel ?locationUrl
GROUP BY ?sted ?stedLabel ?stedUrl
}}
}}


Navigation menu