What is the {trial} for {defendant} of {Lionel Messi}
What is Lionel Messi on trial for?
What is Lionel Messi on trial for?
SELECT DISTINCT ?o WHERE { ?o property:defendant resource:Lionel_Messi . ?o rdf:type ontology:trial }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1591> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q615> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q8016240> } 
 select distinct ?sbj where { ?sbj wdt:P1591 wd:Q615 . ?sbj wdt:P31 wd:Q8016240 } 
trial of Lionel and Jorge Messi