So I have the following query I would like to extend:
SELECT ?item ?itemLabel ?p ?superItem ?superItemLabel
WHERE {
wd:Q146 (wdt:P279 | wdt:P31 | wdt:P361 )+ ?item.
?item ( wdt:P279 | wdt:P31 | wdt:P361) ?superItem.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
If you run it in the Wikidata Query Service you can see an empty column. There I would like to have the Property responsible for that specific link. So either wdt:P279
or wdt:P31
or wdt:P361
.
Is this somehow possible? And if yes how?