What is {sports} of {Leinster Rugby}, that has {OpenStreetMap key} is {Tag:sports=rugby_union} ?
What are the sports activities of Leinster Rugby whose OpenStreetMap key is Tag:sports=rugby_union?
What are the sports of Leinster Rugby whose OpenStreetMap key is Tag:sports=rugby_union?
SELECT ?n WHERE { FILTER ( CONTAINS ( ?w , 'Tag:sport=rugby_union' ) ) . ?n property:OpenStreetMap_tag_or_key ?w . resource:Leinster_Rugby property:sport ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1473374> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P641>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1282> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Tag:sport=rugby_union> . }
SELECT ?answer WHERE { wd:Q1473374 wdt:P641 ?answer . ?answer wdt:P1282 ?x FILTER(contains(?x , 'Tag:sport=rugby_union'))}
rugby union