Simple Question (Direct)
Simple Question
Q4167251
P7
Q502895
USER
Who are Andrey Dostoyevsky a sibling of ?
(Q4167251,P7,c(Q502895))
action filter_type
action find
entity Q4167251
relation P7
type Q502895
['Q4167251', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q4167251 property:P7 ?b }
Andrey Dostoyevsky
action filter_type
action find
entity Andrey Dostoyevsky
relation brother
type common name
['Andrey Dostoyevsky', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Andrey_Dostoyevsky property:brother ?b }
[]
common name
Q991 Q4167253
SYSTEM
Fyodor Dostoyevsky, Mikhail Dostoyevsky
Q991 Q4167253
(Q4167251,P7,c(Q502895))
action filter_type
action find
entity Q4167251
relation P7
type Q502895
Andrey Dostoyevsky are a sibling of [ANSWERS] of
['Q4167251', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q4167251 property:P7 ?b }
Fyodor Dostoyevsky Mikhail Dostoyevsky
Andrey Dostoyevsky are a sibling of Fyodor Dostoyevsky and Mikhail Dostoyevsky of
Fyodor Dostoyevsky Mikhail Dostoyevsky
action filter_type
action find
entity Andrey Dostoyevsky
relation brother
type common name
['Andrey Dostoyevsky', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Andrey_Dostoyevsky property:brother ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q991 Q4167253
P19
Q56061
USER
Which administrative territories are the birthplace of Fyodor Dostoyevsky and Mikhail Dostoyevsky ?
(Q991,P19,c(Q56061)) (Q4167253,P19,c(Q56061))
action union
action filter_type
action find
entity Q991
relation P19
type Q56061
action filter_type
action find
entity Q4167253
relation P19
type Q56061
['Q991', 'P19', {'concept': 'Q56061'}] ['Q4167253', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?p property:P19 ?h . VALUES ( ?p ) { ( resource:Q4167253 ) ( resource:Q991 ) } }
Fyodor Dostoyevsky Mikhail Dostoyevsky
action union
action filter_type
action find
entity Fyodor Dostoyevsky
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Mikhail Dostoyevsky
relation place of birth
type administrative territorial entity
['Fyodor Dostoyevsky', 'place of birth', {'concept': 'administrative territorial entity'}] ['Mikhail Dostoyevsky', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?p property:place_of_birth ?h . VALUES ( ?p ) { ( resource:Mikhail_Dostoyevsky ) ( resource:Fyodor_Dostoyevsky ) } }
[]
administrative territorial entity
Q649 Q649
SYSTEM
Moscow
Q649 Q649
(Q991,P19,c(Q56061)) (Q4167253,P19,c(Q56061))
action union
action filter_type
action find
entity Q991
relation P19
type Q56061
action filter_type
action find
entity Q4167253
relation P19
type Q56061
In [ANSWER] and [ANSWER] are the birthplace of Fyodor Dostoyevsky and Mikhail Dostoyevsky
['Q991', 'P19', {'concept': 'Q56061'}] ['Q4167253', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?p property:P19 ?h . VALUES ( ?p ) { ( resource:Q4167253 ) ( resource:Q991 ) } }
Moscow Moscow
In Moscow and Moscow are the birthplace of Fyodor Dostoyevsky and Mikhail Dostoyevsky
Moscow Moscow
action union
action filter_type
action find
entity Fyodor Dostoyevsky
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Mikhail Dostoyevsky
relation place of birth
type administrative territorial entity
['Fyodor Dostoyevsky', 'place of birth', {'concept': 'administrative territorial entity'}] ['Mikhail Dostoyevsky', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?p property:place_of_birth ?h . VALUES ( ?p ) { ( resource:Mikhail_Dostoyevsky ) ( resource:Fyodor_Dostoyevsky ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4167251
P1196
Q1931388
USER
What situation did Andrey Dostoyevsky die in ?
(Q4167251,P1196,c(Q1931388))
action filter_type
action find
entity Q4167251
relation P1196
type Q1931388
['Q4167251', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1931388 . resource:Q4167251 property:P1196 ?g }
Andrey Dostoyevsky
action filter_type
action find
entity Andrey Dostoyevsky
relation manner of death
type cause of death
['Andrey Dostoyevsky', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:cause_of_death . resource:Andrey_Dostoyevsky property:manner_of_death ?g }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q4167251,P1196,c(Q1931388))
action filter_type
action find
entity Q4167251
relation P1196
type Q1931388
Andrey Dostoyevsky died of [ANSWER]
['Q4167251', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1931388 . resource:Q4167251 property:P1196 ?g }
natural causes
Andrey Dostoyevsky died of natural causes
natural causes
action filter_type
action find
entity Andrey Dostoyevsky
relation manner of death
type cause of death
['Andrey Dostoyevsky', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:cause_of_death . resource:Andrey_Dostoyevsky property:manner_of_death ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5129165
Q1931388
USER
And how about Claudia Emerson?
(Q5129165,P1196,c(Q1931388))
action filter_type
action find
entity Q5129165
relation P1196
type Q1931388
['Q5129165', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q5129165 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
Claudia Emerson
action filter_type
action find
entity Claudia Emerson
relation manner of death
type cause of death
['Claudia Emerson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Claudia_Emerson property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5129165,P1196,c(Q1931388))
action filter_type
action find
entity Q5129165
relation P1196
type Q1931388
[ANSWER]
['Q5129165', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q5129165 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Claudia Emerson
relation manner of death
type cause of death
['Claudia Emerson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Claudia_Emerson property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q7725634 Q2342494
USER
How many people are the translator of atleast 2 literary works and collectables ?
(c(Q7725634)|c(Q2342494),P655,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 2
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P655 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P655 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q7725634 } } GROUP BY ?u } . FILTER ( ?y >= 2 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type collectable
value 2
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:translator ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:collectable } UNION { ?t property:translator ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:literary_work } } GROUP BY ?u } . FILTER ( ?y >= 2 ) }
[]
common name literary work collectable
SYSTEM
16
Q6180799 Q461104 Q12749 Q6536944 Q711869 Q7387473 Q18543209 Q8191787 Q8020113 Q234530 Q2157568 Q1705960 Q12026401 Q12883 Q4800649 Q1969016
(c(Q7725634)|c(Q2342494),P655,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 2
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P655 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P655 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q7725634 } } GROUP BY ?u } . FILTER ( ?y >= 2 ) }
Jeremiah Curtin Jaroslav Vrchlický Kazimierz Bein Lewis Page Mercier Arthur Waley S. Foster Damon Irmtraud Zimmermann-Göllheim Michael Kandel William Weaver Emma Orczy Robert Hillyer Josef Václav Sládek Josef Mikuláš Boleslavský Gerrit Berveling Arthur Wesley Wheen Alexander Teixeira de Mattos
16
action count
action atleast
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type collectable
value 2
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:translator ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:collectable } UNION { ?t property:translator ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:literary_work } } GROUP BY ?u } . FILTER ( ?y >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5129165
P509
Q2057971
USER
What was the cause of death of Claudia Emerson ?
(Q5129165,P509,c(Q2057971))
action filter_type
action find
entity Q5129165
relation P509
type Q2057971
['Q5129165', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2057971 . resource:Q5129165 property:P509 ?f }
Claudia Emerson
action filter_type
action find
entity Claudia Emerson
relation cause of death
type health problem
['Claudia Emerson', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:health_problem . resource:Claudia_Emerson property:cause_of_death ?f }
[]
health problem
Q188874
SYSTEM
colorectal cancer
Q188874
(Q5129165,P509,c(Q2057971))
action filter_type
action find
entity Q5129165
relation P509
type Q2057971
The cause of death of Claudia Emerson was of [ANSWER]
['Q5129165', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2057971 . resource:Q5129165 property:P509 ?f }
colorectal cancer
The cause of death of Claudia Emerson was of colorectal cancer
colorectal cancer
action filter_type
action find
entity Claudia Emerson
relation cause of death
type health problem
['Claudia Emerson', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:health_problem . resource:Claudia_Emerson property:cause_of_death ?f }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1703350 Q649
P19 P190
Q56061
USER
Which administrative territories are sister towns of Moscow or are the birthplace of Jone Samuelsen ?
OR((Q649,P190,c(Q56061)), (Q1703350,P19,c(Q56061)))
action filter_type
action union
action find
entity Q649
relation P190
action find
entity Q1703350
relation P19
type Q56061
{'OR': [['Q649', 'P190', {'concept': 'Q56061'}], ['Q1703350', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q649 property:P190 ?w } UNION { resource:Q1703350 property:P19 ?w } } . ?w rdf:type ontology:Q56061 }
Jone Samuelsen Moscow
action filter_type
action union
action find
entity Moscow
relation sister city
action find
entity Jone Samuelsen
relation place of birth
type administrative territorial entity
{'OR': [['Moscow', 'sister city', {'concept': 'administrative territorial entity'}], ['Jone Samuelsen', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Moscow property:sister_city ?w } UNION { resource:Jone_Samuelsen property:place_of_birth ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1780 Q1353 Q1770 Q133026 Q1741 Q84 Q216 Q1218 Q33935 Q23564
SYSTEM
Some of them are Bratislava, Delhi, Tallinn, Kolomna, Vienna, London, Vilnius, Jerusalem, Tel Aviv, Podgorica
Q807 Q41572 Q131290 Q994 Q437 Q1353 Q727 Q472 Q23564 Q179830 Q13498 Q178373 Q42308 Q1770 Q1718 Q18808 Q1297 Q1490 Q196678 Q1524 Q1780 Q1520 Q1741 Q3630 Q140147 Q25409 Q33935 Q3561 Q3805 Q84 Q85 Q486282 Q19566 Q1861 Q3820 Q216 Q43070 Q270 Q25416 Q987 Q239 Q2807 Q956 Q3640 Q64 Q1491 Q1218 Q133026 Q186576 Q1085
OR((Q649,P190,c(Q56061)), (Q1703350,P19,c(Q56061)))
action filter_type
action union
action find
entity Q649
relation P190
action find
entity Q1703350
relation P19
type Q56061
[ANSWERS] are sister towns of Moscow or are the birthplace of Jone Samuelsen
{'OR': [['Q649', 'P190', {'concept': 'Q56061'}], ['Q1703350', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q649 property:P190 ?w } UNION { resource:Q1703350 property:P19 ?w } } . ?w rdf:type ontology:Q56061 }
Lausanne Mykolaiv Ganja Tbilisi Ljubljana Delhi Amsterdam Sofia Podgorica Jelgava Taranto Rasht Kharkiv Tallinn Düsseldorf Pyongyang Chicago Tokyo Torzhok Athens Bratislava Astana Vienna Jakarta Brest Košice Tel Aviv Algiers Amman London Cairo Pavlodar Simferopol Bangkok Beirut Vilnius Donetsk Warsaw Stavanger New Delhi Brussels Madrid Beijing Ankara Berlin La Paz Jerusalem Kolomna Pazardzhik Prague
Bratislava, Delhi, Tallinn, Kolomna, Vienna, London, Vilnius, Jerusalem, Tel Aviv and Podgorica are sister towns of Moscow or are the birthplace of Jone Samuelsen
Bratislava Delhi Tallinn Kolomna Vienna London Vilnius Jerusalem Tel Aviv Podgorica
action filter_type
action union
action find
entity Moscow
relation sister city
action find
entity Jone Samuelsen
relation place of birth
type administrative territorial entity
{'OR': [['Moscow', 'sister city', {'concept': 'administrative territorial entity'}], ['Jone Samuelsen', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Moscow property:sister_city ?w } UNION { resource:Jone_Samuelsen property:place_of_birth ?w } } . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P127
Q811430
USER
Which construction belongs to Vienna ?
(c(Q811430),P127,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P127
type Q811430
[{'concept': 'Q811430'}, 'P127', 'Q1741']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q1741 . ?s rdf:type ontology:Q811430 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Vienna']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Vienna . ?s rdf:type ontology:construction }
[]
construction
Q1240985
SYSTEM
Donauparkhalle
Q1240985
(c(Q811430),P127,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P127
type Q811430
[ANSWER] belongs to Vienna
[{'concept': 'Q811430'}, 'P127', 'Q1741']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q1741 . ?s rdf:type ontology:Q811430 }
Donauparkhalle
Donauparkhalle belongs to Vienna
Donauparkhalle
action filter_type
action find_reverse
entity Vienna
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Vienna']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Vienna . ?s rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1240985
P466
Q12973014
USER
Which sports team is an occupant of that construction ?
(Q1240985,P466,c(Q12973014))
action filter_type
action find
entity Q1240985
relation P466
type Q12973014
['Q1240985', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q1240985 property:P466 ?b . ?b rdf:type ontology:Q12973014 }
Donauparkhalle
action filter_type
action find
entity Donauparkhalle
relation occupant
type sports team
['Donauparkhalle', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Donauparkhalle property:occupant ?b . ?b rdf:type ontology:sports_team }
[]
sports team
Q2536869
SYSTEM
WAT Stadlau
Q2536869
(Q1240985,P466,c(Q12973014))
action filter_type
action find
entity Q1240985
relation P466
type Q12973014
[ANSWER] is an occupant of that construction
['Q1240985', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q1240985 property:P466 ?b . ?b rdf:type ontology:Q12973014 }
WAT Stadlau
WAT Stadlau is an occupant of that construction
WAT Stadlau
action filter_type
action find
entity Donauparkhalle
relation occupant
type sports team
['Donauparkhalle', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Donauparkhalle property:occupant ?b . ?b rdf:type ontology:sports_team }
[]