Simple Question (Direct)
Simple Question
Q515891
P27
Q15617994
USER
Which administrative territory is the native country of Gyula Kőnig ?
(Q515891,P27,c(Q15617994))
action filter_type
action find
entity Q515891
relation P27
type Q15617994
['Q515891', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q515891 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Gyula Kőnig
action filter_type
action find
entity Gyula Kőnig
relation country of citizenship
type designation for an administrative territorial entity
['Gyula Kőnig', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Gyula_Kőnig property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q515891,P27,c(Q15617994))
action filter_type
action find
entity Q515891
relation P27
type Q15617994
In [ANSWER] is the native country of Gyula Kőnig
['Q515891', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q515891 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Hungary
In Hungary is the native country of Gyula Kőnig
Hungary
action filter_type
action find
entity Gyula Kőnig
relation country of citizenship
type designation for an administrative territorial entity
['Gyula Kőnig', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Gyula_Kőnig property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P840
Q166142
USER
Which application has a setting location of that administrative territory ?
(c(Q166142),P840,Q28)
action filter_type
action find_reverse
entity Q28
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q28']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q28 . ?r rdf:type ontology:Q166142 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Hungary']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Hungary . ?r rdf:type ontology:application }
[]
application
Q2632206
SYSTEM
Euro Truck Simulator 2
Q2632206
(c(Q166142),P840,Q28)
action filter_type
action find_reverse
entity Q28
relation P840
type Q166142
[ANSWER] has a setting location of that administrative territory
[{'concept': 'Q166142'}, 'P840', 'Q28']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q28 . ?r rdf:type ontology:Q166142 }
Euro Truck Simulator 2
Euro Truck Simulator 2 has a setting location of that administrative territory
Euro Truck Simulator 2
action filter_type
action find_reverse
entity Hungary
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Hungary']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Hungary . ?r rdf:type ontology:application }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2632206 Q569828
P840
Q15617994
USER
Is that application set in Balduinstein ?
(Q2632206,P840,Q569828)
action is_in
entity Q569828
action find
entity Q2632206
relation P840
['Q2632206', 'P840', 'Q569828']
ASK WHERE { resource:Q2632206 property:P840 resource:Q569828 }
Euro Truck Simulator 2 Balduinstein
action is_in
entity Balduinstein
action find
entity Euro Truck Simulator 2
relation narrative location
['Euro Truck Simulator 2', 'narrative location', 'Balduinstein']
ASK WHERE { resource:Euro_Truck_Simulator_2 property:narrative_location resource:Balduinstein }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2632206,P840,Q569828)
action is_in
entity Q569828
action find
entity Q2632206
relation P840
[ANSWER]
['Q2632206', 'P840', 'Q569828']
ASK WHERE { resource:Q2632206 property:P840 resource:Q569828 }
No
action is_in
entity Balduinstein
action find
entity Euro Truck Simulator 2
relation narrative location
['Euro Truck Simulator 2', 'narrative location', 'Balduinstein']
ASK WHERE { resource:Euro_Truck_Simulator_2 property:narrative_location resource:Balduinstein }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q28 Q171009 Q23016
P206
Q355304
USER
Is Hungary situated in the neighbourhood of Drava and Tatshenshini River ?
(Q28,P206,Q171009) (Q28,P206,Q23016)
action is_in
entity Q28
action intersection
action find_reverse
entity Q171009
relation P206
action find_reverse
entity Q23016
relation P206
['Q28', 'P206', 'Q171009'] ['Q28', 'P206', 'Q23016']
ASK WHERE { resource:Q28 property:P206 resource:Q171009 . resource:Q28 property:P206 resource:Q23016 }
Hungary Drava Tatshenshini River
action is_in
entity Hungary
action intersection
action find_reverse
entity Drava
relation located next to body of water
action find_reverse
entity Tatshenshini River
relation located next to body of water
['Hungary', 'located next to body of water', 'Drava'] ['Hungary', 'located next to body of water', 'Tatshenshini River']
ASK WHERE { resource:Hungary property:located_next_to_body_of_water resource:Drava . resource:Hungary property:located_next_to_body_of_water resource:Tatshenshini_River }
[]
watercourse
SYSTEM
YES and NO respectively
(Q28,P206,Q171009) (Q28,P206,Q23016)
action is_in
entity Q28
action intersection
action find_reverse
entity Q171009
relation P206
action find_reverse
entity Q23016
relation P206
[ANSWER]
['Q28', 'P206', 'Q171009'] ['Q28', 'P206', 'Q23016']
ASK WHERE { resource:Q28 property:P206 resource:Q171009 . resource:Q28 property:P206 resource:Q23016 }
YES and NO respectively
action is_in
entity Hungary
action intersection
action find_reverse
entity Drava
relation located next to body of water
action find_reverse
entity Tatshenshini River
relation located next to body of water
['Hungary', 'located next to body of water', 'Drava'] ['Hungary', 'located next to body of water', 'Tatshenshini River']
ASK WHERE { resource:Hungary property:located_next_to_body_of_water resource:Drava . resource:Hungary property:located_next_to_body_of_water resource:Tatshenshini_River }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P36
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
action filter_type
action find
entity Q28
relation P36
type Q56061
SELECT DISTINCT ?v WHERE { resource:Q28 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Hungary
action filter_type
action find
entity Hungary
relation capital
type administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:Hungary property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
action filter_type
action find
entity Q28
relation P36
type Q56061
[ANSWER] is the capital of that administrative territory
SELECT DISTINCT ?v WHERE { resource:Q28 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Budapest
Budapest is the capital of that administrative territory
Budapest
action filter_type
action find
entity Hungary
relation capital
type administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:Hungary property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q28
P27
Q43229 Q2607197
USER
How many organizations or character races are a citizen of Hungary ?
(c(Q43229),P27,Q28) (c(Q2607197),P27,Q28)
action count
action union
action filter_type
action find_reverse
entity Q28
relation P27
type Q43229
action filter_type
action find_reverse
entity Q28
relation P27
type Q2607197
[{'concept': 'Q43229'}, 'P27', 'Q28'] [{'concept': 'Q2607197'}, 'P27', 'Q28']
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { ?q property:P27 resource:Q28 . ?q rdf:type ontology:Q43229 } UNION { ?q rdf:type ontology:Q2607197 . ?q property:P27 resource:Q28 } }
Hungary
action count
action union
action filter_type
action find_reverse
entity Hungary
relation country of citizenship
type organization
action filter_type
action find_reverse
entity Hungary
relation country of citizenship
type character race
[{'concept': 'organization'}, 'country of citizenship', 'Hungary'] [{'concept': 'character race'}, 'country of citizenship', 'Hungary']
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { ?q property:country_of_citizenship resource:Hungary . ?q rdf:type ontology:organization } UNION { ?q rdf:type ontology:character_race . ?q property:country_of_citizenship resource:Hungary } }
[]
organization character race
SYSTEM
2
Q3478091 Q4811442
(c(Q43229),P27,Q28) (c(Q2607197),P27,Q28)
action count
action union
action filter_type
action find_reverse
entity Q28
relation P27
type Q43229
action filter_type
action find_reverse
entity Q28
relation P27
type Q2607197
[ANSWER]
[{'concept': 'Q43229'}, 'P27', 'Q28'] [{'concept': 'Q2607197'}, 'P27', 'Q28']
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { ?q property:P27 resource:Q28 . ?q rdf:type ontology:Q43229 } UNION { ?q rdf:type ontology:Q2607197 . ?q property:P27 resource:Q28 } }
Selene Astrid Research
2
action count
action union
action filter_type
action find_reverse
entity Hungary
relation country of citizenship
type organization
action filter_type
action find_reverse
entity Hungary
relation country of citizenship
type character race
[{'concept': 'organization'}, 'country of citizenship', 'Hungary'] [{'concept': 'character race'}, 'country of citizenship', 'Hungary']
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { ?q property:country_of_citizenship resource:Hungary . ?q rdf:type ontology:organization } UNION { ?q rdf:type ontology:character_race . ?q property:country_of_citizenship resource:Hungary } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P1376
Q2221906
USER
Which geographic location has Budapest has its first city ?
(Q1781,P1376,c(Q2221906))
action filter_type
action find
entity Q1781
relation P1376
type Q2221906
['Q1781', 'P1376', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { resource:Q1781 property:P1376 ?r . ?r rdf:type ontology:Q2221906 }
Budapest
action filter_type
action find
entity Budapest
relation capital of
type geographic location
['Budapest', 'capital of', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { resource:Budapest property:capital_of ?r . ?r rdf:type ontology:geographic_location }
[]
geographic location
Q696970
SYSTEM
Lands of the Crown of Saint Stephen
Q696970
(Q1781,P1376,c(Q2221906))
action filter_type
action find
entity Q1781
relation P1376
type Q2221906
The [ANSWER] has Budapest has its first city
['Q1781', 'P1376', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { resource:Q1781 property:P1376 ?r . ?r rdf:type ontology:Q2221906 }
Lands of the Crown of Saint Stephen
The Lands of the Crown of Saint Stephen has Budapest has its first city
Lands of the Crown of Saint Stephen
action filter_type
action find
entity Budapest
relation capital of
type geographic location
['Budapest', 'capital of', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { resource:Budapest property:capital_of ?r . ?r rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P190
Q15617994
USER
Which administrative territories are twin towns of Budapest ?
(Q1781,P190,c(Q15617994))
action filter_type
action find
entity Q1781
relation P190
type Q15617994
['Q1781', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1781 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Budapest
action filter_type
action find
entity Budapest
relation sister city
type designation for an administrative territorial entity
['Budapest', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Budapest property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q58719 Q53194
SYSTEM
Mondragone, San Vito al Tagliamento
Q58719 Q53194
(Q1781,P190,c(Q15617994))
action filter_type
action find
entity Q1781
relation P190
type Q15617994
[ANSWERS] are twin towns of Budapest
['Q1781', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1781 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Mondragone San Vito al Tagliamento
Mondragone and San Vito al Tagliamento are twin towns of Budapest
Mondragone San Vito al Tagliamento
action filter_type
action find
entity Budapest
relation sister city
type designation for an administrative territorial entity
['Budapest', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Budapest property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q58719 Q53194
P17
Q15617994
USER
Which administrative territories are those ones situated in ?
(Q58719,P17,c(Q15617994)) (Q53194,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q58719', 'P17', {'concept': 'Q15617994'}] ['Q53194', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?u property:P17 ?h . ?h rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q58719 ) ( resource:Q53194 ) } }
Mondragone San Vito al Tagliamento
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Mondragone', 'country', {'concept': 'designation for an administrative territorial entity'}] ['San Vito al Tagliamento', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?u property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:Mondragone ) ( resource:San_Vito_al_Tagliamento ) } }
[]
designation for an administrative territorial entity
Q38 Q38
SYSTEM
Italy
Q38 Q38
(Q58719,P17,c(Q15617994)) (Q53194,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones are situated in [ANSWER] and [ANSWER]
['Q58719', 'P17', {'concept': 'Q15617994'}] ['Q53194', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?u property:P17 ?h . ?h rdf:type ontology:Q15617994 . VALUES ( ?u ) { ( resource:Q58719 ) ( resource:Q53194 ) } }
Italy Italy
Those ones are situated in Italy and Italy
Italy Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Mondragone', 'country', {'concept': 'designation for an administrative territorial entity'}] ['San Vito al Tagliamento', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?u property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?u ) { ( resource:Mondragone ) ( resource:San_Vito_al_Tagliamento ) } }
[]