What is {member of sports team} of {Gheorghe Hagi} and {number of matches played}
What sports group is Gheorghe Hagi a member of and how many suits did he play?
What sports team is Gheorghe Hagi a member of and how many matches did he play?
SELECT ?e ?n WHERE { resource:Gheorghe_Hagi property:member_of_sports_team ?h . ?h property:number_of_matches_played/races/starts ?e . . ?h property:member_of_sports_team ?n }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q189892> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P54> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q189892 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P1350 ?value1 . }