Simple Question (Direct)
Simple Question
Q113282
P21
Q290
USER
What is the sex of Franz Antoine ?
(Q113282,P21,c(Q290))
action filter_type
action find
entity Q113282
relation P21
type Q290
['Q113282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q113282 property:P21 ?e . ?e rdf:type ontology:Q290 }
Franz Antoine
action filter_type
action find
entity Franz Antoine
relation gender
type sex
['Franz Antoine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Franz_Antoine property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q113282,P21,c(Q290))
action filter_type
action find
entity Q113282
relation P21
type Q290
The sex of Franz Antoine is the [ANSWER]
['Q113282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q113282 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of Franz Antoine is the male
male
action filter_type
action find
entity Franz Antoine
relation gender
type sex
['Franz Antoine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Franz_Antoine property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q113282
P20
Q56061
USER
Where did Franz Antoine expire ?
(Q113282,P20,c(Q56061))
action filter_type
action find
entity Q113282
relation P20
type Q56061
['Q113282', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q113282 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Franz Antoine
action filter_type
action find
entity Franz Antoine
relation place of death
type administrative territorial entity
['Franz Antoine', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Franz_Antoine property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q113282,P20,c(Q56061))
action filter_type
action find
entity Q113282
relation P20
type Q56061
Franz Antoine expired [ANSWER]
['Q113282', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q113282 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Vienna
Franz Antoine expired Vienna
Vienna
action filter_type
action find
entity Franz Antoine
relation place of death
type administrative territorial entity
['Franz Antoine', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Franz_Antoine property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q113282
P19
Q56061
USER
Where was that person born ?
(Q1741,P19,c(Q56061))
action filter_type
action find
entity Q113282
relation P19
type Q56061
['Q1741', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q113282 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Franz Antoine
action filter_type
action find
entity Franz Antoine
relation place of birth
type administrative territorial entity
['Vienna', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Franz_Antoine property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1741,P19,c(Q56061))
action filter_type
action find
entity Q113282
relation P19
type Q56061
That person was born in [ANSWER]
['Q1741', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q113282 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Vienna
That person was born in Vienna
Vienna
action filter_type
action find
entity Franz Antoine
relation place of birth
type administrative territorial entity
['Vienna', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Franz_Antoine property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P190
Q515
USER
Which cities are twin towns of that administrative territory ?
(Q1741,P190,c(Q515))
action filter_type
action find
entity Q1741
relation P190
type Q515
['Q1741', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q1741 property:P190 ?p . ?p rdf:type ontology:Q515 }
Vienna
action filter_type
action find
entity Vienna
relation sister city
type city
['Vienna', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Vienna property:sister_city ?p . ?p rdf:type ontology:city }
[]
city
Q1899 Q14960 Q3572
SYSTEM
Kyiv, Brno, Tunis
Q3572 Q1844 Q1899 Q14960
(Q1741,P190,c(Q515))
action filter_type
action find
entity Q1741
relation P190
type Q515
[ANSWERS] are twin towns of that administrative territory
['Q1741', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q1741 property:P190 ?p . ?p rdf:type ontology:Q515 }
Tunis Vaduz Kyiv Brno
Kyiv, Brno and Tunis are twin towns of that administrative territory
Kyiv Brno Tunis
action filter_type
action find
entity Vienna
relation sister city
type city
['Vienna', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Vienna property:sister_city ?p . ?p rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1899 Q14960 Q3572
P937
Q502895
USER
Which people have those cities as work location ?
(c(Q502895),P937,Q1899) (c(Q502895),P937,Q14960) (c(Q502895),P937,Q3572)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q1899'] [{'concept': 'Q502895'}, 'P937', 'Q14960'] [{'concept': 'Q502895'}, 'P937', 'Q3572']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P937 ?e . VALUES ( ?e ) { ( resource:Q3572 ) ( resource:Q1844 ) ( resource:Q1899 ) } }
Kyiv Brno Tunis
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kyiv'] [{'concept': 'common name'}, 'work location', 'Brno'] [{'concept': 'common name'}, 'work location', 'Tunis']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:work_location ?e . VALUES ( ?e ) { ( resource:Tunis ) ( resource:Vaduz ) ( resource:Kyiv ) } }
[]
common name
Q454925 Q47900 Q457687
SYSTEM
Nikolay Bogolyubov, Nestor Makhno, Emil František Burian
Q1673479 Q1359722 Q585897 Q435090 Q18797 Q356965 Q31919 Q204138 Q212676 Q18396 Q112081 Q561031 Q23037242 Q870748 Q262328 Q2626847 Q454925 Q47900 Q22104996 Q16165629 Q11727268 Q19285195 Q89734 Q1318074 Q326624 Q216490 Q2576556 Q21064653 Q64983 Q107628 Q15809511 Q90310 Q1712790 Q434610 Q2756878 Q822489 Q19665509 Q79151 Q1314638 Q328094 Q605087 Q87767 Q827855 Q1681671 Q109624 Q2526437 Q1729151 Q1271961 Q4078705 Q827882 Q356899 Q1688191 Q2039537 Q2527254 Q572587 Q457687 Q1612700 Q78683 Q608266 Q19284530 Q1063371 Q468864
(c(Q502895),P937,Q1899) (c(Q502895),P937,Q14960) (c(Q502895),P937,Q3572)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[ANSWERS] have those cities as work location
[{'concept': 'Q502895'}, 'P937', 'Q1899'] [{'concept': 'Q502895'}, 'P937', 'Q14960'] [{'concept': 'Q502895'}, 'P937', 'Q3572']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P937 ?e . VALUES ( ?e ) { ( resource:Q3572 ) ( resource:Q1844 ) ( resource:Q1899 ) } }
Isaak Berkovich Mykhailo Drahomanov Pavel Dolgorukov Pavlo Skoropadskyi Wladimir Klitschko Andrey Kurkov Vitali Klitschko Viktor Vasnetsov Symon Petliura Nadija Hordijenko Andrianova Archduke Wilhelm of Austria Stefan Czarniecki Eugeniusz Wrzeszcz Kurt Fleckenstein Mykola Riabchuk Józef Potocki Nikolay Bogolyubov Nestor Makhno Igor Balashov Joseph von Beck Jiří Mitáček Heinrich Schmidt Christian d’Elvert Johann Emanuel Brik Václav Černý Hugo Iltis Will Schaber Eberhard Christian Ferdinand Friedrich Hochstetter Max Bing Ferdinand Hrach Carl Sternberg Julius Leisching Henry Cowell Natalie Klausner Otto Eisler Ivan Ruller Othmar Spann Franz Frimmel Moses Dobruška Beda Dudík Inocenc Arnošt Bláha Berthold Bretholz Jan Bělehrádek Ludwig Anschütz Vincenc Brandl Karel Engliš Hans Widmann Antonín Bartoněk Berthold Feiwel Marc-Marie de Bombelles Jesse Thoor Otto Kitzler Vinzenz Baier Anthoni Schoonjans Emil František Burian Hermann Schwabedissen Theodor Gomperz Antonín Boček Gustav Schmidt Karel Absolon Lina Ben Mhenni
Nikolay Bogolyubov, Nestor Makhno and Emil František Burian have those cities as work location
Nikolay Bogolyubov Nestor Makhno Emil František Burian
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kyiv'] [{'concept': 'common name'}, 'work location', 'Brno'] [{'concept': 'common name'}, 'work location', 'Tunis']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:work_location ?e . VALUES ( ?e ) { ( resource:Tunis ) ( resource:Vaduz ) ( resource:Kyiv ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47900
P166
Q618779
USER
What was received by that person ?
(Q47900,P166,c(Q618779))
action filter_type
action find
entity Q47900
relation P166
type Q618779
['Q47900', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q47900 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Nestor Makhno
action filter_type
action find
entity Nestor Makhno
relation award received
type award
['Nestor Makhno', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Nestor_Makhno property:award_received ?i . ?i rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q47900
SYSTEM
Did you mean Nestor Makhno ?
Q454925 Q47900 Q457687
(Q454925,P166,c(Q618779)) (Q47900,P166,c(Q618779)) (Q457687,P166,c(Q618779))
[ANSWER]
['Q454925', 'P166', {'concept': 'Q618779'}] ['Q47900', 'P166', {'concept': 'Q618779'}] ['Q457687', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q47900 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Nikolay Bogolyubov Nestor Makhno Emil František Burian
Did you mean Nestor Makhno ?
Nestor Makhno
['Nikolay Bogolyubov', 'award received', {'concept': 'award'}] ['Nestor Makhno', 'award received', {'concept': 'award'}] ['Emil František Burian', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Nestor_Makhno property:award_received ?i . ?i rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q47900,P166,c(Q618779))
['Q47900', 'P166', {'concept': 'Q618779'}]
['Nestor Makhno', 'award received', {'concept': 'award'}]
[]
Q337463
SYSTEM
Order of the Red Banner
Q337463
(Q47900,P166,c(Q618779))
action filter_type
action find
entity Q47900
relation P166
type Q618779
The [ANSWER] was received by that person
['Q47900', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q47900 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Order of the Red Banner
The Order of the Red Banner was received by that person
Order of the Red Banner
action filter_type
action find
entity Nestor Makhno
relation award received
type award
['Nestor Makhno', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Nestor_Makhno property:award_received ?i . ?i rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q47900
P106
Q151885 Q12737077
USER
How many concepts or occupations are the job of Nestor Makhno ?
(Q47900,P106,c(Q151885)) (Q47900,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q47900
relation P106
type Q151885
action filter_type
action find
entity Q47900
relation P106
type Q12737077
['Q47900', 'P106', {'concept': 'Q151885'}] ['Q47900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?t ) { ( ontology:Q151885 ) ( ontology:Q12737077 ) } . ?o rdf:type ?t }
Nestor Makhno
action count
action union
action filter_type
action find
entity Nestor Makhno
relation occupation
type concept
action filter_type
action find
entity Nestor Makhno
relation occupation
type occupation
['Nestor Makhno', 'occupation', {'concept': 'concept'}] ['Nestor Makhno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?t ) { ( ontology:concept ) ( ontology:occupation ) } . ?o rdf:type ?t }
[]
concept occupation
SYSTEM
5
Q1028181 Q47064 Q36180 Q12961474 Q3242115
(Q47900,P106,c(Q151885)) (Q47900,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q47900
relation P106
type Q151885
action filter_type
action find
entity Q47900
relation P106
type Q12737077
[ANSWER]
['Q47900', 'P106', {'concept': 'Q151885'}] ['Q47900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?t ) { ( ontology:Q151885 ) ( ontology:Q12737077 ) } . ?o rdf:type ?t }
painter military personnel writer anarchist revolutionary
5
action count
action union
action filter_type
action find
entity Nestor Makhno
relation occupation
type concept
action filter_type
action find
entity Nestor Makhno
relation occupation
type occupation
['Nestor Makhno', 'occupation', {'concept': 'concept'}] ['Nestor Makhno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?t ) { ( ontology:concept ) ( ontology:occupation ) } . ?o rdf:type ?t }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q312910 Q113282
P27
Q1048835
USER
Which political territories are the countries of citizenship of Franz Antoine or Aureolus ?
OR((Q113282,P27,c(Q1048835)), (Q312910,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q113282
relation P27
action find
entity Q312910
relation P27
type Q1048835
{'OR': [['Q113282', 'P27', {'concept': 'Q1048835'}], ['Q312910', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q113282 property:P27 ?z } UNION { resource:Q312910 property:P27 ?z } } . ?z rdf:type ontology:Q1048835 }
Aureolus Franz Antoine
action filter_type
action union
action find
entity Franz Antoine
relation country of citizenship
action find
entity Aureolus
relation country of citizenship
type political territorial entity
{'OR': [['Franz Antoine', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aureolus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Franz_Antoine property:country_of_citizenship ?z } UNION { resource:Aureolus property:country_of_citizenship ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689 Q40
SYSTEM
Ancient Rome, Austria
Q1747689 Q40
OR((Q113282,P27,c(Q1048835)), (Q312910,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q113282
relation P27
action find
entity Q312910
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Franz Antoine or Aureolus
{'OR': [['Q113282', 'P27', {'concept': 'Q1048835'}], ['Q312910', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q113282 property:P27 ?z } UNION { resource:Q312910 property:P27 ?z } } . ?z rdf:type ontology:Q1048835 }
Ancient Rome Austria
Ancient Rome and Austria are the countries of citizenship of Franz Antoine or Aureolus
Ancient Rome Austria
action filter_type
action union
action find
entity Franz Antoine
relation country of citizenship
action find
entity Aureolus
relation country of citizenship
type political territorial entity
{'OR': [['Franz Antoine', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aureolus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Franz_Antoine property:country_of_citizenship ?z } UNION { resource:Aureolus property:country_of_citizenship ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]