Simple Question (Direct)
Simple Question
Q4978333
P27
Q15617994
USER
Which administrative territory is Bruce Stuckey a civilian of ?
(Q4978333,P27,c(Q15617994))
action filter_type
action find
entity Q4978333
relation P27
type Q15617994
['Q4978333', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4978333 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Bruce Stuckey
action filter_type
action find
entity Bruce Stuckey
relation country of citizenship
type designation for an administrative territorial entity
['Bruce Stuckey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bruce_Stuckey property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4978333,P27,c(Q15617994))
action filter_type
action find
entity Q4978333
relation P27
type Q15617994
[ANSWER] is Bruce Stuckey a civilian of
['Q4978333', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4978333 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Bruce Stuckey a civilian of
United Kingdom
action filter_type
action find
entity Bruce Stuckey
relation country of citizenship
type designation for an administrative territorial entity
['Bruce Stuckey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bruce_Stuckey property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4978333
P641
Q349
USER
Which sport was that person a part of ?
(Q145,P641,c(Q349))
action filter_type
action find
entity Q4978333
relation P641
type Q349
['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q4978333 property:P641 ?l . ?l rdf:type ontology:Q349 }
Bruce Stuckey
action filter_type
action find
entity Bruce Stuckey
relation sport
type sport
['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Bruce_Stuckey property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q145,P641,c(Q349))
action filter_type
action find
entity Q4978333
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q4978333 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Bruce Stuckey
relation sport
type sport
['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Bruce_Stuckey property:sport ?l . ?l rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have lesser number of literary works and hymns as their anthem than Japan ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q17
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?i ) WHERE { { ?t property:P85 ?g . ?t rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q7725634 } UNION { ?t property:P85 ?g . ?t rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q484692 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q17 property:P85 ?q . { { ?q rdf:type ontology:Q7725634 } UNION { ?q rdf:type ontology:Q484692 } } } } . FILTER ( ?i < ?n ) }
Japan
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Japan
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?i ) WHERE { { ?t property:anthem ?g . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:literary_work } UNION { ?t property:anthem ?g . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:hymn } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Japan property:anthem ?q . { { ?q rdf:type ontology:literary_work } UNION { ?q rdf:type ontology:hymn } } } } . FILTER ( ?i < ?n ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
8
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q17
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?i ) WHERE { { ?t property:P85 ?g . ?t rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q7725634 } UNION { ?t property:P85 ?g . ?t rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q484692 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q17 property:P85 ?q . { { ?q rdf:type ontology:Q7725634 } UNION { ?q rdf:type ontology:Q484692 } } } } . FILTER ( ?i < ?n ) }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
8
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Japan
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?i ) WHERE { { ?t property:anthem ?g . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:literary_work } UNION { ?t property:anthem ?g . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:hymn } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Japan property:anthem ?q . { { ?q rdf:type ontology:literary_work } UNION { ?q rdf:type ontology:hymn } } } } . FILTER ( ?i < ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4978333
P19
Q56061
USER
Which administrative territory was Bruce Stuckey born at ?
(Q4978333,P19,c(Q56061))
action filter_type
action find
entity Q4978333
relation P19
type Q56061
['Q4978333', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q4978333 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Bruce Stuckey
action filter_type
action find
entity Bruce Stuckey
relation place of birth
type administrative territorial entity
['Bruce Stuckey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bruce_Stuckey property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q209055
SYSTEM
Torquay
Q209055
(Q4978333,P19,c(Q56061))
action filter_type
action find
entity Q4978333
relation P19
type Q56061
Bruce Stuckey was born in [ANSWER]
['Q4978333', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q4978333 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Torquay
Bruce Stuckey was born in Torquay
Torquay
action filter_type
action find
entity Bruce Stuckey
relation place of birth
type administrative territorial entity
['Bruce Stuckey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bruce_Stuckey property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4978333
P21
Q290
USER
What is the sex of that person ?
(Q209055,P21,c(Q290))
action filter_type
action find
entity Q4978333
relation P21
type Q290
['Q209055', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4978333 property:P21 ?c . ?c rdf:type ontology:Q290 }
Bruce Stuckey
action filter_type
action find
entity Bruce Stuckey
relation gender
type sex
['Torquay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Bruce_Stuckey property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q209055,P21,c(Q290))
action filter_type
action find
entity Q4978333
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q209055', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4978333 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Bruce Stuckey
relation gender
type sex
['Torquay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Bruce_Stuckey property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4978333
P106
Q12737077
USER
What is the profession of Bruce Stuckey ?
(Q4978333,P106,c(Q12737077))
action filter_type
action find
entity Q4978333
relation P106
type Q12737077
['Q4978333', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4978333 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Bruce Stuckey
action filter_type
action find
entity Bruce Stuckey
relation occupation
type occupation
['Bruce Stuckey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Bruce_Stuckey property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4978333,P106,c(Q12737077))
action filter_type
action find
entity Q4978333
relation P106
type Q12737077
The profession of Bruce Stuckey is an [ANSWER]
['Q4978333', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4978333 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
The profession of Bruce Stuckey is an association football player
association football player
action filter_type
action find
entity Bruce Stuckey
relation occupation
type occupation
['Bruce Stuckey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Bruce_Stuckey property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3302478
Q12737077
USER
And how about Ryoji Ujihara?
(Q3302478,P106,c(Q12737077))
action filter_type
action find
entity Q3302478
relation P106
type Q12737077
['Q3302478', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3302478 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Ryoji Ujihara
action filter_type
action find
entity Ryoji Ujihara
relation occupation
type occupation
['Ryoji Ujihara', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ryoji_Ujihara property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3302478,P106,c(Q12737077))
action filter_type
action find
entity Q3302478
relation P106
type Q12737077
[ANSWER]
['Q3302478', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3302478 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Ryoji Ujihara
relation occupation
type occupation
['Ryoji Ujihara', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ryoji_Ujihara property:occupation ?e . ?e rdf:type ontology:occupation }
[]