query-9f285b432ee3bca3a0e96f00c71e6c66

rq turtle/ttl

Reports

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q194356> 

SELECT DISTINCT
  ?report ?reportLabel
  (CONCAT("#eiareport/", SUBSTR(STR(?report), 32)) AS ?reportUrl)

  ("Scholia ↗" AS ?scholia)
  (CONCAT("https://scholia.toolforge.org/work/", SUBSTR(STR(?report), 32)) AS ?scholiaUrl) 
WHERE {
  ?report wdt:P31 wd:Q64548048 ;
          wdt:P921 / wdt:P31? target: .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?report"):::projected v2("?reportUrl") v3("?scholia") v4("?scholiaUrl") a1((" ")) c6(["bd:serviceParam"]):::iri c4(["wd:Q194356"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q64548048"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P921"--> a1 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; a1 --"wdt:P31"--> c4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; end union0r <== or ==> union0l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind0[/"concat('#eiareport/',substring(str(?report),'32^^xsd:integer'))"/] v1 --o bind0 bind0 --as--o v2 bind1[/"'Scholia ↗'"/] bind1 --as--o v3 bind2[/"concat('https://scholia.toolforge.org/work/',substring(str(?report),'32^^xsd:integer'))"/] v1 --o bind2 bind2 --as--o v4