Simple Question (Direct)
Simple Question
Q2947026
P19
Q56061
USER
Which administrative territory was Cesare Previti born at ?
(Q2947026,P19,c(Q56061))
action filter_type
action find
entity Q2947026
relation P19
type Q56061
['Q2947026', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2947026 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Cesare Previti
action filter_type
action find
entity Cesare Previti
relation place of birth
type administrative territorial entity
['Cesare Previti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cesare_Previti property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8471
SYSTEM
Reggio Calabria
Q8471
(Q2947026,P19,c(Q56061))
action filter_type
action find
entity Q2947026
relation P19
type Q56061
Cesare Previti was born in [ANSWER]
['Q2947026', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2947026 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Reggio Calabria
Cesare Previti was born in Reggio Calabria
Reggio Calabria
action filter_type
action find
entity Cesare Previti
relation place of birth
type administrative territorial entity
['Cesare Previti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cesare_Previti property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2947026
P108
Q502895
USER
Which person has that one as its employer ?
(c(Q502895),P108,Q8471)
action filter_type
action find_reverse
entity Q2947026
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q8471']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q2947026 . ?z rdf:type ontology:Q502895 }
Cesare Previti
action filter_type
action find_reverse
entity Cesare Previti
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Reggio Calabria']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Cesare_Previti . ?z rdf:type ontology:common_name }
[]
common name
Q23766020
SYSTEM
Virginia Raggi
Q23766020
(c(Q502895),P108,Q8471)
action filter_type
action find_reverse
entity Q2947026
relation P108
type Q502895
[ANSWER] has that one as its employer
[{'concept': 'Q502895'}, 'P108', 'Q8471']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q2947026 . ?z rdf:type ontology:Q502895 }
Virginia Raggi
Virginia Raggi has that one as its employer
Virginia Raggi
action filter_type
action find_reverse
entity Cesare Previti
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Reggio Calabria']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Cesare_Previti . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23766020
P6
Q56061
USER
Which administrative territory has that person as its head of government ?
(c(Q56061),P6,Q23766020)
action filter_type
action find_reverse
entity Q23766020
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q23766020']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . ?s property:P6 resource:Q23766020 }
Virginia Raggi
action filter_type
action find_reverse
entity Virginia Raggi
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Virginia Raggi']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . ?s property:head_of_government resource:Virginia_Raggi }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(c(Q56061),P6,Q23766020)
action filter_type
action find_reverse
entity Q23766020
relation P6
type Q56061
[ANSWER] has that person as its head of government
[{'concept': 'Q56061'}, 'P6', 'Q23766020']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . ?s property:P6 resource:Q23766020 }
Rome
Rome has that person as its head of government
Rome
action filter_type
action find_reverse
entity Virginia Raggi
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Virginia Raggi']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . ?s property:head_of_government resource:Virginia_Raggi }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P276
Q43229
USER
Which organization is located at that administrative territory ?
(c(Q43229),P276,Q220)
action filter_type
action find_reverse
entity Q220
relation P276
type Q43229
[{'concept': 'Q43229'}, 'P276', 'Q220']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q220 . ?k rdf:type ontology:Q43229 }
Rome
action filter_type
action find_reverse
entity Rome
relation location
type organization
[{'concept': 'organization'}, 'location', 'Rome']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Rome . ?k rdf:type ontology:organization }
[]
organization
Q777725
SYSTEM
Arnold Pannartz and Konrad Sweynheim
Q777725
(c(Q43229),P276,Q220)
action filter_type
action find_reverse
entity Q220
relation P276
type Q43229
[ANSWER] is located at that administrative territory
[{'concept': 'Q43229'}, 'P276', 'Q220']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q220 . ?k rdf:type ontology:Q43229 }
Arnold Pannartz and Konrad Sweynheim
Arnold Pannartz and Konrad Sweynheim is located at that administrative territory
Arnold Pannartz and Konrad Sweynheim
action filter_type
action find_reverse
entity Rome
relation location
type organization
[{'concept': 'organization'}, 'location', 'Rome']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Rome . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P17
Q3024240
USER
Which former country is Rome present in ?
(Q220,P17,c(Q3024240))
action filter_type
action find
entity Q220
relation P17
type Q3024240
['Q220', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3024240 . resource:Q220 property:P17 ?e }
Rome
action filter_type
action find
entity Rome
relation country
type former country
['Rome', 'country', {'concept': 'former country'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:former_country . resource:Rome property:country ?e }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q220,P17,c(Q3024240))
action filter_type
action find
entity Q220
relation P17
type Q3024240
Rome is Holy [ANSWER]
['Q220', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3024240 . resource:Q220 property:P17 ?e }
Roman Empire
Rome is Holy Roman Empire
Roman Empire
action filter_type
action find
entity Rome
relation country
type former country
['Rome', 'country', {'concept': 'former country'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:former_country . resource:Rome property:country ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2277
P122
Q28108
USER
Which political system best describes the type of government of that former country ?
(Q2277,P122,c(Q28108))
action filter_type
action find
entity Q2277
relation P122
type Q28108
['Q2277', 'P122', {'concept': 'Q28108'}]
SELECT DISTINCT ?p WHERE { resource:Q2277 property:P122 ?p . ?p rdf:type ontology:Q28108 }
Roman Empire
action filter_type
action find
entity Roman Empire
relation basic form of government
type political system
['Roman Empire', 'basic form of government', {'concept': 'political system'}]
SELECT DISTINCT ?p WHERE { resource:Roman_Empire property:basic_form_of_government ?p . ?p rdf:type ontology:political_system }
[]
political system
Q173424
SYSTEM
autocracy
Q173424
(Q2277,P122,c(Q28108))
action filter_type
action find
entity Q2277
relation P122
type Q28108
[ANSWER] best describes the type of government of that former country
['Q2277', 'P122', {'concept': 'Q28108'}]
SELECT DISTINCT ?p WHERE { resource:Q2277 property:P122 ?p . ?p rdf:type ontology:Q28108 }
autocracy
Autocracy best describes the type of government of that former country
autocracy
action filter_type
action find
entity Roman Empire
relation basic form of government
type political system
['Roman Empire', 'basic form of government', {'concept': 'political system'}]
SELECT DISTINCT ?p WHERE { resource:Roman_Empire property:basic_form_of_government ?p . ?p rdf:type ontology:political_system }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P122
Q895526 Q3024240
USER
How many authority organs and former countries have that political system as the form of government ?
(c(Q895526),P122,Q173424) (c(Q3024240),P122,Q173424) (c(Q895526),P122,Q173424) (c(Q3024240),P122,Q173424)
action count
action union
action filter_type
action find_reverse
entity Q173424
relation P122
type Q895526
action filter_type
action find_reverse
entity Q173424
relation P122
type Q3024240
[{'concept': 'Q895526'}, 'P122', 'Q173424'] [{'concept': 'Q3024240'}, 'P122', 'Q173424'] [{'concept': 'Q895526'}, 'P122', 'Q173424'] [{'concept': 'Q3024240'}, 'P122', 'Q173424']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q895526 ) ( ontology:Q3024240 ) } }
action count
action union
action filter_type
action find_reverse
entity autocracy
relation basic form of government
type authority organ
action filter_type
action find_reverse
entity autocracy
relation basic form of government
type former country
[{'concept': 'authority organ'}, 'basic form of government', 'autocracy'] [{'concept': 'former country'}, 'basic form of government', 'autocracy'] [{'concept': 'authority organ'}, 'basic form of government', 'autocracy'] [{'concept': 'former country'}, 'basic form of government', 'autocracy']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:authority_organ ) ( ontology:former_country ) } }
[]
authority organ former country
SYSTEM
1 authority organs and 3 former countries
Q814959 Q420759 Q2277 Q203817
(c(Q895526),P122,Q173424) (c(Q3024240),P122,Q173424) (c(Q895526),P122,Q173424) (c(Q3024240),P122,Q173424)
action count
action union
action filter_type
action find_reverse
entity Q173424
relation P122
type Q895526
action filter_type
action find_reverse
entity Q173424
relation P122
type Q3024240
[ANSWER]
[{'concept': 'Q895526'}, 'P122', 'Q173424'] [{'concept': 'Q3024240'}, 'P122', 'Q173424'] [{'concept': 'Q895526'}, 'P122', 'Q173424'] [{'concept': 'Q3024240'}, 'P122', 'Q173424']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q895526 ) ( ontology:Q3024240 ) } }
Beiyang Government Second Bulgarian Empire Roman Empire First Bulgarian Empire
1 authority organs and 3 former countries
action count
action union
action filter_type
action find_reverse
entity autocracy
relation basic form of government
type authority organ
action filter_type
action find_reverse
entity autocracy
relation basic form of government
type former country
[{'concept': 'authority organ'}, 'basic form of government', 'autocracy'] [{'concept': 'former country'}, 'basic form of government', 'autocracy'] [{'concept': 'authority organ'}, 'basic form of government', 'autocracy'] [{'concept': 'former country'}, 'basic form of government', 'autocracy']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:authority_organ ) ( ontology:former_country ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2947026
P1412
Q34770
USER
Which language does Cesare Previti speak in ?
(Q2947026,P1412,c(Q34770))
action filter_type
action find
entity Q2947026
relation P1412
type Q34770
['Q2947026', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q2947026 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Cesare Previti
action filter_type
action find
entity Cesare Previti
relation languages spoken, written or signed
type language
['Cesare Previti', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Cesare_Previti property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q2947026,P1412,c(Q34770))
action filter_type
action find
entity Q2947026
relation P1412
type Q34770
Cesare Previti speaks in [ANSWER]
['Q2947026', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q2947026 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Italian
Cesare Previti speaks in Italian
Italian
action filter_type
action find
entity Cesare Previti
relation languages spoken, written or signed
type language
['Cesare Previti', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Cesare_Previti property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]