query-83c47e9d559c4f28af3a7c1badcfc325
Propertiesconnecting line (P81)crosses (P177)carries (P2505)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?subject ?subjectLabel ?pedicateLabel ?p ?pLabel ?pedicate
WHERE
{
?subject ?p wd:Q819045.
# if you need wd + wdt
# VALUES ?p { wdt:P81 wdt:P177 wdt:P2505 }.
# ?pedicate wikibase:directClaim ?p.
# if you need wds + ps
VALUES ?p { ps:P81 ps:P177 ps:P2505 }.
?pedicate wikibase:statementProperty ?p.
SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
}
ORDER BY ?subject
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?p"):::projected
v3("?pedicate"):::projected
v1("?subject"):::projected
c6(["de"]):::literal
c1(["wd:Q819045"]):::iri
c4(["bd:serviceParam"]):::iri
v1 -->v3--> c1
bind0[/VALUES ?p/]
bind0-->v3
bind00(["ps:P81"])
bind00 --> bind0
bind01(["ps:P177"])
bind01 --> bind0
bind02(["ps:P2505"])
bind02 --> bind0
v3 --"wikibase:statementProperty"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end