query-f4ee3439bd468eb6ba6415792cb4c299
TODO
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?property ?propertyLabel WHERE
{
{
SELECT ?item ?property
WHERE
{
?item wdt:P31 wd:Q4167836.
?item ?ppp ?qqq.
?property wikibase:directClaim ?ppp .
filter (?property not in (wd:P31, wd:P4224, wd:P971) )
} limit 100 } 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;
v2("?item"):::projected
v3("?ppp")
v1("?property"):::projected
v4("?qqq")
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q4167836"]):::iri
f0[["?property != 'wd:P31'?property != 'wd:P4224'?property != 'wd:P971'"]]
f0 --> v1
v2 --"wdt:P31"--> c5
v2 -->v3--> v4
v1 --"wikibase:directClaim"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end