query-20f0e20087fc16ea69624d61353d346d

rq turtle/ttl

Connecting house and street?What are currently the best practices for is located on this street?Q2497365 to indicate that Q109392385Reciprocal relation: Do we currently indicate which buildings are located on a certain street, and, if yes, which property do we use on );Q109392385 to indicate it is located on Q2497365, this is not what I am looking for; I am asking about the best property which I can use on Property:P6375Indicating at the item of the building which street it is on (I am aware of a lot. See i.e.(P669)located on street I use 12:29, 5 November 2021 (UTC)) talk (Jklamo for example). --User:Jklamo/Domy/Ulice. I am not aware of reciprocal relations, use queries for that (see (P669)located on street Use simply 12:22, 5 November 2021 (UTC)) talk (YmblanterThanks--

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 ?Nyhavn ?NyhavnLabel ?billede WHERE {
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   ?Nyhavn wdt:P669 wd:Q943946.
   ?Nyhavn wdt:P31 wd:Q41176.
   OPTIONAL { ?Nyhavn wdt:P18 ?billede. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?Nyhavn"):::projected v2("?billede"):::projected c2(["bd:serviceParam"]):::iri c6(["wd:Q943946"]):::iri c8(["wd:Q41176"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P669"--> c6 v1 --"wdt:P31"--> c8 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v2 end