query-d3837ca5a0bab79c983702874bc43182

rq turtle/ttl

Connection between mineral water springs and water wellsDescribe how mineral water springs and water wells are connected in the model. is used. (P527)has part(s) Each mineral water deposits can have one or more water wells. For representation of this feature of the deposits the property  ⟩  Q126691227⟨  (P527)has part(s)  ⟩  Q126691224⟨   ⟩  Q126691226⟨  (P527)has part(s)  ⟩  Q126691224⟨   ⟩  Q126691225⟨  (P527)has part(s)  ⟩  Q126691224⟨  Query that presents all mineral water springs in Bulgaria and which are their water wells that they has part in:

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#>
SELECT ?spring ?well ?springLabel ?wellLabel WHERE {
  ?spring wdt:P31 wd:Q1365924;
          wdt:P17 wd:Q219;
          wdt:P527 ?well.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "bg,en,[AUTO_LANGUAGE]". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?spring"):::projected v2("?well"):::projected c7(["bd:serviceParam"]):::iri c4(["wd:Q219"]):::iri c9(["bg,en,#91;AUTO_LANGUAGE#93;"]):::literal c2(["wd:Q1365924"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P17"--> c4 v1 --"wdt:P527"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end