Simple Question (Direct)
Simple Question
Q3660190
P106
Q12737077
USER
What is the profession of Carlton McKinney ?
(Q3660190,P106,c(Q12737077))
action filter_type
action find
entity Q3660190
relation P106
type Q12737077
['Q3660190', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3660190 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Carlton McKinney
action filter_type
action find
entity Carlton McKinney
relation occupation
type occupation
['Carlton McKinney', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Carlton_McKinney property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q3660190,P106,c(Q12737077))
action filter_type
action find
entity Q3660190
relation P106
type Q12737077
[ANSWER]
['Q3660190', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3660190 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
basketball player
basketball player
action filter_type
action find
entity Carlton McKinney
relation occupation
type occupation
['Carlton McKinney', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Carlton_McKinney property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3660190
P21
Q290
USER
What is the sex of Carlton McKinney ?
(Q3660190,P21,c(Q290))
action filter_type
action find
entity Q3660190
relation P21
type Q290
['Q3660190', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3660190 property:P21 ?y . ?y rdf:type ontology:Q290 }
Carlton McKinney
action filter_type
action find
entity Carlton McKinney
relation gender
type sex
['Carlton McKinney', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Carlton_McKinney property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3660190,P21,c(Q290))
action filter_type
action find
entity Q3660190
relation P21
type Q290
[ANSWER]
['Q3660190', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3660190 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Carlton McKinney
relation gender
type sex
['Carlton McKinney', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Carlton_McKinney property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27829375
Q290
USER
And what about Helen Evans Brown?
(Q27829375,P21,c(Q290))
action filter_type
action find
entity Q27829375
relation P21
type Q290
['Q27829375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q27829375 property:P21 ?p . ?p rdf:type ontology:Q290 }
Helen Evans Brown
action filter_type
action find
entity Helen Evans Brown
relation gender
type sex
['Helen Evans Brown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Helen_Evans_Brown property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q27829375,P21,c(Q290))
action filter_type
action find
entity Q27829375
relation P21
type Q290
[ANSWER]
['Q27829375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q27829375 property:P21 ?p . ?p rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Helen Evans Brown
relation gender
type sex
['Helen Evans Brown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Helen_Evans_Brown property:gender ?p . ?p rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q16733885
P21
Q502895
USER
Is Séamus O'Shea a that sex ?
(Q16733885,P21,Q6581072)
action is_in
entity Q16733885
action find
entity Q6581072
relation P21
['Q16733885', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q16733885 }
female Séamus O'Shea
action is_in
entity Séamus O'Shea
action find
entity female
relation gender
["Séamus O'Shea", 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Séamus_O'Shea }
[]
common name
SYSTEM
NO
(Q16733885,P21,Q6581072)
action is_in
entity Q16733885
action find
entity Q6581072
relation P21
[ANSWER]
['Q16733885', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q16733885 }
No
action is_in
entity Séamus O'Shea
action find
entity female
relation gender
["Séamus O'Shea", 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Séamus_O'Shea }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3665646
P361
Q618123
USER
How many geographical objects are basketball player a component of ?
(Q3665646,P361,c(Q618123))
action count
action filter_type
action find
entity Q3665646
relation P361
type Q618123
['Q3665646', 'P361', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Q3665646 property:P361 ?d . ?d rdf:type ontology:Q618123 }
basketball player
action count
action filter_type
action find
entity basketball player
relation part of
type geographical object
['basketball player', 'part of', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:basketball_player property:part_of ?d . ?d rdf:type ontology:geographical_object }
[]
geographical object
SYSTEM
1
Q13393265
(Q3665646,P361,c(Q618123))
action count
action filter_type
action find
entity Q3665646
relation P361
type Q618123
[ANSWER]
['Q3665646', 'P361', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Q3665646 property:P361 ?d . ?d rdf:type ontology:Q618123 }
basketball team
1
action count
action filter_type
action find
entity basketball player
relation part of
type geographical object
['basketball player', 'part of', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:basketball_player property:part_of ?d . ?d rdf:type ontology:geographical_object }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1322550
Q618123
USER
And what about FC Petrolul Ploiești?
(Q1322550,P361,c(Q618123))
action count
action filter_type
action find
entity Q1322550
relation P361
type Q618123
['Q1322550', 'P361', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j rdf:type ontology:Q618123 . resource:Q1322550 property:P361 ?j }
FC Petrolul Ploiești
action count
action filter_type
action find
entity FC Petrolul Ploiești
relation part of
type geographical object
['FC Petrolul Ploiești', 'part of', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j rdf:type ontology:geographical_object . resource:FC_Petrolul_Ploiești property:part_of ?j }
[]
geographical object
SYSTEM
1
(Q1322550,P361,c(Q618123))
action count
action filter_type
action find
entity Q1322550
relation P361
type Q618123
[ANSWER]
['Q1322550', 'P361', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j rdf:type ontology:Q618123 . resource:Q1322550 property:P361 ?j }
1
action count
action filter_type
action find
entity FC Petrolul Ploiești
relation part of
type geographical object
['FC Petrolul Ploiești', 'part of', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j rdf:type ontology:geographical_object . resource:FC_Petrolul_Ploiești property:part_of ?j }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?b WHERE { FILTER ( ?x = ?t ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P417 ?b . ?b rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?h ) AS ?t ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?h ) WHERE { ?k rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 . ?c property:P417 ?k } GROUP BY ?k } } }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?b WHERE { FILTER ( ?x = ?t ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:patron_saint ?b . ?b rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?h ) AS ?t ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?h ) WHERE { ?k rdf:type ontology:common_name . ?c rdf:type ontology:occupation . ?c property:patron_saint ?k } GROUP BY ?k } } }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?b WHERE { FILTER ( ?x = ?t ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P417 ?b . ?b rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?h ) AS ?t ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?h ) WHERE { ?k rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 . ?c property:P417 ?k } GROUP BY ?k } } }
Catherine of Alexandria
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?b WHERE { FILTER ( ?x = ?t ) . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:patron_saint ?b . ?b rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?h ) AS ?t ) { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?h ) WHERE { ?k rdf:type ontology:common_name . ?c rdf:type ontology:occupation . ?c property:patron_saint ?k } GROUP BY ?k } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179718
P2348
Q451967
USER
Which human action was that person associated with ?
(Q179718,P2348,c(Q451967))
action filter_type
action find
entity Q179718
relation P2348
type Q451967
['Q179718', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q451967 . resource:Q179718 property:P2348 ?i }
Catherine of Alexandria
action filter_type
action find
entity Catherine of Alexandria
relation period
type human action
['Catherine of Alexandria', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_action . resource:Catherine_of_Alexandria property:period ?i }
[]
human action
Q428995
SYSTEM
Hellenistic period
Q428995
(Q179718,P2348,c(Q451967))
action filter_type
action find
entity Q179718
relation P2348
type Q451967
[ANSWER]
['Q179718', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q451967 . resource:Q179718 property:P2348 ?i }
Hellenistic period
Hellenistic period
action filter_type
action find
entity Catherine of Alexandria
relation period
type human action
['Catherine of Alexandria', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_action . resource:Catherine_of_Alexandria property:period ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3665646
P425
Q349
USER
Who has basketball player as the associated field of occupation ?
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3665646 property:P425 ?e . ?e rdf:type ontology:Q349 }
basketball player
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:basketball_player property:field_of_this_occupation ?e . ?e rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
[ANSWER]
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q3665646 property:P425 ?e . ?e rdf:type ontology:Q349 }
basketball
basketball
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:basketball_player property:field_of_this_occupation ?e . ?e rdf:type ontology:sport }
[]