Simple Question (Direct)
Simple Question
Q1684748
P106
Q12737077
USER
What are the professions of Jean-Claude Drouot ?
(Q1684748,P106,c(Q12737077))
action filter_type
action find
entity Q1684748
relation P106
type Q12737077
['Q1684748', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1684748 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Jean-Claude Drouot
action filter_type
action find
entity Jean-Claude Drouot
relation occupation
type occupation
['Jean-Claude Drouot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Claude_Drouot property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q33999 Q3387717
SYSTEM
actor, theatre director
Q33999 Q3387717
(Q1684748,P106,c(Q12737077))
action filter_type
action find
entity Q1684748
relation P106
type Q12737077
The professions of Jean-Claude Drouot are an [ANSWERS]
['Q1684748', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1684748 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
actor theatre director
The professions of Jean-Claude Drouot are an actor and theatre director
actor theatre director
action filter_type
action find
entity Jean-Claude Drouot
relation occupation
type occupation
['Jean-Claude Drouot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Claude_Drouot property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1684748
P161
Q838948
USER
Which works of art have Jean-Claude Drouot as actor ?
(c(Q838948),P161,Q1684748)
action filter_type
action find_reverse
entity Q1684748
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1684748']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q1684748 }
Jean-Claude Drouot
action filter_type
action find_reverse
entity Jean-Claude Drouot
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean-Claude Drouot']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Jean-Claude_Drouot }
[]
work of art
Q512475 Q3203558 Q1196532
SYSTEM
Nicholas and Alexandra, The Edifying and Joyous Story of Colinot, The Breach
Q526272 Q1196532 Q336835 Q1168501 Q15207721 Q3203558 Q3316949 Q512475 Q1196611
(c(Q838948),P161,Q1684748)
action filter_type
action find_reverse
entity Q1684748
relation P161
type Q838948
[ANSWERS] have Jean-Claude Drouot as actor
[{'concept': 'Q838948'}, 'P161', 'Q1684748']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P161 resource:Q1684748 }
The Light at the Edge of the World The Breach The Adventures of Pinocchio Happiness The Conquerors The Edifying and Joyous Story of Colinot Mr. Freedom Nicholas and Alexandra Laughter in the Dark
Nicholas and Alexandra, The Edifying and Joyous Story of Colinot and The Breach have Jean-Claude Drouot as actor
Nicholas and Alexandra The Edifying and Joyous Story of Colinot The Breach
action filter_type
action find_reverse
entity Jean-Claude Drouot
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean-Claude Drouot']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:cast_member resource:Jean-Claude_Drouot }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3203558
P57
Q502895
USER
Who was that work of art directed by ?
(Q3203558,P57,c(Q502895))
action filter_type
action find
entity Q3203558
relation P57
type Q502895
['Q3203558', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3203558 property:P57 ?r . ?r rdf:type ontology:Q502895 }
The Edifying and Joyous Story of Colinot
action filter_type
action find
entity The Edifying and Joyous Story of Colinot
relation director
type common name
['The Edifying and Joyous Story of Colinot', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Edifying_and_Joyous_Story_of_Colinot property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3203558
SYSTEM
Did you mean The Edifying and Joyous Story of Colinot ?
Q512475 Q3203558 Q1196532
(Q512475,P57,c(Q502895)) (Q3203558,P57,c(Q502895)) (Q1196532,P57,c(Q502895))
[ANSWER]
['Q512475', 'P57', {'concept': 'Q502895'}] ['Q3203558', 'P57', {'concept': 'Q502895'}] ['Q1196532', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3203558 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Nicholas and Alexandra The Edifying and Joyous Story of Colinot The Breach
Did you mean The Edifying and Joyous Story of Colinot ?
The Edifying and Joyous Story of Colinot
['Nicholas and Alexandra', 'director', {'concept': 'common name'}] ['The Edifying and Joyous Story of Colinot', 'director', {'concept': 'common name'}] ['The Breach', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Edifying_and_Joyous_Story_of_Colinot property:director ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3203558,P57,c(Q502895))
['Q3203558', 'P57', {'concept': 'Q502895'}]
['The Edifying and Joyous Story of Colinot', 'director', {'concept': 'common name'}]
[]
Q457123
SYSTEM
Nina Companéez
Q457123
(Q3203558,P57,c(Q502895))
action filter_type
action find
entity Q3203558
relation P57
type Q502895
By that work of art directed was by [ANSWER]
['Q3203558', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3203558 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Nina Companéez
By that work of art directed was by Nina Companéez
Nina Companéez
action filter_type
action find
entity The Edifying and Joyous Story of Colinot
relation director
type common name
['The Edifying and Joyous Story of Colinot', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Edifying_and_Joyous_Story_of_Colinot property:director ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q512475
P495
Q15617994
USER
Which administrative territory is the origin of Nicholas and Alexandra ?
(Q512475,P495,c(Q15617994))
action filter_type
action find
entity Q512475
relation P495
type Q15617994
['Q512475', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q512475 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Nicholas and Alexandra
action filter_type
action find
entity Nicholas and Alexandra
relation country of origin
type designation for an administrative territorial entity
['Nicholas and Alexandra', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nicholas_and_Alexandra property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q512475,P495,c(Q15617994))
action filter_type
action find
entity Q512475
relation P495
type Q15617994
[ANSWER] is the origin of Nicholas and Alexandra
['Q512475', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q512475 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the origin of Nicholas and Alexandra
United Kingdom
action filter_type
action find
entity Nicholas and Alexandra
relation country of origin
type designation for an administrative territorial entity
['Nicholas and Alexandra', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nicholas_and_Alexandra property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q3457513
P36
Q56061
USER
Is Puuri the capital of that administrative territory ?
(Q145,P36,Q3457513)
action is_in
entity Q3457513
action find
entity Q145
relation P36
['Q145', 'P36', 'Q3457513']
ASK WHERE { resource:Q145 property:P36 resource:Q3457513 }
United Kingdom Puuri
action is_in
entity Puuri
action find
entity United Kingdom
relation capital
['United Kingdom', 'capital', 'Puuri']
ASK WHERE { resource:United_Kingdom property:capital resource:Puuri }
[]
administrative territorial entity
SYSTEM
NO
(Q145,P36,Q3457513)
action is_in
entity Q3457513
action find
entity Q145
relation P36
[ANSWER]
['Q145', 'P36', 'Q3457513']
ASK WHERE { resource:Q145 property:P36 resource:Q3457513 }
No
action is_in
entity Puuri
action find
entity United Kingdom
relation capital
['United Kingdom', 'capital', 'Puuri']
ASK WHERE { resource:United_Kingdom property:capital resource:Puuri }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q457123
P40
Q502895
USER
Whose child is Nina Companéez ?
(c(Q502895),P40,Q457123)
action filter_type
action find_reverse
entity Q457123
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q457123']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q457123 . ?h rdf:type ontology:Q502895 }
Nina Companéez
action filter_type
action find_reverse
entity Nina Companéez
relation child
type common name
[{'concept': 'common name'}, 'child', 'Nina Companéez']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Nina_Companéez . ?h rdf:type ontology:common_name }
[]
common name
Q176962
SYSTEM
Jacques Companéez
Q176962
(c(Q502895),P40,Q457123)
action filter_type
action find_reverse
entity Q457123
relation P40
type Q502895
The [ANSWER] is Nina Companéez
[{'concept': 'Q502895'}, 'P40', 'Q457123']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q457123 . ?h rdf:type ontology:Q502895 }
Jacques Companéez
The Jacques Companéez is Nina Companéez
Jacques Companéez
action filter_type
action find_reverse
entity Nina Companéez
relation child
type common name
[{'concept': 'common name'}, 'child', 'Nina Companéez']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Nina_Companéez . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q457123
P509
Q12136
USER
Which disease was the cause of death of Nina Companéez ?
(Q457123,P509,c(Q12136))
action filter_type
action find
entity Q457123
relation P509
type Q12136
['Q457123', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?w WHERE { resource:Q457123 property:P509 ?w . ?w rdf:type ontology:Q12136 }
Nina Companéez
action filter_type
action find
entity Nina Companéez
relation cause of death
type disease
['Nina Companéez', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?w WHERE { resource:Nina_Companéez property:cause_of_death ?w . ?w rdf:type ontology:disease }
[]
disease
Q12078
SYSTEM
cancer
Q12078
(Q457123,P509,c(Q12136))
action filter_type
action find
entity Q457123
relation P509
type Q12136
[ANSWER] was the cause of death of Nina Companéez
['Q457123', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?w WHERE { resource:Q457123 property:P509 ?w . ?w rdf:type ontology:Q12136 }
cancer
Cancer was the cause of death of Nina Companéez
cancer
action filter_type
action find
entity Nina Companéez
relation cause of death
type disease
['Nina Companéez', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?w WHERE { resource:Nina_Companéez property:cause_of_death ?w . ?w rdf:type ontology:disease }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26328799
Q12136
USER
And how about Jacques Tessier?
(Q26328799,P509,c(Q12136))
action filter_type
action find
entity Q26328799
relation P509
type Q12136
['Q26328799', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?s WHERE { resource:Q26328799 property:P509 ?s . ?s rdf:type ontology:Q12136 }
Jacques Tessier
action filter_type
action find
entity Jacques Tessier
relation cause of death
type disease
['Jacques Tessier', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?s WHERE { resource:Jacques_Tessier property:cause_of_death ?s . ?s rdf:type ontology:disease }
[]
disease
Q12078
SYSTEM
cancer
Q12078
(Q26328799,P509,c(Q12136))
action filter_type
action find
entity Q26328799
relation P509
type Q12136
[ANSWER]
['Q26328799', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?s WHERE { resource:Q26328799 property:P509 ?s . ?s rdf:type ontology:Q12136 }
cancer
cancer
action filter_type
action find
entity Jacques Tessier
relation cause of death
type disease
['Jacques Tessier', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?s WHERE { resource:Jacques_Tessier property:cause_of_death ?s . ?s rdf:type ontology:disease }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12078 Q553223
P2176
Q8386
USER
Is esomeprazole used to cure cancer ?
(Q12078,P2176,Q553223)
action is_in
entity Q553223
action find
entity Q12078
relation P2176
['Q12078', 'P2176', 'Q553223']
ASK WHERE { resource:Q12078 property:P2176 resource:Q553223 }
cancer esomeprazole
action is_in
entity esomeprazole
action find
entity cancer
relation drug used for treatment
['cancer', 'drug used for treatment', 'esomeprazole']
ASK WHERE { resource:cancer property:drug_used_for_treatment resource:esomeprazole }
[]
drug
SYSTEM
NO
(Q12078,P2176,Q553223)
action is_in
entity Q553223
action find
entity Q12078
relation P2176
[ANSWER]
['Q12078', 'P2176', 'Q553223']
ASK WHERE { resource:Q12078 property:P2176 resource:Q553223 }
No
action is_in
entity esomeprazole
action find
entity cancer
relation drug used for treatment
['cancer', 'drug used for treatment', 'esomeprazole']
ASK WHERE { resource:cancer property:drug_used_for_treatment resource:esomeprazole }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q176962 Q7262781 Q90
P20
Q56061
USER
Did Jacques Companéez die in Pwllmeyric and Paris ?
(Q176962,P20,Q7262781) (Q176962,P20,Q90)
action is_in
entity Q176962
action intersection
action find_reverse
entity Q7262781
relation P20
action find_reverse
entity Q90
relation P20
['Q176962', 'P20', 'Q7262781'] ['Q176962', 'P20', 'Q90']
ASK WHERE { resource:Q176962 property:P20 resource:Q7262781 . resource:Q176962 property:P20 resource:Q90 }
Jacques Companéez Pwllmeyric Paris
action is_in
entity Jacques Companéez
action intersection
action find_reverse
entity Pwllmeyric
relation place of death
action find_reverse
entity Paris
relation place of death
['Jacques Companéez', 'place of death', 'Pwllmeyric'] ['Jacques Companéez', 'place of death', 'Paris']
ASK WHERE { resource:Jacques_Companéez property:place_of_death resource:Pwllmeyric . resource:Jacques_Companéez property:place_of_death resource:Paris }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q176962,P20,Q7262781) (Q176962,P20,Q90)
action is_in
entity Q176962
action intersection
action find_reverse
entity Q7262781
relation P20
action find_reverse
entity Q90
relation P20
[ANSWER]
['Q176962', 'P20', 'Q7262781'] ['Q176962', 'P20', 'Q90']
ASK WHERE { resource:Q176962 property:P20 resource:Q7262781 . resource:Q176962 property:P20 resource:Q90 }
NO and YES respectively
action is_in
entity Jacques Companéez
action intersection
action find_reverse
entity Pwllmeyric
relation place of death
action find_reverse
entity Paris
relation place of death
['Jacques Companéez', 'place of death', 'Pwllmeyric'] ['Jacques Companéez', 'place of death', 'Paris']
ASK WHERE { resource:Jacques_Companéez property:place_of_death resource:Pwllmeyric . resource:Jacques_Companéez property:place_of_death resource:Paris }
[]