Simple Question (Direct)
Simple Question
Q976071
P509
Q2057971
USER
Which health problem was the cause of death of Laurie Lee ?
(Q976071,P509,c(Q2057971))
action filter_type
action find
entity Q976071
relation P509
type Q2057971
['Q976071', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q976071 property:P509 ?x . ?x rdf:type ontology:Q2057971 }
Laurie Lee
action filter_type
action find
entity Laurie Lee
relation cause of death
type health problem
['Laurie Lee', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:Laurie_Lee property:cause_of_death ?x . ?x rdf:type ontology:health_problem }
[]
health problem
Q188874
SYSTEM
colorectal cancer
Q188874
(Q976071,P509,c(Q2057971))
action filter_type
action find
entity Q976071
relation P509
type Q2057971
Cancer [ANSWER] was the cause of death of Laurie Lee
['Q976071', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q976071 property:P509 ?x . ?x rdf:type ontology:Q2057971 }
colorectal cancer
Cancer colorectal cancer was the cause of death of Laurie Lee
colorectal cancer
action filter_type
action find
entity Laurie Lee
relation cause of death
type health problem
['Laurie Lee', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:Laurie_Lee property:cause_of_death ?x . ?x rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q976071
P58
Q201658
USER
Which film genre is Laurie Lee a screenwriter of ?
(c(Q201658),P58,Q976071)
action filter_type
action find_reverse
entity Q976071
relation P58
type Q201658
[{'concept': 'Q201658'}, 'P58', 'Q976071']
SELECT DISTINCT ?y WHERE { ?y property:P58 resource:Q976071 . ?y rdf:type ontology:Q201658 }
Laurie Lee
action filter_type
action find_reverse
entity Laurie Lee
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Laurie Lee']
SELECT DISTINCT ?y WHERE { ?y property:screenwriter resource:Laurie_Lee . ?y rdf:type ontology:film_genre }
[]
film genre
Q6296396
SYSTEM
Journey Into Spring
Q6296396
(c(Q201658),P58,Q976071)
action filter_type
action find_reverse
entity Q976071
relation P58
type Q201658
[ANSWER] is Laurie Lee a screenwriter of
[{'concept': 'Q201658'}, 'P58', 'Q976071']
SELECT DISTINCT ?y WHERE { ?y property:P58 resource:Q976071 . ?y rdf:type ontology:Q201658 }
Journey Into Spring
Journey Into Spring is Laurie Lee a screenwriter of
Journey Into Spring
action filter_type
action find_reverse
entity Laurie Lee
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Laurie Lee']
SELECT DISTINCT ?y WHERE { ?y property:screenwriter resource:Laurie_Lee . ?y rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q976071
P50
Q2342494
USER
What are the collectables written by Laurie Lee ?
(c(Q2342494),P50,Q976071)
action filter_type
action find_reverse
entity Q976071
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q976071']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P50 resource:Q976071 }
Laurie Lee
action filter_type
action find_reverse
entity Laurie Lee
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Laurie Lee']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:author resource:Laurie_Lee }
[]
collectable
Q2600270 Q2754105 Q2491178
SYSTEM
A Moment of War, Cider with Rosie, As I Walked Out One Midsummer Morning
Q2600270 Q2754105 Q2491178
(c(Q2342494),P50,Q976071)
action filter_type
action find_reverse
entity Q976071
relation P50
type Q2342494
The collectables written by Laurie are [ANSWERS]
[{'concept': 'Q2342494'}, 'P50', 'Q976071']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P50 resource:Q976071 }
A Moment of War Cider with Rosie As I Walked Out One Midsummer Morning
The collectables written by Laurie are A Moment of War, Cider with Rosie and As I Walked Out One Midsummer Morning
A Moment of War Cider with Rosie As I Walked Out One Midsummer Morning
action filter_type
action find_reverse
entity Laurie Lee
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Laurie Lee']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:author resource:Laurie_Lee }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2600270 Q2754105 Q2491178
P50
Q502895
USER
Who penned those collectables ?
(Q2600270,P50,c(Q502895)) (Q2754105,P50,c(Q502895)) (Q2491178,P50,c(Q502895))
action filter_type
action find
entity prev_answer
relation P50
type Q502895
['Q2600270', 'P50', {'concept': 'Q502895'}] ['Q2754105', 'P50', {'concept': 'Q502895'}] ['Q2491178', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q2600270 ) ( resource:Q2754105 ) ( resource:Q2491178 ) } . ?z property:P50 ?f }
A Moment of War Cider with Rosie As I Walked Out One Midsummer Morning
action filter_type
action find
entity prev_answer
relation author
type common name
['A Moment of War', 'author', {'concept': 'common name'}] ['Cider with Rosie', 'author', {'concept': 'common name'}] ['As I Walked Out One Midsummer Morning', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:A_Moment_of_War ) ( resource:Cider_with_Rosie ) ( resource:As_I_Walked_Out_One_Midsummer_Morning ) } . ?z property:author ?f }
[]
common name
Q976071 Q976071 Q976071
SYSTEM
Laurie Lee
Q976071 Q976071 Q976071
(Q2600270,P50,c(Q502895)) (Q2754105,P50,c(Q502895)) (Q2491178,P50,c(Q502895))
action filter_type
action find
entity prev_answer
relation P50
type Q502895
[ANSWER], [ANSWER] and [ANSWER] penned those collectables
['Q2600270', 'P50', {'concept': 'Q502895'}] ['Q2754105', 'P50', {'concept': 'Q502895'}] ['Q2491178', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q2600270 ) ( resource:Q2754105 ) ( resource:Q2491178 ) } . ?z property:P50 ?f }
Laurie Lee Laurie Lee Laurie Lee
Laurie Lee, Laurie Lee and Laurie Lee penned those collectables
Laurie Lee Laurie Lee Laurie Lee
action filter_type
action find
entity prev_answer
relation author
type common name
['A Moment of War', 'author', {'concept': 'common name'}] ['Cider with Rosie', 'author', {'concept': 'common name'}] ['As I Walked Out One Midsummer Morning', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:A_Moment_of_War ) ( resource:Cider_with_Rosie ) ( resource:As_I_Walked_Out_One_Midsummer_Morning ) } . ?z property:author ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q976071
P1412
Q34770
USER
Which language can that person read ?
(Q976071,P1412,c(Q34770)) (Q976071,P1412,c(Q34770)) (Q976071,P1412,c(Q34770))
action filter_type
action find
entity Q976071
relation P1412
type Q34770
['Q976071', 'P1412', {'concept': 'Q34770'}] ['Q976071', 'P1412', {'concept': 'Q34770'}] ['Q976071', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q976071 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Laurie Lee
action filter_type
action find
entity Laurie Lee
relation languages spoken, written or signed
type language
['Laurie Lee', 'languages spoken, written or signed', {'concept': 'language'}] ['Laurie Lee', 'languages spoken, written or signed', {'concept': 'language'}] ['Laurie Lee', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Laurie_Lee property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q976071,P1412,c(Q34770)) (Q976071,P1412,c(Q34770)) (Q976071,P1412,c(Q34770))
action filter_type
action find
entity Q976071
relation P1412
type Q34770
That person can read the [ANSWER]
['Q976071', 'P1412', {'concept': 'Q34770'}] ['Q976071', 'P1412', {'concept': 'Q34770'}] ['Q976071', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q976071 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
That person can read the English
English
action filter_type
action find
entity Laurie Lee
relation languages spoken, written or signed
type language
['Laurie Lee', 'languages spoken, written or signed', {'concept': 'language'}] ['Laurie Lee', 'languages spoken, written or signed', {'concept': 'language'}] ['Laurie Lee', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Laurie_Lee property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3226636 Q2491178
P161 P123
Q502895
USER
Which people released As I Walked Out One Midsummer Morning or starred in The Novel of Werther ?
OR((Q2491178,P123,c(Q502895)), (Q3226636,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2491178
relation P123
action find
entity Q3226636
relation P161
type Q502895
{'OR': [['Q2491178', 'P123', {'concept': 'Q502895'}], ['Q3226636', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3226636 property:P161 ?b } UNION { resource:Q2491178 property:P123 ?b } } . ?b rdf:type ontology:Q502895 }
The Novel of Werther As I Walked Out One Midsummer Morning
action filter_type
action union
action find
entity As I Walked Out One Midsummer Morning
relation publisher
action find
entity The Novel of Werther
relation cast member
type common name
{'OR': [['As I Walked Out One Midsummer Morning', 'publisher', {'concept': 'common name'}], ['The Novel of Werther', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:The_Novel_of_Werther property:cast_member ?b } UNION { resource:As_I_Walked_Out_One_Midsummer_Morning property:publisher ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q3271129 Q3171032 Q518311 Q3295268 Q3380634 Q3174172 Q3384632 Q2851714 Q3439198 Q3069055
SYSTEM
Some of them are Léon Larive, Jean Buquet, André Deutsch, Martial Rèbe, Philippe Richard, Jean Périer, Pierre Darteuil, Annie Vernay, Roger Legris, Fernand Blot
Q3301396 Q472701 Q3439198 Q3436183 Q18179121 Q3295268 Q3172199 Q518311 Q3380634 Q3171032 Q3047740 Q2851714 Q3372643 Q3271129 Q3384632 Q3271575 Q3102293 Q3131243 Q3174172 Q3069055 Q3103625 Q3023047 Q3122957
OR((Q2491178,P123,c(Q502895)), (Q3226636,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2491178
relation P123
action find
entity Q3226636
relation P161
type Q502895
[ANSWERS] released As I Walked Out One Midsummer Morning or starred in The Novel of Werther
{'OR': [['Q2491178', 'P123', {'concept': 'Q502895'}], ['Q3226636', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3226636 property:P161 ?b } UNION { resource:Q2491178 property:P123 ?b } } . ?b rdf:type ontology:Q502895 }
Maurice Schutz Pierre Richard-Willm Roger Legris Robert Rollis Henri Beaulieu Martial Rèbe Jean Galland André Deutsch Philippe Richard Jean Buquet Edmond Beauchamp Annie Vernay Paulette Pax Léon Larive Pierre Darteuil Léonce Corne Georges Bever Henri Guisol Jean Périer Fernand Blot Georges Vitray Denise Kerny Génia Vaury
Léon Larive, Jean Buquet, André Deutsch, Martial Rèbe, Philippe Richard, Jean Périer, Pierre Darteuil, Annie Vernay, Roger Legris and Fernand Blot released As I Walked Out One Midsummer Morning or starred in The Novel of Werther
Léon Larive Jean Buquet André Deutsch Martial Rèbe Philippe Richard Jean Périer Pierre Darteuil Annie Vernay Roger Legris Fernand Blot
action filter_type
action union
action find
entity As I Walked Out One Midsummer Morning
relation publisher
action find
entity The Novel of Werther
relation cast member
type common name
{'OR': [['As I Walked Out One Midsummer Morning', 'publisher', {'concept': 'common name'}], ['The Novel of Werther', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:The_Novel_of_Werther property:cast_member ?b } UNION { resource:As_I_Walked_Out_One_Midsummer_Morning property:publisher ?b } } . ?b rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P123
Q2342494
USER
How many collectables produced that person ?
(c(Q2342494),P123,Q518311)
[{'concept': 'Q2342494'}, 'P123', 'Q518311']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2516866 resource:Q518311 . ?z rdf:type ontology:Q2342494 }
[{'concept': 'collectable'}, 'publisher', 'André Deutsch']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:publisher resource:André_Deutsch . ?z rdf:type ontology:collectable }
[]
collectable
Quantitative|Count|Single entity type|Clarification
Q2851714
SYSTEM
Did you mean Annie Vernay ?
(c(Q2342494),P123,Q3271129) (c(Q2342494),P123,Q3171032) (c(Q2342494),P123,Q518311) (c(Q2342494),P123,Q3295268) (c(Q2342494),P123,Q3380634) (c(Q2342494),P123,Q3174172) (c(Q2342494),P123,Q3384632) (c(Q2342494),P123,Q2851714) (c(Q2342494),P123,Q3439198) (c(Q2342494),P123,Q3069055)
[ANSWER]
[{'concept': 'Q2342494'}, 'P123', 'Q3271129'] [{'concept': 'Q2342494'}, 'P123', 'Q3171032'] [{'concept': 'Q2342494'}, 'P123', 'Q518311'] [{'concept': 'Q2342494'}, 'P123', 'Q3295268'] [{'concept': 'Q2342494'}, 'P123', 'Q3380634'] [{'concept': 'Q2342494'}, 'P123', 'Q3174172'] [{'concept': 'Q2342494'}, 'P123', 'Q3384632'] [{'concept': 'Q2342494'}, 'P123', 'Q2851714'] [{'concept': 'Q2342494'}, 'P123', 'Q3439198'] [{'concept': 'Q2342494'}, 'P123', 'Q3069055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2516866 resource:Q518311 . ?z rdf:type ontology:Q2342494 }
Did you mean Annie Vernay ?
Annie Vernay
[{'concept': 'collectable'}, 'publisher', 'Léon Larive'] [{'concept': 'collectable'}, 'publisher', 'Jean Buquet'] [{'concept': 'collectable'}, 'publisher', 'André Deutsch'] [{'concept': 'collectable'}, 'publisher', 'Martial Rèbe'] [{'concept': 'collectable'}, 'publisher', 'Philippe Richard'] [{'concept': 'collectable'}, 'publisher', 'Jean Périer'] [{'concept': 'collectable'}, 'publisher', 'Pierre Darteuil'] [{'concept': 'collectable'}, 'publisher', 'Annie Vernay'] [{'concept': 'collectable'}, 'publisher', 'Roger Legris'] [{'concept': 'collectable'}, 'publisher', 'Fernand Blot']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:publisher resource:André_Deutsch . ?z rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant André Deutsch. Could you tell me the answer for that?
(c(Q2342494),P123,Q518311)
Q518311
[{'concept': 'Q2342494'}, 'P123', 'Q518311']
[{'concept': 'collectable'}, 'publisher', 'André Deutsch']
[]
SYSTEM
29
Q7767188 Q7335613 Q23307444 Q4655878 Q7741260 Q3797477 Q6303457 Q7721504 Q7539700 Q7142649 Q4657437 Q2268151 Q7731932 Q16386302 Q7560682 Q7191236 Q2085749 Q4656794 Q7752937 Q1801920 Q7770993 Q3797754 Q7749137 Q16385889 Q17103648 Q2491178 Q7782430 Q6316133 Q7748513
(c(Q2342494),P123,Q518311)
[ANSWER]
[{'concept': 'Q2342494'}, 'P123', 'Q518311']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2516866 resource:Q518311 . ?z rdf:type ontology:Q2342494 }
The Suffrage of Elvira Ripley Bogle A Cure for Serpents A Choice of Enemies The Ice-Shirt In a Free State Judith Hearne The Case of Thomas N. Sleep It Off Lady Passing On A House for Mr Biswas Wide Sargasso Sea The Emperor of Ice-Cream In the Labyrinth Son of a Smaller Hero Pictures from the Water Trade The Apprenticeship of Duddy Kravitz A Flag on the Island The Mystic Masseur An Area of Darkness The Type One Super Robot Moon Tiger The Luck of Ginger Coffey Guerrillas City of the Mind As I Walked Out One Midsummer Morning Theory of War Just Like That The Loss of El Dorado
29
[{'concept': 'collectable'}, 'publisher', 'André Deutsch']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:publisher resource:André_Deutsch . ?z rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3479120
P725
Q502895 Q15619164
USER
Which abstract beings had more number of people as the dubbing artist than Seras Victoria ?
(c(Q15619164),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q3479120
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:P725 ?q . ?p rdf:type ontology:Q15619164 . ?q rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q3479120 property:P725 ?c . ?c rdf:type ontology:Q15619164 } } . FILTER ( ?z > ?i ) }
Seras Victoria
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Seras Victoria
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:voice_actor ?q . ?p rdf:type ontology:abstract_being . ?q rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Seras_Victoria property:voice_actor ?c . ?c rdf:type ontology:abstract_being } } . FILTER ( ?z > ?i ) }
[]
common name abstract being
Q5409355 Q2081430 Q2293269
SYSTEM
Fluttershy, Fox McCloud, Falco Lombardi
Q15710470 Q3190648 Q5409355 Q14432243 Q15711505 Q20948918 Q15141427 Q20972916 Q3222756 Q21036253 Q12739035 Q9300505 Q3152983 Q10343913 Q2270749 Q20949674 Q2293269 Q4023191 Q2320215 Q2081430 Q977511 Q17628767 Q3565718 Q3271686 Q11297446 Q3858633 Q844697 Q3482136 Q8212419 Q14432283 Q2151996 Q15730337 Q2663645 Q3054222 Q3054224 Q568553 Q7468973 Q3966728 Q4810757 Q15710460 Q3222748 Q14429586
(c(Q15619164),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q3479120
relation P725
type Q15619164
[ANSWERS] had more number of people as the dubbing artist than Seras Victoria
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:P725 ?q . ?p rdf:type ontology:Q15619164 . ?q rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q3479120 property:P725 ?c . ?c rdf:type ontology:Q15619164 } } . FILTER ( ?z > ?i ) }
Big McIntosh Kari Kamiya Fluttershy Bill Grey Braeburn Andrew Oikonny Pinkie Pie ROB Pigma Dengar Tricky Rainbow Dash Rarity Integra Hellsing Palutena Pit General Pepper Falco Lombardi Yui Hirasawa Wolf O'Donnell Fox McCloud Shizuka Minamoto Diablo Walter C. Dornez Andross Kyūbey Mio Akiyama Shinichi Kudo Alexander Anderson Leon Powalski Katt Monroe Constance Harm Babs Seed Krystal Slippy Toad Peppy Hare Link Applejack Spike Tyrael Gilda, the Griffin James McCloud Panther Caroso
Fluttershy, Fox McCloud and Falco Lombardi had more number of people as the dubbing artist than Seras Victoria
Fluttershy Fox McCloud Falco Lombardi
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Seras Victoria
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?z ) WHERE { ?p property:voice_actor ?q . ?p rdf:type ontology:abstract_being . ?q rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Seras_Victoria property:voice_actor ?c . ?c rdf:type ontology:abstract_being } } . FILTER ( ?z > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q20972916
P725
Q502895 Q15619164
USER
And also tell me about ROB?
(c(Q15619164),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q20972916
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?q ) WHERE { ?w property:P725 ?f . ?f rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15619164 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q20972916 property:P725 ?o . ?o rdf:type ontology:Q15619164 } } . FILTER ( ?q > ?x ) }
ROB
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity ROB
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?q ) WHERE { ?w property:voice_actor ?f . ?f rdf:type ontology:common_name . ?w rdf:type ontology:abstract_being } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:ROB property:voice_actor ?o . ?o rdf:type ontology:abstract_being } } . FILTER ( ?q > ?x ) }
[]
common name abstract being
Q5409355 Q2081430 Q2293269
SYSTEM
Fluttershy, Fox McCloud, Falco Lombardi
Q5409355 Q20949674 Q2293269 Q2320215 Q2081430 Q3054224 Q568553
(c(Q15619164),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q20972916
relation P725
type Q15619164
[ANSWERS]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?q ) WHERE { ?w property:P725 ?f . ?f rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15619164 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q20972916 property:P725 ?o . ?o rdf:type ontology:Q15619164 } } . FILTER ( ?q > ?x ) }
Fluttershy General Pepper Falco Lombardi Wolf O'Donnell Fox McCloud Peppy Hare Link
Fluttershy Fox McCloud Falco Lombardi
action greater
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity ROB
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?q ) WHERE { ?w property:voice_actor ?f . ?f rdf:type ontology:common_name . ?w rdf:type ontology:abstract_being } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:ROB property:voice_actor ?o . ?o rdf:type ontology:abstract_being } } . FILTER ( ?q > ?x ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3025883 Q188874
P2293
Q863908
USER
Which nucleic acid sequences have genetic correlation with colorectal cancer and type 2 diabetes mellitus ?
AND((Q188874,P2293,c(Q863908)), (Q3025883,P2293,c(Q863908)))
action filter_type
action intersection
action find
entity Q188874
relation P2293
action find
entity Q3025883
relation P2293
type Q863908
{'AND': [['Q188874', 'P2293', {'concept': 'Q863908'}], ['Q3025883', 'P2293', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?i WHERE { resource:Q188874 property:P2293 ?i . resource:Q3025883 property:P2293 ?i . ?i rdf:type ontology:Q863908 }
type 2 diabetes mellitus colorectal cancer
action filter_type
action intersection
action find
entity colorectal cancer
relation genetic association
action find
entity type 2 diabetes mellitus
relation genetic association
type nucleic acid sequence
{'AND': [['colorectal cancer', 'genetic association', {'concept': 'nucleic acid sequence'}], ['type 2 diabetes mellitus', 'genetic association', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?i WHERE { resource:colorectal_cancer property:genetic_association ?i . resource:type_2_diabetes_mellitus property:genetic_association ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14913892
SYSTEM
TCF7L2
Q14913892
AND((Q188874,P2293,c(Q863908)), (Q3025883,P2293,c(Q863908)))
action filter_type
action intersection
action find
entity Q188874
relation P2293
action find
entity Q3025883
relation P2293
type Q863908
And [ANSWER] have genetic correlation with colorectal cancer and type 2 diabetes mellitus
{'AND': [['Q188874', 'P2293', {'concept': 'Q863908'}], ['Q3025883', 'P2293', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?i WHERE { resource:Q188874 property:P2293 ?i . resource:Q3025883 property:P2293 ?i . ?i rdf:type ontology:Q863908 }
TCF7L2
And TCF7L2 have genetic correlation with colorectal cancer and type 2 diabetes mellitus
TCF7L2
action filter_type
action intersection
action find
entity colorectal cancer
relation genetic association
action find
entity type 2 diabetes mellitus
relation genetic association
type nucleic acid sequence
{'AND': [['colorectal cancer', 'genetic association', {'concept': 'nucleic acid sequence'}], ['type 2 diabetes mellitus', 'genetic association', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?i WHERE { resource:colorectal_cancer property:genetic_association ?i . resource:type_2_diabetes_mellitus property:genetic_association ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14913892 Q19000562
P2293
Q2057971
USER
Is metastatic synovial sarcoma genetically linked with that nucleic acid sequence ?
(Q19000562,P2293,Q14913892)
action is_in
entity Q19000562
action find
entity Q14913892
relation P2293
['Q19000562', 'P2293', 'Q14913892']
ASK WHERE { resource:Q14913892 property:P2293 resource:Q19000562 }
TCF7L2 metastatic synovial sarcoma
action is_in
entity metastatic synovial sarcoma
action find
entity TCF7L2
relation genetic association
['metastatic synovial sarcoma', 'genetic association', 'TCF7L2']
ASK WHERE { resource:TCF7L2 property:genetic_association resource:metastatic_synovial_sarcoma }
[]
health problem
SYSTEM
NO
(Q19000562,P2293,Q14913892)
action is_in
entity Q19000562
action find
entity Q14913892
relation P2293
[ANSWER]
['Q19000562', 'P2293', 'Q14913892']
ASK WHERE { resource:Q14913892 property:P2293 resource:Q19000562 }
No
action is_in
entity metastatic synovial sarcoma
action find
entity TCF7L2
relation genetic association
['metastatic synovial sarcoma', 'genetic association', 'TCF7L2']
ASK WHERE { resource:TCF7L2 property:genetic_association resource:metastatic_synovial_sarcoma }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q181923 Q188874
P2293
Q863908
USER
Which nucleic acid sequences have genetic connection with colorectal cancer or attention deficit hyperactivity disorder ?
OR((Q188874,P2293,c(Q863908)), (Q181923,P2293,c(Q863908)))
action filter_type
action union
action find
entity Q188874
relation P2293
action find
entity Q181923
relation P2293
type Q863908
{'OR': [['Q188874', 'P2293', {'concept': 'Q863908'}], ['Q181923', 'P2293', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q863908 . { { resource:Q188874 property:P2293 ?l } UNION { resource:Q181923 property:P2293 ?l } } }
attention deficit hyperactivity disorder colorectal cancer
action filter_type
action union
action find
entity colorectal cancer
relation genetic association
action find
entity attention deficit hyperactivity disorder
relation genetic association
type nucleic acid sequence
{'OR': [['colorectal cancer', 'genetic association', {'concept': 'nucleic acid sequence'}], ['attention deficit hyperactivity disorder', 'genetic association', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nucleic_acid_sequence . { { resource:colorectal_cancer property:genetic_association ?l } UNION { resource:attention_deficit_hyperactivity_disorder property:genetic_association ?l } } }
[]
nucleic acid sequence
Q18034400 Q17928393 Q18045980 Q18032658 Q18040602 Q14881709 Q18053364 Q718087 Q18034877 Q18055322
SYSTEM
Some of them are CREB5, FHIT, ELOVL6, REEP5, BCL11A, ADAMTS2, UNC5B, ARSB, ATP2C2, CCDC190
Q15321191 Q18034877 Q18045980 Q14913892 Q18028867 Q18031866 Q18028844 Q1181014 Q18040392 Q18295061 Q20970123 Q18034530 Q18036498 Q17916791 Q18041733 Q18028460 Q18034400 Q18048027 Q5198271 Q18032658 Q18042174 Q18032955 Q18035334 Q14912958 Q18038769 Q18051090 Q18026507 Q18049053 Q18037030 Q14865010 Q18041678 Q18053504 Q18055322 Q18029240 Q15316113 Q18032011 Q18035617 Q18053900 Q18031583 Q18047244 Q18026547 Q17914420 Q18040602 Q18043142 Q18035924 Q17928393 Q18047679 Q18028450 Q18045643 Q14881709 Q17859787 Q18035011 Q18038668 Q18053364 Q14904375 Q18036678 Q15318896 Q718087 Q18042141
OR((Q188874,P2293,c(Q863908)), (Q181923,P2293,c(Q863908)))
action filter_type
action union
action find
entity Q188874
relation P2293
action find
entity Q181923
relation P2293
type Q863908
[ANSWERS] have genetic connection with colorectal cancer or attention deficit hyperactivity disorder
{'OR': [['Q188874', 'P2293', {'concept': 'Q863908'}], ['Q181923', 'P2293', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q863908 . { { resource:Q188874 property:P2293 ?l } UNION { resource:Q181923 property:P2293 ?l } } }
ITGAE ATP2C2 ELOVL6 TCF7L2 MAP1B TBX3 MAN2A2 DNM1 NT5DC3 PAWR ATP8B1 PPM1F ITGA11 EMP2 ACOXL LAMC1 CREB5 RHPN2 CCND2 REEP5 SULF2 SUPT3H SEMA3A BMPR1B ZNF544 PIWIL4 GRIK4 CSMD2 ASTN2 STIP1 PNMAL1 KIF6 CCDC190 MOBP CDH13 TLL2 POLD3 HSPA12A SLC22A3 FERMT3 GRM5 DPP6 BCL11A LRRC7 MMP24 FHIT KIRREL3 LAMA5 NXN ADAMTS2 CDH1 GPC6 MORC1 UNC5B SMAD7 MYT1L FOXP1 ARSB MYNN
CREB5, FHIT, ELOVL6, REEP5, BCL11A, ADAMTS2, UNC5B, ARSB, ATP2C2 and CCDC190 have genetic connection with colorectal cancer or attention deficit hyperactivity disorder
CREB5 FHIT ELOVL6 REEP5 BCL11A ADAMTS2 UNC5B ARSB ATP2C2 CCDC190
action filter_type
action union
action find
entity colorectal cancer
relation genetic association
action find
entity attention deficit hyperactivity disorder
relation genetic association
type nucleic acid sequence
{'OR': [['colorectal cancer', 'genetic association', {'concept': 'nucleic acid sequence'}], ['attention deficit hyperactivity disorder', 'genetic association', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nucleic_acid_sequence . { { resource:colorectal_cancer property:genetic_association ?l } UNION { resource:attention_deficit_hyperactivity_disorder property:genetic_association ?l } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P688
Q181394
USER
How many nutrients do that nucleic acid sequence encode ?
(Q18034400,P688,c(Q181394))
['Q18034400', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q24574509 property:P688 ?z . ?z rdf:type ontology:Q181394 }
['CREB5', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:CREB5 property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
nutrient
Quantitative|Count|Single entity type|Clarification
Q18053364
SYSTEM
Did you mean UNC5B ?
(Q18034400,P688,c(Q181394)) (Q17928393,P688,c(Q181394)) (Q18045980,P688,c(Q181394)) (Q18032658,P688,c(Q181394)) (Q18040602,P688,c(Q181394)) (Q14881709,P688,c(Q181394)) (Q18053364,P688,c(Q181394)) (Q718087,P688,c(Q181394)) (Q18034877,P688,c(Q181394)) (Q18055322,P688,c(Q181394))
[ANSWER]
['Q18034400', 'P688', {'concept': 'Q181394'}] ['Q17928393', 'P688', {'concept': 'Q181394'}] ['Q18045980', 'P688', {'concept': 'Q181394'}] ['Q18032658', 'P688', {'concept': 'Q181394'}] ['Q18040602', 'P688', {'concept': 'Q181394'}] ['Q14881709', 'P688', {'concept': 'Q181394'}] ['Q18053364', 'P688', {'concept': 'Q181394'}] ['Q718087', 'P688', {'concept': 'Q181394'}] ['Q18034877', 'P688', {'concept': 'Q181394'}] ['Q18055322', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q24574509 property:P688 ?z . ?z rdf:type ontology:Q181394 }
Did you mean UNC5B ?
UNC5B
['CREB5', 'encodes', {'concept': 'nutrient'}] ['FHIT', 'encodes', {'concept': 'nutrient'}] ['ELOVL6', 'encodes', {'concept': 'nutrient'}] ['REEP5', 'encodes', {'concept': 'nutrient'}] ['BCL11A', 'encodes', {'concept': 'nutrient'}] ['ADAMTS2', 'encodes', {'concept': 'nutrient'}] ['UNC5B', 'encodes', {'concept': 'nutrient'}] ['ARSB', 'encodes', {'concept': 'nutrient'}] ['ATP2C2', 'encodes', {'concept': 'nutrient'}] ['CCDC190', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:CREB5 property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant CREB5. Could you tell me the answer for that?
(Q18034400,P688,c(Q181394))
Q18034400
['Q18034400', 'P688', {'concept': 'Q181394'}]
['CREB5', 'encodes', {'concept': 'nutrient'}]
[]
SYSTEM
2
Q21140373 Q21110795
(Q18034400,P688,c(Q181394))
[ANSWER]
['Q18034400', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q24574509 property:P688 ?z . ?z rdf:type ontology:Q181394 }
Cyclic AMP-responsive element-binding protein 5 Cyclic AMP-responsive element-binding protein 5
2
['CREB5', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:CREB5 property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18034400
P703
Q16521
USER
Which taxon is CREB5 found in ?
(Q18034400,P703,c(Q16521))
action filter_type
action find
entity Q18034400
relation P703
type Q16521
['Q18034400', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?p WHERE { resource:Q18034400 property:P703 ?p . ?p rdf:type ontology:Q16521 }
CREB5
action filter_type
action find
entity CREB5
relation found in taxon
type taxon
['CREB5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?p WHERE { resource:CREB5 property:found_in_taxon ?p . ?p rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18034400,P703,c(Q16521))
action filter_type
action find
entity Q18034400
relation P703
type Q16521
CREB5 is found in [ANSWER]
['Q18034400', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?p WHERE { resource:Q18034400 property:P703 ?p . ?p rdf:type ontology:Q16521 }
Homo sapiens
CREB5 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity CREB5
relation found in taxon
type taxon
['CREB5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?p WHERE { resource:CREB5 property:found_in_taxon ?p . ?p rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5531638 Q6296396
P495
Q15617994
USER
Which administrative territories are the countries of origin of Journey Into Spring or General's Son III ?
OR((Q6296396,P495,c(Q15617994)), (Q5531638,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6296396
relation P495
action find
entity Q5531638
relation P495
type Q15617994
{'OR': [['Q6296396', 'P495', {'concept': 'Q15617994'}], ['Q5531638', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?a ) { ( resource:Q5531638 ) ( resource:Q6296396 ) } . ?a property:P495 ?t } . ?t rdf:type ontology:Q15617994 }
General's Son III Journey Into Spring
action filter_type
action union
action find
entity Journey Into Spring
relation country of origin
action find
entity General's Son III
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Journey Into Spring', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ["General's Son III", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?a ) { ( resource:General's_Son_III ) ( resource:Journey_Into_Spring ) } . ?a property:country_of_origin ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q145
SYSTEM
South Korea, United Kingdom
Q884 Q145
OR((Q6296396,P495,c(Q15617994)), (Q5531638,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6296396
relation P495
action find
entity Q5531638
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Journey Into Spring or General's Son III
{'OR': [['Q6296396', 'P495', {'concept': 'Q15617994'}], ['Q5531638', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?a ) { ( resource:Q5531638 ) ( resource:Q6296396 ) } . ?a property:P495 ?t } . ?t rdf:type ontology:Q15617994 }
South Korea United Kingdom
South Korea and United Kingdom are the countries of origin of Journey Into Spring or General's Son III
South Korea United Kingdom
action filter_type
action union
action find
entity Journey Into Spring
relation country of origin
action find
entity General's Son III
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Journey Into Spring', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ["General's Son III", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?a ) { ( resource:General's_Son_III ) ( resource:Journey_Into_Spring ) } . ?a property:country_of_origin ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]