Simple Question (Direct)
Simple Question
Q1112575
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Bernardino Busi ?
(Q1112575,P27,c(Q15617994))
action filter_type
action find
entity Q1112575
relation P27
type Q15617994
['Q1112575', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1112575 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Bernardino Busi
action filter_type
action find
entity Bernardino Busi
relation country of citizenship
type designation for an administrative territorial entity
['Bernardino Busi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bernardino_Busi property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1112575,P27,c(Q15617994))
action filter_type
action find
entity Q1112575
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Bernardino Busi
['Q1112575', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1112575 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Italy
Italy is the country of citizenship of Bernardino Busi
Italy
action filter_type
action find
entity Bernardino Busi
relation country of citizenship
type designation for an administrative territorial entity
['Bernardino Busi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bernardino_Busi property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1112575
P106
Q12737077
USER
What is the job of that person ?
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q1112575
relation P106
type Q12737077
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q1112575 property:P106 ?f }
Bernardino Busi
action filter_type
action find
entity Bernardino Busi
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Bernardino_Busi property:occupation ?f }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q1112575
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q1112575 property:P106 ?f }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Bernardino Busi
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Bernardino_Busi property:occupation ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1112575
P21
Q290
USER
Which sex does that person belong to ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q1112575
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1112575 property:P21 ?m . ?m rdf:type ontology:Q290 }
Bernardino Busi
action filter_type
action find
entity Bernardino Busi
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Bernardino_Busi property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q1112575
relation P21
type Q290
That person belongs to [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1112575 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Bernardino Busi
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Bernardino_Busi property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1112575
P641
Q349
USER
Which sport was Bernardino Busi a part of ?
(Q1112575,P641,c(Q349))
action filter_type
action find
entity Q1112575
relation P641
type Q349
['Q1112575', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q1112575 property:P641 ?e . ?e rdf:type ontology:Q349 }
Bernardino Busi
action filter_type
action find
entity Bernardino Busi
relation sport
type sport
['Bernardino Busi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Bernardino_Busi property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1112575,P641,c(Q349))
action filter_type
action find
entity Q1112575
relation P641
type Q349
Bernardino Busi was in [ANSWER]
['Q1112575', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q1112575 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Bernardino Busi was in association football
association football
action filter_type
action find
entity Bernardino Busi
relation sport
type sport
['Bernardino Busi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Bernardino_Busi property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1112575
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q1112575
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1112575 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Bernardino Busi
action filter_type
action find
entity Bernardino Busi
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Bernardino_Busi property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q103582
SYSTEM
Botticino
Q103582
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q1112575
relation P19
type Q56061
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1112575 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Botticino
That person was born in Botticino
Botticino
action filter_type
action find
entity Bernardino Busi
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Bernardino_Busi property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q103582 Q38
P17
Q15617994
USER
Does that administrative territory belong to Italy ?
(Q103582,P17,Q38)
action is_in
entity Q38
action find
entity Q103582
relation P17
['Q103582', 'P17', 'Q38']
ASK WHERE { resource:Q103582 property:P17 resource:Q38 }
Botticino Italy
action is_in
entity Italy
action find
entity Botticino
relation country
['Botticino', 'country', 'Italy']
ASK WHERE { resource:Botticino property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q103582,P17,Q38)
action is_in
entity Q38
action find
entity Q103582
relation P17
[ANSWER]
['Q103582', 'P17', 'Q38']
ASK WHERE { resource:Q103582 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Botticino
relation country
['Botticino', 'country', 'Italy']
ASK WHERE { resource:Botticino property:country resource:Italy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q103582
P47
Q56061 Q15617994
USER
How many administrative territories and administrative territories share border with Botticino ?
(Q103582,P47,c(Q56061)) (Q103582,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q103582
relation P47
type Q56061
action filter_type
action find
entity Q103582
relation P47
type Q15617994
['Q103582', 'P47', {'concept': 'Q56061'}] ['Q103582', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Botticino
action count
action union
action filter_type
action find
entity Botticino
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Botticino
relation shares border with
type designation for an administrative territorial entity
['Botticino', 'shares border with', {'concept': 'administrative territorial entity'}] ['Botticino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
5
Q105303 Q6221 Q112011 Q105332 Q111602
(Q103582,P47,c(Q56061)) (Q103582,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q103582
relation P47
type Q56061
action filter_type
action find
entity Q103582
relation P47
type Q15617994
[ANSWER]
['Q103582', 'P47', {'concept': 'Q56061'}] ['Q103582', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Nave, Lombardy Brescia Serle Nuvolera Rezzato
5
action count
action union
action filter_type
action find
entity Botticino
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Botticino
relation shares border with
type designation for an administrative territorial entity
['Botticino', 'shares border with', {'concept': 'administrative territorial entity'}] ['Botticino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11852914 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Italy or do Arvi Hautamäki belong to ?
OR((Q38,P530,c(Q15617994)), (Q11852914,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q11852914
relation P27
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q11852914', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q38 property:P530 ?n } UNION { resource:Q11852914 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Arvi Hautamäki Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Arvi Hautamäki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Arvi Hautamäki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Italy property:diplomatic_relation ?n } UNION { resource:Arvi_Hautamäki property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q399 Q884 Q114 Q145 Q79 Q258 Q55 Q31 Q869 Q43
SYSTEM
Some of them are Armenia, South Korea, Kenya, United Kingdom, Egypt, South Africa, Netherlands, Belgium, Thailand, Turkey
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q11852914,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q11852914
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Italy or do Arvi Hautamäki belong to
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q11852914', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q38 property:P530 ?n } UNION { resource:Q11852914 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Armenia, South Korea, Kenya, United Kingdom, Egypt, South Africa, Netherlands, Belgium, Thailand and Turkey have diplomatic relations with Italy or do Arvi Hautamäki belong to
Armenia South Korea Kenya United Kingdom Egypt South Africa Netherlands Belgium Thailand Turkey
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Arvi Hautamäki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Arvi Hautamäki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Italy property:diplomatic_relation ?n } UNION { resource:Arvi_Hautamäki property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]