Simple Question (Direct)
Simple Question
Q61171
P1196
Q1931388
USER
What manner did Erich Neumann die ?
(Q61171,P1196,c(Q1931388))
action filter_type
action find
entity Q61171
relation P1196
type Q1931388
['Q61171', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?u WHERE { resource:Q61171 property:P1196 ?u . ?u rdf:type ontology:Q1931388 }
Erich Neumann
action filter_type
action find
entity Erich Neumann
relation manner of death
type cause of death
['Erich Neumann', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?u WHERE { resource:Erich_Neumann property:manner_of_death ?u . ?u rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q61171,P1196,c(Q1931388))
action filter_type
action find
entity Q61171
relation P1196
type Q1931388
Erich Neumann died in [ANSWER]
['Q61171', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?u WHERE { resource:Q61171 property:P1196 ?u . ?u rdf:type ontology:Q1931388 }
natural causes
Erich Neumann died in natural causes
natural causes
action filter_type
action find
entity Erich Neumann
relation manner of death
type cause of death
['Erich Neumann', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?u WHERE { resource:Erich_Neumann property:manner_of_death ?u . ?u rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61171
P509
Q2057971
USER
What was the cause of death of Erich Neumann ?
(Q61171,P509,c(Q2057971))
action filter_type
action find
entity Q61171
relation P509
type Q2057971
['Q61171', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2057971 . resource:Q61171 property:P509 ?a }
Erich Neumann
action filter_type
action find
entity Erich Neumann
relation cause of death
type health problem
['Erich Neumann', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:health_problem . resource:Erich_Neumann property:cause_of_death ?a }
[]
health problem
Q3242950
SYSTEM
kidney cancer
Q3242950
(Q61171,P509,c(Q2057971))
action filter_type
action find
entity Q61171
relation P509
type Q2057971
The cause of death of Erich Neumann was of [ANSWER]
['Q61171', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2057971 . resource:Q61171 property:P509 ?a }
kidney cancer
The cause of death of Erich Neumann was of kidney cancer
kidney cancer
action filter_type
action find
entity Erich Neumann
relation cause of death
type health problem
['Erich Neumann', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:health_problem . resource:Erich_Neumann property:cause_of_death ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61171
P20
Q56061
USER
Where did Erich Neumann die ?
(Q61171,P20,c(Q56061))
action filter_type
action find
entity Q61171
relation P20
type Q56061
['Q61171', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q61171 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Erich Neumann
action filter_type
action find
entity Erich Neumann
relation place of death
type administrative territorial entity
['Erich Neumann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Erich_Neumann property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33935
SYSTEM
Tel Aviv
Q33935
(Q61171,P20,c(Q56061))
action filter_type
action find
entity Q61171
relation P20
type Q56061
Erich Neumann died in [ANSWER]
['Q61171', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q61171 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Tel Aviv
Erich Neumann died in Tel Aviv
Tel Aviv
action filter_type
action find
entity Erich Neumann
relation place of death
type administrative territorial entity
['Erich Neumann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Erich_Neumann property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q73531
Q56061
USER
And also tell me about Hermann August Hagen?
(Q73531,P20,c(Q56061))
action filter_type
action find
entity Q73531
relation P20
type Q56061
['Q73531', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q73531 property:P20 ?d }
Hermann August Hagen
action filter_type
action find
entity Hermann August Hagen
relation place of death
type administrative territorial entity
['Hermann August Hagen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Hermann_August_Hagen property:place_of_death ?d }
[]
administrative territorial entity
Q49111
SYSTEM
Cambridge
Q49111
(Q73531,P20,c(Q56061))
action filter_type
action find
entity Q73531
relation P20
type Q56061
[ANSWER]
['Q73531', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q73531 property:P20 ?d }
Cambridge
Cambridge
action filter_type
action find
entity Hermann August Hagen
relation place of death
type administrative territorial entity
['Hermann August Hagen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Hermann_August_Hagen property:place_of_death ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49111 Q6253939
P20
Q502895
USER
Does John R. Meyer have that administrative territory as the location of death ?
(Q6253939,P20,Q49111)
action is_in
entity Q49111
action find
entity Q6253939
relation P20
['Q6253939', 'P20', 'Q49111']
ASK WHERE { resource:Q6253939 property:P20 resource:Q49111 }
Cambridge John R. Meyer
action is_in
entity Cambridge
action find
entity John R. Meyer
relation place of death
['John R. Meyer', 'place of death', 'Cambridge']
ASK WHERE { resource:John_R._Meyer property:place_of_death resource:Cambridge }
[]
common name
SYSTEM
YES
(Q6253939,P20,Q49111)
action is_in
entity Q49111
action find
entity Q6253939
relation P20
[ANSWER]
['Q6253939', 'P20', 'Q49111']
ASK WHERE { resource:Q6253939 property:P20 resource:Q49111 }
Yes
action is_in
entity Cambridge
action find
entity John R. Meyer
relation place of death
['John R. Meyer', 'place of death', 'Cambridge']
ASK WHERE { resource:John_R._Meyer property:place_of_death resource:Cambridge }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6700429 Q49111
P19 P190
Q56061
USER
Which administrative territories are twin towns of Cambridge or were Luis Cetin born ?
OR((Q49111,P190,c(Q56061)), (Q6700429,P19,c(Q56061)))
action filter_type
action union
action find
entity Q49111
relation P190
action find
entity Q6700429
relation P19
type Q56061
{'OR': [['Q49111', 'P190', {'concept': 'Q56061'}], ['Q6700429', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q49111 property:P190 ?d } UNION { resource:Q6700429 property:P19 ?d } } }
Luis Cetin Cambridge
action filter_type
action union
action find
entity Cambridge
relation sister city
action find
entity Luis Cetin
relation place of birth
type administrative territorial entity
{'OR': [['Cambridge', 'sister city', {'concept': 'administrative territorial entity'}], ['Luis Cetin', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Cambridge property:sister_city ?d } UNION { resource:Luis_Cetin property:place_of_birth ?d } } }
[]
administrative territorial entity
Q841241 Q45412 Q350 Q190005 Q273863
SYSTEM
Limeira, Coimbra, Cambridge, Cienfuegos, Tsukuba
Q841241 Q45412 Q350 Q190005 Q273863
OR((Q49111,P190,c(Q56061)), (Q6700429,P19,c(Q56061)))
action filter_type
action union
action find
entity Q49111
relation P190
action find
entity Q6700429
relation P19
type Q56061
[ANSWERS] are twin towns of Cambridge or were Luis Cetin born
{'OR': [['Q49111', 'P190', {'concept': 'Q56061'}], ['Q6700429', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q49111 property:P190 ?d } UNION { resource:Q6700429 property:P19 ?d } } }
Limeira Coimbra Cambridge Cienfuegos Tsukuba
Limeira, Coimbra, Cambridge, Cienfuegos and Tsukuba are twin towns of Cambridge or were Luis Cetin born
Limeira Coimbra Cambridge Cienfuegos Tsukuba
action filter_type
action union
action find
entity Cambridge
relation sister city
action find
entity Luis Cetin
relation place of birth
type administrative territorial entity
{'OR': [['Cambridge', 'sister city', {'concept': 'administrative territorial entity'}], ['Luis Cetin', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Cambridge property:sister_city ?d } UNION { resource:Luis_Cetin property:place_of_birth ?d } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3836893 Q33935
P190 P20
Q56061
USER
Which administrative territories are twin towns of Tel Aviv or did the expiration of Lorenzo Binago occur ?
OR((Q33935,P190,c(Q56061)), (Q3836893,P20,c(Q56061)))
action filter_type
action union
action find
entity Q33935
relation P190
action find
entity Q3836893
relation P20
type Q56061
{'OR': [['Q33935', 'P190', {'concept': 'Q56061'}], ['Q3836893', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3836893 property:P20 ?i } UNION { resource:Q33935 property:P190 ?i } } . ?i rdf:type ontology:Q56061 }
Lorenzo Binago Tel Aviv
action filter_type
action union
action find
entity Tel Aviv
relation sister city
action find
entity Lorenzo Binago
relation place of death
type administrative territorial entity
{'OR': [['Tel Aviv', 'sister city', {'concept': 'administrative territorial entity'}], ['Lorenzo Binago', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Lorenzo_Binago property:place_of_death ?i } UNION { resource:Tel_Aviv property:sister_city ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q1489 Q641 Q8678 Q365 Q21197 Q47492 Q580 Q174 Q1781
SYSTEM
Some of them are Vienna, Mexico City, Venice, Rio de Janeiro, Cologne, Chișinău, Gaza City, Łódź, São Paulo, Budapest
Q641 Q649 Q472 Q185632 Q7880 Q35493 Q3306 Q1781 Q1489 Q1741 Q3711 Q580 Q586 Q17151 Q585 Q21197 Q47492 Q365 Q174 Q270 Q8678 Q490 Q956 Q1492 Q60 Q2066
OR((Q33935,P190,c(Q56061)), (Q3836893,P20,c(Q56061)))
action filter_type
action union
action find
entity Q33935
relation P190
action find
entity Q3836893
relation P20
type Q56061
[ANSWERS] are twin towns of Tel Aviv or did the expiration of Lorenzo Binago occur
{'OR': [['Q33935', 'P190', {'concept': 'Q56061'}], ['Q3836893', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3836893 property:P20 ?i } UNION { resource:Q33935 property:P190 ?i } } . ?i rdf:type ontology:Q56061 }
Venice Moscow Sofia Limassol Toulouse Almaty Panama City Budapest Mexico City Vienna Belgrade Łódź Bonn Thessaloniki Oslo Chișinău Gaza City Cologne São Paulo Warsaw Rio de Janeiro Milan Beijing Barcelona New York City Essen
Vienna, Mexico City, Venice, Rio de Janeiro, Cologne, Chișinău, Gaza City, Łódź, São Paulo and Budapest are twin towns of Tel Aviv or did the expiration of Lorenzo Binago occur
Vienna Mexico City Venice Rio de Janeiro Cologne Chișinău Gaza City Łódź São Paulo Budapest
action filter_type
action union
action find
entity Tel Aviv
relation sister city
action find
entity Lorenzo Binago
relation place of death
type administrative territorial entity
{'OR': [['Tel Aviv', 'sister city', {'concept': 'administrative territorial entity'}], ['Lorenzo Binago', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Lorenzo_Binago property:place_of_death ?i } UNION { resource:Tel_Aviv property:sister_city ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q310562 Q61171
P50
Q2342494
USER
Which collectables have Erich Neumann or Danilo Kiš as their author ?
OR((c(Q2342494),P50,Q61171), (c(Q2342494),P50,Q310562))
action filter_type
action union
action find_reverse
entity Q61171
relation P50
action find_reverse
entity Q310562
relation P50
type Q2342494
{'OR': [[{'concept': 'Q2342494'}, 'P50', 'Q61171'], [{'concept': 'Q2342494'}, 'P50', 'Q310562']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2342494 . { { ?a property:P50 resource:Q61171 } UNION { ?a property:P50 resource:Q310562 } } }
Danilo Kiš Erich Neumann
action filter_type
action union
action find_reverse
entity Erich Neumann
relation author
action find_reverse
entity Danilo Kiš
relation author
type collectable
{'OR': [[{'concept': 'collectable'}, 'author', 'Erich Neumann'], [{'concept': 'collectable'}, 'author', 'Danilo Kiš']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:collectable . { { ?a property:author resource:Erich_Neumann } UNION { ?a property:author resource:Danilo_Kiš } } }
[]
collectable
Q2498050 Q5326746 Q16981656 Q17098262 Q2498031 Q17014546 Q4660193 Q16266401
SYSTEM
The Great Mother, Early Sorrows: For Children and Sensitive Readers, Garden, Ashes, The Lute and the Scars, The Origins and History of Consciousness, Psalm 44, A Tomb for Boris Davidovich, The Encyclopedia of the Dead
Q2498050 Q5326746 Q16981656 Q17098262 Q2498031 Q17014546 Q4660193 Q16266401
OR((c(Q2342494),P50,Q61171), (c(Q2342494),P50,Q310562))
action filter_type
action union
action find_reverse
entity Q61171
relation P50
action find_reverse
entity Q310562
relation P50
type Q2342494
[ANSWERS] have Erich Neumann or Danilo Kiš as their author
{'OR': [[{'concept': 'Q2342494'}, 'P50', 'Q61171'], [{'concept': 'Q2342494'}, 'P50', 'Q310562']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2342494 . { { ?a property:P50 resource:Q61171 } UNION { ?a property:P50 resource:Q310562 } } }
The Great Mother Early Sorrows: For Children and Sensitive Readers Garden, Ashes The Lute and the Scars The Origins and History of Consciousness Psalm 44 A Tomb for Boris Davidovich The Encyclopedia of the Dead
The Great Mother, Early Sorrows: For Children and Sensitive Readers, Garden, Ashes, The Lute and the Scars, The Origins and History of Consciousness, Psalm 44, A Tomb for Boris Davidovich and The Encyclopedia of the Dead have Erich Neumann or Danilo Kiš as their author
The Great Mother Early Sorrows: For Children and Sensitive Readers Garden, Ashes The Lute and the Scars The Origins and History of Consciousness Psalm 44 A Tomb for Boris Davidovich The Encyclopedia of the Dead
action filter_type
action union
action find_reverse
entity Erich Neumann
relation author
action find_reverse
entity Danilo Kiš
relation author
type collectable
{'OR': [[{'concept': 'collectable'}, 'author', 'Erich Neumann'], [{'concept': 'collectable'}, 'author', 'Danilo Kiš']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:collectable . { { ?a property:author resource:Erich_Neumann } UNION { ?a property:author resource:Danilo_Kiš } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17014546
P136
Q1792379
USER
What can be considered as category for that collectable ?
(Q17014546,P136,c(Q1792379))
action filter_type
action find
entity Q17014546
relation P136
type Q1792379
['Q17014546', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q17014546 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
Psalm 44
action filter_type
action find
entity Psalm 44
relation genre
type art genre
['Psalm 44', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:Psalm_44 property:genre ?l . ?l rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q2498050
SYSTEM
Did you mean The Great Mother ?
Q2498050 Q5326746 Q16981656 Q17098262 Q2498031 Q17014546 Q4660193 Q16266401
(Q2498050,P136,c(Q1792379)) (Q5326746,P136,c(Q1792379)) (Q16981656,P136,c(Q1792379)) (Q17098262,P136,c(Q1792379)) (Q2498031,P136,c(Q1792379)) (Q17014546,P136,c(Q1792379)) (Q4660193,P136,c(Q1792379)) (Q16266401,P136,c(Q1792379))
[ANSWER]
['Q2498050', 'P136', {'concept': 'Q1792379'}] ['Q5326746', 'P136', {'concept': 'Q1792379'}] ['Q16981656', 'P136', {'concept': 'Q1792379'}] ['Q17098262', 'P136', {'concept': 'Q1792379'}] ['Q2498031', 'P136', {'concept': 'Q1792379'}] ['Q17014546', 'P136', {'concept': 'Q1792379'}] ['Q4660193', 'P136', {'concept': 'Q1792379'}] ['Q16266401', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q17014546 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
The Great Mother Early Sorrows: For Children and Sensitive Readers Garden, Ashes The Lute and the Scars The Origins and History of Consciousness Psalm 44 A Tomb for Boris Davidovich The Encyclopedia of the Dead
Did you mean The Great Mother ?
The Great Mother
['The Great Mother', 'genre', {'concept': 'art genre'}] ['Early Sorrows: For Children and Sensitive Readers', 'genre', {'concept': 'art genre'}] ['Garden, Ashes', 'genre', {'concept': 'art genre'}] ['The Lute and the Scars', 'genre', {'concept': 'art genre'}] ['The Origins and History of Consciousness', 'genre', {'concept': 'art genre'}] ['Psalm 44', 'genre', {'concept': 'art genre'}] ['A Tomb for Boris Davidovich', 'genre', {'concept': 'art genre'}] ['The Encyclopedia of the Dead', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:Psalm_44 property:genre ?l . ?l rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Psalm 44. Could you tell me the answer for that?
(Q17014546,P136,c(Q1792379))
Q17014546
['Q17014546', 'P136', {'concept': 'Q1792379'}]
['Psalm 44', 'genre', {'concept': 'art genre'}]
[]
Q8261
SYSTEM
novel
Q8261
(Q17014546,P136,c(Q1792379))
action filter_type
action find
entity Q17014546
relation P136
type Q1792379
A [ANSWER] can be considered as category for that collectable
['Q17014546', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q17014546 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
novel
A novel can be considered as category for that collectable
novel
action filter_type
action find
entity Psalm 44
relation genre
type art genre
['Psalm 44', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:Psalm_44 property:genre ?l . ?l rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8261 Q7742726
P136
Q2342494
USER
Does The Isle of Illusion a that art genre as its category ?
(Q7742726,P136,Q8261)
action is_in
entity Q8261
action find
entity Q7742726
relation P136
['Q7742726', 'P136', 'Q8261']
ASK WHERE { resource:Q7742726 property:P136 resource:Q8261 }
novel The Isle of Illusion
action is_in
entity novel
action find
entity The Isle of Illusion
relation genre
['The Isle of Illusion', 'genre', 'novel']
ASK WHERE { resource:The_Isle_of_Illusion property:genre resource:novel }
[]
collectable
SYSTEM
YES
(Q7742726,P136,Q8261)
action is_in
entity Q8261
action find
entity Q7742726
relation P136
[ANSWER]
['Q7742726', 'P136', 'Q8261']
ASK WHERE { resource:Q7742726 property:P136 resource:Q8261 }
Yes
action is_in
entity novel
action find
entity The Isle of Illusion
relation genre
['The Isle of Illusion', 'genre', 'novel']
ASK WHERE { resource:The_Isle_of_Illusion property:genre resource:novel }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2498031 Q61171
P50
Q502895
USER
Did Erich Neumann pen The Origins and History of Consciousness ?
(Q2498031,P50,Q61171)
action is_in
entity Q61171
action find
entity Q2498031
relation P50
['Q2498031', 'P50', 'Q61171']
ASK WHERE { resource:Q2498031 property:P50 resource:Q61171 }
The Origins and History of Consciousness Erich Neumann
action is_in
entity Erich Neumann
action find
entity The Origins and History of Consciousness
relation author
['The Origins and History of Consciousness', 'author', 'Erich Neumann']
ASK WHERE { resource:The_Origins_and_History_of_Consciousness property:author resource:Erich_Neumann }
[]
common name
SYSTEM
YES
(Q2498031,P50,Q61171)
action is_in
entity Q61171
action find
entity Q2498031
relation P50
[ANSWER]
['Q2498031', 'P50', 'Q61171']
ASK WHERE { resource:Q2498031 property:P50 resource:Q61171 }
Yes
action is_in
entity Erich Neumann
action find
entity The Origins and History of Consciousness
relation author
['The Origins and History of Consciousness', 'author', 'Erich Neumann']
ASK WHERE { resource:The_Origins_and_History_of_Consciousness property:author resource:Erich_Neumann }
[]