Simple Question (Direct)
Simple Question
Q3903224
P27
Q15617994
USER
Which administrative territory is Piero Dondi an inhabitant of ?
(Q3903224,P27,c(Q15617994))
action filter_type
action find
entity Q3903224
relation P27
type Q15617994
['Q3903224', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3903224 property:P27 ?z }
Piero Dondi
action filter_type
action find
entity Piero Dondi
relation country of citizenship
type designation for an administrative territorial entity
['Piero Dondi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piero_Dondi property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3903224,P27,c(Q15617994))
action filter_type
action find
entity Q3903224
relation P27
type Q15617994
[ANSWER] is Piero Dondi an inhabitant of
['Q3903224', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3903224 property:P27 ?z }
Italy
Italy is Piero Dondi an inhabitant of
Italy
action filter_type
action find
entity Piero Dondi
relation country of citizenship
type designation for an administrative territorial entity
['Piero Dondi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Piero_Dondi property:country_of_citizenship ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3903224
P641
Q349
USER
What did that person participate in ?
(Q38,P641,c(Q349))
action filter_type
action find
entity Q3903224
relation P641
type Q349
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3903224 property:P641 ?c . ?c rdf:type ontology:Q349 }
Piero Dondi
action filter_type
action find
entity Piero Dondi
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Piero_Dondi property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q38,P641,c(Q349))
action filter_type
action find
entity Q3903224
relation P641
type Q349
That person participated in [ANSWER]
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3903224 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Piero Dondi
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Piero_Dondi property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3903224
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q3903224
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3903224 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Piero Dondi
action filter_type
action find
entity Piero Dondi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Piero_Dondi property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q3903224
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3903224 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Piero Dondi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Piero_Dondi property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3903224
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q3903224
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3903224 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Piero Dondi
action filter_type
action find
entity Piero Dondi
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Piero_Dondi property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6046
SYSTEM
Novara
Q6046
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q3903224
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3903224 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Novara
That person was born in Novara
Novara
action filter_type
action find
entity Piero Dondi
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Piero_Dondi property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories share the border with that administrative territory ?
(Q6046,P47,c(Q15617994))
action count
action filter_type
action find
entity Q6046
relation P47
type Q15617994
['Q6046', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q6046 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Novara
relation shares border with
type designation for an administrative territorial entity
['Novara', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Novara property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
10
Q22129 Q22618 Q22641 Q22149 Q22125 Q22430 Q22516 Q22465 Q22446 Q22599
(Q6046,P47,c(Q15617994))
action count
action filter_type
action find
entity Q6046
relation P47
type Q15617994
[ANSWER]
['Q6046', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q6046 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Cameri San Pietro Mosezzo Trecate Casalino Caltignaga Galliate Nibbiola Granozzo con Monticello Garbagna Novarese Romentino
10
action count
action filter_type
action find
entity Novara
relation shares border with
type designation for an administrative territorial entity
['Novara', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Novara property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6046
P17
Q15617994
USER
Which administrative territory is Novara located in ?
(Q6046,P17,c(Q15617994))
action filter_type
action find
entity Q6046
relation P17
type Q15617994
['Q6046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6046 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Novara
action filter_type
action find
entity Novara
relation country
type designation for an administrative territorial entity
['Novara', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Novara property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q6046,P17,c(Q15617994))
action filter_type
action find
entity Q6046
relation P17
type Q15617994
Novara is located in [ANSWER]
['Q6046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6046 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Italy
Novara is located in Italy
Italy
action filter_type
action find
entity Novara
relation country
type designation for an administrative territorial entity
['Novara', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Novara property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1139520 Q38
P530 P495
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy and are not the countries of origin of Creeping Death ?
AND((Q38,P530,c(Q15617994)), NOT((Q1139520,P495,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q1139520
relation P495
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q1139520', 'P495', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?u WHERE { MINUS { resource:Q1139520 property:P495 ?u } . resource:Q38 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Creeping Death Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Creeping Death
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Creeping Death', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?u WHERE { MINUS { resource:Creeping_Death property:country_of_origin ?u } . resource:Italy property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214 Q33 Q928 Q20 Q229 Q225 Q822 Q224 Q739 Q213
SYSTEM
Some of them are Slovakia, Finland, Philippines, Norway, Cyprus, Bosnia and Herzegovina, Lebanon, Croatia, Colombia, Czech Republic
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 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
AND((Q38,P530,c(Q15617994)), NOT((Q1139520,P495,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q1139520
relation P495
type Q15617994
[ANSWERS] have diplomatic relationships with Italy and are not the countries of origin of Creeping Death
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q1139520', 'P495', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?u WHERE { MINUS { resource:Q1139520 property:P495 ?u } . resource:Q38 property:P530 ?u . ?u 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 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
Slovakia, Finland, Philippines, Norway, Cyprus, Bosnia and Herzegovina, Lebanon, Croatia, Colombia and Czech Republic have diplomatic relationships with Italy and are not the countries of origin of Creeping Death
Slovakia Finland Philippines Norway Cyprus Bosnia and Herzegovina Lebanon Croatia Colombia Czech Republic
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Creeping Death
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Creeping Death', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?u WHERE { MINUS { resource:Creeping_Death property:country_of_origin ?u } . resource:Italy property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that administrative territory belong to ?
(Q214,P17,c(Q15617994))
['Q214', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7541598 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Slovakia property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q224
SYSTEM
Did you mean Croatia ?
(Q214,P17,c(Q15617994)) (Q33,P17,c(Q15617994)) (Q928,P17,c(Q15617994)) (Q20,P17,c(Q15617994)) (Q229,P17,c(Q15617994)) (Q225,P17,c(Q15617994)) (Q822,P17,c(Q15617994)) (Q224,P17,c(Q15617994)) (Q739,P17,c(Q15617994)) (Q213,P17,c(Q15617994))
[ANSWER]
['Q214', 'P17', {'concept': 'Q15617994'}] ['Q33', 'P17', {'concept': 'Q15617994'}] ['Q928', 'P17', {'concept': 'Q15617994'}] ['Q20', 'P17', {'concept': 'Q15617994'}] ['Q229', 'P17', {'concept': 'Q15617994'}] ['Q225', 'P17', {'concept': 'Q15617994'}] ['Q822', 'P17', {'concept': 'Q15617994'}] ['Q224', 'P17', {'concept': 'Q15617994'}] ['Q739', 'P17', {'concept': 'Q15617994'}] ['Q213', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7541598 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Croatia ?
Croatia
['Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Philippines', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Norway', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cyprus', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bosnia and Herzegovina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lebanon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Croatia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Colombia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Czech Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Slovakia property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Slovakia. Could you tell me the answer for that?
(Q214,P17,c(Q15617994))
Q214
['Q214', 'P17', {'concept': 'Q15617994'}]
['Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q214
(Q214,P17,c(Q15617994))
[ANSWER]
['Q214', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7541598 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Slovakia
1
['Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Slovakia property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P1532
Q6979593
USER
Which national association football teams represent Czech Republic ?
(c(Q6979593),P1532,Q213)
action filter_type
action find_reverse
entity Q213
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q213']
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q213 . ?l rdf:type ontology:Q6979593 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Czech Republic']
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:Czech_Republic . ?l rdf:type ontology:national_association_football_team }
[]
national association football team
Q577077 Q3590347
SYSTEM
Czech Republic women's national football team, Czech Republic Olympic football team
Q577077 Q3590347
(c(Q6979593),P1532,Q213)
action filter_type
action find_reverse
entity Q213
relation P1532
type Q6979593
And [ANSWERS] represent Czech Republic
[{'concept': 'Q6979593'}, 'P1532', 'Q213']
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q213 . ?l rdf:type ontology:Q6979593 }
Czech Republic women's national football team Czech Republic Olympic football team
And Czech Republic women's national football team and Czech Republic Olympic football team represent Czech Republic
Czech Republic women's national football team Czech Republic Olympic football team
action filter_type
action find_reverse
entity Czech Republic
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Czech Republic']
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:Czech_Republic . ?l rdf:type ontology:national_association_football_team }
[]