query-1efd78df5d470239f3739210c3957de4
Jan.zhouf
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 ?predicate ?propertyLabel ?propertyAltLabel ?object ?value
WHERE
{
wd:Q15 ?predicate ?object.
?property (wikibase:claim| wikibase:directClaim) ?predicate.
OPTIONAL
{
?property wikibase:statementProperty ?ps.
?object ?ps ?value.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "cs". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?object"):::projected
v1("?predicate"):::projected
v3("?property")
v4("?ps")
v5("?value"):::projected
c8(["cs"]):::literal
c6(["bd:serviceParam"]):::iri
c1(["wd:Q15"]):::iri
c1 -->v1--> v2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v3 --"wikibase:directClaim"--> v1
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"wikibase:claim"--> v1
end
union0r <== or ==> union0l
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wikibase:statementProperty".-> v4
v2 -->v4--> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end