Simple Question (Direct)
Simple Question
Q588063
P106
Q12737077
USER
What are the job of Anton Franz August Naaff ?
(Q588063,P106,c(Q12737077))
action filter_type
action find
entity Q588063
relation P106
type Q12737077
['Q588063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q588063 property:P106 ?p }
Anton Franz August Naaff
action filter_type
action find
entity Anton Franz August Naaff
relation occupation
type occupation
['Anton Franz August Naaff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Anton_Franz_August_Naaff property:occupation ?p }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q588063,P106,c(Q12737077))
action filter_type
action find
entity Q588063
relation P106
type Q12737077
The job of Anton Franz August Naaff are a [ANSWERS]
['Q588063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q588063 property:P106 ?p }
journalist writer
The job of Anton Franz August Naaff are a journalist and writer
journalist writer
action filter_type
action find
entity Anton Franz August Naaff
relation occupation
type occupation
['Anton Franz August Naaff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Anton_Franz_August_Naaff property:occupation ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q588063
P20
Q56061
USER
Where did that person die ?
(Q1930187,P20,c(Q56061)) (Q36180,P20,c(Q56061))
action filter_type
action find
entity Q588063
relation P20
type Q56061
['Q1930187', 'P20', {'concept': 'Q56061'}] ['Q36180', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q588063 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Anton Franz August Naaff
action filter_type
action find
entity Anton Franz August Naaff
relation place of death
type administrative territorial entity
['journalist', 'place of death', {'concept': 'administrative territorial entity'}] ['writer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Anton_Franz_August_Naaff property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1930187,P20,c(Q56061)) (Q36180,P20,c(Q56061))
action filter_type
action find
entity Q588063
relation P20
type Q56061
That person died in [ANSWER]
['Q1930187', 'P20', {'concept': 'Q56061'}] ['Q36180', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q588063 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Vienna
That person died in Vienna
Vienna
action filter_type
action find
entity Anton Franz August Naaff
relation place of death
type administrative territorial entity
['journalist', 'place of death', {'concept': 'administrative territorial entity'}] ['writer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Anton_Franz_August_Naaff property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1930187 Q5308718
P101
Q502895
USER
How many people have field of work as journalist or early modern period ?
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q5308718)
action count
action union
action filter_type
action find_reverse
entity Q1930187
relation P101
type Q502895
action filter_type
action find_reverse
entity Q5308718
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q5308718']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P101 ?p . VALUES ( ?p ) { ( resource:Q1930187 ) ( resource:Q5308718 ) } }
journalist early modern period
action count
action union
action filter_type
action find_reverse
entity journalist
relation field of work
type common name
action filter_type
action find_reverse
entity early modern period
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'early modern period']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:field_of_work ?p . VALUES ( ?p ) { ( resource:journalist ) ( resource:early_modern_period ) } }
[]
common name
SYSTEM
27
Q3083971 Q3370768 Q2896525 Q3573413 Q3169035 Q3187384 Q3350915 Q3379719 Q3385282 Q2861628 Q26208661 Q709844 Q3383545 Q19630064 Q3350899 Q3479345 Q2829691 Q3084005 Q481739 Q3167614 Q15970672 Q3320825 Q3308875 Q3172761 Q15114765 Q3022608 Q3379971
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q5308718)
action count
action union
action filter_type
action find_reverse
entity Q1930187
relation P101
type Q502895
action filter_type
action find_reverse
entity Q5308718
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q5308718']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P101 ?p . VALUES ( ?p ) { ( resource:Q1930187 ) ( resource:Q5308718 ) } }
François Billacois Paul Butel Benoît Garnot Yves-Marie  Bercé Jean-Pierre Bois Joël Cornette Olivier Christin Philippe Delorme Pierre Goubert Arlette Farge Andreas Nijenhuis-Bescher Finn Gustavsen Pierre-Yves Beaurepaire Hubert Bost Olivier Chaline Serge Gruzinski Alain Croix François Bluche Lucien Bély Jean-Marie Constant Louis Charles Garans Monique Cottret Michel Antoine Jean Jacquart Erich Preuß Denis Crouzet Philippe Guignet
27
action count
action union
action filter_type
action find_reverse
entity journalist
relation field of work
type common name
action filter_type
action find_reverse
entity early modern period
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'early modern period']
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:field_of_work ?p . VALUES ( ?p ) { ( resource:journalist ) ( resource:early_modern_period ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q588063
P27
Q3024240
USER
Which former country does Anton Franz August Naaff belong to ?
(Q588063,P27,c(Q3024240))
action filter_type
action find
entity Q588063
relation P27
type Q3024240
['Q588063', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?l WHERE { resource:Q588063 property:P27 ?l . ?l rdf:type ontology:Q3024240 }
Anton Franz August Naaff
action filter_type
action find
entity Anton Franz August Naaff
relation country of citizenship
type former country
['Anton Franz August Naaff', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?l WHERE { resource:Anton_Franz_August_Naaff property:country_of_citizenship ?l . ?l rdf:type ontology:former_country }
[]
former country
Q28513
SYSTEM
Austria-Hungary
Q28513
(Q588063,P27,c(Q3024240))
action filter_type
action find
entity Q588063
relation P27
type Q3024240
Anton Franz August Naaff belongs to [ANSWER]
['Q588063', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?l WHERE { resource:Q588063 property:P27 ?l . ?l rdf:type ontology:Q3024240 }
Austria-Hungary
Anton Franz August Naaff belongs to Austria-Hungary
Austria-Hungary
action filter_type
action find
entity Anton Franz August Naaff
relation country of citizenship
type former country
['Anton Franz August Naaff', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?l WHERE { resource:Anton_Franz_August_Naaff property:country_of_citizenship ?l . ?l rdf:type ontology:former_country }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28513
P36
Q56061
USER
Which administrative territories are known as the capital of that former country ?
(Q28513,P36,c(Q56061))
action filter_type
action find
entity Q28513
relation P36
type Q56061
['Q28513', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q28513 property:P36 ?g }
Austria-Hungary
action filter_type
action find
entity Austria-Hungary
relation capital
type administrative territorial entity
['Austria-Hungary', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Austria-Hungary property:capital ?g }
[]
administrative territorial entity
Q1741 Q1781
SYSTEM
Vienna, Budapest
Q1741 Q1781
(Q28513,P36,c(Q56061))
action filter_type
action find
entity Q28513
relation P36
type Q56061
[ANSWERS] are known as the capital of that former country
['Q28513', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q28513 property:P36 ?g }
Vienna Budapest
Vienna and Budapest are known as the capital of that former country
Vienna Budapest
action filter_type
action find
entity Austria-Hungary
relation capital
type administrative territorial entity
['Austria-Hungary', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Austria-Hungary property:capital ?g }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1741 Q1781
P190
Q515
USER
Which cities are twin towns of those administrative territories ?
(Q1741,P190,c(Q515)) (Q1781,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q1741', 'P190', {'concept': 'Q515'}] ['Q1781', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . ?m property:P190 ?g . VALUES ( ?m ) { ( resource:Q1741 ) ( resource:Q1781 ) } }
Vienna Budapest
action filter_type
action find
entity prev_answer
relation sister city
type city
['Vienna', 'sister city', {'concept': 'city'}] ['Budapest', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . ?m property:sister_city ?g . VALUES ( ?m ) { ( resource:Vienna ) ( resource:Budapest ) } }
[]
city
Q1899 Q1899 Q1794
SYSTEM
Kyiv for 1st, 2nd, Frankfurt for 3rd
Q1844 Q14960 Q3572 Q1899 Q1794 Q19660 Q11194 Q20921 Q1761 Q1899
(Q1741,P190,c(Q515)) (Q1781,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS]
['Q1741', 'P190', {'concept': 'Q515'}] ['Q1781', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . ?m property:P190 ?g . VALUES ( ?m ) { ( resource:Q1741 ) ( resource:Q1781 ) } }
Vaduz Brno Tunis Kyiv Frankfurt Bucharest Sarajevo Daejeon Dublin Kyiv
Kyiv, Kyiv and Frankfurt are twin towns of those administrative territories
Kyiv Kyiv Frankfurt
action filter_type
action find
entity prev_answer
relation sister city
type city
['Vienna', 'sister city', {'concept': 'city'}] ['Budapest', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . ?m property:sister_city ?g . VALUES ( ?m ) { ( resource:Vienna ) ( resource:Budapest ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1899
P166
Q618779
USER
What was received by that city ?
(Q1899,P166,c(Q618779))
action filter_type
action find
entity Q1899
relation P166
type Q618779
['Q1899', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q1899 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Kyiv
action filter_type
action find
entity Kyiv
relation award received
type award
['Kyiv', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Kyiv property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q1794
SYSTEM
Did you mean Frankfurt ?
Q1899 Q1899 Q1794
(Q1899,P166,c(Q618779)) (Q1899,P166,c(Q618779)) (Q1794,P166,c(Q618779))
[ANSWER]
['Q1899', 'P166', {'concept': 'Q618779'}] ['Q1899', 'P166', {'concept': 'Q618779'}] ['Q1794', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q1899 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Kyiv Kyiv Frankfurt
Did you mean Frankfurt ?
Frankfurt
['Kyiv', 'award received', {'concept': 'award'}] ['Kyiv', 'award received', {'concept': 'award'}] ['Frankfurt', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Kyiv property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
No, I meant Kyiv. Could you tell me the answer for that?
(Q1899,P166,c(Q618779))
Q1899
['Q1899', 'P166', {'concept': 'Q618779'}]
['Kyiv', 'award received', {'concept': 'award'}]
[]
Q583881
SYSTEM
Order of Friendship of Peoples
Q583881
(Q1899,P166,c(Q618779))
action filter_type
action find
entity Q1899
relation P166
type Q618779
City [ANSWER] was received by that city
['Q1899', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q1899 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Order of Friendship of Peoples
City Order of Friendship of Peoples was received by that city
Order of Friendship of Peoples
action filter_type
action find
entity Kyiv
relation award received
type award
['Kyiv', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Kyiv property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P931
Q62447
USER
Which aerodromes serve the place named Kyiv ?
(c(Q62447),P931,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1899']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q62447 . ?i property:P931 resource:Q1899 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kyiv']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:aerodrome . ?i property:place_served_by_airport resource:Kyiv }
[]
aerodrome
Q477677 Q939543
SYSTEM
Boryspil International Airport, Kyiv Zhuliany International Airport
Q477677 Q939543
(c(Q62447),P931,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P931
type Q62447
[ANSWERS] serve the place named Kyiv
[{'concept': 'Q62447'}, 'P931', 'Q1899']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q62447 . ?i property:P931 resource:Q1899 }
Boryspil International Airport Kyiv Zhuliany International Airport
Boryspil International Airport and Kyiv Zhuliany International Airport serve the place named Kyiv
Boryspil International Airport Kyiv Zhuliany International Airport
action filter_type
action find_reverse
entity Kyiv
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Kyiv']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:aerodrome . ?i property:place_served_by_airport resource:Kyiv }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P276
Q832107
USER
What are located at Frankfurt ?
(c(Q832107),P276,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P276
type Q832107
[{'concept': 'Q832107'}, 'P276', 'Q1794']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q1794 . ?t rdf:type ontology:Q832107 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation location
type Imperial election
[{'concept': 'Imperial election'}, 'location', 'Frankfurt']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Frankfurt . ?t rdf:type ontology:Imperial_election }
[]
Imperial election
Q18415646 Q18415598
SYSTEM
Imperial election of May 1400, Imperial election of 1376
Q18415646 Q18415598
(c(Q832107),P276,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P276
type Q832107
[ANSWERS] are located at Frankfurt
[{'concept': 'Q832107'}, 'P276', 'Q1794']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q1794 . ?t rdf:type ontology:Q832107 }
Imperial election of May 1400 Imperial election of 1376
Imperial election of May 1400 and Imperial election of 1376 are located at Frankfurt
Imperial election of May 1400 Imperial election of 1376
action filter_type
action find_reverse
entity Frankfurt
relation location
type Imperial election
[{'concept': 'Imperial election'}, 'location', 'Frankfurt']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Frankfurt . ?t rdf:type ontology:Imperial_election }
[]