which medical condition in fiction do both doctor watson and riley costello have?
Entity
m.063dqgy
Gun Shoot Wound
class entity entity
fictional_universe.medical_condition_in_fiction m.014_w4 m.0ds6_cc
fictional_universe.medical_condition_in_fiction cvg.game_character fictional_universe.fictional_character
Medical condition in fiction doctor watson Riley Costello
none none none
fictional_universe.medical_condition_in_fiction.characters_with_this_condition fictional_universe.medical_condition_in_fiction.characters_with_this_condition
Characters with this condition Characters with this condition
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :fictional_universe.medical_condition_in_fiction . 
VALUES ?x1 { :m.014_w4 } 
VALUES ?x2 { :m.0ds6_cc } 
?x0 :fictional_universe.medical_condition_in_fiction.characters_with_this_condition ?x1 . 
?x0 :fictional_universe.medical_condition_in_fiction.characters_with_this_condition ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND fictional_universe.medical_condition_in_fiction (AND (JOIN fictional_universe.medical_condition_in_fiction.characters_with_this_condition m.014_w4) (JOIN fictional_universe.medical_condition_in_fiction.characters_with_this_condition m.0ds6_cc)))