query-0455acf870162ecb2872d3932373dc48

rq turtle/ttl

Ponts del Túria (nou i vell) amb article SELECT DISTINCT ?pont ?pontLabel ?article WHERE { VALUES ?turia {wd:Q20118 wd:Q2713406} ?pont wdt:P31/wdt:P279* wd:Q12280. ?pont wdt:P177 ?turia. ?article schema:about ?pont. ?article schema:isPartOf https://ca.wikipedia.org/. SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es,fr".}
}

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Ponts del Túria (nou i vell) amb article
SELECT DISTINCT ?pont ?pontLabel ?article WHERE {
  VALUES ?turia {wd:Q20118 wd:Q2713406}
  ?pont wdt:P31/wdt:P279* wd:Q12280.
  ?pont wdt:P177 ?turia.
  ?article schema:about ?pont.
  ?article schema:isPartOf <https://ca.wikipedia.org/>.
SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es,fr".}      
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?article"):::projected v2("?pont"):::projected v1("?turia") a1((" ")) c9(["bd:serviceParam"]):::iri c3(["wd:Q12280"]):::iri c11(["#91;AUTO_LANGUAGE#93;,ca,en,es,fr"]):::literal c7([https://ca.wikipedia.org/]):::iri bind0[/VALUES ?turia/] bind0-->v1 bind00(["wd:Q20118"]) bind00 --> bind0 bind01(["wd:Q2713406"]) bind01 --> bind0 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P177"--> v1 v3 --"schema:about"--> v2 v3 --"schema:isPartOf"--> c7 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end