query-fc16a90a42d9512bf9d487d6f2fa39a5
Synia: Environmental impact assessment reports for topic
Use at
- https://query.wikidata.org/sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX target: <http://www.wikidata.org/entity/Q194356>
SELECT DISTINCT
?description ?descriptionUrl
?value ?valueUrl
?wikidata ?wikidataUrl
?scholia ?scholiaUrl
WHERE {
{
BIND(1 AS ?order)
BIND("Topic" AS ?description)
BIND("#topic" AS ?descriptionUrl)
BIND(target: AS ?iri)
BIND(SUBSTR(STR(?iri), 32) AS ?q)
?iri rdfs:label ?value_string .
FILTER (LANG(?value_string) = 'en')
BIND(COALESCE(?value_string, ?q) AS ?value)
BIND(CONCAT("#topic/", ?q) AS ?valueUrl)
BIND(CONCAT(?q, " ↗") AS ?wikidata)
BIND(CONCAT("https://www.wikidata.org/wiki/", ?q) AS ?wikidataUrl)
BIND("Scholia ↗" AS ?scholia)
BIND(CONCAT("https://scholia.toolforge.org/topic/", ?q) AS ?scholiaUrl)
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?description"):::projected
v4("?descriptionUrl"):::projected
v5("?iri")
v2("?order")
v6("?q")
v11("?scholia"):::projected
v12("?scholiaUrl"):::projected
v7("?value"):::projected
v8("?valueUrl"):::projected
v1("?value_string")
v9("?wikidata"):::projected
v10("?wikidataUrl"):::projected
f0[["?value_string = 'en'"]]
f0 --> v1
bind1[/"'1^^xsd:integer'"/]
bind1 --as--o v2
bind2[/"'Topic'"/]
bind2 --as--o v3
bind3[/"'#topic'"/]
bind3 --as--o v4
bind4[/"http://www.wikidata.org/entity/Q194356"/]
bind4 --as--o v5
bind5[/"substring(str(?iri),'32^^xsd:integer')"/]
v5 --o bind5
bind5 --as--o v6
v5 --"rdfs:label"--> v1
bind6[/"?value_string?q"/]
v1 --o bind6
v6 --o bind6
bind6 --as--o v7
bind7[/"concat('#topic/',?q)"/]
v6 --o bind7
bind7 --as--o v8
bind8[/"concat(?q,' ↗')"/]
v6 --o bind8
bind8 --as--o v9
bind9[/"concat('https://www.wikidata.org/wiki/',?q)"/]
v6 --o bind9
bind9 --as--o v10
bind10[/"'Scholia ↗'"/]
bind10 --as--o v11
bind11[/"concat('https://scholia.toolforge.org/topic/',?q)"/]
v6 --o bind11
bind11 --as--o v12