Simple Question (Direct)
Simple Question
Q3632712
P40
Q502895
USER
Which person is an offspring of Rajendra Kumar ?
(Q3632712,P40,c(Q502895))
action filter_type
action find
entity Q3632712
relation P40
type Q502895
['Q3632712', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q3632712 property:P40 ?s }
Rajendra Kumar
action filter_type
action find
entity Rajendra Kumar
relation child
type common name
['Rajendra Kumar', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Rajendra_Kumar property:child ?s }
[]
common name
Q6443482
SYSTEM
Kumar Gaurav
Q6443482
(Q3632712,P40,c(Q502895))
action filter_type
action find
entity Q3632712
relation P40
type Q502895
[ANSWER] is an offspring of Rajendra Kumar
['Q3632712', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q3632712 property:P40 ?s }
Kumar Gaurav
Kumar Gaurav is an offspring of Rajendra Kumar
Kumar Gaurav
action filter_type
action find
entity Rajendra Kumar
relation child
type common name
['Rajendra Kumar', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Rajendra_Kumar property:child ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6443482
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q6443482)
action filter_type
action find_reverse
entity Q6443482
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6443482']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q6443482 }
Kumar Gaurav
action filter_type
action find_reverse
entity Kumar Gaurav
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Kumar Gaurav']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:Kumar_Gaurav }
[]
work of art
Q6956537 Q6691345 Q6150743
SYSTEM
Naam, Love Story, Janam
Q1567418 Q18109523 Q20022622 Q18110348 Q6150743 Q7362379 Q5638936 Q5520900 Q6691345 Q4729292 Q18125189 Q7600580 Q5276647 Q5350245 Q18127535 Q6956537 Q18125778 Q7187329 Q7238688
(c(Q838948),P161,Q6443482)
action filter_type
action find_reverse
entity Q6443482
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q6443482']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q6443482 }
Teri Kasam Albela Guiana 1838 Begaana Janam Romance Hai Meri Jaan Gang Love Story All Rounder Goonj Star Dil Tujhko Diya Ek Se Bhale Do Lovers Naam Hum Hain Lajawab Phool Pratigyabadh
Naam, Love Story and Janam star that person as actor
Naam Love Story Janam
action filter_type
action find_reverse
entity Kumar Gaurav
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Kumar Gaurav']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:Kumar_Gaurav }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15527028 Q6691345
P495
Q15617994
USER
Which administrative territories are the origin of Love Story or The Theory Of My Aunt ?
OR((Q6691345,P495,c(Q15617994)), (Q15527028,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6691345
relation P495
action find
entity Q15527028
relation P495
type Q15617994
{'OR': [['Q6691345', 'P495', {'concept': 'Q15617994'}], ['Q15527028', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?i ) { ( resource:Q6691345 ) ( resource:Q15527028 ) } . ?i property:P495 ?r } . ?r rdf:type ontology:Q15617994 }
The Theory Of My Aunt Love Story
action filter_type
action union
action find
entity Love Story
relation country of origin
action find
entity The Theory Of My Aunt
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Love Story', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Theory Of My Aunt', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?i ) { ( resource:Love_Story ) ( resource:The_Theory_Of_My_Aunt ) } . ?i property:country_of_origin ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79 Q668
SYSTEM
Egypt, India
Q79 Q668
OR((Q6691345,P495,c(Q15617994)), (Q15527028,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6691345
relation P495
action find
entity Q15527028
relation P495
type Q15617994
[ANSWERS] are the origin of Love Story or The Theory Of My Aunt
{'OR': [['Q6691345', 'P495', {'concept': 'Q15617994'}], ['Q15527028', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?i ) { ( resource:Q6691345 ) ( resource:Q15527028 ) } . ?i property:P495 ?r } . ?r rdf:type ontology:Q15617994 }
Egypt India
Egypt and India are the origin of Love Story or The Theory Of My Aunt
Egypt India
action filter_type
action union
action find
entity Love Story
relation country of origin
action find
entity The Theory Of My Aunt
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Love Story', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Theory Of My Aunt', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?i ) { ( resource:Love_Story ) ( resource:The_Theory_Of_My_Aunt ) } . ?i property:country_of_origin ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16387202
P840
Q2342494
USER
Do My Life in Crime have a setting location of those administrative territories ?
(Q16387202,P840,Q79) (Q16387202,P840,Q668)
action is_in
entity prev_answer
action find
entity Q16387202
relation P840
['Q16387202', 'P840', 'Q79'] ['Q16387202', 'P840', 'Q668']
ASK WHERE { VALUES ( ?i ) { ( resource:Q79 ) ( resource:Q668 ) } . resource:Q16387202 property:P840 ?i }
My Life in Crime
action is_in
entity prev_answer
action find
entity My Life in Crime
relation narrative location
['My Life in Crime', 'narrative location', 'Egypt'] ['My Life in Crime', 'narrative location', 'India']
ASK WHERE { VALUES ( ?i ) { ( resource:Egypt ) ( resource:India ) } . resource:My_Life_in_Crime property:narrative_location ?i }
[]
collectable
SYSTEM
NO
(Q16387202,P840,Q79) (Q16387202,P840,Q668)
action is_in
entity prev_answer
action find
entity Q16387202
relation P840
[ANSWER]
['Q16387202', 'P840', 'Q79'] ['Q16387202', 'P840', 'Q668']
ASK WHERE { VALUES ( ?i ) { ( resource:Q79 ) ( resource:Q668 ) } . resource:Q16387202 property:P840 ?i }
No
action is_in
entity prev_answer
action find
entity My Life in Crime
relation narrative location
['My Life in Crime', 'narrative location', 'Egypt'] ['My Life in Crime', 'narrative location', 'India']
ASK WHERE { VALUES ( ?i ) { ( resource:Egypt ) ( resource:India ) } . resource:My_Life_in_Crime property:narrative_location ?i }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1990704 Q6691345
P57 P58
Q502895
USER
Which people served as the directed of Love Story or wrote the screenplay for The Batman vs. Dracula ?
OR((Q6691345,P57,c(Q502895)), (Q1990704,P58,c(Q502895)))
action filter_type
action union
action find
entity Q6691345
relation P57
action find
entity Q1990704
relation P58
type Q502895
{'OR': [['Q6691345', 'P57', {'concept': 'Q502895'}], ['Q1990704', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1990704 property:P58 ?y } UNION { resource:Q6691345 property:P57 ?y } } . ?y rdf:type ontology:Q502895 }
The Batman vs. Dracula Love Story
action filter_type
action union
action find
entity Love Story
relation director
action find
entity The Batman vs. Dracula
relation screenwriter
type common name
{'OR': [['Love Story', 'director', {'concept': 'common name'}], ['The Batman vs. Dracula', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:The_Batman_vs._Dracula property:screenwriter ?y } UNION { resource:Love_Story property:director ?y } } . ?y rdf:type ontology:common_name }
[]
common name
Q5310308 Q2127494
SYSTEM
Duane Capizzi, Rahul Rawail
Q5310308 Q2127494
OR((Q6691345,P57,c(Q502895)), (Q1990704,P58,c(Q502895)))
action filter_type
action union
action find
entity Q6691345
relation P57
action find
entity Q1990704
relation P58
type Q502895
[ANSWERS] served as the directed of Love Story or wrote the screenplay for The Batman vs. Dracula
{'OR': [['Q6691345', 'P57', {'concept': 'Q502895'}], ['Q1990704', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1990704 property:P58 ?y } UNION { resource:Q6691345 property:P57 ?y } } . ?y rdf:type ontology:Q502895 }
Duane Capizzi Rahul Rawail
Duane Capizzi and Rahul Rawail served as the directed of Love Story or wrote the screenplay for The Batman vs. Dracula
Duane Capizzi Rahul Rawail
action filter_type
action union
action find
entity Love Story
relation director
action find
entity The Batman vs. Dracula
relation screenwriter
type common name
{'OR': [['Love Story', 'director', {'concept': 'common name'}], ['The Batman vs. Dracula', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:The_Batman_vs._Dracula property:screenwriter ?y } UNION { resource:Love_Story property:director ?y } } . ?y rdf:type ontology:common_name }
[]