Simple Question (Direct)
Simple Question
Q389524
P190
Q56061
USER
Which administrative territory is twin city of Orchies ?
(Q389524,P190,c(Q56061))
action filter_type
action find
entity Q389524
relation P190
type Q56061
['Q389524', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q389524 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Orchies
action filter_type
action find
entity Orchies
relation sister city
type administrative territorial entity
['Orchies', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Orchies property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q654945
SYSTEM
Kelso
Q654945
(Q389524,P190,c(Q56061))
action filter_type
action find
entity Q389524
relation P190
type Q56061
[ANSWER] is twin city of Orchies
['Q389524', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q389524 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Kelso
Kelso is twin city of Orchies
Kelso
action filter_type
action find
entity Orchies
relation sister city
type administrative territorial entity
['Orchies', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Orchies property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q654945
P19
Q502895
USER
Which people have birthplace at that administrative territory ?
(c(Q502895),P19,Q654945)
action filter_type
action find_reverse
entity Q654945
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q654945']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q654945 . ?c rdf:type ontology:Q502895 }
Kelso
action filter_type
action find_reverse
entity Kelso
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kelso']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Kelso . ?c rdf:type ontology:common_name }
[]
common name
Q1195523 Q2830602 Q1680597
SYSTEM
Henry James Sumner Maine, Alan Tait, James Innes-Ker, 7th Duke of Roxburghe
Q1680597 Q4708762 Q15500996 Q2830602 Q381542 Q14949644 Q929499 Q1329577 Q6130397 Q325902 Q16611514 Q21053462 Q7368414 Q3565761 Q18814524 Q26988400 Q3301207 Q4786396 Q1195523 Q3181828 Q5536428 Q5294249
(c(Q502895),P19,Q654945)
action filter_type
action find_reverse
entity Q654945
relation P19
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P19', 'Q654945']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q654945 . ?c rdf:type ontology:Q502895 }
James Innes-Ker, 7th Duke of Roxburghe Alastair Ogilvy Thomas William Hogarth Alan Tait Henry Macintosh Jennie Kidd Trout William Fairbairn William Henry Ogilvie James Brunlees James R. Ballantyne John Parker Anderson Iain Fairley Rosemary Payne Walter Torrie Forrest William Glass James Forsyth Maurice Nicoll Archibald Laidlie Henry James Sumner Maine John Jeffrey George Arnold Donald Dickson Farmer
Henry James Sumner Maine, Alan Tait and James Innes-Ker, 7th Duke of Roxburghe have birthplace at that administrative territory
Henry James Sumner Maine Alan Tait James Innes-Ker, 7th Duke of Roxburghe
action filter_type
action find_reverse
entity Kelso
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kelso']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Kelso . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 3158 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3158
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P1303 ?m . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 } GROUP BY ?m } . FILTER ( ?s = 3158 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3158
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:instrument ?m . ?q rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument } GROUP BY ?m } . FILTER ( ?s = 3158 ) }
[]
musical instrument common name
SYSTEM
3
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3158
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P1303 ?m . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 } GROUP BY ?m } . FILTER ( ?s = 3158 ) }
violin organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3158
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:instrument ?m . ?q rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument } GROUP BY ?m } . FILTER ( ?s = 3158 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q6989902
P725
Q502895 Q6619679
USER
How many fictional humanoids had their voice dubbing done by approximately the same number of people as Neku Sakuraba ?
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q6989902
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?r ) WHERE { ?o property:P725 ?t . ?o rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q6989902 property:P725 ?h . ?h rdf:type ontology:Q6619679 } } . FILTER ( ?r = ?z ) }
Neku Sakuraba
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Neku Sakuraba
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?r ) WHERE { ?o property:voice_actor ?t . ?o rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Neku_Sakuraba property:voice_actor ?h . ?h rdf:type ontology:fictional_humanoid } } . FILTER ( ?r = ?z ) }
[]
common name fictional humanoid
SYSTEM
29
Q1623086 Q1205263 Q11609133 Q15726751 Q4992177 Q24010814 Q11479883 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q18073923 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q6989902
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?r ) WHERE { ?o property:P725 ?t . ?o rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q6989902 property:P725 ?h . ?h rdf:type ontology:Q6619679 } } . FILTER ( ?r = ?z ) }
Hector Barbossa Eli Vance Sayaka Miki Diamond Tiara Cave Johnson Deckard Cain Mami Tomoe Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Sunset Shimmer Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
29
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Neku Sakuraba
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?r ) WHERE { ?o property:voice_actor ?t . ?o rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Neku_Sakuraba property:voice_actor ?h . ?h rdf:type ontology:fictional_humanoid } } . FILTER ( ?r = ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3149148
P725
Q502895 Q6619679
USER
And also tell me about Imoen?
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q3149148
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 . ?a property:P725 ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q3149148 property:P725 ?f . ?f rdf:type ontology:Q6619679 } } . FILTER ( ?x = ?q ) }
Imoen
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Imoen
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name . ?a property:voice_actor ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Imoen property:voice_actor ?f . ?f rdf:type ontology:fictional_humanoid } } . FILTER ( ?x = ?q ) }
[]
common name fictional humanoid
SYSTEM
25
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q3149148
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 . ?a property:P725 ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q3149148 property:P725 ?f . ?f rdf:type ontology:Q6619679 } } . FILTER ( ?x = ?q ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
25
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Imoen
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?a rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name . ?a property:voice_actor ?i } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Imoen property:voice_actor ?f . ?f rdf:type ontology:fictional_humanoid } } . FILTER ( ?x = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1680597
P25
Q502895
USER
Which female person was the parent of James Innes-Ker, 7th Duke of Roxburghe ?
(Q1680597,P25,c(Q502895))
action filter_type
action find
entity Q1680597
relation P25
type Q502895
['Q1680597', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1680597 property:P25 ?d . ?d rdf:type ontology:Q502895 }
James Innes-Ker, 7th Duke of Roxburghe
action filter_type
action find
entity James Innes-Ker, 7th Duke of Roxburghe
relation mother
type common name
['James Innes-Ker, 7th Duke of Roxburghe', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:James_Innes-Ker,_7th_Duke_of_Roxburghe property:mother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3978248
SYSTEM
Susanna Dalbiac
Q3978248
(Q1680597,P25,c(Q502895))
action filter_type
action find
entity Q1680597
relation P25
type Q502895
[ANSWER] was the parent of James Innes-Ker, 7th Duke of Roxburghe
['Q1680597', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1680597 property:P25 ?d . ?d rdf:type ontology:Q502895 }
Susanna Dalbiac
Susanna Dalbiac was the parent of James Innes-Ker, 7th Duke of Roxburghe
Susanna Dalbiac
action filter_type
action find
entity James Innes-Ker, 7th Duke of Roxburghe
relation mother
type common name
['James Innes-Ker, 7th Duke of Roxburghe', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:James_Innes-Ker,_7th_Duke_of_Roxburghe property:mother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3809216
Q502895
USER
And how about John Drew, Jr.?
(Q3809216,P25,c(Q502895))
action filter_type
action find
entity Q3809216
relation P25
type Q502895
['Q3809216', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3809216 property:P25 ?z . ?z rdf:type ontology:Q502895 }
John Drew, Jr.
action filter_type
action find
entity John Drew, Jr.
relation mother
type common name
['John Drew, Jr.', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:John_Drew,_Jr. property:mother ?z . ?z rdf:type ontology:common_name }
[]
common name
Q3837642
SYSTEM
Louisa Lane Drew
Q3837642
(Q3809216,P25,c(Q502895))
action filter_type
action find
entity Q3809216
relation P25
type Q502895
[ANSWER]
['Q3809216', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3809216 property:P25 ?z . ?z rdf:type ontology:Q502895 }
Louisa Lane Drew
Louisa Lane Drew
action filter_type
action find
entity John Drew, Jr.
relation mother
type common name
['John Drew, Jr.', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:John_Drew,_Jr. property:mother ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3837642 Q2065905 Q8054842
P40
Q502895
USER
Does Louisa Lane Drew have Georgiana Drew and Yomary Cruz as a child ?
(Q3837642,P40,Q2065905) (Q3837642,P40,Q8054842)
action is_in
entity Q3837642
action intersection
action find_reverse
entity Q2065905
relation P40
action find_reverse
entity Q8054842
relation P40
['Q3837642', 'P40', 'Q2065905'] ['Q3837642', 'P40', 'Q8054842']
ASK WHERE { resource:Q3837642 property:P40 resource:Q8054842 . resource:Q3837642 property:P40 resource:Q2065905 }
Louisa Lane Drew Georgiana Drew Yomary Cruz
action is_in
entity Louisa Lane Drew
action intersection
action find_reverse
entity Georgiana Drew
relation child
action find_reverse
entity Yomary Cruz
relation child
['Louisa Lane Drew', 'child', 'Georgiana Drew'] ['Louisa Lane Drew', 'child', 'Yomary Cruz']
ASK WHERE { resource:Louisa_Lane_Drew property:child resource:Yomary_Cruz . resource:Louisa_Lane_Drew property:child resource:Georgiana_Drew }
[]
common name
SYSTEM
YES and NO respectively
(Q3837642,P40,Q2065905) (Q3837642,P40,Q8054842)
action is_in
entity Q3837642
action intersection
action find_reverse
entity Q2065905
relation P40
action find_reverse
entity Q8054842
relation P40
[ANSWER]
['Q3837642', 'P40', 'Q2065905'] ['Q3837642', 'P40', 'Q8054842']
ASK WHERE { resource:Q3837642 property:P40 resource:Q8054842 . resource:Q3837642 property:P40 resource:Q2065905 }
YES and NO respectively
action is_in
entity Louisa Lane Drew
action intersection
action find_reverse
entity Georgiana Drew
relation child
action find_reverse
entity Yomary Cruz
relation child
['Louisa Lane Drew', 'child', 'Georgiana Drew'] ['Louisa Lane Drew', 'child', 'Yomary Cruz']
ASK WHERE { resource:Louisa_Lane_Drew property:child resource:Yomary_Cruz . resource:Louisa_Lane_Drew property:child resource:Georgiana_Drew }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 3076 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3076
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P1303 ?z . ?q rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?n >= 3076 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3076
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:instrument ?z . ?q rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?n >= 3076 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3076
[ANSWERS] are played by atleast 3076 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P1303 ?z . ?q rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?n >= 3076 ) }
piano violin
Piano and violin are played by atleast 3076 people
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3076
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:instrument ?z . ?q rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?n >= 3076 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20851586
P1303
Q502895
USER
Does Natalia Szroeder can play those musical instruments ?
(Q20851586,P1303,Q5994) (Q20851586,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q20851586
relation P1303
['Q20851586', 'P1303', 'Q5994'] ['Q20851586', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?l ) { ( resource:Q5994 ) ( resource:Q8355 ) } . resource:Q20851586 property:P1303 ?l }
Natalia Szroeder
action is_in
entity prev_answer
action find
entity Natalia Szroeder
relation instrument
['Natalia Szroeder', 'instrument', 'piano'] ['Natalia Szroeder', 'instrument', 'violin']
ASK WHERE { VALUES ( ?l ) { ( resource:piano ) ( resource:violin ) } . resource:Natalia_Szroeder property:instrument ?l }
[]
common name
SYSTEM
YES
(Q20851586,P1303,Q5994) (Q20851586,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q20851586
relation P1303
[ANSWER]
['Q20851586', 'P1303', 'Q5994'] ['Q20851586', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?l ) { ( resource:Q5994 ) ( resource:Q8355 ) } . resource:Q20851586 property:P1303 ?l }
Yes
action is_in
entity prev_answer
action find
entity Natalia Szroeder
relation instrument
['Natalia Szroeder', 'instrument', 'piano'] ['Natalia Szroeder', 'instrument', 'violin']
ASK WHERE { VALUES ( ?l ) { ( resource:piano ) ( resource:violin ) } . resource:Natalia_Szroeder property:instrument ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2830602 Q145
P27
Q15617994
USER
Is United Kingdom the native country of Alan Tait ?
(Q2830602,P27,Q145)
action is_in
entity Q145
action find
entity Q2830602
relation P27
['Q2830602', 'P27', 'Q145']
ASK WHERE { resource:Q2830602 property:P27 resource:Q145 }
Alan Tait United Kingdom
action is_in
entity United Kingdom
action find
entity Alan Tait
relation country of citizenship
['Alan Tait', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Alan_Tait property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2830602,P27,Q145)
action is_in
entity Q145
action find
entity Q2830602
relation P27
[ANSWER]
['Q2830602', 'P27', 'Q145']
ASK WHERE { resource:Q2830602 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Alan Tait
relation country of citizenship
['Alan Tait', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Alan_Tait property:country_of_citizenship resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2830602
P641
Q349
USER
Which sport was that person a part of ?
action filter_type
action find
entity Q2830602
relation P641
type Q349
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q2830602 property:P641 ?c }
Alan Tait
action filter_type
action find
entity Alan Tait
relation sport
type sport
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Alan_Tait property:sport ?c }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
action filter_type
action find
entity Q2830602
relation P641
type Q349
The [ANSWER] was that person a part of
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q2830602 property:P641 ?c }
rugby league
The rugby league was that person a part of
rugby league
action filter_type
action find
entity Alan Tait
relation sport
type sport
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Alan_Tait property:sport ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3978248
P26 P21
Q502895
USER
Which people are married to Susanna Dalbiac and are a male ?
AND((c(Q502895),P26,Q3978248), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3978248
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q3978248'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P26 resource:Q3978248 . ?y property:P21 resource:Q6581097 }
male Susanna Dalbiac
action filter_type
action intersection
action find_reverse
entity Susanna Dalbiac
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Susanna Dalbiac'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:spouse resource:Susanna_Dalbiac . ?y property:gender resource:male }
[]
common name
Q6136567
SYSTEM
James Innes-Ker, 6th Duke of Roxburghe
Q6136567
AND((c(Q502895),P26,Q3978248), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3978248
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is married to Susanna Dalbiac and is a male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q3978248'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P26 resource:Q3978248 . ?y property:P21 resource:Q6581097 }
James Innes-Ker, 6th Duke of Roxburghe
James Innes-Ker, 6th Duke of Roxburghe is married to Susanna Dalbiac and is a male
James Innes-Ker, 6th Duke of Roxburghe
action filter_type
action intersection
action find_reverse
entity Susanna Dalbiac
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Susanna Dalbiac'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:spouse resource:Susanna_Dalbiac . ?y property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6136567 Q3978248
P26
Q502895
USER
Does Susanna Dalbiac have that one as spouse ?
(Q3978248,P26,Q6136567)
action is_in
entity Q3978248
action find
entity Q6136567
relation P26
['Q3978248', 'P26', 'Q6136567']
ASK WHERE { resource:Q6136567 property:P26 resource:Q3978248 }
James Innes-Ker, 6th Duke of Roxburghe Susanna Dalbiac
action is_in
entity Susanna Dalbiac
action find
entity James Innes-Ker, 6th Duke of Roxburghe
relation spouse
['Susanna Dalbiac', 'spouse', 'James Innes-Ker, 6th Duke of Roxburghe']
ASK WHERE { resource:James_Innes-Ker,_6th_Duke_of_Roxburghe property:spouse resource:Susanna_Dalbiac }
[]
common name
SYSTEM
YES
(Q3978248,P26,Q6136567)
action is_in
entity Q3978248
action find
entity Q6136567
relation P26
[ANSWER]
['Q3978248', 'P26', 'Q6136567']
ASK WHERE { resource:Q6136567 property:P26 resource:Q3978248 }
Yes
action is_in
entity Susanna Dalbiac
action find
entity James Innes-Ker, 6th Duke of Roxburghe
relation spouse
['Susanna Dalbiac', 'spouse', 'James Innes-Ker, 6th Duke of Roxburghe']
ASK WHERE { resource:James_Innes-Ker,_6th_Duke_of_Roxburghe property:spouse resource:Susanna_Dalbiac }
[]