Simple Question (Direct)
Simple Question
Q9013870
P27
Q15617994
USER
Which administrative territory is José Gabriel Sarasa Miquélez a civilian of ?
(Q9013870,P27,c(Q15617994))
action filter_type
action find
entity Q9013870
relation P27
type Q15617994
['Q9013870', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q9013870 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
José Gabriel Sarasa Miquélez
action filter_type
action find
entity José Gabriel Sarasa Miquélez
relation country of citizenship
type designation for an administrative territorial entity
['José Gabriel Sarasa Miquélez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:José_Gabriel_Sarasa_Miquélez property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q9013870,P27,c(Q15617994))
action filter_type
action find
entity Q9013870
relation P27
type Q15617994
[ANSWER] is José Gabriel Sarasa Miquélez a civilian of
['Q9013870', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q9013870 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Spain
Spain is José Gabriel Sarasa Miquélez a civilian of
Spain
action filter_type
action find
entity José Gabriel Sarasa Miquélez
relation country of citizenship
type designation for an administrative territorial entity
['José Gabriel Sarasa Miquélez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:José_Gabriel_Sarasa_Miquélez property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P85
Q484692
USER
Which is the national anthem of that administrative territory ?
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?q WHERE { resource:Q29 property:P85 ?q . ?q rdf:type ontology:Q484692 }
Spain
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?q WHERE { resource:Spain property:anthem ?q . ?q rdf:type ontology:hymn }
[]
hymn
Q130940
SYSTEM
Marcha Real
Q130940
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
The national anthem of that administrative territory is the [ANSWER]
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?q WHERE { resource:Q29 property:P85 ?q . ?q rdf:type ontology:Q484692 }
Marcha Real
The national anthem of that administrative territory is the Marcha Real
Marcha Real
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?q WHERE { resource:Spain property:anthem ?q . ?q rdf:type ontology:hymn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P463
Q56061 Q35749
USER
How many administrative territories or parliaments were Spain a member of ?
(Q29,P463,c(Q56061)) (Q29,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q29
relation P463
type Q56061
action filter_type
action find
entity Q29
relation P463
type Q35749
['Q29', 'P463', {'concept': 'Q56061'}] ['Q29', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q35749 ) } }
Spain
action count
action union
action filter_type
action find
entity Spain
relation member of
type administrative territorial entity
action filter_type
action find
entity Spain
relation member of
type parliament
['Spain', 'member of', {'concept': 'administrative territorial entity'}] ['Spain', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:parliament ) } }
[]
administrative territorial entity parliament
SYSTEM
2
Q37470 Q458
(Q29,P463,c(Q56061)) (Q29,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q29
relation P463
type Q56061
action filter_type
action find
entity Q29
relation P463
type Q35749
[ANSWER]
['Q29', 'P463', {'concept': 'Q56061'}] ['Q29', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q35749 ) } }
United Nations Security Council European Union
2
action count
action union
action filter_type
action find
entity Spain
relation member of
type administrative territorial entity
action filter_type
action find
entity Spain
relation member of
type parliament
['Spain', 'member of', {'concept': 'administrative territorial entity'}] ['Spain', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:parliament ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P137
Q43229
USER
Which organization can be described as facility operator of that administrative territory ?
action filter_type
action find_reverse
entity Q29
relation P137
type Q43229
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q29 . ?x rdf:type ontology:Q43229 }
Spain
action filter_type
action find_reverse
entity Spain
relation operator
type organization
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Spain . ?x rdf:type ontology:organization }
[]
organization
Q54829
SYSTEM
Radiotelevisión Española
Q54829
action filter_type
action find_reverse
entity Q29
relation P137
type Q43229
[ANSWER] can be described as facility operator of that administrative territory
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q29 . ?x rdf:type ontology:Q43229 }
Radiotelevisión Española
Radiotelevisión Española can be described as facility operator of that administrative territory
Radiotelevisión Española
action filter_type
action find_reverse
entity Spain
relation operator
type organization
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Spain . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q54829
P127
Q895526
USER
Who owns that organization ?
(Q54829,P127,c(Q895526))
action filter_type
action find
entity Q54829
relation P127
type Q895526
['Q54829', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q895526 . resource:Q54829 property:P127 ?v }
Radiotelevisión Española
action filter_type
action find
entity Radiotelevisión Española
relation owned by
type authority organ
['Radiotelevisión Española', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:authority_organ . resource:Radiotelevisión_Española property:owned_by ?v }
[]
authority organ
Q1194749
SYSTEM
government of Spain
Q1194749
(Q54829,P127,c(Q895526))
action filter_type
action find
entity Q54829
relation P127
type Q895526
[ANSWER] owns that organization
['Q54829', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q895526 . resource:Q54829 property:P127 ?v }
government of Spain
Government of Spain owns that organization
government of Spain
action filter_type
action find
entity Radiotelevisión Española
relation owned by
type authority organ
['Radiotelevisión Española', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:authority_organ . resource:Radiotelevisión_Española property:owned_by ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3061020 Q54829
P127
Q895526
USER
Or Eusko Trenbideak – Ferrocarriles Vascos?
OR((Q54829,P127,c(Q895526)), (Q3061020,P127,c(Q895526)))
action filter_type
action union
action find
entity Q54829
relation P127
action find
entity Q3061020
relation P127
type Q895526
{'OR': [['Q54829', 'P127', {'concept': 'Q895526'}], ['Q3061020', 'P127', {'concept': 'Q895526'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q895526 . { { resource:Q3061020 property:P127 ?d } UNION { resource:Q54829 property:P127 ?d } } }
Eusko Trenbideak – Ferrocarriles Vascos Radiotelevisión Española
action filter_type
action union
action find
entity Radiotelevisión Española
relation owned by
action find
entity Eusko Trenbideak – Ferrocarriles Vascos
relation owned by
type authority organ
{'OR': [['Radiotelevisión Española', 'owned by', {'concept': 'authority organ'}], ['Eusko Trenbideak – Ferrocarriles Vascos', 'owned by', {'concept': 'authority organ'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:authority_organ . { { resource:Eusko_Trenbideak_–_Ferrocarriles_Vascos property:owned_by ?d } UNION { resource:Radiotelevisión_Española property:owned_by ?d } } }
[]
authority organ
Q1194749 Q2554299
SYSTEM
government of Spain, Basque Government
Q1194749 Q2554299
OR((Q54829,P127,c(Q895526)), (Q3061020,P127,c(Q895526)))
action filter_type
action union
action find
entity Q54829
relation P127
action find
entity Q3061020
relation P127
type Q895526
[ANSWERS]
{'OR': [['Q54829', 'P127', {'concept': 'Q895526'}], ['Q3061020', 'P127', {'concept': 'Q895526'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q895526 . { { resource:Q3061020 property:P127 ?d } UNION { resource:Q54829 property:P127 ?d } } }
government of Spain Basque Government
government of Spain Basque Government
action filter_type
action union
action find
entity Radiotelevisión Española
relation owned by
action find
entity Eusko Trenbideak – Ferrocarriles Vascos
relation owned by
type authority organ
{'OR': [['Radiotelevisión Española', 'owned by', {'concept': 'authority organ'}], ['Eusko Trenbideak – Ferrocarriles Vascos', 'owned by', {'concept': 'authority organ'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:authority_organ . { { resource:Eusko_Trenbideak_–_Ferrocarriles_Vascos property:owned_by ?d } UNION { resource:Radiotelevisión_Española property:owned_by ?d } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q130940
P85 P421
Q15617994
USER
Which administrative territories have Marcha Real as their anthem and have UTC+01:00 as time zone ?
AND((c(Q15617994),P85,Q130940), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q130940
relation P85
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P85', 'Q130940'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?v WHERE { ?v property:P85 resource:Q130940 . ?v property:P421 resource:Q6655 . ?v rdf:type ontology:Q15617994 }
UTC+01:00 Marcha Real
action filter_type
action intersection
action find_reverse
entity Marcha Real
relation anthem
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'Marcha Real'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?v WHERE { ?v property:anthem resource:Marcha_Real . ?v property:located_in_time_zone resource:UTC+01:00 . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((c(Q15617994),P85,Q130940), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q130940
relation P85
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWER] have Marcha Real as their anthem and have UTC+01:00 as time zone
{'AND': [[{'concept': 'Q15617994'}, 'P85', 'Q130940'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?v WHERE { ?v property:P85 resource:Q130940 . ?v property:P421 resource:Q6655 . ?v rdf:type ontology:Q15617994 }
Spain
Spain have Marcha Real as their anthem and have UTC+01:00 as time zone
Spain
action filter_type
action intersection
action find_reverse
entity Marcha Real
relation anthem
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'Marcha Real'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?v WHERE { ?v property:anthem resource:Marcha_Real . ?v property:located_in_time_zone resource:UTC+01:00 . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P162
Q838948
USER
Which work of art created that administrative territory ?
(c(Q838948),P162,Q29)
action filter_type
action find_reverse
entity Q29
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q29']
SELECT DISTINCT ?e WHERE { ?e property:P162 resource:Q29 . ?e rdf:type ontology:Q838948 }
Spain
action filter_type
action find_reverse
entity Spain
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Spain']
SELECT DISTINCT ?e WHERE { ?e property:producer resource:Spain . ?e rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
(c(Q838948),P162,Q29)
action filter_type
action find_reverse
entity Q29
relation P162
type Q838948
[ANSWER] created that administrative territory
[{'concept': 'Q838948'}, 'P162', 'Q29']
SELECT DISTINCT ?e WHERE { ?e property:P162 resource:Q29 . ?e rdf:type ontology:Q838948 }
Calabuch
Calabuch created that administrative territory
Calabuch
action filter_type
action find_reverse
entity Spain
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Spain']
SELECT DISTINCT ?e WHERE { ?e property:producer resource:Spain . ?e rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2933446 Q222791
P58
Q502895
USER
Did Ennio Flaiano write the script for that work of art ?
(Q2933446,P58,Q222791)
action is_in
entity Q222791
action find
entity Q2933446
relation P58
['Q2933446', 'P58', 'Q222791']
ASK WHERE { resource:Q2933446 property:P58 resource:Q222791 }
Calabuch Ennio Flaiano
action is_in
entity Ennio Flaiano
action find
entity Calabuch
relation screenwriter
['Calabuch', 'screenwriter', 'Ennio Flaiano']
ASK WHERE { resource:Calabuch property:screenwriter resource:Ennio_Flaiano }
[]
common name
SYSTEM
YES
(Q2933446,P58,Q222791)
action is_in
entity Q222791
action find
entity Q2933446
relation P58
[ANSWER]
['Q2933446', 'P58', 'Q222791']
ASK WHERE { resource:Q2933446 property:P58 resource:Q222791 }
Yes
action is_in
entity Ennio Flaiano
action find
entity Calabuch
relation screenwriter
['Calabuch', 'screenwriter', 'Ennio Flaiano']
ASK WHERE { resource:Calabuch property:screenwriter resource:Ennio_Flaiano }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q130940 Q54713 Q29
P17
Q15617994
USER
Is Marcha Real present in Gerocarne and Spain ?
(Q130940,P17,Q54713) (Q130940,P17,Q29)
action is_in
entity Q130940
action intersection
action find_reverse
entity Q54713
relation P17
action find_reverse
entity Q29
relation P17
['Q130940', 'P17', 'Q54713'] ['Q130940', 'P17', 'Q29']
ASK WHERE { resource:Q130940 property:P17 resource:Q54713 . resource:Q130940 property:P17 resource:Q29 }
Marcha Real Gerocarne Spain
action is_in
entity Marcha Real
action intersection
action find_reverse
entity Gerocarne
relation country
action find_reverse
entity Spain
relation country
['Marcha Real', 'country', 'Gerocarne'] ['Marcha Real', 'country', 'Spain']
ASK WHERE { resource:Marcha_Real property:country resource:Gerocarne . resource:Marcha_Real property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q130940,P17,Q54713) (Q130940,P17,Q29)
action is_in
entity Q130940
action intersection
action find_reverse
entity Q54713
relation P17
action find_reverse
entity Q29
relation P17
[ANSWER]
['Q130940', 'P17', 'Q54713'] ['Q130940', 'P17', 'Q29']
ASK WHERE { resource:Q130940 property:P17 resource:Q54713 . resource:Q130940 property:P17 resource:Q29 }
NO and YES respectively
action is_in
entity Marcha Real
action intersection
action find_reverse
entity Gerocarne
relation country
action find_reverse
entity Spain
relation country
['Marcha Real', 'country', 'Gerocarne'] ['Marcha Real', 'country', 'Spain']
ASK WHERE { resource:Marcha_Real property:country resource:Gerocarne . resource:Marcha_Real property:country resource:Spain }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2933446 Q222791
P58
Q502895
USER
Did Ennio Flaiano write the script for that work of art ?
(Q2933446,P58,Q222791)
action is_in
entity Q222791
action find
entity Q2933446
relation P58
['Q2933446', 'P58', 'Q222791']
ASK WHERE { resource:Q2933446 property:P58 resource:Q222791 }
Calabuch Ennio Flaiano
action is_in
entity Ennio Flaiano
action find
entity Calabuch
relation screenwriter
['Calabuch', 'screenwriter', 'Ennio Flaiano']
ASK WHERE { resource:Calabuch property:screenwriter resource:Ennio_Flaiano }
[]
common name
SYSTEM
YES
(Q2933446,P58,Q222791)
action is_in
entity Q222791
action find
entity Q2933446
relation P58
[ANSWER]
['Q2933446', 'P58', 'Q222791']
ASK WHERE { resource:Q2933446 property:P58 resource:Q222791 }
Yes
action is_in
entity Ennio Flaiano
action find
entity Calabuch
relation screenwriter
['Calabuch', 'screenwriter', 'Ennio Flaiano']
ASK WHERE { resource:Calabuch property:screenwriter resource:Ennio_Flaiano }
[]