Simple Question (Direct)
Simple Question
Q16724
P6
Q502895
USER
Who is the head of the government of Navàs ?
(Q16724,P6,c(Q502895))
action filter_type
action find
entity Q16724
relation P6
type Q502895
['Q16724', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16724 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Navàs
action filter_type
action find
entity Navàs
relation head of government
type common name
['Navàs', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Navàs property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q14041046
SYSTEM
Jaume Casals Ció
Q14041046
(Q16724,P6,c(Q502895))
action filter_type
action find
entity Q16724
relation P6
type Q502895
The head of the government of Navàs is [ANSWER]
['Q16724', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16724 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Jaume Casals Ció
The head of the government of Navàs is Jaume Casals Ció
Jaume Casals Ció
action filter_type
action find
entity Navàs
relation head of government
type common name
['Navàs', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Navàs property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14041046
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q14041046,P27,c(Q15617994))
action filter_type
action find
entity Q14041046
relation P27
type Q15617994
['Q14041046', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q14041046 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Jaume Casals Ció
action filter_type
action find
entity Jaume Casals Ció
relation country of citizenship
type designation for an administrative territorial entity
['Jaume Casals Ció', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jaume_Casals_Ció property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q14041046,P27,c(Q15617994))
action filter_type
action find
entity Q14041046
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q14041046', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q14041046 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Spain
Spain is the country of citizenship of that person
Spain
action filter_type
action find
entity Jaume Casals Ció
relation country of citizenship
type designation for an administrative territorial entity
['Jaume Casals Ció', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jaume_Casals_Ció property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q56061
USER
How many administrative territories are bordered by that administrative territory ?
(Q29,P47,c(Q56061))
action count
action filter_type
action find
entity Q29
relation P47
type Q56061
['Q29', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q29 property:P47 ?x . ?x rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Spain
relation shares border with
type administrative territorial entity
['Spain', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Spain property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q7172 Q458
(Q29,P47,c(Q56061))
action count
action filter_type
action find
entity Q29
relation P47
type Q56061
[ANSWER]
['Q29', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q29 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Arab League European Union
2
action count
action filter_type
action find
entity Spain
relation shares border with
type administrative territorial entity
['Spain', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Spain property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P463
Q874405 Q56061
USER
How many social groups and administrative territories had Spain as their member ?
(Q29,P463,c(Q874405)) (Q29,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q29
relation P463
type Q874405
action filter_type
action find
entity Q29
relation P463
type Q56061
['Q29', 'P463', {'concept': 'Q874405'}] ['Q29', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { resource:Q29 property:P463 ?q . ?q rdf:type ontology:Q874405 } UNION { resource:Q29 property:P463 ?q . ?q rdf:type ontology:Q56061 } }
Spain
action count
action union
action filter_type
action find
entity Spain
relation member of
type social group
action filter_type
action find
entity Spain
relation member of
type administrative territorial entity
['Spain', 'member of', {'concept': 'social group'}] ['Spain', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { resource:Spain property:member_of ?q . ?q rdf:type ontology:social_group } UNION { resource:Spain property:member_of ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]
social group administrative territorial entity
SYSTEM
3 social groups and 1 administrative territories
Q782942 Q458 Q8908 Q38130
(Q29,P463,c(Q874405)) (Q29,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q29
relation P463
type Q874405
action filter_type
action find
entity Q29
relation P463
type Q56061
[ANSWER]
['Q29', 'P463', {'concept': 'Q874405'}] ['Q29', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { resource:Q29 property:P463 ?q . ?q rdf:type ontology:Q874405 } UNION { resource:Q29 property:P463 ?q . ?q rdf:type ontology:Q56061 } }
Australia Group European Union Council of Europe League of Nations
3 social groups and 1 administrative territories
action count
action union
action filter_type
action find
entity Spain
relation member of
type social group
action filter_type
action find
entity Spain
relation member of
type administrative territorial entity
['Spain', 'member of', {'concept': 'social group'}] ['Spain', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { resource:Spain property:member_of ?q . ?q rdf:type ontology:social_group } UNION { resource:Spain property:member_of ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P376
Q16889133
USER
Which class is that administrative territory situated on ?
action filter_type
action find
entity Q29
relation P376
type Q16889133
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16889133 . resource:Q29 property:P376 ?s }
Spain
action filter_type
action find
entity Spain
relation located on astronomical body
type class
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:class . resource:Spain property:located_on_astronomical_body ?s }
[]
class
Q2
SYSTEM
Earth
Q2
action filter_type
action find
entity Q29
relation P376
type Q16889133
That administrative territory is situated on [ANSWER]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16889133 . resource:Q29 property:P376 ?s }
Earth
That administrative territory is situated on Earth
Earth
action filter_type
action find
entity Spain
relation located on astronomical body
type class
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:class . resource:Spain property:located_on_astronomical_body ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2 Q513
P610
Q14524493
USER
Is Mount Everest the highest peak of that class ?
(Q2,P610,Q513)
action is_in
entity Q513
action find
entity Q2
relation P610
['Q2', 'P610', 'Q513']
ASK WHERE { resource:Q2 property:P610 resource:Q513 }
Earth Mount Everest
action is_in
entity Mount Everest
action find
entity Earth
relation highest point
['Earth', 'highest point', 'Mount Everest']
ASK WHERE { resource:Earth property:highest_point resource:Mount_Everest }
[]
terrain
SYSTEM
YES
(Q2,P610,Q513)
action is_in
entity Q513
action find
entity Q2
relation P610
[ANSWER]
['Q2', 'P610', 'Q513']
ASK WHERE { resource:Q2 property:P610 resource:Q513 }
Yes
action is_in
entity Mount Everest
action find
entity Earth
relation highest point
['Earth', 'highest point', 'Mount Everest']
ASK WHERE { resource:Earth property:highest_point resource:Mount_Everest }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2
P397
Q179600
USER
Whose child astronomical body is that class ?
action filter_type
action find
entity Q2
relation P397
type Q179600
SELECT DISTINCT ?f WHERE { resource:Q2 property:P397 ?f . ?f rdf:type ontology:Q179600 }
Earth
action filter_type
action find
entity Earth
relation parent astronomical body
type stellar classification
SELECT DISTINCT ?f WHERE { resource:Earth property:parent_astronomical_body ?f . ?f rdf:type ontology:stellar_classification }
[]
stellar classification
Q525
SYSTEM
Sun
Q525
action filter_type
action find
entity Q2
relation P397
type Q179600
[ANSWER] is that class
SELECT DISTINCT ?f WHERE { resource:Q2 property:P397 ?f . ?f rdf:type ontology:Q179600 }
Sun
Sun is that class
Sun
action filter_type
action find
entity Earth
relation parent astronomical body
type stellar classification
SELECT DISTINCT ?f WHERE { resource:Earth property:parent_astronomical_body ?f . ?f rdf:type ontology:stellar_classification }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2 Q7007379
P361
Q1047113
USER
How many special fields are Earth or business process management a portion of ?
(Q2,P361,c(Q1047113)) (Q7007379,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q2
relation P361
type Q1047113
action filter_type
action find
entity Q7007379
relation P361
type Q1047113
['Q2', 'P361', {'concept': 'Q1047113'}] ['Q7007379', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?d property:P361 ?n . VALUES ( ?d ) { ( resource:Q7007379 ) ( resource:Q2 ) } }
Earth business process management
action count
action union
action filter_type
action find
entity Earth
relation part of
type special field
action filter_type
action find
entity business process management
relation part of
type special field
['Earth', 'part of', {'concept': 'special field'}] ['business process management', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?d property:part_of ?n . VALUES ( ?d ) { ( resource:business_process_management ) ( resource:Earth ) } }
[]
special field
SYSTEM
2
Q126552 Q2043282
(Q2,P361,c(Q1047113)) (Q7007379,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q2
relation P361
type Q1047113
action filter_type
action find
entity Q7007379
relation P361
type Q1047113
[ANSWER]
['Q2', 'P361', {'concept': 'Q1047113'}] ['Q7007379', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?d property:P361 ?n . VALUES ( ?d ) { ( resource:Q7007379 ) ( resource:Q2 ) } }
business informatics business administration
2
action count
action union
action filter_type
action find
entity Earth
relation part of
type special field
action filter_type
action find
entity business process management
relation part of
type special field
['Earth', 'part of', {'concept': 'special field'}] ['business process management', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?d property:part_of ?n . VALUES ( ?d ) { ( resource:business_process_management ) ( resource:Earth ) } }
[]