What is <league> of <Ospreys> ?
[]
What league is the team Ospreys in?
SELECT DISTINCT ?j WHERE { resource:Ospreys property:league ?j }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1518257> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P118> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q1518257 wdt:P118 ?answer}
Pro14