Did {Miles_Davis} {record label} {RCA Records} and {Capitol Records} ?
WHO recorded and tagged the RCA and Capitol Records?
Did Miles Davis record and label the RCA and Capitol Records?
ASK WHERE { resource:Miles_Davis property:record_label resource:Capitol_Records . resource:Miles_Davis property:record_label resource:RCA_Records }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q93341> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P264> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q202585>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q93341> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P264> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q193023>. } 
ASK WHERE { wd:Q93341 wdt:P264 wd:Q202585 . wd:Q93341 wdt:P264 wd:Q193023 }