What is {member of sports team} of {Kenny Dalglish} and {number of matches played}
Of what sports group is Kenny Dalglish a part and how numerous matches has he played?
Of what sports team is Kenny Dalglish a member and how many matches has he played?
SELECT ?r ?z WHERE { resource:Kenny_Dalglish property:member_of_sports_team ?a . ?a property:member_of_sports_team ?z . ?a property:number_of_matches_played/races/starts ?r . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q187198> . ?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:Q187198 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P1350 ?value1 . }