Simple Question (Direct)
Simple Question
Q17620649
P19
Q56061
USER
Which administrative territory was Antonio Zani born at ?
(Q17620649,P19,c(Q56061))
action filter_type
action find
entity Q17620649
relation P19
type Q56061
['Q17620649', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q17620649 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Antonio Zani
action filter_type
action find
entity Antonio Zani
relation place of birth
type administrative territorial entity
['Antonio Zani', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Antonio_Zani property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1891
SYSTEM
Bologna
Q1891
(Q17620649,P19,c(Q56061))
action filter_type
action find
entity Q17620649
relation P19
type Q56061
Antonio Zani was born in [ANSWER]
['Q17620649', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q17620649 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Bologna
Antonio Zani was born in Bologna
Bologna
action filter_type
action find
entity Antonio Zani
relation place of birth
type administrative territorial entity
['Antonio Zani', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Antonio_Zani property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17620649
P21
Q290
USER
Which sex does that person have ?
(Q1891,P21,c(Q290))
action filter_type
action find
entity Q17620649
relation P21
type Q290
['Q1891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q17620649 property:P21 ?s . ?s rdf:type ontology:Q290 }
Antonio Zani
action filter_type
action find
entity Antonio Zani
relation gender
type sex
['Bologna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Antonio_Zani property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1891,P21,c(Q290))
action filter_type
action find
entity Q17620649
relation P21
type Q290
That person has a [ANSWER]
['Q1891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q17620649 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Antonio Zani
relation gender
type sex
['Bologna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Antonio_Zani property:gender ?s . ?s rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q19013639
P276
Q56061
USER
How many administrative territories are Deiffelen situated ?
(Q19013639,P276,c(Q56061))
action count
action filter_type
action find
entity Q19013639
relation P276
type Q56061
['Q19013639', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q19013639 property:P276 ?n . ?n rdf:type ontology:Q56061 }
Deiffelen
action count
action filter_type
action find
entity Deiffelen
relation location
type administrative territorial entity
['Deiffelen', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Deiffelen property:location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q2766547
(Q19013639,P276,c(Q56061))
action count
action filter_type
action find
entity Q19013639
relation P276
type Q56061
[ANSWER]
['Q19013639', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q19013639 property:P276 ?n . ?n rdf:type ontology:Q56061 }
's-Hertogenbosch
1
action count
action filter_type
action find
entity Deiffelen
relation location
type administrative territorial entity
['Deiffelen', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Deiffelen property:location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19013639
P276
Q56061
USER
Where is that road situated ?
action filter_type
action find
entity Q19013639
relation P276
type Q56061
SELECT DISTINCT ?t WHERE { resource:Q19013639 property:P276 ?t . ?t rdf:type ontology:Q56061 }
Deiffelen
action filter_type
action find
entity Deiffelen
relation location
type administrative territorial entity
SELECT DISTINCT ?t WHERE { resource:Deiffelen property:location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2766547
SYSTEM
's-Hertogenbosch
Q2766547
action filter_type
action find
entity Q19013639
relation P276
type Q56061
That road is situated in [ANSWER]
SELECT DISTINCT ?t WHERE { resource:Q19013639 property:P276 ?t . ?t rdf:type ontology:Q56061 }
's-Hertogenbosch
That road is situated in 's-Hertogenbosch
's-Hertogenbosch
action filter_type
action find
entity Deiffelen
relation location
type administrative territorial entity
SELECT DISTINCT ?t WHERE { resource:Deiffelen property:location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q19513266 Q19013639
P276
Q56061
USER
Or Scottstraat?
OR((Q19013639,P276,c(Q56061)), (Q19513266,P276,c(Q56061)))
action filter_type
action union
action find
entity Q19013639
relation P276
action find
entity Q19513266
relation P276
type Q56061
{'OR': [['Q19013639', 'P276', {'concept': 'Q56061'}], ['Q19513266', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P276 ?z . VALUES ( ?s ) { ( resource:Q19513266 ) ( resource:Q19013639 ) } } . ?z rdf:type ontology:Q56061 }
Scottstraat Deiffelen
action filter_type
action union
action find
entity Deiffelen
relation location
action find
entity Scottstraat
relation location
type administrative territorial entity
{'OR': [['Deiffelen', 'location', {'concept': 'administrative territorial entity'}], ['Scottstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:location ?z . VALUES ( ?s ) { ( resource:Scottstraat ) ( resource:Deiffelen ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3322237 Q2766547
SYSTEM
Venlo, 's-Hertogenbosch
Q3322237 Q2766547
OR((Q19013639,P276,c(Q56061)), (Q19513266,P276,c(Q56061)))
action filter_type
action union
action find
entity Q19013639
relation P276
action find
entity Q19513266
relation P276
type Q56061
[ANSWERS]
{'OR': [['Q19013639', 'P276', {'concept': 'Q56061'}], ['Q19513266', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P276 ?z . VALUES ( ?s ) { ( resource:Q19513266 ) ( resource:Q19013639 ) } } . ?z rdf:type ontology:Q56061 }
Venlo 's-Hertogenbosch
Venlo 's-Hertogenbosch
action filter_type
action union
action find
entity Deiffelen
relation location
action find
entity Scottstraat
relation location
type administrative territorial entity
{'OR': [['Deiffelen', 'location', {'concept': 'administrative territorial entity'}], ['Scottstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:location ?z . VALUES ( ?s ) { ( resource:Scottstraat ) ( resource:Deiffelen ) } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6042091 Q17620649
P27
Q15617994
USER
Which administrative territories do Antonio Zani or Nicolás Antonio Madrigal y García belong to ?
OR((Q17620649,P27,c(Q15617994)), (Q6042091,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17620649
relation P27
action find
entity Q6042091
relation P27
type Q15617994
{'OR': [['Q17620649', 'P27', {'concept': 'Q15617994'}], ['Q6042091', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { ?o property:P27 ?f . VALUES ( ?o ) { ( resource:Q17620649 ) ( resource:Q6042091 ) } } }
Nicolás Antonio Madrigal y García Antonio Zani
action filter_type
action union
action find
entity Antonio Zani
relation country of citizenship
action find
entity Nicolás Antonio Madrigal y García
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antonio Zani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicolás Antonio Madrigal y García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?o property:country_of_citizenship ?f . VALUES ( ?o ) { ( resource:Antonio_Zani ) ( resource:Nicolás_Antonio_Madrigal_y_García ) } } }
[]
designation for an administrative territorial entity
Q38 Q811
SYSTEM
Italy, Nicaragua
Q38 Q811
OR((Q17620649,P27,c(Q15617994)), (Q6042091,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17620649
relation P27
action find
entity Q6042091
relation P27
type Q15617994
[ANSWERS] Antonio Zani or Nicolás Antonio Madrigal y García belong to
{'OR': [['Q17620649', 'P27', {'concept': 'Q15617994'}], ['Q6042091', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { ?o property:P27 ?f . VALUES ( ?o ) { ( resource:Q17620649 ) ( resource:Q6042091 ) } } }
Italy Nicaragua
Italy and Nicaragua Antonio Zani or Nicolás Antonio Madrigal y García belong to
Italy Nicaragua
action filter_type
action union
action find
entity Antonio Zani
relation country of citizenship
action find
entity Nicolás Antonio Madrigal y García
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antonio Zani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nicolás Antonio Madrigal y García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?o property:country_of_citizenship ?f . VALUES ( ?o ) { ( resource:Antonio_Zani ) ( resource:Nicolás_Antonio_Madrigal_y_García ) } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q811
P37
Q34770
USER
Which languages are the official languages of Italy and Nicaragua ?
(Q38,P37,c(Q34770)) (Q811,P37,c(Q34770))
action union
action filter_type
action find
entity Q38
relation P37
type Q34770
action filter_type
action find
entity Q811
relation P37
type Q34770
['Q38', 'P37', {'concept': 'Q34770'}] ['Q811', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { resource:Q811 property:P37 ?k . ?k rdf:type ontology:Q34770 } UNION { resource:Q38 property:P37 ?k . ?k rdf:type ontology:Q34770 } }
Italy Nicaragua
action union
action filter_type
action find
entity Italy
relation official language
type language
action filter_type
action find
entity Nicaragua
relation official language
type language
['Italy', 'official language', {'concept': 'language'}] ['Nicaragua', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { resource:Nicaragua property:official_language ?k . ?k rdf:type ontology:language } UNION { resource:Italy property:official_language ?k . ?k rdf:type ontology:language } }
[]
language
Q652 Q1321
SYSTEM
Italian, Spanish
Q652 Q1321
(Q38,P37,c(Q34770)) (Q811,P37,c(Q34770))
action union
action filter_type
action find
entity Q38
relation P37
type Q34770
action filter_type
action find
entity Q811
relation P37
type Q34770
[ANSWERS] are the official languages of Italy and Nicaragua
['Q38', 'P37', {'concept': 'Q34770'}] ['Q811', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { resource:Q811 property:P37 ?k . ?k rdf:type ontology:Q34770 } UNION { resource:Q38 property:P37 ?k . ?k rdf:type ontology:Q34770 } }
Italian Spanish
Italian and Spanish are the official languages of Italy and Nicaragua
Italian Spanish
action union
action filter_type
action find
entity Italy
relation official language
type language
action filter_type
action find
entity Nicaragua
relation official language
type language
['Italy', 'official language', {'concept': 'language'}] ['Nicaragua', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { resource:Nicaragua property:official_language ?k . ?k rdf:type ontology:language } UNION { resource:Italy property:official_language ?k . ?k rdf:type ontology:language } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P47
Q56061
USER
Which administrative territory shares border with Italy ?
(Q38,P47,c(Q56061))
action filter_type
action find
entity Q38
relation P47
type Q56061
['Q38', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q38 property:P47 ?f . ?f rdf:type ontology:Q56061 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Italy property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q237
SYSTEM
Vatican City
Q237
(Q38,P47,c(Q56061))
action filter_type
action find
entity Q38
relation P47
type Q56061
[ANSWER] shares border with Italy
['Q38', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q38 property:P47 ?f . ?f rdf:type ontology:Q56061 }
Vatican City
Vatican City shares border with Italy
Vatican City
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Italy property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2766547
P1383
Q13220204
USER
Which administrative country subdivision has 's-Hertogenbosch ?
(c(Q13220204),P1383,Q2766547)
action filter_type
action find_reverse
entity Q2766547
relation P1383
type Q13220204
[{'concept': 'Q13220204'}, 'P1383', 'Q2766547']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q13220204 . ?n property:P1383 resource:Q2766547 }
's-Hertogenbosch
action filter_type
action find_reverse
entity 's-Hertogenbosch
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', "'s-Hertogenbosch"]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . ?n property:contains_settlement resource:'s-Hertogenbosch }
[]
second-level administrative country subdivision
Q9807
SYSTEM
's-Hertogenbosch
Q9807
(c(Q13220204),P1383,Q2766547)
action filter_type
action find_reverse
entity Q2766547
relation P1383
type Q13220204
[ANSWER] has [ANSWER]
[{'concept': 'Q13220204'}, 'P1383', 'Q2766547']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q13220204 . ?n property:P1383 resource:Q2766547 }
's-Hertogenbosch
's-Hertogenbosch has 's-Hertogenbosch
's-Hertogenbosch
action filter_type
action find_reverse
entity 's-Hertogenbosch
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', "'s-Hertogenbosch"]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . ?n property:contains_settlement resource:'s-Hertogenbosch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9807
P6
Q502895
USER
Which person does that administrative country subdivision serve as the head of government for ?
(Q9807,P6,c(Q502895))
action filter_type
action find
entity Q9807
relation P6
type Q502895
['Q9807', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q9807 property:P6 ?s . ?s rdf:type ontology:Q502895 }
's-Hertogenbosch
action filter_type
action find
entity 's-Hertogenbosch
relation head of government
type common name
["'s-Hertogenbosch", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:'s-Hertogenbosch property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
common name
Q2448290
SYSTEM
Ton Rombouts
Q2448290
(Q9807,P6,c(Q502895))
action filter_type
action find
entity Q9807
relation P6
type Q502895
[ANSWER] that administrative country subdivision serves as the head of government for
['Q9807', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q9807 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Ton Rombouts
Ton Rombouts that administrative country subdivision serves as the head of government for
Ton Rombouts
action filter_type
action find
entity 's-Hertogenbosch
relation head of government
type common name
["'s-Hertogenbosch", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:'s-Hertogenbosch property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2448290 Q29999
P27
Q15617994
USER
Is Kingdom of the Netherlands the country of citizenship of Ton Rombouts ?
(Q2448290,P27,Q29999)
action is_in
entity Q29999
action find
entity Q2448290
relation P27
['Q2448290', 'P27', 'Q29999']
ASK WHERE { resource:Q2448290 property:P27 resource:Q29999 }
Ton Rombouts Kingdom of the Netherlands
action is_in
entity Kingdom of the Netherlands
action find
entity Ton Rombouts
relation country of citizenship
['Ton Rombouts', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Ton_Rombouts property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2448290,P27,Q29999)
action is_in
entity Q29999
action find
entity Q2448290
relation P27
[ANSWER]
['Q2448290', 'P27', 'Q29999']
ASK WHERE { resource:Q2448290 property:P27 resource:Q29999 }
Yes
action is_in
entity Kingdom of the Netherlands
action find
entity Ton Rombouts
relation country of citizenship
['Ton Rombouts', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Ton_Rombouts property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2448290
P102
Q7210356
USER
Which party is that person affiliated with ?
action filter_type
action find
entity Q2448290
relation P102
type Q7210356
SELECT DISTINCT ?y WHERE { resource:Q2448290 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Ton Rombouts
action filter_type
action find
entity Ton Rombouts
relation member of political party
type political organization
SELECT DISTINCT ?y WHERE { resource:Ton_Rombouts property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q273749
SYSTEM
Christian Democratic Appeal
Q273749
action filter_type
action find
entity Q2448290
relation P102
type Q7210356
That person is affiliated with [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q2448290 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Christian Democratic Appeal
That person is affiliated with Christian Democratic Appeal
Christian Democratic Appeal
action filter_type
action find
entity Ton Rombouts
relation member of political party
type political organization
SELECT DISTINCT ?y WHERE { resource:Ton_Rombouts property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]