Simple Question (Direct)
Simple Question
Q334646
P21
Q290
USER
Which sex does Michael Spicer, Baron Spicer have ?
(Q334646,P21,c(Q290))
action filter_type
action find
entity Q334646
relation P21
type Q290
['Q334646', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q334646 property:P21 ?x }
Michael Spicer, Baron Spicer
action filter_type
action find
entity Michael Spicer, Baron Spicer
relation gender
type sex
['Michael Spicer, Baron Spicer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Michael_Spicer,_Baron_Spicer property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q334646,P21,c(Q290))
action filter_type
action find
entity Q334646
relation P21
type Q290
Michael Spicer , Baron Spicer has a [ANSWER]
['Q334646', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q334646 property:P21 ?x }
male
Michael Spicer , Baron Spicer has a male
male
action filter_type
action find
entity Michael Spicer, Baron Spicer
relation gender
type sex
['Michael Spicer, Baron Spicer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Michael_Spicer,_Baron_Spicer property:gender ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q334646
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q334646
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q334646 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Michael Spicer, Baron Spicer
action filter_type
action find
entity Michael Spicer, Baron Spicer
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Michael_Spicer,_Baron_Spicer property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q334646
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q334646 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Michael Spicer, Baron Spicer
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Michael_Spicer,_Baron_Spicer property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5342020 Q334646
P102
Q7210356
USER
Which political organizations do Michael Spicer, Baron Spicer and Edward Brocklehurst Fielden belong to ?
AND((Q334646,P102,c(Q7210356)), (Q5342020,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q334646
relation P102
action find
entity Q5342020
relation P102
type Q7210356
{'AND': [['Q334646', 'P102', {'concept': 'Q7210356'}], ['Q5342020', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?p WHERE { resource:Q334646 property:P102 ?p . resource:Q5342020 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Edward Brocklehurst Fielden Michael Spicer, Baron Spicer
action filter_type
action intersection
action find
entity Michael Spicer, Baron Spicer
relation member of political party
action find
entity Edward Brocklehurst Fielden
relation member of political party
type political organization
{'AND': [['Michael Spicer, Baron Spicer', 'member of political party', {'concept': 'political organization'}], ['Edward Brocklehurst Fielden', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?p WHERE { resource:Michael_Spicer,_Baron_Spicer property:member_of_political_party ?p . resource:Edward_Brocklehurst_Fielden property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
AND((Q334646,P102,c(Q7210356)), (Q5342020,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q334646
relation P102
action find
entity Q5342020
relation P102
type Q7210356
Michael Spicer , Baron Spicer and Edward Brocklehurst Fielden belong to the [ANSWER]
{'AND': [['Q334646', 'P102', {'concept': 'Q7210356'}], ['Q5342020', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?p WHERE { resource:Q334646 property:P102 ?p . resource:Q5342020 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Conservative Party
Michael Spicer , Baron Spicer and Edward Brocklehurst Fielden belong to the Conservative Party
Conservative Party
action filter_type
action intersection
action find
entity Michael Spicer, Baron Spicer
relation member of political party
action find
entity Edward Brocklehurst Fielden
relation member of political party
type political organization
{'AND': [['Michael Spicer, Baron Spicer', 'member of political party', {'concept': 'political organization'}], ['Edward Brocklehurst Fielden', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?p WHERE { resource:Michael_Spicer,_Baron_Spicer property:member_of_political_party ?p . resource:Edward_Brocklehurst_Fielden property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q9626 Q17147958
P17
Q15617994
USER
Is that political organization situated in intendency ?
(Q9626,P17,Q17147958)
action is_in
entity Q17147958
action find
entity Q9626
relation P17
['Q9626', 'P17', 'Q17147958']
ASK WHERE { resource:Q9626 property:P17 resource:Q17147958 }
Conservative Party intendency
action is_in
entity intendency
action find
entity Conservative Party
relation country
['Conservative Party', 'country', 'intendency']
ASK WHERE { resource:Conservative_Party property:country resource:intendency }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q9626,P17,Q17147958)
action is_in
entity Q17147958
action find
entity Q9626
relation P17
[ANSWER]
['Q9626', 'P17', 'Q17147958']
ASK WHERE { resource:Q9626 property:P17 resource:Q17147958 }
No
action is_in
entity intendency
action find
entity Conservative Party
relation country
['Conservative Party', 'country', 'intendency']
ASK WHERE { resource:Conservative_Party property:country resource:intendency }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9626
P463
Q502895
USER
Which person is a part of that political organization ?
action filter_type
action find_reverse
entity Q9626
relation P463
type Q502895
SELECT DISTINCT ?v WHERE { ?v property:P463 resource:Q9626 . ?v rdf:type ontology:Q502895 }
Conservative Party
action filter_type
action find_reverse
entity Conservative Party
relation member of
type common name
SELECT DISTINCT ?v WHERE { ?v property:member_of resource:Conservative_Party . ?v rdf:type ontology:common_name }
[]
common name
Q7176493
SYSTEM
Peter Quinn
Q7176493
action filter_type
action find_reverse
entity Q9626
relation P463
type Q502895
[ANSWER] is a part of that political organization
SELECT DISTINCT ?v WHERE { ?v property:P463 resource:Q9626 . ?v rdf:type ontology:Q502895 }
Peter Quinn
Peter Quinn is a part of that political organization
Peter Quinn
action filter_type
action find_reverse
entity Conservative Party
relation member of
type common name
SELECT DISTINCT ?v WHERE { ?v property:member_of resource:Conservative_Party . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7176493 Q145 Q271174
P27
Q15617994
USER
Is Peter Quinn a native of United Kingdom and Quiliano ?
(Q7176493,P27,Q145) (Q7176493,P27,Q271174)
action is_in
entity Q7176493
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q271174
relation P27
['Q7176493', 'P27', 'Q145'] ['Q7176493', 'P27', 'Q271174']
ASK WHERE { resource:Q7176493 property:P27 resource:Q145 . resource:Q7176493 property:P27 resource:Q271174 }
Peter Quinn United Kingdom Quiliano
action is_in
entity Peter Quinn
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Quiliano
relation country of citizenship
['Peter Quinn', 'country of citizenship', 'United Kingdom'] ['Peter Quinn', 'country of citizenship', 'Quiliano']
ASK WHERE { resource:Peter_Quinn property:country_of_citizenship resource:United_Kingdom . resource:Peter_Quinn property:country_of_citizenship resource:Quiliano }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q7176493,P27,Q145) (Q7176493,P27,Q271174)
action is_in
entity Q7176493
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q271174
relation P27
[ANSWER]
['Q7176493', 'P27', 'Q145'] ['Q7176493', 'P27', 'Q271174']
ASK WHERE { resource:Q7176493 property:P27 resource:Q145 . resource:Q7176493 property:P27 resource:Q271174 }
YES and NO respectively
action is_in
entity Peter Quinn
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Quiliano
relation country of citizenship
['Peter Quinn', 'country of citizenship', 'United Kingdom'] ['Peter Quinn', 'country of citizenship', 'Quiliano']
ASK WHERE { resource:Peter_Quinn property:country_of_citizenship resource:United_Kingdom . resource:Peter_Quinn property:country_of_citizenship resource:Quiliano }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P137
Q15056995 Q811430
USER
How many aircraft models or constructions are the administrator of United Kingdom ?
(c(Q15056995),P137,Q145) (c(Q811430),P137,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P137
type Q15056995
action filter_type
action find_reverse
entity Q145
relation P137
type Q811430
[{'concept': 'Q15056995'}, 'P137', 'Q145'] [{'concept': 'Q811430'}, 'P137', 'Q145']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:P137 resource:Q145 . ?i rdf:type ontology:Q15056995 } UNION { ?i property:P137 resource:Q145 . ?i rdf:type ontology:Q811430 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation operator
type aircraft model
action filter_type
action find_reverse
entity United Kingdom
relation operator
type construction
[{'concept': 'aircraft model'}, 'operator', 'United Kingdom'] [{'concept': 'construction'}, 'operator', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:operator resource:United_Kingdom . ?i rdf:type ontology:aircraft_model } UNION { ?i property:operator resource:United_Kingdom . ?i rdf:type ontology:construction } }
[]
aircraft model construction
SYSTEM
4
Q18117224 Q475584 Q17501721 Q17501685
(c(Q15056995),P137,Q145) (c(Q811430),P137,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P137
type Q15056995
action filter_type
action find_reverse
entity Q145
relation P137
type Q811430
[ANSWER]
[{'concept': 'Q15056995'}, 'P137', 'Q145'] [{'concept': 'Q811430'}, 'P137', 'Q145']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:P137 resource:Q145 . ?i rdf:type ontology:Q15056995 } UNION { ?i property:P137 resource:Q145 . ?i rdf:type ontology:Q811430 } }
Fortress III Embassy of the United Kingdom, Berlin Typhoon T1 Typhoon DA
4
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation operator
type aircraft model
action filter_type
action find_reverse
entity United Kingdom
relation operator
type construction
[{'concept': 'aircraft model'}, 'operator', 'United Kingdom'] [{'concept': 'construction'}, 'operator', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:operator resource:United_Kingdom . ?i rdf:type ontology:aircraft_model } UNION { ?i property:operator resource:United_Kingdom . ?i rdf:type ontology:construction } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q145
P530
Q1048835
USER
How many political territories have a diplomatic relationship with United Kingdom ?
(Q145,P530,c(Q1048835))
action count
action filter_type
action find
entity Q145
relation P530
type Q1048835
['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q145 property:P530 ?s . ?s rdf:type ontology:Q1048835 }
United Kingdom
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:United_Kingdom property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q183 Q408 Q16
(Q145,P530,c(Q1048835))
action count
action filter_type
action find
entity Q145
relation P530
type Q1048835
[ANSWER]
['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q145 property:P530 ?s . ?s rdf:type ontology:Q1048835 }
Germany Australia Canada
3
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:United_Kingdom property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q114
P194
Q11204
USER
Which legislature represents Kenya ?
(Q114,P194,c(Q11204))
action filter_type
action find
entity Q114
relation P194
type Q11204
['Q114', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?e WHERE { resource:Q114 property:P194 ?e . ?e rdf:type ontology:Q11204 }
Kenya
action filter_type
action find
entity Kenya
relation legislative body
type legislature
['Kenya', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?e WHERE { resource:Kenya property:legislative_body ?e . ?e rdf:type ontology:legislature }
[]
legislature
Q14468380
SYSTEM
Parliament of Kenya
Q14468380
(Q114,P194,c(Q11204))
action filter_type
action find
entity Q114
relation P194
type Q11204
Kenya [ANSWER] represents Kenya
['Q114', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?e WHERE { resource:Q114 property:P194 ?e . ?e rdf:type ontology:Q11204 }
Parliament of Kenya
Kenya Parliament of Kenya represents Kenya
Parliament of Kenya
action filter_type
action find
entity Kenya
relation legislative body
type legislature
['Kenya', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?e WHERE { resource:Kenya property:legislative_body ?e . ?e rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P610
Q16889133
USER
What is the highest point of United Kingdom ?
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q16889133 . resource:Q145 property:P610 ?h }
United Kingdom
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:class . resource:United_Kingdom property:highest_point ?h }
[]
class
Q104674
SYSTEM
Ben Nevis
Q104674
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
The highest point of United Kingdom is Mount [ANSWER]
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q16889133 . resource:Q145 property:P610 ?h }
Ben Nevis
The highest point of United Kingdom is Mount Ben Nevis
Ben Nevis
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:class . resource:United_Kingdom property:highest_point ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q104674
P30
Q2221906
USER
Where is that class located ?
(Q104674,P30,c(Q2221906))
action filter_type
action find
entity Q104674
relation P30
type Q2221906
['Q104674', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2221906 . resource:Q104674 property:P30 ?j }
Ben Nevis
action filter_type
action find
entity Ben Nevis
relation continent
type geographic location
['Ben Nevis', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographic_location . resource:Ben_Nevis property:continent ?j }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q104674,P30,c(Q2221906))
action filter_type
action find
entity Q104674
relation P30
type Q2221906
That class is located in [ANSWER]
['Q104674', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2221906 . resource:Q104674 property:P30 ?j }
Europe
That class is located in Europe
Europe
action filter_type
action find
entity Ben Nevis
relation continent
type geographic location
['Ben Nevis', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographic_location . resource:Ben_Nevis property:continent ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21488063
Q2221906
USER
And how about Mount Baker?
(Q21488063,P30,c(Q2221906))
action filter_type
action find
entity Q21488063
relation P30
type Q2221906
['Q21488063', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q21488063 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Mount Baker
action filter_type
action find
entity Mount Baker
relation continent
type geographic location
['Mount Baker', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Mount_Baker property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q21488063,P30,c(Q2221906))
action filter_type
action find
entity Q21488063
relation P30
type Q2221906
[ANSWER]
['Q21488063', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { resource:Q21488063 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Mount Baker
relation continent
type geographic location
['Mount Baker', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { resource:Mount_Baker property:continent ?x . ?x rdf:type ontology:geographic_location }
[]