query-93bbf229e9f21285fea1bad04a553973
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?wdt_property ?wdt_propertyLabel ?p_property ?p_propertyLabel WHERE
{
wd:Q1 ?p_predicate ?statementLink .
?statementLink ?simplevalueLink ?simplevalue .
wd:Q1 ?wdt_predicate ?simplevalue.
?p_property wikibase:claim ?p_predicate .
?wdt_property wikibase:directClaim ?wdt_predicate .
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("?p_predicate")
v6("?p_property"):::projected
v4("?simplevalue")
v3("?simplevalueLink")
v2("?statementLink")
v5("?wdt_predicate")
v7("?wdt_property"):::projected
c5(["bd:serviceParam"]):::iri
c1(["wd:Q1"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c1 -->v1--> v2
v2 -->v3--> v4
c1 -->v5--> v4
v6 --"wikibase:claim"--> v1
v7 --"wikibase:directClaim"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end