What is {school attended} of {Gerard Butler}, that has {IPv6 CIDR} is {2001:630:40::/48} ?
Which school did Gerard Butler go to?
Which school did Gerard Butler attend?
SELECT ?f WHERE { resource:Gerard_Butler property:educated_at ?f . ?f property:IPv6_routing_prefix ?n . FILTER ( CONTAINS ( ?n , '2001:630:40::/48' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q169982> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69>. ?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/P3793> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <2001:630:40::/48> . }
SELECT ?answer WHERE { wd:Q169982 wdt:P69 ?answer . ?answer wdt:P3793 ?x FILTER(contains(?x , '2001:630:40::/48'))}
University of Glasgow