Simple Question (Direct)
Simple Question
Q329623
P241
Q781132
USER
Which military branch is Adrian Scott Stokes affiliated to ?
(Q329623,P241,c(Q781132))
action filter_type
action find
entity Q329623
relation P241
type Q781132
['Q329623', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { resource:Q329623 property:P241 ?z . ?z rdf:type ontology:Q781132 }
Adrian Scott Stokes
action filter_type
action find
entity Adrian Scott Stokes
relation military branch
type military branch
['Adrian Scott Stokes', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { resource:Adrian_Scott_Stokes property:military_branch ?z . ?z rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q329623,P241,c(Q781132))
action filter_type
action find
entity Q329623
relation P241
type Q781132
Adrian Scott Stokes is affiliated with [ANSWER]
['Q329623', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { resource:Q329623 property:P241 ?z . ?z rdf:type ontology:Q781132 }
British Army
Adrian Scott Stokes is affiliated with British Army
British Army
action filter_type
action find
entity Adrian Scott Stokes
relation military branch
type military branch
['Adrian Scott Stokes', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { resource:Adrian_Scott_Stokes property:military_branch ?z . ?z rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q329623
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q222595)
action filter_type
action find
entity Q329623
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q222595']
SELECT DISTINCT ?q WHERE { resource:Q329623 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Adrian Scott Stokes
action filter_type
action find
entity Adrian Scott Stokes
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'British Army']
SELECT DISTINCT ?q WHERE { resource:Adrian_Scott_Stokes property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q446382
SYSTEM
Marianne Stokes
Q446382
(c(Q502895),P26,Q222595)
action filter_type
action find
entity Q329623
relation P26
type Q502895
He [ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q222595']
SELECT DISTINCT ?q WHERE { resource:Q329623 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Marianne Stokes
He Marianne Stokes is married to that one
Marianne Stokes
action filter_type
action find
entity Adrian Scott Stokes
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'British Army']
SELECT DISTINCT ?q WHERE { resource:Adrian_Scott_Stokes property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q446382 Q40
P27
Q1048835
USER
Is Marianne Stokes an inhabitant of Austria ?
(Q446382,P27,Q40)
action is_in
entity Q40
action find
entity Q446382
relation P27
['Q446382', 'P27', 'Q40']
ASK WHERE { resource:Q446382 property:P27 resource:Q40 }
Marianne Stokes Austria
action is_in
entity Austria
action find
entity Marianne Stokes
relation country of citizenship
['Marianne Stokes', 'country of citizenship', 'Austria']
ASK WHERE { resource:Marianne_Stokes property:country_of_citizenship resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q446382,P27,Q40)
action is_in
entity Q40
action find
entity Q446382
relation P27
[ANSWER]
['Q446382', 'P27', 'Q40']
ASK WHERE { resource:Q446382 property:P27 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity Marianne Stokes
relation country of citizenship
['Marianne Stokes', 'country of citizenship', 'Austria']
ASK WHERE { resource:Marianne_Stokes property:country_of_citizenship resource:Austria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q446382
P20
Q56061
USER
Where did Marianne Stokes die ?
(Q446382,P20,c(Q56061))
action filter_type
action find
entity Q446382
relation P20
type Q56061
['Q446382', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q446382 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Marianne Stokes
action filter_type
action find
entity Marianne Stokes
relation place of death
type administrative territorial entity
['Marianne Stokes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Marianne_Stokes property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q446382,P20,c(Q56061))
action filter_type
action find
entity Q446382
relation P20
type Q56061
Marianne Stokes died in [ANSWER]
['Q446382', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q446382 property:P20 ?a . ?a rdf:type ontology:Q56061 }
London
Marianne Stokes died in London
London
action filter_type
action find
entity Marianne Stokes
relation place of death
type administrative territorial entity
['Marianne Stokes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Marianne_Stokes property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P1427
Q18608583
USER
Which recurring sporting event has start point at that administrative territory ?
(c(Q18608583),P1427,Q84)
action filter_type
action find_reverse
entity Q84
relation P1427
type Q18608583
[{'concept': 'Q18608583'}, 'P1427', 'Q84']
SELECT DISTINCT ?s WHERE { ?s property:P1427 resource:Q84 . ?s rdf:type ontology:Q18608583 }
London
action filter_type
action find_reverse
entity London
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'London']
SELECT DISTINCT ?s WHERE { ?s property:start_point resource:London . ?s rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q329877
SYSTEM
2007 Tour de France
Q329877
(c(Q18608583),P1427,Q84)
action filter_type
action find_reverse
entity Q84
relation P1427
type Q18608583
[ANSWER] has start point at that administrative territory
[{'concept': 'Q18608583'}, 'P1427', 'Q84']
SELECT DISTINCT ?s WHERE { ?s property:P1427 resource:Q84 . ?s rdf:type ontology:Q18608583 }
2007 Tour de France
2007 Tour de France has start point at that administrative territory
2007 Tour de France
action filter_type
action find_reverse
entity London
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'London']
SELECT DISTINCT ?s WHERE { ?s property:start_point resource:London . ?s rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q329877
P361
Q878123
USER
Which racings are parts of that recurring sporting event ?
(c(Q878123),P361,Q329877)
action filter_type
action find_reverse
entity Q329877
relation P361
type Q878123
[{'concept': 'Q878123'}, 'P361', 'Q329877']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q329877 . ?m rdf:type ontology:Q878123 }
2007 Tour de France
action filter_type
action find_reverse
entity 2007 Tour de France
relation part of
type racing
[{'concept': 'racing'}, 'part of', '2007 Tour de France']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:2007_Tour_de_France . ?m rdf:type ontology:racing }
[]
racing
Q1787718 Q1787653 Q1785823
SYSTEM
2007 Tour de France, Stage 1, 2007 Tour de France, Stage 6, 2007 Tour de France, Stage 7
Q1787653 Q1785823 Q132047 Q1787684 Q1787647 Q1787658 Q1787223 Q1787666 Q1787705 Q1994122 Q1787208 Q1787240 Q1787692 Q1786191 Q1787191 Q1786171 Q1786224 Q1787718 Q1118198 Q1787677
(c(Q878123),P361,Q329877)
action filter_type
action find_reverse
entity Q329877
relation P361
type Q878123
[ANSWERS]
[{'concept': 'Q878123'}, 'P361', 'Q329877']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q329877 . ?m rdf:type ontology:Q878123 }
2007 Tour de France, Stage 6 2007 Tour de France, Stage 7 2007 Tour de France, Stage 11 to Stage 20#Stage 19 2007 Tour de France, Stage 9 2007 Tour de France, Stage 13 2007 Tour de France, Stage 5 2007 Tour de France, Stage 17 2007 Tour de France, Stage 14 2007 Tour de France, Stage 20 2007 Tour de France, Prologue to Stage 10 2007 Tour de France, Stage 18 2007 Tour de France, Stage 4 2007 Tour de France, Stage 2 2007 Tour de France, Stage 8 2007 Tour de France, Stage 16 2007 Tour de France, Stage 12 2007 Tour de France, Stage 15 2007 Tour de France, Stage 1 2007 Tour de France, Stage 11 2007 Tour de France, Stage 3
2007 Tour de France, Stage 1, 2007 Tour de France, Stage 6 and 2007 Tour de France, Stage 7 are parts of that recurring sporting event
2007 Tour de France, Stage 1 2007 Tour de France, Stage 6 2007 Tour de France, Stage 7
action filter_type
action find_reverse
entity 2007 Tour de France
relation part of
type racing
[{'concept': 'racing'}, 'part of', '2007 Tour de France']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:2007_Tour_de_France . ?m rdf:type ontology:racing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1787718
P1346
Q502895
USER
Who won 2007 Tour de France, Stage 1 ?
(Q1787718,P1346,c(Q502895))
action filter_type
action find
entity Q1787718
relation P1346
type Q502895
['Q1787718', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1787718 property:P1346 ?y . ?y rdf:type ontology:Q502895 }
2007 Tour de France, Stage 1
action filter_type
action find
entity 2007 Tour de France, Stage 1
relation winner
type common name
['2007 Tour de France, Stage 1', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:2007_Tour_de_France,_Stage_1 property:winner ?y . ?y rdf:type ontology:common_name }
[]
common name
Q317118
SYSTEM
Robbie McEwen
Q317118
(Q1787718,P1346,c(Q502895))
action filter_type
action find
entity Q1787718
relation P1346
type Q502895
[ANSWER] won 2007 Tour de France, Stage 1
['Q1787718', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1787718 property:P1346 ?y . ?y rdf:type ontology:Q502895 }
Robbie McEwen
Robbie McEwen won 2007 Tour de France, Stage 1
Robbie McEwen
action filter_type
action find
entity 2007 Tour de France, Stage 1
relation winner
type common name
['2007 Tour de France, Stage 1', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:2007_Tour_de_France,_Stage_1 property:winner ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q317118
P1412
Q34770
USER
Which language can that person understand ?
(Q317118,P1412,c(Q34770))
action filter_type
action find
entity Q317118
relation P1412
type Q34770
['Q317118', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q317118 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Robbie McEwen
action filter_type
action find
entity Robbie McEwen
relation languages spoken, written or signed
type language
['Robbie McEwen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Robbie_McEwen property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q317118,P1412,c(Q34770))
action filter_type
action find
entity Q317118
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q317118', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q317118 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Robbie McEwen
relation languages spoken, written or signed
type language
['Robbie McEwen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Robbie_McEwen property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317118
P641
Q31629
USER
What was the type of sport that Robbie McEwen was a part of ?
(Q317118,P641,c(Q31629))
action filter_type
action find
entity Q317118
relation P641
type Q31629
['Q317118', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?u WHERE { resource:Q317118 property:P641 ?u . ?u rdf:type ontology:Q31629 }
Robbie McEwen
action filter_type
action find
entity Robbie McEwen
relation sport
type type of sport
['Robbie McEwen', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?u WHERE { resource:Robbie_McEwen property:sport ?u . ?u rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q317118,P641,c(Q31629))
action filter_type
action find
entity Q317118
relation P641
type Q31629
The type of sport that Robbie McEwen was a part of was h [ANSWER]
['Q317118', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?u WHERE { resource:Q317118 property:P641 ?u . ?u rdf:type ontology:Q31629 }
road bicycle racing
The type of sport that Robbie McEwen was a part of was h road bicycle racing
road bicycle racing
action filter_type
action find
entity Robbie McEwen
relation sport
type type of sport
['Robbie McEwen', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?u WHERE { resource:Robbie_McEwen property:sport ?u . ?u rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q317118
P21
Q290
USER
Which sex does that person possess ?
(Q3609,P21,c(Q290))
action filter_type
action find
entity Q317118
relation P21
type Q290
['Q3609', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q317118 property:P21 ?v . ?v rdf:type ontology:Q290 }
Robbie McEwen
action filter_type
action find
entity Robbie McEwen
relation gender
type sex
['road bicycle racing', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Robbie_McEwen property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3609,P21,c(Q290))
action filter_type
action find
entity Q317118
relation P21
type Q290
That person possesses a [ANSWER]
['Q3609', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q317118 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Robbie McEwen
relation gender
type sex
['road bicycle racing', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Robbie_McEwen property:gender ?v . ?v rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q13121964 Q317118
P21
Q290
USER
And also Siddharudha Swami
AND((Q317118,P21,c(Q290)), (Q13121964,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q317118
relation P21
action find
entity Q13121964
relation P21
type Q290
{'AND': [['Q317118', 'P21', {'concept': 'Q290'}], ['Q13121964', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { resource:Q317118 property:P21 ?c . resource:Q13121964 property:P21 ?c . ?c rdf:type ontology:Q290 }
Siddharudha Swami Robbie McEwen
action filter_type
action intersection
action find
entity Robbie McEwen
relation gender
action find
entity Siddharudha Swami
relation gender
type sex
{'AND': [['Robbie McEwen', 'gender', {'concept': 'sex'}], ['Siddharudha Swami', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { resource:Robbie_McEwen property:gender ?c . resource:Siddharudha_Swami property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q317118,P21,c(Q290)), (Q13121964,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q317118
relation P21
action find
entity Q13121964
relation P21
type Q290
[ANSWER]
{'AND': [['Q317118', 'P21', {'concept': 'Q290'}], ['Q13121964', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { resource:Q317118 property:P21 ?c . resource:Q13121964 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Robbie McEwen
relation gender
action find
entity Siddharudha Swami
relation gender
type sex
{'AND': [['Robbie McEwen', 'gender', {'concept': 'sex'}], ['Siddharudha Swami', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { resource:Robbie_McEwen property:gender ?c . resource:Siddharudha_Swami property:gender ?c . ?c rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q31629 Q13406554 Q500834
USER
How many types of sport did atleast 19 sport competitions and tournaments participate in ?
(c(Q13406554)|c(Q500834),P641,c(Q31629))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
value 19
[[{'concept': 'Q13406554'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?u WHERE { { ?u rdf:type ontology:Q31629 . ?f rdf:type ontology:Q13406554 . ?f property:P641 ?u } UNION { ?f rdf:type ontology:Q500834 . ?u rdf:type ontology:Q31629 . ?f property:P641 ?u } } GROUP BY ?u } . FILTER ( ?e >= 19 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
value 19
[[{'concept': 'sport competition'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?u WHERE { { ?u rdf:type ontology:type_of_sport . ?f rdf:type ontology:sport_competition . ?f property:sport ?u } UNION { ?f rdf:type ontology:tournament . ?u rdf:type ontology:type_of_sport . ?f property:sport ?u } } GROUP BY ?u } . FILTER ( ?e >= 19 ) }
[]
type of sport sport competition tournament
SYSTEM
7
Q166788 Q542 Q718 Q3609 Q40244 Q465014 Q11015
(c(Q13406554)|c(Q500834),P641,c(Q31629))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
value 19
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?u WHERE { { ?u rdf:type ontology:Q31629 . ?f rdf:type ontology:Q13406554 . ?f property:P641 ?u } UNION { ?f rdf:type ontology:Q500834 . ?u rdf:type ontology:Q31629 . ?f property:P641 ?u } } GROUP BY ?u } . FILTER ( ?e >= 19 ) }
biathlon athletics chess road bicycle racing marathon trampolining snooker
7
action count
action atleast
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
value 19
[[{'concept': 'sport competition'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?u WHERE { { ?u rdf:type ontology:type_of_sport . ?f rdf:type ontology:sport_competition . ?f property:sport ?u } UNION { ?f rdf:type ontology:tournament . ?u rdf:type ontology:type_of_sport . ?f property:sport ?u } } GROUP BY ?u } . FILTER ( ?e >= 19 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317118
P1344
Q15275719
USER
Which recurring event did Robbie McEwen take part in ?
(Q317118,P1344,c(Q15275719))
action filter_type
action find
entity Q317118
relation P1344
type Q15275719
['Q317118', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?r WHERE { resource:Q317118 property:P1344 ?r . ?r rdf:type ontology:Q15275719 }
Robbie McEwen
action filter_type
action find
entity Robbie McEwen
relation participant of
type recurring event
['Robbie McEwen', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?r WHERE { resource:Robbie_McEwen property:participant_of ?r . ?r rdf:type ontology:recurring_event }
[]
recurring event
Q33881
SYSTEM
Tour de France
Q33881
(Q317118,P1344,c(Q15275719))
action filter_type
action find
entity Q317118
relation P1344
type Q15275719
Robbie McEwen took the [ANSWER] part
['Q317118', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?r WHERE { resource:Q317118 property:P1344 ?r . ?r rdf:type ontology:Q15275719 }
Tour de France
Robbie McEwen took the Tour de France part
Tour de France
action filter_type
action find
entity Robbie McEwen
relation participant of
type recurring event
['Robbie McEwen', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?r WHERE { resource:Robbie_McEwen property:participant_of ?r . ?r rdf:type ontology:recurring_event }
[]