query-4e4e4ea92783ab8859ce61c44872f2b2
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#>
#defaultView:Graph
SELECT ?item ?itemLabel ?linkTo
WHERE {
SERVICE bd:alp {
wd:Q3876594 ?pred ?item.
pathExpr true .
FILTER(?pred IN (wdt:P1327, wdt:P802, wdt:P1066, wdt:P26, wdt:P451, wdt:P22, wdt:P25, wdt:P40))
lowerBound 1 .
upperBound 6 .
bidirectional true .
}
?item (wdt:P1327|wdt:P802|wdt:P1066|wdt:P26|wdt:P451|wdt:P22|wdt:P25|wdt:P40) ?linkTo.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}