Simple Question (Direct)
Simple Question
Q820623
P162
Q502895
USER
Who is the creator of Normal Life ?
(Q820623,P162,c(Q502895))
action filter_type
action find
entity Q820623
relation P162
type Q502895
['Q820623', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q820623 property:P162 ?t . ?t rdf:type ontology:Q502895 }
Normal Life
action filter_type
action find
entity Normal Life
relation producer
type common name
['Normal Life', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Normal_Life property:producer ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1425373
SYSTEM
Richard Maynard
Q1425373
(Q820623,P162,c(Q502895))
action filter_type
action find
entity Q820623
relation P162
type Q502895
The creator of Normal Life is the [ANSWER]
['Q820623', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q820623 property:P162 ?t . ?t rdf:type ontology:Q502895 }
Richard Maynard
The creator of Normal Life is the Richard Maynard
Richard Maynard
action filter_type
action find
entity Normal Life
relation producer
type common name
['Normal Life', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Normal_Life property:producer ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q820623
P161
Q502895
USER
Which people starred in that work of art ?
(Q1425373,P161,c(Q502895))
action filter_type
action find
entity Q820623
relation P161
type Q502895
['Q1425373', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q820623 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Normal Life
action filter_type
action find
entity Normal Life
relation cast member
type common name
['Richard Maynard', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Normal_Life property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
common name
Q228645 Q229979 Q2183235
SYSTEM
Ashley Judd, Kate Walsh, Bruce A. Young
Q318165 Q228645 Q443052 Q444217 Q2183235 Q229979
(Q1425373,P161,c(Q502895))
action filter_type
action find
entity Q820623
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q1425373', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q820623 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Luke Perry Ashley Judd Penelope Milford Tom Towles Bruce A. Young Kate Walsh
Ashley Judd, Kate Walsh and Bruce A. Young starred in that work of art
Ashley Judd Kate Walsh Bruce A. Young
action filter_type
action find
entity Normal Life
relation cast member
type common name
['Richard Maynard', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Normal_Life property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1425373
P162
Q838948 Q15416
USER
How many works of art and television programs have been produced by Richard Maynard ?
(c(Q838948),P162,Q1425373) (c(Q15416),P162,Q1425373)
action count
action union
action filter_type
action find_reverse
entity Q1425373
relation P162
type Q838948
action filter_type
action find_reverse
entity Q1425373
relation P162
type Q15416
[{'concept': 'Q838948'}, 'P162', 'Q1425373'] [{'concept': 'Q15416'}, 'P162', 'Q1425373']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } }
Richard Maynard
action count
action union
action filter_type
action find_reverse
entity Richard Maynard
relation producer
type work of art
action filter_type
action find_reverse
entity Richard Maynard
relation producer
type television program
[{'concept': 'work of art'}, 'producer', 'Richard Maynard'] [{'concept': 'television program'}, 'producer', 'Richard Maynard']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:television_program ) } }
[]
work of art television program
SYSTEM
1 works of art and 1 television programs
Q820623 Q1217744
(c(Q838948),P162,Q1425373) (c(Q15416),P162,Q1425373)
action count
action union
action filter_type
action find_reverse
entity Q1425373
relation P162
type Q838948
action filter_type
action find_reverse
entity Q1425373
relation P162
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q1425373'] [{'concept': 'Q15416'}, 'P162', 'Q1425373']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } }
Normal Life Timestalkers
1 works of art and 1 television programs
action count
action union
action filter_type
action find_reverse
entity Richard Maynard
relation producer
type work of art
action filter_type
action find_reverse
entity Richard Maynard
relation producer
type television program
[{'concept': 'work of art'}, 'producer', 'Richard Maynard'] [{'concept': 'television program'}, 'producer', 'Richard Maynard']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:television_program ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7029006 Q2183235
P19
Q15617994
USER
Which administrative territories were Bruce A. Young or Nicola Di Francia born at ?
OR((Q2183235,P19,c(Q15617994)), (Q7029006,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q2183235
relation P19
action find
entity Q7029006
relation P19
type Q15617994
{'OR': [['Q2183235', 'P19', {'concept': 'Q15617994'}], ['Q7029006', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Q2183235 ) ( resource:Q7029006 ) } . ?u property:P19 ?n } . ?n rdf:type ontology:Q15617994 }
Nicola Di Francia Bruce A. Young
action filter_type
action union
action find
entity Bruce A. Young
relation place of birth
action find
entity Nicola Di Francia
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Bruce A. Young', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Nicola Di Francia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Bruce_A._Young ) ( resource:Nicola_Di_Francia ) } . ?u property:place_of_birth ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3476 Q30
SYSTEM
L'Aquila, United States of America
Q3476 Q30
OR((Q2183235,P19,c(Q15617994)), (Q7029006,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q2183235
relation P19
action find
entity Q7029006
relation P19
type Q15617994
[ANSWERS] were Bruce A. Young or Nicola Di Francia born at
{'OR': [['Q2183235', 'P19', {'concept': 'Q15617994'}], ['Q7029006', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Q2183235 ) ( resource:Q7029006 ) } . ?u property:P19 ?n } . ?n rdf:type ontology:Q15617994 }
L'Aquila United States of America
L'Aquila and United States of America were Bruce A. Young or Nicola Di Francia born at
L'Aquila United States of America
action filter_type
action union
action find
entity Bruce A. Young
relation place of birth
action find
entity Nicola Di Francia
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Bruce A. Young', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Nicola Di Francia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Bruce_A._Young ) ( resource:Nicola_Di_Francia ) } . ?u property:place_of_birth ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26775206 Q820623
P364
Q34770
USER
What are considered to be the original language of creation of Normal Life or Understanding Metabolomics in Biomedical Research ?
OR((Q820623,P364,c(Q34770)), (Q26775206,P364,c(Q34770)))
action filter_type
action union
action find
entity Q820623
relation P364
action find
entity Q26775206
relation P364
type Q34770
{'OR': [['Q820623', 'P364', {'concept': 'Q34770'}], ['Q26775206', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?h ) { ( resource:Q820623 ) ( resource:Q26775206 ) } . ?h property:P364 ?j } . ?j rdf:type ontology:Q34770 }
Understanding Metabolomics in Biomedical Research Normal Life
action filter_type
action union
action find
entity Normal Life
relation original language of work
action find
entity Understanding Metabolomics in Biomedical Research
relation original language of work
type language
{'OR': [['Normal Life', 'original language of work', {'concept': 'language'}], ['Understanding Metabolomics in Biomedical Research', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?h ) { ( resource:Normal_Life ) ( resource:Understanding_Metabolomics_in_Biomedical_Research ) } . ?h property:original_language_of_work ?j } . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q820623,P364,c(Q34770)), (Q26775206,P364,c(Q34770)))
action filter_type
action union
action find
entity Q820623
relation P364
action find
entity Q26775206
relation P364
type Q34770
[ANSWER] is considered to be the original language of creation of Normal Life or Understanding Metabolomics in Biomedical Research
{'OR': [['Q820623', 'P364', {'concept': 'Q34770'}], ['Q26775206', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?h ) { ( resource:Q820623 ) ( resource:Q26775206 ) } . ?h property:P364 ?j } . ?j rdf:type ontology:Q34770 }
English
English is considered to be the original language of creation of Normal Life or Understanding Metabolomics in Biomedical Research
English
action filter_type
action union
action find
entity Normal Life
relation original language of work
action find
entity Understanding Metabolomics in Biomedical Research
relation original language of work
type language
{'OR': [['Normal Life', 'original language of work', {'concept': 'language'}], ['Understanding Metabolomics in Biomedical Research', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?h ) { ( resource:Normal_Life ) ( resource:Understanding_Metabolomics_in_Biomedical_Research ) } . ?h property:original_language_of_work ?j } . ?j rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q55234 Q1425373
P162
Q838948
USER
Which works of art have been developed by Richard Maynard or Michael Powell ?
OR((c(Q838948),P162,Q1425373), (c(Q838948),P162,Q55234))
action filter_type
action union
action find_reverse
entity Q1425373
relation P162
action find_reverse
entity Q55234
relation P162
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P162', 'Q1425373'], [{'concept': 'Q838948'}, 'P162', 'Q55234']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P162 resource:Q1425373 } UNION { ?k property:P162 resource:Q55234 } } . ?k rdf:type ontology:Q838948 }
Michael Powell Richard Maynard
action filter_type
action union
action find_reverse
entity Richard Maynard
relation producer
action find_reverse
entity Michael Powell
relation producer
type work of art
{'OR': [[{'concept': 'work of art'}, 'producer', 'Richard Maynard'], [{'concept': 'work of art'}, 'producer', 'Michael Powell']]}
SELECT DISTINCT ?k WHERE { { { ?k property:producer resource:Richard_Maynard } UNION { ?k property:producer resource:Michael_Powell } } . ?k rdf:type ontology:work_of_art }
[]
work of art
Q7764281 Q3427400 Q133466 Q7764866 Q7442352 Q1319302 Q4749745 Q625780 Q7783640 Q115537
SYSTEM
Some of them are The Silver Fleet, Honeymoon, A Canterbury Tale, The Small Back Room, Sebastian, The Life and Death of Colonel Blimp, An Airman's Letter to His Mother, The Red Shoes, They're a Weird Mob, I Know Where I'm Going!
Q133466 Q115537 Q3837841 Q7764866 Q4749745 Q7764281 Q492861 Q7732134 Q7783640 Q625780 Q614854 Q3429874 Q1546792 Q252529 Q2089824 Q3422374 Q1319302 Q3427400 Q7442352 Q2249349 Q7758168 Q820623 Q478395
OR((c(Q838948),P162,Q1425373), (c(Q838948),P162,Q55234))
action filter_type
action union
action find_reverse
entity Q1425373
relation P162
action find_reverse
entity Q55234
relation P162
type Q838948
[ANSWERS] have been developed by Richard Maynard or Michael Powell
{'OR': [[{'concept': 'Q838948'}, 'P162', 'Q1425373'], [{'concept': 'Q838948'}, 'P162', 'Q55234']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P162 resource:Q1425373 } UNION { ?k property:P162 resource:Q55234 } } . ?k rdf:type ontology:Q838948 }
A Canterbury Tale I Know Where I'm Going! The Elusive Pimpernel The Small Back Room An Airman's Letter to His Mother The Silver Fleet The Battle of the River Plate The End of the River They're a Weird Mob The Red Shoes Gone to Earth Oh... Rosalinda!! A Matter of Life and Death Black Narcissus One of Our Aircraft Is Missing Ill Met by Moonlight The Life and Death of Colonel Blimp Honeymoon Sebastian The Tales of Hoffmann The Price of a Song Normal Life Peeping Tom
The Silver Fleet, Honeymoon, A Canterbury Tale, The Small Back Room, Sebastian, The Life and Death of Colonel Blimp, An Airman's Letter to His Mother, The Red Shoes, They're a Weird Mob and I Know Where I'm Going! have been developed by Richard Maynard or Michael Powell
The Silver Fleet Honeymoon A Canterbury Tale The Small Back Room Sebastian The Life and Death of Colonel Blimp An Airman's Letter to His Mother The Red Shoes They're a Weird Mob I Know Where I'm Going!
action filter_type
action union
action find_reverse
entity Richard Maynard
relation producer
action find_reverse
entity Michael Powell
relation producer
type work of art
{'OR': [[{'concept': 'work of art'}, 'producer', 'Richard Maynard'], [{'concept': 'work of art'}, 'producer', 'Michael Powell']]}
SELECT DISTINCT ?k WHERE { { { ?k property:producer resource:Richard_Maynard } UNION { ?k property:producer resource:Michael_Powell } } . ?k rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3230915 Q7764866
P161
Q502895
USER
Which people starred in The Small Back Room or The Babysitters ?
OR((Q7764866,P161,c(Q502895)), (Q3230915,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7764866
relation P161
action find
entity Q3230915
relation P161
type Q502895
{'OR': [['Q7764866', 'P161', {'concept': 'Q502895'}], ['Q3230915', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7764866 property:P161 ?o } UNION { resource:Q3230915 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
The Babysitters The Small Back Room
action filter_type
action union
action find
entity The Small Back Room
relation cast member
action find
entity The Babysitters
relation cast member
type common name
{'OR': [['The Small Back Room', 'cast member', {'concept': 'common name'}], ['The Babysitters', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Small_Back_Room property:cast_member ?o } UNION { resource:The_Babysitters property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q15222780 Q1148591 Q228725 Q435475 Q1820771 Q2165590 Q928678 Q231556 Q629696 Q295233
SYSTEM
Some of them are Katherine Waterston, Cyril Cusack, Cynthia Nixon, Ethan Phillips, Leslie Banks, Spencer Treat Clark, David Farrar, Alexandra Daddario, Denis O'Hare, John Leguizamo
Q228725 Q299302 Q1148591 Q240187 Q928678 Q1820771 Q3616535 Q2165590 Q435475 Q26118 Q2558129 Q3314543 Q231556 Q460253 Q629696 Q15222780 Q1600882 Q295233
OR((Q7764866,P161,c(Q502895)), (Q3230915,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7764866
relation P161
action find
entity Q3230915
relation P161
type Q502895
[ANSWERS] starred in The Small Back Room or The Babysitters
{'OR': [['Q7764866', 'P161', {'concept': 'Q502895'}], ['Q3230915', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7764866 property:P161 ?o } UNION { resource:Q3230915 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
Cynthia Nixon Michael Gough Cyril Cusack Bridget Regan David Farrar Leslie Banks Andy Comeau Spencer Treat Clark Ethan Phillips Jack Hawkins Ann Dowd Milton Rosmer Alexandra Daddario Kathleen Byron Denis O'Hare Katherine Waterston Michael Goodliffe John Leguizamo
Katherine Waterston, Cyril Cusack, Cynthia Nixon, Ethan Phillips, Leslie Banks, Spencer Treat Clark, David Farrar, Alexandra Daddario, Denis O'Hare and John Leguizamo starred in The Small Back Room or The Babysitters
Katherine Waterston Cyril Cusack Cynthia Nixon Ethan Phillips Leslie Banks Spencer Treat Clark David Farrar Alexandra Daddario Denis O'Hare John Leguizamo
action filter_type
action union
action find
entity The Small Back Room
relation cast member
action find
entity The Babysitters
relation cast member
type common name
{'OR': [['The Small Back Room', 'cast member', {'concept': 'common name'}], ['The Babysitters', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Small_Back_Room property:cast_member ?o } UNION { resource:The_Babysitters property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15222780 Q1148591 Q228725 Q435475 Q1820771 Q2165590 Q928678 Q231556 Q629696 Q295233
P21
Q290
USER
What are the sex of those people ?
(Q15222780,P21,c(Q290)) (Q1148591,P21,c(Q290)) (Q228725,P21,c(Q290)) (Q435475,P21,c(Q290)) (Q1820771,P21,c(Q290)) (Q2165590,P21,c(Q290)) (Q928678,P21,c(Q290)) (Q231556,P21,c(Q290)) (Q629696,P21,c(Q290)) (Q295233,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q15222780', 'P21', {'concept': 'Q290'}] ['Q1148591', 'P21', {'concept': 'Q290'}] ['Q228725', 'P21', {'concept': 'Q290'}] ['Q435475', 'P21', {'concept': 'Q290'}] ['Q1820771', 'P21', {'concept': 'Q290'}] ['Q2165590', 'P21', {'concept': 'Q290'}] ['Q928678', 'P21', {'concept': 'Q290'}] ['Q231556', 'P21', {'concept': 'Q290'}] ['Q629696', 'P21', {'concept': 'Q290'}] ['Q295233', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . VALUES ( ?w ) { ( resource:Q228725 ) ( resource:Q299302 ) ( resource:Q1148591 ) } . ?w property:P21 ?t }
Katherine Waterston Cyril Cusack Cynthia Nixon Ethan Phillips Leslie Banks Spencer Treat Clark David Farrar Alexandra Daddario Denis O'Hare John Leguizamo
action filter_type
action find
entity prev_answer
relation gender
type sex
['Katherine Waterston', 'gender', {'concept': 'sex'}] ['Cyril Cusack', 'gender', {'concept': 'sex'}] ['Cynthia Nixon', 'gender', {'concept': 'sex'}] ['Ethan Phillips', 'gender', {'concept': 'sex'}] ['Leslie Banks', 'gender', {'concept': 'sex'}] ['Spencer Treat Clark', 'gender', {'concept': 'sex'}] ['David Farrar', 'gender', {'concept': 'sex'}] ['Alexandra Daddario', 'gender', {'concept': 'sex'}] ["Denis O'Hare", 'gender', {'concept': 'sex'}] ['John Leguizamo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . VALUES ( ?w ) { ( resource:Cynthia_Nixon ) ( resource:Michael_Gough ) ( resource:Cyril_Cusack ) } . ?w property:gender ?t }
[]
sex
Q6581072 Q6581097 Q6581072
SYSTEM
male for 2nd, female for 1st, 3rd
Q6581072 Q6581097 Q6581072 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581097 Q6581097
(Q15222780,P21,c(Q290)) (Q1148591,P21,c(Q290)) (Q228725,P21,c(Q290)) (Q435475,P21,c(Q290)) (Q1820771,P21,c(Q290)) (Q2165590,P21,c(Q290)) (Q928678,P21,c(Q290)) (Q231556,P21,c(Q290)) (Q629696,P21,c(Q290)) (Q295233,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q15222780', 'P21', {'concept': 'Q290'}] ['Q1148591', 'P21', {'concept': 'Q290'}] ['Q228725', 'P21', {'concept': 'Q290'}] ['Q435475', 'P21', {'concept': 'Q290'}] ['Q1820771', 'P21', {'concept': 'Q290'}] ['Q2165590', 'P21', {'concept': 'Q290'}] ['Q928678', 'P21', {'concept': 'Q290'}] ['Q231556', 'P21', {'concept': 'Q290'}] ['Q629696', 'P21', {'concept': 'Q290'}] ['Q295233', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . VALUES ( ?w ) { ( resource:Q228725 ) ( resource:Q299302 ) ( resource:Q1148591 ) } . ?w property:P21 ?t }
female male female male male male male female male male
The sex of those people are female, male and female
female male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Katherine Waterston', 'gender', {'concept': 'sex'}] ['Cyril Cusack', 'gender', {'concept': 'sex'}] ['Cynthia Nixon', 'gender', {'concept': 'sex'}] ['Ethan Phillips', 'gender', {'concept': 'sex'}] ['Leslie Banks', 'gender', {'concept': 'sex'}] ['Spencer Treat Clark', 'gender', {'concept': 'sex'}] ['David Farrar', 'gender', {'concept': 'sex'}] ['Alexandra Daddario', 'gender', {'concept': 'sex'}] ["Denis O'Hare", 'gender', {'concept': 'sex'}] ['John Leguizamo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . VALUES ( ?w ) { ( resource:Cynthia_Nixon ) ( resource:Michael_Gough ) ( resource:Cyril_Cusack ) } . ?w property:gender ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1148591
P509
Q2057971
USER
How did Cyril Cusack die ?
(Q1148591,P509,c(Q2057971))
action filter_type
action find
entity Q1148591
relation P509
type Q2057971
['Q1148591', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q1148591 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
Cyril Cusack
action filter_type
action find
entity Cyril Cusack
relation cause of death
type health problem
['Cyril Cusack', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:Cyril_Cusack property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
health problem
Q206901
SYSTEM
amyotrophic lateral sclerosis
Q206901
(Q1148591,P509,c(Q2057971))
action filter_type
action find
entity Q1148591
relation P509
type Q2057971
Cyril Cusack died from [ANSWER]
['Q1148591', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q1148591 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
amyotrophic lateral sclerosis
Cyril Cusack died from amyotrophic lateral sclerosis
amyotrophic lateral sclerosis
action filter_type
action find
entity Cyril Cusack
relation cause of death
type health problem
['Cyril Cusack', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:Cyril_Cusack property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12595795
Q2057971
USER
And also tell me about Moon Jeong-suk?
(Q12595795,P509,c(Q2057971))
action filter_type
action find
entity Q12595795
relation P509
type Q2057971
['Q12595795', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q12595795 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
Moon Jeong-suk
action filter_type
action find
entity Moon Jeong-suk
relation cause of death
type health problem
['Moon Jeong-suk', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Moon_Jeong-suk property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
health problem
Q929737
SYSTEM
liver disease
Q929737
(Q12595795,P509,c(Q2057971))
action filter_type
action find
entity Q12595795
relation P509
type Q2057971
[ANSWER]
['Q12595795', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q12595795 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
liver disease
liver disease
action filter_type
action find
entity Moon Jeong-suk
relation cause of death
type health problem
['Moon Jeong-suk', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Moon_Jeong-suk property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q125928
P828
Q1190554 Q2057971
USER
Which events are the underlying cause of greater number of health problems than climate change ?
(c(Q2057971),P828,c(Q1190554))
action greater
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q2057971
action count
action filter_type
action find
entity Q125928
relation P828
type Q1190554
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P828 ?n . ?n rdf:type ontology:Q1190554 . ?l rdf:type ontology:Q2057971 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:Q125928 property:P828 ?p . ?p rdf:type ontology:Q1190554 } } . FILTER ( ?g > ?b ) }
climate change
action greater
action find_reverse_tuple_counts
relation has cause
type event
type health problem
action count
action filter_type
action find
entity climate change
relation has cause
type event
[{'concept': 'health problem'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:has_cause ?n . ?n rdf:type ontology:event . ?l rdf:type ontology:health_problem } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:climate_change property:has_cause ?p . ?p rdf:type ontology:event } } . FILTER ( ?g > ?b ) }
[]
event health problem
Q2737837 Q114953
SYSTEM
Irradiation, poisoning
Q2737837 Q114953
(c(Q2057971),P828,c(Q1190554))
action greater
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q2057971
action count
action filter_type
action find
entity Q125928
relation P828
type Q1190554
[ANSWERS] are the underlying cause of greater number of health problems than climate change
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P828 ?n . ?n rdf:type ontology:Q1190554 . ?l rdf:type ontology:Q2057971 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:Q125928 property:P828 ?p . ?p rdf:type ontology:Q1190554 } } . FILTER ( ?g > ?b ) }
Irradiation poisoning
Irradiation and poisoning are the underlying cause of greater number of health problems than climate change
Irradiation poisoning
action greater
action find_reverse_tuple_counts
relation has cause
type event
type health problem
action count
action filter_type
action find
entity climate change
relation has cause
type event
[{'concept': 'health problem'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:has_cause ?n . ?n rdf:type ontology:event . ?l rdf:type ontology:health_problem } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { resource:climate_change property:has_cause ?p . ?p rdf:type ontology:event } } . FILTER ( ?g > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q41560
P828
Q1190554 Q2057971
USER
And how about greenhouse effect?
(c(Q2057971),P828,c(Q1190554))
action greater
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q2057971
action count
action filter_type
action find
entity Q41560
relation P828
type Q1190554
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P828 ?m . ?h rdf:type ontology:Q2057971 . ?m rdf:type ontology:Q1190554 } GROUP BY ?m } . FILTER ( ?t > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q41560 property:P828 ?j . ?j rdf:type ontology:Q1190554 } } }
greenhouse effect
action greater
action find_reverse_tuple_counts
relation has cause
type event
type health problem
action count
action filter_type
action find
entity greenhouse effect
relation has cause
type event
[{'concept': 'health problem'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:has_cause ?m . ?h rdf:type ontology:health_problem . ?m rdf:type ontology:event } GROUP BY ?m } . FILTER ( ?t > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:greenhouse_effect property:has_cause ?j . ?j rdf:type ontology:event } } }
[]
event health problem
Q2737837 Q114953
SYSTEM
Irradiation, poisoning
Q2737837 Q114953
(c(Q2057971),P828,c(Q1190554))
action greater
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q2057971
action count
action filter_type
action find
entity Q41560
relation P828
type Q1190554
[ANSWERS]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P828 ?m . ?h rdf:type ontology:Q2057971 . ?m rdf:type ontology:Q1190554 } GROUP BY ?m } . FILTER ( ?t > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q41560 property:P828 ?j . ?j rdf:type ontology:Q1190554 } } }
Irradiation poisoning
Irradiation poisoning
action greater
action find_reverse_tuple_counts
relation has cause
type event
type health problem
action count
action filter_type
action find
entity greenhouse effect
relation has cause
type event
[{'concept': 'health problem'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:has_cause ?m . ?h rdf:type ontology:health_problem . ?m rdf:type ontology:event } GROUP BY ?m } . FILTER ( ?t > ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:greenhouse_effect property:has_cause ?j . ?j rdf:type ontology:event } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q206901
P2175
Q8386
USER
Which drugs are used for the treatment of amyotrophic lateral sclerosis ?
(c(Q8386),P2175,Q206901)
action filter_type
action find_reverse
entity Q206901
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q206901']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q8386 . ?a property:P2175 resource:Q206901 }
amyotrophic lateral sclerosis
action filter_type
action find_reverse
entity amyotrophic lateral sclerosis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'amyotrophic lateral sclerosis']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:drug . ?a property:medical_condition_treated resource:amyotrophic_lateral_sclerosis }
[]
drug
Q3151081 Q415744
SYSTEM
Filgrastim, riluzole
Q3151081 Q415744
(c(Q8386),P2175,Q206901)
action filter_type
action find_reverse
entity Q206901
relation P2175
type Q8386
[ANSWERS] are used for the treatment of amyotrophic lateral sclerosis
[{'concept': 'Q8386'}, 'P2175', 'Q206901']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q8386 . ?a property:P2175 resource:Q206901 }
Filgrastim riluzole
Filgrastim and riluzole are used for the treatment of amyotrophic lateral sclerosis
Filgrastim riluzole
action filter_type
action find_reverse
entity amyotrophic lateral sclerosis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'amyotrophic lateral sclerosis']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:drug . ?a property:medical_condition_treated resource:amyotrophic_lateral_sclerosis }
[]