Simple Question (Direct)
Simple Question
Q16727784
P641
Q349
USER
Which sport was Elio Calderini a part of ?
(Q16727784,P641,c(Q349))
action filter_type
action find
entity Q16727784
relation P641
type Q349
['Q16727784', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q16727784 property:P641 ?d }
Elio Calderini
action filter_type
action find
entity Elio Calderini
relation sport
type sport
['Elio Calderini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Elio_Calderini property:sport ?d }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16727784,P641,c(Q349))
action filter_type
action find
entity Q16727784
relation P641
type Q349
Which sport was Elio Calderini a part of
['Q16727784', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q16727784 property:P641 ?d }
association football
Which sport was Elio Calderini a part of
association football
action filter_type
action find
entity Elio Calderini
relation sport
type sport
['Elio Calderini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Elio_Calderini property:sport ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16727784
P19
Q15617994
USER
Which administrative territory was that person born in ?
(Q2736,P19,c(Q15617994))
action filter_type
action find
entity Q16727784
relation P19
type Q15617994
['Q2736', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q16727784 property:P19 ?u }
Elio Calderini
action filter_type
action find
entity Elio Calderini
relation place of birth
type designation for an administrative territorial entity
['association football', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Elio_Calderini property:place_of_birth ?u }
[]
designation for an administrative territorial entity
Q20413
SYSTEM
Città di Castello
Q20413
(Q2736,P19,c(Q15617994))
action filter_type
action find
entity Q16727784
relation P19
type Q15617994
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q16727784 property:P19 ?u }
Città di Castello
That person was born in Città di Castello
Città di Castello
action filter_type
action find
entity Elio Calderini
relation place of birth
type designation for an administrative territorial entity
['association football', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Elio_Calderini property:place_of_birth ?u }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3810066 Q16727784
P27
Q15617994
USER
Which administrative territories are Elio Calderini or Jorge Garbey a civilian of ?
OR((Q16727784,P27,c(Q15617994)), (Q3810066,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16727784
relation P27
action find
entity Q3810066
relation P27
type Q15617994
{'OR': [['Q16727784', 'P27', {'concept': 'Q15617994'}], ['Q3810066', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { ?e property:P27 ?w . VALUES ( ?e ) { ( resource:Q3810066 ) ( resource:Q16727784 ) } } . ?w rdf:type ontology:Q15617994 }
Jorge Garbey Elio Calderini
action filter_type
action union
action find
entity Elio Calderini
relation country of citizenship
action find
entity Jorge Garbey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elio Calderini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jorge Garbey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?e property:country_of_citizenship ?w . VALUES ( ?e ) { ( resource:Jorge_Garbey ) ( resource:Elio_Calderini ) } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q241 Q38
SYSTEM
Cuba, Italy
Q241 Q38
OR((Q16727784,P27,c(Q15617994)), (Q3810066,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16727784
relation P27
action find
entity Q3810066
relation P27
type Q15617994
[ANSWERS] are Elio Calderini or Jorge Garbey a civilian of
{'OR': [['Q16727784', 'P27', {'concept': 'Q15617994'}], ['Q3810066', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { ?e property:P27 ?w . VALUES ( ?e ) { ( resource:Q3810066 ) ( resource:Q16727784 ) } } . ?w rdf:type ontology:Q15617994 }
Cuba Italy
Cuba and Italy are Elio Calderini or Jorge Garbey a civilian of
Cuba Italy
action filter_type
action union
action find
entity Elio Calderini
relation country of citizenship
action find
entity Jorge Garbey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Elio Calderini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jorge Garbey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?e property:country_of_citizenship ?w . VALUES ( ?e ) { ( resource:Jorge_Garbey ) ( resource:Elio_Calderini ) } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6681485
P27
Q502895
USER
Are Lorne McLaren a native of those administrative territories ?
(Q6681485,P27,Q241) (Q6681485,P27,Q38)
action is_in
entity prev_answer
action find
entity Q6681485
relation P27
['Q6681485', 'P27', 'Q241'] ['Q6681485', 'P27', 'Q38']
ASK WHERE { VALUES ( ?p ) { ( resource:Q241 ) ( resource:Q38 ) } . resource:Q6681485 property:P27 ?p }
Lorne McLaren
action is_in
entity prev_answer
action find
entity Lorne McLaren
relation country of citizenship
['Lorne McLaren', 'country of citizenship', 'Cuba'] ['Lorne McLaren', 'country of citizenship', 'Italy']
ASK WHERE { VALUES ( ?p ) { ( resource:Cuba ) ( resource:Italy ) } . resource:Lorne_McLaren property:country_of_citizenship ?p }
[]
common name
SYSTEM
NO
(Q6681485,P27,Q241) (Q6681485,P27,Q38)
action is_in
entity prev_answer
action find
entity Q6681485
relation P27
[ANSWER]
['Q6681485', 'P27', 'Q241'] ['Q6681485', 'P27', 'Q38']
ASK WHERE { VALUES ( ?p ) { ( resource:Q241 ) ( resource:Q38 ) } . resource:Q6681485 property:P27 ?p }
No
action is_in
entity prev_answer
action find
entity Lorne McLaren
relation country of citizenship
['Lorne McLaren', 'country of citizenship', 'Cuba'] ['Lorne McLaren', 'country of citizenship', 'Italy']
ASK WHERE { VALUES ( ?p ) { ( resource:Cuba ) ( resource:Italy ) } . resource:Lorne_McLaren property:country_of_citizenship ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20413
P20
Q502895
USER
Which people expired at Città di Castello ?
(c(Q502895),P20,Q20413)
action filter_type
action find_reverse
entity Q20413
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q20413']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q20413 . ?g rdf:type ontology:Q502895 }
Città di Castello
action filter_type
action find_reverse
entity Città di Castello
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Città di Castello']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Città_di_Castello . ?g rdf:type ontology:common_name }
[]
common name
Q1407716 Q3751400 Q3616790
SYSTEM
Corrado Bernicchi, Franco Mancini, Angela de' Rossi
Q3746762 Q16525011 Q3638194 Q3879951 Q3751400 Q5448740 Q3769753 Q1084763 Q691627 Q3846978 Q550788 Q23831025 Q3555397 Q21832860 Q1407716 Q3851118 Q3948187 Q3695462 Q3616790 Q531502 Q3290785
(c(Q502895),P20,Q20413)
action filter_type
action find_reverse
entity Q20413
relation P20
type Q502895
As [ANSWERS] expired at Città di Castello
[{'concept': 'Q502895'}, 'P20', 'Q20413']
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q20413 . ?g rdf:type ontology:Q502895 }
Florida Cevoli Aldo Riguccini Beniamino Schivo Nuvolo Franco Mancini Filippo Titi Giulio Pierangeli Silvio Passerini Crescentinus Margaret of Castello Antonio Maria Abbatini Giuseppe di Santa Maria Venanzio Gabriotti Giuseppe Facchinetti Pulazzini Corrado Bernicchi Massimo Baldelli Sandro Bartoccioni Costantino Bonelli Angela de' Rossi Giulio Vitelli Marguerite de Metola
As Corrado Bernicchi, Franco Mancini and Angela de' Rossi expired at Città di Castello
Corrado Bernicchi Franco Mancini Angela de' Rossi
action filter_type
action find_reverse
entity Città di Castello
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Città di Castello']
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Città_di_Castello . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1407716 Q3751400 Q3616790
P19
Q15617994
USER
Which administrative territories are the birthplace of those people ?
(Q1407716,P19,c(Q15617994)) (Q3751400,P19,c(Q15617994)) (Q3616790,P19,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P19
type Q15617994
['Q1407716', 'P19', {'concept': 'Q15617994'}] ['Q3751400', 'P19', {'concept': 'Q15617994'}] ['Q3616790', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?j property:P19 ?d . VALUES ( ?j ) { ( resource:Q3746762 ) ( resource:Q16525011 ) ( resource:Q3638194 ) } . ?d rdf:type ontology:Q15617994 }
Corrado Bernicchi Franco Mancini Angela de' Rossi
action filter_type
action find
entity prev_answer
relation place of birth
type designation for an administrative territorial entity
['Corrado Bernicchi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Franco Mancini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ["Angela de' Rossi", 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?j property:place_of_birth ?d . VALUES ( ?j ) { ( resource:Florida_Cevoli ) ( resource:Aldo_Riguccini ) ( resource:Beniamino_Schivo ) } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20413 Q20413 Q100919
SYSTEM
San Secondo Parmense for 3rd, Città di Castello for 1st, 2nd
Q20413 Q20413 Q100919
(Q1407716,P19,c(Q15617994)) (Q3751400,P19,c(Q15617994)) (Q3616790,P19,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P19
type Q15617994
[ANSWERS]
['Q1407716', 'P19', {'concept': 'Q15617994'}] ['Q3751400', 'P19', {'concept': 'Q15617994'}] ['Q3616790', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?j property:P19 ?d . VALUES ( ?j ) { ( resource:Q3746762 ) ( resource:Q16525011 ) ( resource:Q3638194 ) } . ?d rdf:type ontology:Q15617994 }
Città di Castello Città di Castello San Secondo Parmense
Città di Castello, Città di Castello and San Secondo Parmense are the birthplace of those people
Città di Castello Città di Castello San Secondo Parmense
action filter_type
action find
entity prev_answer
relation place of birth
type designation for an administrative territorial entity
['Corrado Bernicchi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Franco Mancini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ["Angela de' Rossi", 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?j property:place_of_birth ?d . VALUES ( ?j ) { ( resource:Florida_Cevoli ) ( resource:Aldo_Riguccini ) ( resource:Beniamino_Schivo ) } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20413
P276
Q1190554
USER
Which event is situated at that administrative territory ?
(c(Q1190554),P276,Q20413)
action filter_type
action find_reverse
entity Q20413
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q20413']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1190554 . ?e property:P276 resource:Q20413 }
Città di Castello
action filter_type
action find_reverse
entity Città di Castello
relation location
type event
[{'concept': 'event'}, 'location', 'Città di Castello']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:event . ?e property:location resource:Città_di_Castello }
[]
event
Clarification for simple ques.
Q100919
SYSTEM
Did you mean San Secondo Parmense ?
Q20413 Q20413 Q100919
(c(Q1190554),P276,Q20413) (c(Q1190554),P276,Q20413) (c(Q1190554),P276,Q100919)
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q20413'] [{'concept': 'Q1190554'}, 'P276', 'Q20413'] [{'concept': 'Q1190554'}, 'P276', 'Q100919']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1190554 . ?e property:P276 resource:Q20413 }
Città di Castello Città di Castello San Secondo Parmense
Did you mean San Secondo Parmense ?
San Secondo Parmense
[{'concept': 'event'}, 'location', 'Città di Castello'] [{'concept': 'event'}, 'location', 'Città di Castello'] [{'concept': 'event'}, 'location', 'San Secondo Parmense']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:event . ?e property:location resource:Città_di_Castello }
[]
Simple Question (Coreferenced)
USER
No, I meant Città di Castello. Could you tell me the answer for that?
(c(Q1190554),P276,Q20413)
Q20413
[{'concept': 'Q1190554'}, 'P276', 'Q20413']
[{'concept': 'event'}, 'location', 'Città di Castello']
[]
Q2890214
SYSTEM
Battle of Tifernum
Q2890214
(c(Q1190554),P276,Q20413)
action filter_type
action find_reverse
entity Q20413
relation P276
type Q1190554
[ANSWER] is situated at that administrative territory
[{'concept': 'Q1190554'}, 'P276', 'Q20413']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1190554 . ?e property:P276 resource:Q20413 }
Battle of Tifernum
Battle of Tifernum is situated at that administrative territory
Battle of Tifernum
action filter_type
action find_reverse
entity Città di Castello
relation location
type event
[{'concept': 'event'}, 'location', 'Città di Castello']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:event . ?e property:location resource:Città_di_Castello }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3376
P190
Q56061
USER
Which administrative territories are the sister cities of Trento ?
(Q3376,P190,c(Q56061))
action filter_type
action find
entity Q3376
relation P190
type Q56061
['Q3376', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3376 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Trento
action filter_type
action find
entity Trento
relation sister city
type administrative territorial entity
['Trento', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Trento property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q44206 Q10313 Q1085
SYSTEM
Resistencia, Donostia/San Sebastián, Prague
Q44206 Q10313 Q1085
(Q3376,P190,c(Q56061))
action filter_type
action find
entity Q3376
relation P190
type Q56061
[ANSWERS] are the sister cities of Trento
['Q3376', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3376 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Resistencia Donostia/San Sebastián Prague
Resistencia, Donostia/San Sebastián and Prague are the sister cities of Trento
Resistencia Donostia/San Sebastián Prague
action filter_type
action find
entity Trento
relation sister city
type administrative territorial entity
['Trento', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Trento property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3376
Q515
USER
And which city?
(Q3376,P190,c(Q515))
action filter_type
action find
entity Q3376
relation P190
type Q515
['Q3376', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q3376 property:P190 ?k . ?k rdf:type ontology:Q515 }
Trento
action filter_type
action find
entity Trento
relation sister city
type city
['Trento', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Trento property:sister_city ?k . ?k rdf:type ontology:city }
[]
city
Q3994 Q214956
SYSTEM
Kempten, Znojmo
Q3994 Q214956
(Q3376,P190,c(Q515))
action filter_type
action find
entity Q3376
relation P190
type Q515
[ANSWERS]
['Q3376', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q3376 property:P190 ?k . ?k rdf:type ontology:Q515 }
Kempten Znojmo
Kempten Znojmo
action filter_type
action find
entity Trento
relation sister city
type city
['Trento', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Trento property:sister_city ?k . ?k rdf:type ontology:city }
[]