Simple Question (Direct)
Simple Question
Q631633
P1412
Q34770
USER
Which language does Arcangelo Scacchi speak in ?
(Q631633,P1412,c(Q34770))
action filter_type
action find
entity Q631633
relation P1412
type Q34770
['Q631633', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q631633 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Arcangelo Scacchi
action filter_type
action find
entity Arcangelo Scacchi
relation languages spoken, written or signed
type language
['Arcangelo Scacchi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Arcangelo_Scacchi property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q631633,P1412,c(Q34770))
action filter_type
action find
entity Q631633
relation P1412
type Q34770
Arcangelo Scacchi speaks in [ANSWER]
['Q631633', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q631633 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Italian
Arcangelo Scacchi speaks in Italian
Italian
action filter_type
action find
entity Arcangelo Scacchi
relation languages spoken, written or signed
type language
['Arcangelo Scacchi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Arcangelo_Scacchi property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q631633
P27
Q7275
USER
Which state is the native country of that person ?
(Q652,P27,c(Q7275))
action filter_type
action find
entity Q631633
relation P27
type Q7275
['Q652', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q631633 property:P27 ?q . ?q rdf:type ontology:Q7275 }
Arcangelo Scacchi
action filter_type
action find
entity Arcangelo Scacchi
relation country of citizenship
type state
['Italian', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Arcangelo_Scacchi property:country_of_citizenship ?q . ?q rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q652,P27,c(Q7275))
action filter_type
action find
entity Q631633
relation P27
type Q7275
The [ANSWER] is the native country of that person
['Q652', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q631633 property:P27 ?q . ?q rdf:type ontology:Q7275 }
Kingdom of Italy
The Kingdom of Italy is the native country of that person
Kingdom of Italy
action filter_type
action find
entity Arcangelo Scacchi
relation country of citizenship
type state
['Italian', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Arcangelo_Scacchi property:country_of_citizenship ?q . ?q rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q631633
P20
Q56061
USER
Where did that person expire ?
(Q172579,P20,c(Q56061))
action filter_type
action find
entity Q631633
relation P20
type Q56061
['Q172579', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q631633 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Arcangelo Scacchi
action filter_type
action find
entity Arcangelo Scacchi
relation place of death
type administrative territorial entity
['Kingdom of Italy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Arcangelo_Scacchi property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q172579,P20,c(Q56061))
action filter_type
action find
entity Q631633
relation P20
type Q56061
That person expired in [ANSWER]
['Q172579', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q631633 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Naples
That person expired in Naples
Naples
action filter_type
action find
entity Arcangelo Scacchi
relation place of death
type administrative territorial entity
['Kingdom of Italy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Arcangelo_Scacchi property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2634 Q20650012
P20
Q502895
USER
Does Vishnu Unnikrishnan have that administrative territory as place of death ?
(Q20650012,P20,Q2634)
action is_in
entity Q20650012
action find
entity Q2634
relation P20
['Q20650012', 'P20', 'Q2634']
ASK WHERE { resource:Q2634 property:P20 resource:Q20650012 }
Naples Vishnu Unnikrishnan
action is_in
entity Vishnu Unnikrishnan
action find
entity Naples
relation place of death
['Vishnu Unnikrishnan', 'place of death', 'Naples']
ASK WHERE { resource:Naples property:place_of_death resource:Vishnu_Unnikrishnan }
[]
common name
SYSTEM
NO
(Q20650012,P20,Q2634)
action is_in
entity Q20650012
action find
entity Q2634
relation P20
[ANSWER]
['Q20650012', 'P20', 'Q2634']
ASK WHERE { resource:Q2634 property:P20 resource:Q20650012 }
No
action is_in
entity Vishnu Unnikrishnan
action find
entity Naples
relation place of death
['Vishnu Unnikrishnan', 'place of death', 'Naples']
ASK WHERE { resource:Naples property:place_of_death resource:Vishnu_Unnikrishnan }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q172579 Q2044 Q7139769
P36
Q56061
USER
Does Kingdom of Italy consist of Florence and Parret as its capital ?
(Q172579,P36,Q2044) (Q172579,P36,Q7139769)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q2044
relation P36
action find_reverse
entity Q7139769
relation P36
['Q172579', 'P36', 'Q2044'] ['Q172579', 'P36', 'Q7139769']
ASK WHERE { resource:Q172579 property:P36 resource:Q2044 . resource:Q172579 property:P36 resource:Q7139769 }
Kingdom of Italy Florence Parret
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Florence
relation capital
action find_reverse
entity Parret
relation capital
['Kingdom of Italy', 'capital', 'Florence'] ['Kingdom of Italy', 'capital', 'Parret']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Florence . resource:Kingdom_of_Italy property:capital resource:Parret }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q172579,P36,Q2044) (Q172579,P36,Q7139769)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q2044
relation P36
action find_reverse
entity Q7139769
relation P36
[ANSWER]
['Q172579', 'P36', 'Q2044'] ['Q172579', 'P36', 'Q7139769']
ASK WHERE { resource:Q172579 property:P36 resource:Q2044 . resource:Q172579 property:P36 resource:Q7139769 }
YES and NO respectively
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Florence
relation capital
action find_reverse
entity Parret
relation capital
['Kingdom of Italy', 'capital', 'Florence'] ['Kingdom of Italy', 'capital', 'Parret']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Florence . resource:Kingdom_of_Italy property:capital resource:Parret }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172579
P35
Q502895
USER
Which people are the heads of state of that one ?
action filter_type
action find
entity Q172579
relation P35
type Q502895
SELECT DISTINCT ?k WHERE { resource:Q172579 property:P35 ?k . ?k rdf:type ontology:Q502895 }
Kingdom of Italy
action filter_type
action find
entity Kingdom of Italy
relation head of state
type common name
SELECT DISTINCT ?k WHERE { resource:Kingdom_of_Italy property:head_of_state ?k . ?k rdf:type ontology:common_name }
[]
common name
Q150642 Q187149 Q168691
SYSTEM
Vittorio Emanuele III, Umberto II of Italy, Victor Emmanuel II of Savoy
Q150642 Q168691 Q187149 Q153688
action filter_type
action find
entity Q172579
relation P35
type Q502895
[ANSWERS] are the heads of state of that one
SELECT DISTINCT ?k WHERE { resource:Q172579 property:P35 ?k . ?k rdf:type ontology:Q502895 }
Vittorio Emanuele III Victor Emmanuel II of Savoy Umberto II of Italy Umberto I of Italy
Vittorio Emanuele III, Umberto II of Italy and Victor Emmanuel II of Savoy are the heads of state of that one
Vittorio Emanuele III Umberto II of Italy Victor Emmanuel II of Savoy
action filter_type
action find
entity Kingdom of Italy
relation head of state
type common name
SELECT DISTINCT ?k WHERE { resource:Kingdom_of_Italy property:head_of_state ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P17
Q7275
USER
Which state is Kingdom of Italy situated in ?
(Q172579,P17,c(Q7275))
action filter_type
action find
entity Q172579
relation P17
type Q7275
['Q172579', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q172579 property:P17 ?d . ?d rdf:type ontology:Q7275 }
Kingdom of Italy
action filter_type
action find
entity Kingdom of Italy
relation country
type state
['Kingdom of Italy', 'country', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Kingdom_of_Italy property:country ?d . ?d rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q172579,P17,c(Q7275))
action filter_type
action find
entity Q172579
relation P17
type Q7275
[ANSWER] is situated in [ANSWER]
['Q172579', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q172579 property:P17 ?d . ?d rdf:type ontology:Q7275 }
Kingdom of Italy
Kingdom of Italy is situated in Kingdom of Italy
Kingdom of Italy
action filter_type
action find
entity Kingdom of Italy
relation country
type state
['Kingdom of Italy', 'country', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Kingdom_of_Italy property:country ?d . ?d rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q172579 Q2044 Q220
P36
Q56061
USER
Does Kingdom of Italy have Florence and Rome as its capital ?
(Q172579,P36,Q2044) (Q172579,P36,Q220)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q2044
relation P36
action find_reverse
entity Q220
relation P36
['Q172579', 'P36', 'Q2044'] ['Q172579', 'P36', 'Q220']
ASK WHERE { resource:Q172579 property:P36 resource:Q2044 . resource:Q172579 property:P36 resource:Q220 }
Kingdom of Italy Florence Rome
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Florence
relation capital
action find_reverse
entity Rome
relation capital
['Kingdom of Italy', 'capital', 'Florence'] ['Kingdom of Italy', 'capital', 'Rome']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Florence . resource:Kingdom_of_Italy property:capital resource:Rome }
[]
administrative territorial entity
SYSTEM
YES
(Q172579,P36,Q2044) (Q172579,P36,Q220)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q2044
relation P36
action find_reverse
entity Q220
relation P36
[ANSWER]
['Q172579', 'P36', 'Q2044'] ['Q172579', 'P36', 'Q220']
ASK WHERE { resource:Q172579 property:P36 resource:Q2044 . resource:Q172579 property:P36 resource:Q220 }
Yes
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Florence
relation capital
action find_reverse
entity Rome
relation capital
['Kingdom of Italy', 'capital', 'Florence'] ['Kingdom of Italy', 'capital', 'Rome']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Florence . resource:Kingdom_of_Italy property:capital resource:Rome }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2634 Q11194 Q1756968
P190
Q515
USER
Is Naples twin city of Sarajevo and Roztoky ?
(Q2634,P190,Q11194) (Q2634,P190,Q1756968)
action is_in
entity Q2634
action intersection
action find_reverse
entity Q11194
relation P190
action find_reverse
entity Q1756968
relation P190
['Q2634', 'P190', 'Q11194'] ['Q2634', 'P190', 'Q1756968']
ASK WHERE { resource:Q2634 property:P190 resource:Q1756968 . resource:Q2634 property:P190 resource:Q11194 }
Naples Sarajevo Roztoky
action is_in
entity Naples
action intersection
action find_reverse
entity Sarajevo
relation sister city
action find_reverse
entity Roztoky
relation sister city
['Naples', 'sister city', 'Sarajevo'] ['Naples', 'sister city', 'Roztoky']
ASK WHERE { resource:Naples property:sister_city resource:Roztoky . resource:Naples property:sister_city resource:Sarajevo }
[]
city
SYSTEM
YES and NO respectively
(Q2634,P190,Q11194) (Q2634,P190,Q1756968)
action is_in
entity Q2634
action intersection
action find_reverse
entity Q11194
relation P190
action find_reverse
entity Q1756968
relation P190
[ANSWER]
['Q2634', 'P190', 'Q11194'] ['Q2634', 'P190', 'Q1756968']
ASK WHERE { resource:Q2634 property:P190 resource:Q1756968 . resource:Q2634 property:P190 resource:Q11194 }
YES and NO respectively
action is_in
entity Naples
action intersection
action find_reverse
entity Sarajevo
relation sister city
action find_reverse
entity Roztoky
relation sister city
['Naples', 'sister city', 'Sarajevo'] ['Naples', 'sister city', 'Roztoky']
ASK WHERE { resource:Naples property:sister_city resource:Roztoky . resource:Naples property:sister_city resource:Sarajevo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2634 Q3977434
P127
Q41176
USER
How many buildings belongs to Naples or Sisters of Providence of Saint Mary-of-the-Woods ?
(c(Q41176),P127,Q2634) (c(Q41176),P127,Q3977434)
action count
action union
action filter_type
action find_reverse
entity Q2634
relation P127
type Q41176
action filter_type
action find_reverse
entity Q3977434
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q2634'] [{'concept': 'Q41176'}, 'P127', 'Q3977434']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e property:P127 resource:Q2634 . ?e rdf:type ontology:Q41176 } UNION { ?e rdf:type ontology:Q41176 . ?e property:P127 resource:Q3977434 } }
Naples Sisters of Providence of Saint Mary-of-the-Woods
action count
action union
action filter_type
action find_reverse
entity Naples
relation owned by
type building
action filter_type
action find_reverse
entity Sisters of Providence of Saint Mary-of-the-Woods
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Naples'] [{'concept': 'building'}, 'owned by', 'Sisters of Providence of Saint Mary-of-the-Woods']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e property:owned_by resource:Naples . ?e rdf:type ontology:building } UNION { ?e rdf:type ontology:building . ?e property:owned_by resource:Sisters_of_Providence_of_Saint_Mary-of-the-Woods } }
[]
building
SYSTEM
2
Q14688300 Q7587033
(c(Q41176),P127,Q2634) (c(Q41176),P127,Q3977434)
action count
action union
action filter_type
action find_reverse
entity Q2634
relation P127
type Q41176
action filter_type
action find_reverse
entity Q3977434
relation P127
type Q41176
[ANSWER]
[{'concept': 'Q41176'}, 'P127', 'Q2634'] [{'concept': 'Q41176'}, 'P127', 'Q3977434']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e property:P127 resource:Q2634 . ?e rdf:type ontology:Q41176 } UNION { ?e rdf:type ontology:Q41176 . ?e property:P127 resource:Q3977434 } }
Blessed Sacrament Chapel St. Anne Shell Chapel
2
action count
action union
action filter_type
action find_reverse
entity Naples
relation owned by
type building
action filter_type
action find_reverse
entity Sisters of Providence of Saint Mary-of-the-Woods
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Naples'] [{'concept': 'building'}, 'owned by', 'Sisters of Providence of Saint Mary-of-the-Woods']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { ?e property:owned_by resource:Naples . ?e rdf:type ontology:building } UNION { ?e rdf:type ontology:building . ?e property:owned_by resource:Sisters_of_Providence_of_Saint_Mary-of-the-Woods } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168691
P140
Q879146
USER
What is the religion associated with Victor Emmanuel II of Savoy ?
(Q168691,P140,c(Q879146))
action filter_type
action find
entity Q168691
relation P140
type Q879146
['Q168691', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { resource:Q168691 property:P140 ?w . ?w rdf:type ontology:Q879146 }
Victor Emmanuel II of Savoy
action filter_type
action find
entity Victor Emmanuel II of Savoy
relation religion
type Christian denomination
['Victor Emmanuel II of Savoy', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { resource:Victor_Emmanuel_II_of_Savoy property:religion ?w . ?w rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q168691,P140,c(Q879146))
action filter_type
action find
entity Q168691
relation P140
type Q879146
The religion associated with Victor Emmanuel II of Savoy is a [ANSWER]
['Q168691', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { resource:Q168691 property:P140 ?w . ?w rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with Victor Emmanuel II of Savoy is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Victor Emmanuel II of Savoy
relation religion
type Christian denomination
['Victor Emmanuel II of Savoy', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { resource:Victor_Emmanuel_II_of_Savoy property:religion ?w . ?w rdf:type ontology:Christian_denomination }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q150642
P166
Q2003221 Q618779
USER
How many chivalric orders and awards were won by Vittorio Emanuele III ?
(Q150642,P166,c(Q2003221)) (Q150642,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q150642
relation P166
type Q2003221
action filter_type
action find
entity Q150642
relation P166
type Q618779
['Q150642', 'P166', {'concept': 'Q2003221'}] ['Q150642', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Q150642 property:P166 ?k . ?k rdf:type ontology:Q2003221 } UNION { resource:Q150642 property:P166 ?k . ?k rdf:type ontology:Q618779 } }
Vittorio Emanuele III
action count
action union
action filter_type
action find
entity Vittorio Emanuele III
relation award received
type chivalric order
action filter_type
action find
entity Vittorio Emanuele III
relation award received
type award
['Vittorio Emanuele III', 'award received', {'concept': 'chivalric order'}] ['Vittorio Emanuele III', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Vittorio_Emanuele_III property:award_received ?k . ?k rdf:type ontology:chivalric_order } UNION { resource:Vittorio_Emanuele_III property:award_received ?k . ?k rdf:type ontology:award } }
[]
chivalric order award
SYSTEM
2 chivalric orders and 3 awards
Q94145 Q15117228 Q12177451 Q84020 Q94345
(Q150642,P166,c(Q2003221)) (Q150642,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q150642
relation P166
type Q2003221
action filter_type
action find
entity Q150642
relation P166
type Q618779
[ANSWER]
['Q150642', 'P166', {'concept': 'Q2003221'}] ['Q150642', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Q150642 property:P166 ?k . ?k rdf:type ontology:Q2003221 } UNION { resource:Q150642 property:P166 ?k . ?k rdf:type ontology:Q618779 } }
Order of the Black Eagle Knight of the Order of the Golden Fleece Knight Grand Cross of the Order of the Bath Order of the White Eagle Order of St. Olav
2 chivalric orders and 3 awards
action count
action union
action filter_type
action find
entity Vittorio Emanuele III
relation award received
type chivalric order
action filter_type
action find
entity Vittorio Emanuele III
relation award received
type award
['Vittorio Emanuele III', 'award received', {'concept': 'chivalric order'}] ['Vittorio Emanuele III', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Vittorio_Emanuele_III property:award_received ?k . ?k rdf:type ontology:chivalric_order } UNION { resource:Vittorio_Emanuele_III property:award_received ?k . ?k rdf:type ontology:award } }
[]