Simple Question (Direct)
Simple Question
Q1116002
P26
Q502895
USER
Which person is the life partner of James Friskin ?
(Q1116002,P26,c(Q502895))
action filter_type
action find
entity Q1116002
relation P26
type Q502895
['Q1116002', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1116002 property:P26 ?q . ?q rdf:type ontology:Q502895 }
James Friskin
action filter_type
action find
entity James Friskin
relation spouse
type common name
['James Friskin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:James_Friskin property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q259670
SYSTEM
Rebecca Clarke
Q259670
(Q1116002,P26,c(Q502895))
action filter_type
action find
entity Q1116002
relation P26
type Q502895
The [ANSWER] is the life partner of James Friskin
['Q1116002', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1116002 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Rebecca Clarke
The Rebecca Clarke is the life partner of James Friskin
Rebecca Clarke
action filter_type
action find
entity James Friskin
relation spouse
type common name
['James Friskin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:James_Friskin property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q259670
P1412
Q34770
USER
Which language is spoken by that person ?
(Q259670,P1412,c(Q34770))
action filter_type
action find
entity Q259670
relation P1412
type Q34770
['Q259670', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q259670 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Rebecca Clarke
action filter_type
action find
entity Rebecca Clarke
relation languages spoken, written or signed
type language
['Rebecca Clarke', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Rebecca_Clarke property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q259670,P1412,c(Q34770))
action filter_type
action find
entity Q259670
relation P1412
type Q34770
Are [ANSWER] is spoken by that person
['Q259670', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q259670 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
English
Are English is spoken by that person
English
action filter_type
action find
entity Rebecca Clarke
relation languages spoken, written or signed
type language
['Rebecca Clarke', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Rebecca_Clarke property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q259670
P136
Q151885
USER
Which concept can be considered as genre of Rebecca Clarke ?
(Q259670,P136,c(Q151885))
action filter_type
action find
entity Q259670
relation P136
type Q151885
['Q259670', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q259670 property:P136 ?h . ?h rdf:type ontology:Q151885 }
Rebecca Clarke
action filter_type
action find
entity Rebecca Clarke
relation genre
type concept
['Rebecca Clarke', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Rebecca_Clarke property:genre ?h . ?h rdf:type ontology:concept }
[]
concept
Q9730
SYSTEM
classical music
Q9730
(Q259670,P136,c(Q151885))
action filter_type
action find
entity Q259670
relation P136
type Q151885
[ANSWER] can be considered as genre of Rebecca Clarke
['Q259670', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q259670 property:P136 ?h . ?h rdf:type ontology:Q151885 }
classical music
Classical music can be considered as genre of Rebecca Clarke
classical music
action filter_type
action find
entity Rebecca Clarke
relation genre
type concept
['Rebecca Clarke', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Rebecca_Clarke property:genre ?h . ?h rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1958582
Q151885
USER
And what about Chizh & Co?
(Q1958582,P136,c(Q151885))
action filter_type
action find
entity Q1958582
relation P136
type Q151885
['Q1958582', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q1958582 property:P136 ?x . ?x rdf:type ontology:Q151885 }
Chizh & Co
action filter_type
action find
entity Chizh & Co
relation genre
type concept
['Chizh & Co', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Chizh_&_Co property:genre ?x . ?x rdf:type ontology:concept }
[]
concept
Q193355 Q2624785
SYSTEM
blues rock, Russian rock
Q193355 Q2624785
(Q1958582,P136,c(Q151885))
action filter_type
action find
entity Q1958582
relation P136
type Q151885
[ANSWERS]
['Q1958582', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q1958582 property:P136 ?x . ?x rdf:type ontology:Q151885 }
blues rock Russian rock
blues rock Russian rock
action filter_type
action find
entity Chizh & Co
relation genre
type concept
['Chizh & Co', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Chizh_&_Co property:genre ?x . ?x rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q193355 Q2624785
P136
Q2088357
USER
Which musical ensembles have those concepts as their type ?
(c(Q2088357),P136,Q193355) (c(Q2088357),P136,Q2624785)
action filter_type
action find_reverse
entity prev_answer
relation P136
type Q2088357
[{'concept': 'Q2088357'}, 'P136', 'Q193355'] [{'concept': 'Q2088357'}, 'P136', 'Q2624785']
SELECT DISTINCT ?p WHERE { ?p property:P136 ?x . VALUES ( ?x ) { ( resource:Q193355 ) ( resource:Q2624785 ) } . ?p rdf:type ontology:Q2088357 }
blues rock Russian rock
action filter_type
action find_reverse
entity prev_answer
relation genre
type musical ensemble
[{'concept': 'musical ensemble'}, 'genre', 'blues rock'] [{'concept': 'musical ensemble'}, 'genre', 'Russian rock']
SELECT DISTINCT ?p WHERE { ?p property:genre ?x . VALUES ( ?x ) { ( resource:blues_rock ) ( resource:Russian_rock ) } . ?p rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q682030 Q798232 Q1141238
SYSTEM
The Tragically Hip, Bachman–Turner Overdrive, The Guess Who
Q7622568 Q17104481 Q1437260 Q880164 Q682021 Q6752179 Q383002 Q886072 Q2023022 Q1369148 Q3675560 Q6458285 Q16844625 Q3196649 Q7759068 Q20684005 Q4807953 Q7718456 Q795632 Q1022454 Q3481675 Q6911307 Q1127565 Q2437348 Q24063608 Q17985945 Q15721799 Q776315 Q8000822 Q849245 Q600344 Q3510750 Q548656 Q798232 Q26260828 Q1123092 Q7619013 Q15622103 Q904134 Q1537930 Q202314 Q511516 Q490339 Q5189073 Q15788770 Q432233 Q813658 Q7766605 Q4898159 Q1425100 Q8073820 Q7841706 Q2670460 Q832250 Q14957024 Q902544 Q1244124 Q1051312 Q638889 Q4575973 Q7401580 Q2083578 Q2258506 Q1141238 Q20684811 Q5254728 Q5145061 Q1934913 Q1190060 Q2774245 Q5692913 Q16885583 Q743096 Q4839176 Q15982430 Q21189302 Q7564511 Q932852 Q5394827 Q131422 Q724406 Q7833892 Q5650717 Q384023 Q11305884 Q7759859 Q7438290 Q18160874 Q8074109 Q16847388 Q1339877 Q6949219 Q120146 Q5455967 Q2664715 Q7857845 Q884846 Q4930539 Q1711571 Q11320291 Q7622553 Q17512033 Q2905356 Q4742369 Q339088 Q682030 Q1143813 Q269954
(c(Q2088357),P136,Q193355) (c(Q2088357),P136,Q2624785)
action filter_type
action find_reverse
entity prev_answer
relation P136
type Q2088357
[ANSWERS] have those concepts as their type
[{'concept': 'Q2088357'}, 'P136', 'Q193355'] [{'concept': 'Q2088357'}, 'P136', 'Q2624785']
SELECT DISTINCT ?p WHERE { ?p property:P136 ?x . VALUES ( ?x ) { ( resource:Q193355 ) ( resource:Q2624785 ) } . ?p rdf:type ontology:Q2088357 }
Stray Dog Three Seasons The Blue Van Black Cat Bones The Groundhogs Mantra Streetwalkers John Mayall & the Bluesbreakers Omar & the Howlers John Mayer Trio Chris Robinson Brotherhood Mojo Blues Honeytribe Killing Floor The Questions Dark Horse Flyer Asphalt Ballet The Black Swans Bruce-Baker-Moore Paice, Ashton & Lord She Keeps Bees Moreland and Arbuckle The Fratellis Pacific Gas & Electric Bluesquare Blackfoot Gypsies Swamp Thing Arc Angels Wild T and the Spirit Breakout The Band Rick & the Ravens Blind Faith Bachman–Turner Overdrive Black Lung Schwoißfuaß Stone Raiders The Hamsters Jokers Wild Manassas Thin Lizzy Bakerloo Climax Blues Band Crow Birth of Joy Love Sculpture Beck, Bogert & Appice The Stone Foxes Beto Mendoza y los Pajaros Negros Stone the Crows Zona B Trigger Hippy Normaal Elf The Temperance Movement (band) Slash's Blues Ball Stretch Tube Cuby + Blizzards 1974 AD Saint Jude Double Trouble The Sore Losers The Guess Who Milk Delta Rae Colin Dussault Blues Project Band The Electric Flag The Jeff Beck Group Crawler Heartless Bastards The Shadows Firebird Back Street Crawler Blues Pills Dead Heavens Soulmate Masters of Reality Ernie and the Automatics The Animals Derek and the Dominos Transcoder Mother Superior Cinderella SONHOUSE The Red Devils Scoundrels Harem Scarem Zook Indigenous Hindu Love Gods Mythology Medicine Head Five Horse Johnson The Company of Snakes Twentysevens Blodwyn Pig Bluesberry Jam Juicy Lucy Davy Knowles Stray Crow Black Chicken Black Diamond Heavies Amen Canned Heat The Tragically Hip U-Piter 7B
The Tragically Hip, Bachman–Turner Overdrive and The Guess Who have those concepts as their type
The Tragically Hip Bachman–Turner Overdrive The Guess Who
action filter_type
action find_reverse
entity prev_answer
relation genre
type musical ensemble
[{'concept': 'musical ensemble'}, 'genre', 'blues rock'] [{'concept': 'musical ensemble'}, 'genre', 'Russian rock']
SELECT DISTINCT ?p WHERE { ?p property:genre ?x . VALUES ( ?x ) { ( resource:blues_rock ) ( resource:Russian_rock ) } . ?p rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q682030 Q798232 Q1141238
P1346
Q618779
USER
Which awards were won by The Tragically Hip, Bachman–Turner Overdrive and The Guess Who ?
(c(Q618779),P1346,Q682030) (c(Q618779),P1346,Q798232) (c(Q618779),P1346,Q1141238)
action union
action filter_type
action find_reverse
entity Q682030
relation P1346
type Q618779
action filter_type
action find_reverse
entity Q798232
relation P1346
type Q618779
action filter_type
action find_reverse
entity Q1141238
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q682030'] [{'concept': 'Q618779'}, 'P1346', 'Q798232'] [{'concept': 'Q618779'}, 'P1346', 'Q1141238']
SELECT DISTINCT ?n WHERE { ?n property:P1346 ?m . VALUES ( ?m ) { ( resource:Q682030 ) ( resource:Q798232 ) } }
The Tragically Hip Bachman–Turner Overdrive The Guess Who
action union
action filter_type
action find_reverse
entity The Tragically Hip
relation winner
type award
action filter_type
action find_reverse
entity Bachman–Turner Overdrive
relation winner
type award
action filter_type
action find_reverse
entity The Guess Who
relation winner
type award
[{'concept': 'award'}, 'winner', 'The Tragically Hip'] [{'concept': 'award'}, 'winner', 'Bachman–Turner Overdrive'] [{'concept': 'award'}, 'winner', 'The Guess Who']
SELECT DISTINCT ?n WHERE { ?n property:winner ?m . VALUES ( ?m ) { ( resource:The_Tragically_Hip ) ( resource:Bachman–Turner_Overdrive ) } }
[]
award
Q3362499
SYSTEM
Canadian Music Hall of Fame
Q3362499
(c(Q618779),P1346,Q682030) (c(Q618779),P1346,Q798232) (c(Q618779),P1346,Q1141238)
action union
action filter_type
action find_reverse
entity Q682030
relation P1346
type Q618779
action filter_type
action find_reverse
entity Q798232
relation P1346
type Q618779
action filter_type
action find_reverse
entity Q1141238
relation P1346
type Q618779
[ANSWER] was won by The Tragically Hip, Bachman–Turner Overdrive and The Guess Who
[{'concept': 'Q618779'}, 'P1346', 'Q682030'] [{'concept': 'Q618779'}, 'P1346', 'Q798232'] [{'concept': 'Q618779'}, 'P1346', 'Q1141238']
SELECT DISTINCT ?n WHERE { ?n property:P1346 ?m . VALUES ( ?m ) { ( resource:Q682030 ) ( resource:Q798232 ) } }
Canadian Music Hall of Fame
Canadian Music Hall of Fame was won by The Tragically Hip, Bachman–Turner Overdrive and The Guess Who
Canadian Music Hall of Fame
action union
action filter_type
action find_reverse
entity The Tragically Hip
relation winner
type award
action filter_type
action find_reverse
entity Bachman–Turner Overdrive
relation winner
type award
action filter_type
action find_reverse
entity The Guess Who
relation winner
type award
[{'concept': 'award'}, 'winner', 'The Tragically Hip'] [{'concept': 'award'}, 'winner', 'Bachman–Turner Overdrive'] [{'concept': 'award'}, 'winner', 'The Guess Who']
SELECT DISTINCT ?n WHERE { ?n property:winner ?m . VALUES ( ?m ) { ( resource:The_Tragically_Hip ) ( resource:Bachman–Turner_Overdrive ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q259670
P26 P21
Q502895
USER
Which people have Rebecca Clarke as spouse and have the gender as male ?
AND((c(Q502895),P26,Q259670), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q259670
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q259670'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P26 resource:Q259670 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male Rebecca Clarke
action filter_type
action intersection
action find_reverse
entity Rebecca Clarke
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Rebecca Clarke'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:spouse resource:Rebecca_Clarke . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q1116002
SYSTEM
James Friskin
Q1116002
AND((c(Q502895),P26,Q259670), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q259670
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Rebecca Clarke as spouse and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q259670'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P26 resource:Q259670 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
James Friskin
James Friskin have Rebecca Clarke as spouse and have the gender as male
James Friskin
action filter_type
action intersection
action find_reverse
entity Rebecca Clarke
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Rebecca Clarke'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:spouse resource:Rebecca_Clarke . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]