Simple Question (Direct)
Simple Question
Q459441
P7
Q502895
USER
Who has Prince Ferdinand, Duke of Genoa as their sibling ?
(Q459441,P7,c(Q502895))
action filter_type
action find
entity Q459441
relation P7
type Q502895
['Q459441', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q459441 property:P7 ?z . ?z rdf:type ontology:Q502895 }
Prince Ferdinand, Duke of Genoa
action filter_type
action find
entity Prince Ferdinand, Duke of Genoa
relation brother
type common name
['Prince Ferdinand, Duke of Genoa', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Prince_Ferdinand,_Duke_of_Genoa property:brother ?z . ?z rdf:type ontology:common_name }
[]
common name
Q168691
SYSTEM
Victor Emmanuel II of Savoy
Q168691
(Q459441,P7,c(Q502895))
action filter_type
action find
entity Q459441
relation P7
type Q502895
[ANSWER] has Prince Ferdinand, Duke of Genoa as their sibling
['Q459441', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q459441 property:P7 ?z . ?z rdf:type ontology:Q502895 }
Victor Emmanuel II of Savoy
Victor Emmanuel II of Savoy has Prince Ferdinand, Duke of Genoa as their sibling
Victor Emmanuel II of Savoy
action filter_type
action find
entity Prince Ferdinand, Duke of Genoa
relation brother
type common name
['Prince Ferdinand, Duke of Genoa', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Prince_Ferdinand,_Duke_of_Genoa property:brother ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q459441
P40
Q502895
USER
Which people have Prince Ferdinand, Duke of Genoa as an offspring ?
(c(Q502895),P40,Q459441)
action filter_type
action find_reverse
entity Q459441
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q459441']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q459441 . ?w rdf:type ontology:Q502895 }
Prince Ferdinand, Duke of Genoa
action filter_type
action find_reverse
entity Prince Ferdinand, Duke of Genoa
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Ferdinand, Duke of Genoa']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Prince_Ferdinand,_Duke_of_Genoa . ?w rdf:type ontology:common_name }
[]
common name
Q234568 Q181261
SYSTEM
Maria Theresa of Austria, Charles Albert of Sardinia
Q234568 Q181261
(c(Q502895),P40,Q459441)
action filter_type
action find_reverse
entity Q459441
relation P40
type Q502895
[ANSWERS] have Prince Ferdinand, Duke of Genoa as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q459441']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q459441 . ?w rdf:type ontology:Q502895 }
Maria Theresa of Austria Charles Albert of Sardinia
Maria Theresa of Austria and Charles Albert of Sardinia have Prince Ferdinand, Duke of Genoa as an offspring
Maria Theresa of Austria Charles Albert of Sardinia
action filter_type
action find_reverse
entity Prince Ferdinand, Duke of Genoa
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Ferdinand, Duke of Genoa']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Prince_Ferdinand,_Duke_of_Genoa . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q234568 Q181261
P25
Q502895
USER
Which people were the mother of those ones ?
(Q234568,P25,c(Q502895)) (Q181261,P25,c(Q502895))
action filter_type
action find
entity prev_answer
relation P25
type Q502895
['Q234568', 'P25', {'concept': 'Q502895'}] ['Q181261', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?f property:P25 ?o . ?o rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q234568 ) ( resource:Q181261 ) } }
Maria Theresa of Austria Charles Albert of Sardinia
action filter_type
action find
entity prev_answer
relation mother
type common name
['Maria Theresa of Austria', 'mother', {'concept': 'common name'}] ['Charles Albert of Sardinia', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?f property:mother ?o . ?o rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:Maria_Theresa_of_Austria ) ( resource:Charles_Albert_of_Sardinia ) } }
[]
common name
Q234941 Q68560
SYSTEM
Princess Luisa of Naples and Sicily, Princess Maria Christina of Saxony
Q234941 Q68560
(Q234568,P25,c(Q502895)) (Q181261,P25,c(Q502895))
action filter_type
action find
entity prev_answer
relation P25
type Q502895
[ANSWERS] were the mother of those ones
['Q234568', 'P25', {'concept': 'Q502895'}] ['Q181261', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?f property:P25 ?o . ?o rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q234568 ) ( resource:Q181261 ) } }
Princess Luisa of Naples and Sicily Princess Maria Christina of Saxony
Princess Luisa of Naples and Sicily and Princess Maria Christina of Saxony were the mother of those ones
Princess Luisa of Naples and Sicily Princess Maria Christina of Saxony
action filter_type
action find
entity prev_answer
relation mother
type common name
['Maria Theresa of Austria', 'mother', {'concept': 'common name'}] ['Charles Albert of Sardinia', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?f property:mother ?o . ?o rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:Maria_Theresa_of_Austria ) ( resource:Charles_Albert_of_Sardinia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181261
P21
Q290
USER
Which sex does Charles Albert of Sardinia possess ?
(Q181261,P21,c(Q290))
action filter_type
action find
entity Q181261
relation P21
type Q290
['Q181261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q181261 property:P21 ?j . ?j rdf:type ontology:Q290 }
Charles Albert of Sardinia
action filter_type
action find
entity Charles Albert of Sardinia
relation gender
type sex
['Charles Albert of Sardinia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Charles_Albert_of_Sardinia property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q181261,P21,c(Q290))
action filter_type
action find
entity Q181261
relation P21
type Q290
Charles Albert of Sardinia possesses a [ANSWER]
['Q181261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q181261 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Charles Albert of Sardinia possesses a male
male
action filter_type
action find
entity Charles Albert of Sardinia
relation gender
type sex
['Charles Albert of Sardinia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Charles_Albert_of_Sardinia property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4801360 Q459441
P19
Q56061
USER
Which administrative territories were Prince Ferdinand, Duke of Genoa or Arto Der Haroutunian born ?
OR((Q459441,P19,c(Q56061)), (Q4801360,P19,c(Q56061)))
action filter_type
action union
action find
entity Q459441
relation P19
action find
entity Q4801360
relation P19
type Q56061
{'OR': [['Q459441', 'P19', {'concept': 'Q56061'}], ['Q4801360', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Q459441 ) ( resource:Q4801360 ) } . ?j property:P19 ?i } . ?i rdf:type ontology:Q56061 }
Arto Der Haroutunian Prince Ferdinand, Duke of Genoa
action filter_type
action union
action find
entity Prince Ferdinand, Duke of Genoa
relation place of birth
action find
entity Arto Der Haroutunian
relation place of birth
type administrative territorial entity
{'OR': [['Prince Ferdinand, Duke of Genoa', 'place of birth', {'concept': 'administrative territorial entity'}], ['Arto Der Haroutunian', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Prince_Ferdinand,_Duke_of_Genoa ) ( resource:Arto_Der_Haroutunian ) } . ?j property:place_of_birth ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41183 Q2044
SYSTEM
Aleppo, Florence
Q41183 Q2044
OR((Q459441,P19,c(Q56061)), (Q4801360,P19,c(Q56061)))
action filter_type
action union
action find
entity Q459441
relation P19
action find
entity Q4801360
relation P19
type Q56061
[ANSWERS] were Prince Ferdinand, Duke of Genoa or Arto Der Haroutunian born
{'OR': [['Q459441', 'P19', {'concept': 'Q56061'}], ['Q4801360', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Q459441 ) ( resource:Q4801360 ) } . ?j property:P19 ?i } . ?i rdf:type ontology:Q56061 }
Aleppo Florence
Aleppo and Florence were Prince Ferdinand, Duke of Genoa or Arto Der Haroutunian born
Aleppo Florence
action filter_type
action union
action find
entity Prince Ferdinand, Duke of Genoa
relation place of birth
action find
entity Arto Der Haroutunian
relation place of birth
type administrative territorial entity
{'OR': [['Prince Ferdinand, Duke of Genoa', 'place of birth', {'concept': 'administrative territorial entity'}], ['Arto Der Haroutunian', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Prince_Ferdinand,_Duke_of_Genoa ) ( resource:Arto_Der_Haroutunian ) } . ?j property:place_of_birth ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2470606
P190
Q56061
USER
Are Gülüç sister town of those ones ?
(Q2470606,P190,Q41183) (Q2470606,P190,Q2044)
action is_in
entity prev_answer
action find
entity Q2470606
relation P190
['Q2470606', 'P190', 'Q41183'] ['Q2470606', 'P190', 'Q2044']
ASK WHERE { resource:Q2470606 property:P190 ?q . VALUES ( ?q ) { ( resource:Q41183 ) ( resource:Q2044 ) } }
Gülüç
action is_in
entity prev_answer
action find
entity Gülüç
relation sister city
['Gülüç', 'sister city', 'Aleppo'] ['Gülüç', 'sister city', 'Florence']
ASK WHERE { resource:Gülüç property:sister_city ?q . VALUES ( ?q ) { ( resource:Aleppo ) ( resource:Florence ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q2470606,P190,Q41183) (Q2470606,P190,Q2044)
action is_in
entity prev_answer
action find
entity Q2470606
relation P190
[ANSWER]
['Q2470606', 'P190', 'Q41183'] ['Q2470606', 'P190', 'Q2044']
ASK WHERE { resource:Q2470606 property:P190 ?q . VALUES ( ?q ) { ( resource:Q41183 ) ( resource:Q2044 ) } }
No
action is_in
entity prev_answer
action find
entity Gülüç
relation sister city
['Gülüç', 'sister city', 'Aleppo'] ['Gülüç', 'sister city', 'Florence']
ASK WHERE { resource:Gülüç property:sister_city ?q . VALUES ( ?q ) { ( resource:Aleppo ) ( resource:Florence ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2044
P840
Q15850590 Q15416
USER
How many theatrical genres and television programs have their setting located at Florence ?
(c(Q15850590),P840,Q2044) (c(Q15416),P840,Q2044)
action count
action union
action filter_type
action find_reverse
entity Q2044
relation P840
type Q15850590
action filter_type
action find_reverse
entity Q2044
relation P840
type Q15416
[{'concept': 'Q15850590'}, 'P840', 'Q2044'] [{'concept': 'Q15416'}, 'P840', 'Q2044']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P840 resource:Q2044 . ?z rdf:type ontology:Q15850590 } UNION { ?z property:P840 resource:Q2044 . ?z rdf:type ontology:Q15416 } }
Florence
action count
action union
action filter_type
action find_reverse
entity Florence
relation narrative location
type theatrical genre
action filter_type
action find_reverse
entity Florence
relation narrative location
type television program
[{'concept': 'theatrical genre'}, 'narrative location', 'Florence'] [{'concept': 'television program'}, 'narrative location', 'Florence']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:narrative_location resource:Florence . ?z rdf:type ontology:theatrical_genre } UNION { ?z property:narrative_location resource:Florence . ?z rdf:type ontology:television_program } }
[]
theatrical genre television program
SYSTEM
2 theatrical genres and 2 television programs
Q888841 Q16205080 Q727868 Q4940396
(c(Q15850590),P840,Q2044) (c(Q15416),P840,Q2044)
action count
action union
action filter_type
action find_reverse
entity Q2044
relation P840
type Q15850590
action filter_type
action find_reverse
entity Q2044
relation P840
type Q15416
[ANSWER]
[{'concept': 'Q15850590'}, 'P840', 'Q2044'] [{'concept': 'Q15416'}, 'P840', 'Q2044']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P840 resource:Q2044 . ?z rdf:type ontology:Q15850590 } UNION { ?z property:P840 resource:Q2044 . ?z rdf:type ontology:Q15416 } }
Hannibal Teenage Mutant Ninja Turtles (1987 TV series) (season 7) Gianni Schicchi Bomarzo
2 theatrical genres and 2 television programs
action count
action union
action filter_type
action find_reverse
entity Florence
relation narrative location
type theatrical genre
action filter_type
action find_reverse
entity Florence
relation narrative location
type television program
[{'concept': 'theatrical genre'}, 'narrative location', 'Florence'] [{'concept': 'television program'}, 'narrative location', 'Florence']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:narrative_location resource:Florence . ?z rdf:type ontology:theatrical_genre } UNION { ?z property:narrative_location resource:Florence . ?z rdf:type ontology:television_program } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P27
Q502895
USER
Who is a native of Florence ?
(c(Q502895),P27,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q2044']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P27 resource:Q2044 }
Florence
action filter_type
action find_reverse
entity Florence
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Florence']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:country_of_citizenship resource:Florence }
[]
common name
Q1248865
SYSTEM
Leontius Pilatus
Q1248865
(c(Q502895),P27,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P27
type Q502895
A native of Florence is named [ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q2044']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P27 resource:Q2044 }
Leontius Pilatus
A native of Florence is named Leontius Pilatus
Leontius Pilatus
action filter_type
action find_reverse
entity Florence
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Florence']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:country_of_citizenship resource:Florence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P417
Q502895
USER
Which person is the patron saint of Florence ?
(Q2044,P417,c(Q502895))
action filter_type
action find
entity Q2044
relation P417
type Q502895
['Q2044', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q2044 property:P417 ?l }
Florence
action filter_type
action find
entity Florence
relation patron saint
type common name
['Florence', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Florence property:patron_saint ?l }
[]
common name
Q40662
SYSTEM
John the Baptist
Q40662
(Q2044,P417,c(Q502895))
action filter_type
action find
entity Q2044
relation P417
type Q502895
[ANSWER] is the patron saint of Florence
['Q2044', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q2044 property:P417 ?l }
John the Baptist
John the Baptist is the patron saint of Florence
John the Baptist
action filter_type
action find
entity Florence
relation patron saint
type common name
['Florence', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Florence property:patron_saint ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40662
P2348
Q3024240
USER
When did that person happen ?
(Q40662,P2348,c(Q3024240))
action filter_type
action find
entity Q40662
relation P2348
type Q3024240
['Q40662', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q3024240 . resource:Q40662 property:P2348 ?i }
John the Baptist
action filter_type
action find
entity John the Baptist
relation period
type former country
['John the Baptist', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:former_country . resource:John_the_Baptist property:period ?i }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q40662,P2348,c(Q3024240))
action filter_type
action find
entity Q40662
relation P2348
type Q3024240
That person happened the [ANSWER]
['Q40662', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q3024240 . resource:Q40662 property:P2348 ?i }
Roman Empire
That person happened the Roman Empire
Roman Empire
action filter_type
action find
entity John the Baptist
relation period
type former country
['John the Baptist', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:former_country . resource:John_the_Baptist property:period ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2277
P37
Q34770
USER
What is considered to be the official language of that former country ?
(Q2277,P37,c(Q34770))
action filter_type
action find
entity Q2277
relation P37
type Q34770
['Q2277', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q2277 property:P37 ?i . ?i rdf:type ontology:Q34770 }
Roman Empire
action filter_type
action find
entity Roman Empire
relation official language
type language
['Roman Empire', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Roman_Empire property:official_language ?i . ?i rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q2277,P37,c(Q34770))
action filter_type
action find
entity Q2277
relation P37
type Q34770
[ANSWER] is considered to be the official language of that former country
['Q2277', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q2277 property:P37 ?i . ?i rdf:type ontology:Q34770 }
Latin
Latin is considered to be the official language of that former country
Latin
action filter_type
action find
entity Roman Empire
relation official language
type language
['Roman Empire', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Roman_Empire property:official_language ?i . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2277
P140
Q879146
USER
What is the religious affiliation of that former country ?
(Q397,P140,c(Q879146))
action filter_type
action find
entity Q2277
relation P140
type Q879146
['Q397', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q2277 property:P140 ?a . ?a rdf:type ontology:Q879146 }
Roman Empire
action filter_type
action find
entity Roman Empire
relation religion
type Christian denomination
['Latin', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:Roman_Empire property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q7603670
SYSTEM
state church of the Roman Empire
Q7603670
(Q397,P140,c(Q879146))
action filter_type
action find
entity Q2277
relation P140
type Q879146
The religious affiliation of that former country is the [ANSWER]
['Q397', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q2277 property:P140 ?a . ?a rdf:type ontology:Q879146 }
state church of the Roman Empire
The religious affiliation of that former country is the state church of the Roman Empire
state church of the Roman Empire
action filter_type
action find
entity Roman Empire
relation religion
type Christian denomination
['Latin', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:Roman_Empire property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]