Simple Question (Direct)
Simple Question
Q8010105
P106
Q12737077
USER
Which occupation has William Grant as his/her 's career ?
(Q8010105,P106,c(Q12737077))
action filter_type
action find
entity Q8010105
relation P106
type Q12737077
['Q8010105', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q8010105 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
William Grant
action filter_type
action find
entity William Grant
relation occupation
type occupation
['William Grant', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:William_Grant property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q8010105,P106,c(Q12737077))
action filter_type
action find
entity Q8010105
relation P106
type Q12737077
Player [ANSWER] has William Grant as his/her 's career
['Q8010105', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q8010105 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Player association football player has William Grant as his/her 's career
association football player
action filter_type
action find
entity William Grant
relation occupation
type occupation
['William Grant', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:William_Grant property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8010105
P20
Q56061
USER
Where did that person die ?
(Q937857,P20,c(Q56061))
action filter_type
action find
entity Q8010105
relation P20
type Q56061
['Q937857', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q8010105 property:P20 ?d . ?d rdf:type ontology:Q56061 }
William Grant
action filter_type
action find
entity William Grant
relation place of death
type administrative territorial entity
['association football player', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:William_Grant property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q896424
SYSTEM
Bo'ness
Q896424
(Q937857,P20,c(Q56061))
action filter_type
action find
entity Q8010105
relation P20
type Q56061
That person died in [ANSWER]
['Q937857', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q8010105 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Bo'ness
That person died in Bo'ness
Bo'ness
action filter_type
action find
entity William Grant
relation place of death
type administrative territorial entity
['association football player', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:William_Grant property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8010105
P21
Q290
USER
Which sex does that person have ?
(Q896424,P21,c(Q290))
action filter_type
action find
entity Q8010105
relation P21
type Q290
['Q896424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q8010105 property:P21 ?f . ?f rdf:type ontology:Q290 }
William Grant
action filter_type
action find
entity William Grant
relation gender
type sex
["Bo'ness", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:William_Grant property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q896424,P21,c(Q290))
action filter_type
action find
entity Q8010105
relation P21
type Q290
That person has a [ANSWER]
['Q896424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q8010105 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity William Grant
relation gender
type sex
["Bo'ness", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:William_Grant property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8010105
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q8010105
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q8010105 property:P641 ?q . ?q rdf:type ontology:Q349 }
William Grant
action filter_type
action find
entity William Grant
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:William_Grant property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q8010105
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q8010105 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity William Grant
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:William_Grant property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8010105
P19
Q56061
USER
Where was William Grant born ?
(Q8010105,P19,c(Q56061))
action filter_type
action find
entity Q8010105
relation P19
type Q56061
['Q8010105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q8010105 property:P19 ?x . ?x rdf:type ontology:Q56061 }
William Grant
action filter_type
action find
entity William Grant
relation place of birth
type administrative territorial entity
['William Grant', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:William_Grant property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q896424
SYSTEM
Bo'ness
Q896424
(Q8010105,P19,c(Q56061))
action filter_type
action find
entity Q8010105
relation P19
type Q56061
William Grant was born in [ANSWER]
['Q8010105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q8010105 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Bo'ness
William Grant was born in Bo'ness
Bo'ness
action filter_type
action find
entity William Grant
relation place of birth
type administrative territorial entity
['William Grant', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:William_Grant property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1987111
Q56061
USER
And also tell me about Gonzalo N. Santos?
(Q1987111,P19,c(Q56061))
action filter_type
action find
entity Q1987111
relation P19
type Q56061
['Q1987111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1987111 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Gonzalo N. Santos
action filter_type
action find
entity Gonzalo N. Santos
relation place of birth
type administrative territorial entity
['Gonzalo N. Santos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gonzalo_N._Santos property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7681749
SYSTEM
Tampamolón Corona
Q7681749
(Q1987111,P19,c(Q56061))
action filter_type
action find
entity Q1987111
relation P19
type Q56061
[ANSWER]
['Q1987111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1987111 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Tampamolón Corona
Tampamolón Corona
action filter_type
action find
entity Gonzalo N. Santos
relation place of birth
type administrative territorial entity
['Gonzalo N. Santos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gonzalo_N._Santos property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q206989
P366
Q349 Q2235308 Q41176
USER
How many sports are considered as the main functionality of approximately the same number of ship types or buildings as shooting sport ?
(c(Q2235308)|c(Q41176),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q206989
relation P366
type Q2235308
type Q41176
[[{'concept': 'Q2235308'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q2235308 ) ( ontology:Q41176 ) } . ?j rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { { ?e rdf:type ontology:Q2235308 } UNION { ?e rdf:type ontology:Q41176 } } . ?e property:P366 resource:Q206989 } } . FILTER ( ?h = ?v ) }
shooting sport
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity shooting sport
relation use
type ship type
type building
[[{'concept': 'ship type'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:ship_type ) ( ontology:building ) } . ?j rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { { ?e rdf:type ontology:ship_type } UNION { ?e rdf:type ontology:building } } . ?e property:use resource:shooting_sport } } . FILTER ( ?h = ?v ) }
[]
sport ship type building
SYSTEM
21
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q847 Q22857 Q1194269 Q41323 Q7291
(c(Q2235308)|c(Q41176),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q206989
relation P366
type Q2235308
type Q41176
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q2235308 ) ( ontology:Q41176 ) } . ?j rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { { ?e rdf:type ontology:Q2235308 } UNION { ?e rdf:type ontology:Q41176 } } . ?e property:P366 resource:Q206989 } } . FILTER ( ?h = ?v ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball association football tennis climbing harness racing American football badminton
21
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity shooting sport
relation use
type ship type
type building
[[{'concept': 'ship type'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:ship_type ) ( ontology:building ) } . ?j rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { { ?e rdf:type ontology:ship_type } UNION { ?e rdf:type ontology:building } } . ?e property:use resource:shooting_sport } } . FILTER ( ?h = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1875777
P366
Q349 Q2235308 Q41176
USER
And also tell me about air racing?
(c(Q2235308)|c(Q41176),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1875777
relation P366
type Q2235308
type Q41176
[[{'concept': 'Q2235308'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:Q41176 ) ( ontology:Q2235308 ) } . ?p rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P366 resource:Q1875777 . { { ?o rdf:type ontology:Q2235308 } UNION { ?o rdf:type ontology:Q41176 } } } } . FILTER ( ?h = ?a ) }
air racing
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity air racing
relation use
type ship type
type building
[[{'concept': 'ship type'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:building ) ( ontology:ship_type ) } . ?p rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:use resource:air_racing . { { ?o rdf:type ontology:ship_type } UNION { ?o rdf:type ontology:building } } } } . FILTER ( ?h = ?a ) }
[]
sport ship type building
SYSTEM
21
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q847 Q22857 Q1194269 Q41323 Q7291
(c(Q2235308)|c(Q41176),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1875777
relation P366
type Q2235308
type Q41176
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:Q41176 ) ( ontology:Q2235308 ) } . ?p rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P366 resource:Q1875777 . { { ?o rdf:type ontology:Q2235308 } UNION { ?o rdf:type ontology:Q41176 } } } } . FILTER ( ?h = ?a ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball association football tennis climbing harness racing American football badminton
21
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity air racing
relation use
type ship type
type building
[[{'concept': 'ship type'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:building ) ( ontology:ship_type ) } . ?p rdf:type ?z } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:use resource:air_racing . { { ?o rdf:type ontology:ship_type } UNION { ?o rdf:type ontology:building } } } } . FILTER ( ?h = ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1987111
P20
Q56061
USER
How many administrative territories did the demise of Gonzalo N. Santos occur ?
(Q1987111,P20,c(Q56061))
action count
action filter_type
action find
entity Q1987111
relation P20
type Q56061
['Q1987111', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q1987111 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Gonzalo N. Santos
action count
action filter_type
action find
entity Gonzalo N. Santos
relation place of death
type administrative territorial entity
['Gonzalo N. Santos', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Gonzalo_N._Santos property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1489
(Q1987111,P20,c(Q56061))
action count
action filter_type
action find
entity Q1987111
relation P20
type Q56061
[ANSWER]
['Q1987111', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q1987111 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Mexico City
1
action count
action filter_type
action find
entity Gonzalo N. Santos
relation place of death
type administrative territorial entity
['Gonzalo N. Santos', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Gonzalo_N._Santos property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1987111
P102
Q7210356
USER
Which political organization is that person a member of ?
action filter_type
action find
entity Q1987111
relation P102
type Q7210356
SELECT DISTINCT ?o WHERE { resource:Q1987111 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Gonzalo N. Santos
action filter_type
action find
entity Gonzalo N. Santos
relation member of political party
type political organization
SELECT DISTINCT ?o WHERE { resource:Gonzalo_N._Santos property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q682969
SYSTEM
Institutional Revolutionary Party
Q682969
action filter_type
action find
entity Q1987111
relation P102
type Q7210356
Party [ANSWER] is that person a member of
SELECT DISTINCT ?o WHERE { resource:Q1987111 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Institutional Revolutionary Party
Party Institutional Revolutionary Party is that person a member of
Institutional Revolutionary Party
action filter_type
action find
entity Gonzalo N. Santos
relation member of political party
type political organization
SELECT DISTINCT ?o WHERE { resource:Gonzalo_N._Santos property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q682969 Q7839004 Q96
P17
Q15617994
USER
Is Institutional Revolutionary Party present in Trevithal and Mexico ?
(Q682969,P17,Q7839004) (Q682969,P17,Q96)
action is_in
entity Q682969
action intersection
action find_reverse
entity Q7839004
relation P17
action find_reverse
entity Q96
relation P17
['Q682969', 'P17', 'Q7839004'] ['Q682969', 'P17', 'Q96']
ASK WHERE { resource:Q682969 property:P17 resource:Q96 . resource:Q682969 property:P17 resource:Q7839004 }
Institutional Revolutionary Party Trevithal Mexico
action is_in
entity Institutional Revolutionary Party
action intersection
action find_reverse
entity Trevithal
relation country
action find_reverse
entity Mexico
relation country
['Institutional Revolutionary Party', 'country', 'Trevithal'] ['Institutional Revolutionary Party', 'country', 'Mexico']
ASK WHERE { resource:Institutional_Revolutionary_Party property:country resource:Mexico . resource:Institutional_Revolutionary_Party property:country resource:Trevithal }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q682969,P17,Q7839004) (Q682969,P17,Q96)
action is_in
entity Q682969
action intersection
action find_reverse
entity Q7839004
relation P17
action find_reverse
entity Q96
relation P17
[ANSWER]
['Q682969', 'P17', 'Q7839004'] ['Q682969', 'P17', 'Q96']
ASK WHERE { resource:Q682969 property:P17 resource:Q96 . resource:Q682969 property:P17 resource:Q7839004 }
NO and YES respectively
action is_in
entity Institutional Revolutionary Party
action intersection
action find_reverse
entity Trevithal
relation country
action find_reverse
entity Mexico
relation country
['Institutional Revolutionary Party', 'country', 'Trevithal'] ['Institutional Revolutionary Party', 'country', 'Mexico']
ASK WHERE { resource:Institutional_Revolutionary_Party property:country resource:Mexico . resource:Institutional_Revolutionary_Party property:country resource:Trevithal }
[]