Simple Question (Direct)
Simple Question
Q231708
P509
Q2057971
USER
What was the cause of death of Edith Nesbit ?
(Q231708,P509,c(Q2057971))
action filter_type
action find
entity Q231708
relation P509
type Q2057971
['Q231708', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q231708 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
Edith Nesbit
action filter_type
action find
entity Edith Nesbit
relation cause of death
type health problem
['Edith Nesbit', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Edith_Nesbit property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
health problem
Q47912
SYSTEM
lung cancer
Q47912
(Q231708,P509,c(Q2057971))
action filter_type
action find
entity Q231708
relation P509
type Q2057971
The cause of death of Edith Nesbit was [ANSWER]
['Q231708', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q231708 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
lung cancer
The cause of death of Edith Nesbit was lung cancer
lung cancer
action filter_type
action find
entity Edith Nesbit
relation cause of death
type health problem
['Edith Nesbit', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Edith_Nesbit property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47912
P1542
Q12136
USER
Which disease was the cause of that health problem ?
(c(Q12136),P1542,Q47912)
action filter_type
action find_reverse
entity Q47912
relation P1542
type Q12136
[{'concept': 'Q12136'}, 'P1542', 'Q47912']
SELECT DISTINCT ?v WHERE { ?v property:P1542 resource:Q47912 . ?v rdf:type ontology:Q12136 }
lung cancer
action filter_type
action find_reverse
entity lung cancer
relation cause of
type disease
[{'concept': 'disease'}, 'cause of', 'lung cancer']
SELECT DISTINCT ?v WHERE { ?v property:cause_of resource:lung_cancer . ?v rdf:type ontology:disease }
[]
disease
Q730249
SYSTEM
arsenic poisoning
Q730249
(c(Q12136),P1542,Q47912)
action filter_type
action find_reverse
entity Q47912
relation P1542
type Q12136
[ANSWER] was the cause of that health problem
[{'concept': 'Q12136'}, 'P1542', 'Q47912']
SELECT DISTINCT ?v WHERE { ?v property:P1542 resource:Q47912 . ?v rdf:type ontology:Q12136 }
arsenic poisoning
Arsenic poisoning was the cause of that health problem
arsenic poisoning
action filter_type
action find_reverse
entity lung cancer
relation cause of
type disease
[{'concept': 'disease'}, 'cause of', 'lung cancer']
SELECT DISTINCT ?v WHERE { ?v property:cause_of resource:lung_cancer . ?v rdf:type ontology:disease }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q730249 Q18967090
P780
Q1441305
USER
Is hearing disorder a symptom of that disease ?
(Q730249,P780,Q18967090)
action is_in
entity Q18967090
action find
entity Q730249
relation P780
['Q730249', 'P780', 'Q18967090']
ASK WHERE { resource:Q730249 property:P780 resource:Q18967090 }
arsenic poisoning hearing disorder
action is_in
entity hearing disorder
action find
entity arsenic poisoning
relation symptoms
['arsenic poisoning', 'symptoms', 'hearing disorder']
ASK WHERE { resource:arsenic_poisoning property:symptoms resource:hearing_disorder }
[]
medical sign
SYSTEM
NO
(Q730249,P780,Q18967090)
action is_in
entity Q18967090
action find
entity Q730249
relation P780
[ANSWER]
['Q730249', 'P780', 'Q18967090']
ASK WHERE { resource:Q730249 property:P780 resource:Q18967090 }
No
action is_in
entity hearing disorder
action find
entity arsenic poisoning
relation symptoms
['arsenic poisoning', 'symptoms', 'hearing disorder']
ASK WHERE { resource:arsenic_poisoning property:symptoms resource:hearing_disorder }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2389289
P921
Q12136 Q2342494 Q732577
USER
Which diseases were the main subjects of around the same number of collectables or publications 's work as occupational injury ?
(c(Q2342494)|c(Q732577),P921,c(Q12136))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12136
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12136
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q2389289
relation P921
type Q2342494
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P921 ?m . ?m rdf:type ontology:Q12136 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P921 ?m . ?m rdf:type ontology:Q12136 . ?a rdf:type ontology:Q732577 } } GROUP BY ?m } . FILTER ( ?r = ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P921 resource:Q2389289 . { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q732577 } } } } }
occupational injury
action approx
action union
action find_reverse_tuple_counts
relation main subject
type disease
type collectable
action find_reverse_tuple_counts
relation main subject
type disease
type publication
action count
action filter_multi_types
action find_reverse
entity occupational injury
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:main_subject ?m . ?m rdf:type ontology:disease . ?a rdf:type ontology:collectable } UNION { ?a property:main_subject ?m . ?m rdf:type ontology:disease . ?a rdf:type ontology:publication } } GROUP BY ?m } . FILTER ( ?r = ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:main_subject resource:occupational_injury . { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:publication } } } } }
[]
disease collectable publication
Q41112 Q12078 Q1869874
SYSTEM
schizophrenia, cancer, insomnia
Q7611228 Q23900716 Q181843 Q4133283 Q366964 Q1331105 Q15326 Q18967413 Q642598 Q12198 Q1345671 Q41112 Q708165 Q3073143 Q6467269 Q609748 Q573557 Q2211650 Q2936210 Q13604751 Q852163 Q182672 Q252185 Q922971 Q26989028 Q3281402 Q26989024 Q33487 Q26989045 Q166005 Q1869874 Q21281037 Q12078 Q12133 Q2389289 Q877796 Q2820891 Q5861610
(c(Q2342494)|c(Q732577),P921,c(Q12136))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12136
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12136
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q2389289
relation P921
type Q2342494
type Q732577
[ANSWERS] were the main subjects of around the same number of collectables or publications 's work as occupational injury
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P921 ?m . ?m rdf:type ontology:Q12136 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P921 ?m . ?m rdf:type ontology:Q12136 . ?a rdf:type ontology:Q732577 } } GROUP BY ?m } . FILTER ( ?r = ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P921 resource:Q2389289 . { { ?o rdf:type ontology:Q2342494 } UNION { ?o rdf:type ontology:Q732577 } } } } }
Stereoblindness occupational cardiovascular disease Necrophilia Speech sound disorder adrenoleukodystrophy Symphorophilia alcoholism RNA virus infectious disease Münchausen syndrome sexually transmitted disease tropical disease schizophrenia Arthrogryposis Mayaro virus disease Laboratory animal allergy emerging infectious disease Candaulism sadomasochism occupational cancer lovesickness lower back pain zoonosis erotomania Acanthamoeba keratitis low back disorder vector-borne disease occupationally acquired infection homophobia neurotoxic disorder xenophobia insomnia biliary disease cancer deafness occupational injury repetitive strain injury amoebic liver abscess Bwamba Fever
Schizophrenia, cancer and insomnia were the main subjects of around the same number of collectables or publications 's work as occupational injury
schizophrenia cancer insomnia
action approx
action union
action find_reverse_tuple_counts
relation main subject
type disease
type collectable
action find_reverse_tuple_counts
relation main subject
type disease
type publication
action count
action filter_multi_types
action find_reverse
entity occupational injury
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:main_subject ?m . ?m rdf:type ontology:disease . ?a rdf:type ontology:collectable } UNION { ?a property:main_subject ?m . ?m rdf:type ontology:disease . ?a rdf:type ontology:publication } } GROUP BY ?m } . FILTER ( ?r = ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:main_subject resource:occupational_injury . { { ?o rdf:type ontology:collectable } UNION { ?o rdf:type ontology:publication } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3073143
P921
Q12136 Q2342494 Q732577
USER
And what about Mayaro virus disease?
(c(Q2342494)|c(Q732577),P921,c(Q12136))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12136
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12136
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q3073143
relation P921
type Q2342494
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P921 resource:Q3073143 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q732577 } } } } . FILTER ( ?e = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:P921 ?j . ?j rdf:type ontology:Q12136 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P921 ?j . ?s rdf:type ontology:Q732577 . ?j rdf:type ontology:Q12136 } } GROUP BY ?j } }
Mayaro virus disease
action approx
action union
action find_reverse_tuple_counts
relation main subject
type disease
type collectable
action find_reverse_tuple_counts
relation main subject
type disease
type publication
action count
action filter_multi_types
action find_reverse
entity Mayaro virus disease
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:main_subject resource:Mayaro_virus_disease . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:publication } } } } . FILTER ( ?e = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:main_subject ?j . ?j rdf:type ontology:disease . ?s rdf:type ontology:collectable } UNION { ?s property:main_subject ?j . ?s rdf:type ontology:publication . ?j rdf:type ontology:disease } } GROUP BY ?j } }
[]
disease collectable publication
Q41112 Q12078 Q1869874
SYSTEM
schizophrenia, cancer, insomnia
Q7611228 Q23900716 Q181843 Q4133283 Q366964 Q1331105 Q15326 Q18967413 Q642598 Q12198 Q1345671 Q41112 Q708165 Q3073143 Q6467269 Q609748 Q573557 Q2211650 Q2936210 Q13604751 Q852163 Q182672 Q252185 Q922971 Q26989028 Q3281402 Q26989024 Q33487 Q26989045 Q166005 Q1869874 Q21281037 Q12078 Q12133 Q2389289 Q877796 Q2820891 Q5861610
(c(Q2342494)|c(Q732577),P921,c(Q12136))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12136
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12136
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q3073143
relation P921
type Q2342494
type Q732577
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P921 resource:Q3073143 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q732577 } } } } . FILTER ( ?e = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:P921 ?j . ?j rdf:type ontology:Q12136 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P921 ?j . ?s rdf:type ontology:Q732577 . ?j rdf:type ontology:Q12136 } } GROUP BY ?j } }
Stereoblindness occupational cardiovascular disease Necrophilia Speech sound disorder adrenoleukodystrophy Symphorophilia alcoholism RNA virus infectious disease Münchausen syndrome sexually transmitted disease tropical disease schizophrenia Arthrogryposis Mayaro virus disease Laboratory animal allergy emerging infectious disease Candaulism sadomasochism occupational cancer lovesickness lower back pain zoonosis erotomania Acanthamoeba keratitis low back disorder vector-borne disease occupationally acquired infection homophobia neurotoxic disorder xenophobia insomnia biliary disease cancer deafness occupational injury repetitive strain injury amoebic liver abscess Bwamba Fever
schizophrenia cancer insomnia
action approx
action union
action find_reverse_tuple_counts
relation main subject
type disease
type collectable
action find_reverse_tuple_counts
relation main subject
type disease
type publication
action count
action filter_multi_types
action find_reverse
entity Mayaro virus disease
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:main_subject resource:Mayaro_virus_disease . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:publication } } } } . FILTER ( ?e = ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?e ) WHERE { { ?s property:main_subject ?j . ?j rdf:type ontology:disease . ?s rdf:type ontology:collectable } UNION { ?s property:main_subject ?j . ?s rdf:type ontology:publication . ?j rdf:type ontology:disease } } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q600571
P828
Q9332 Q12136
USER
Which behaviors are the underlying cause of approximately the same number of diseases as abuse ?
(c(Q12136),P828,c(Q9332))
action approx
action find_reverse_tuple_counts
relation P828
type Q9332
type Q12136
action count
action filter_type
action find
entity Q600571
relation P828
type Q9332
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q9332'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P828 ?q . ?a rdf:type ontology:Q12136 . ?q rdf:type ontology:Q9332 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q600571 property:P828 ?y . ?y rdf:type ontology:Q9332 } } . FILTER ( ?w = ?p ) }
abuse
action approx
action find_reverse_tuple_counts
relation has cause
type behavior
type disease
action count
action filter_type
action find
entity abuse
relation has cause
type behavior
[{'concept': 'disease'}, 'has cause', {'concept': 'behavior'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:has_cause ?q . ?a rdf:type ontology:disease . ?q rdf:type ontology:behavior } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:abuse property:has_cause ?y . ?y rdf:type ontology:behavior } } . FILTER ( ?w = ?p ) }
[]
behavior disease
Q600571 Q6082705
SYSTEM
abuse, Islamic extremism
Q600571 Q6082705
(c(Q12136),P828,c(Q9332))
action approx
action find_reverse_tuple_counts
relation P828
type Q9332
type Q12136
action count
action filter_type
action find
entity Q600571
relation P828
type Q9332
And [ANSWERS] are the underlying cause of approximately the same number of diseases as abuse
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q9332'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P828 ?q . ?a rdf:type ontology:Q12136 . ?q rdf:type ontology:Q9332 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q600571 property:P828 ?y . ?y rdf:type ontology:Q9332 } } . FILTER ( ?w = ?p ) }
abuse Islamic extremism
And abuse and Islamic extremism are the underlying cause of approximately the same number of diseases as abuse
abuse Islamic extremism
action approx
action find_reverse_tuple_counts
relation has cause
type behavior
type disease
action count
action filter_type
action find
entity abuse
relation has cause
type behavior
[{'concept': 'disease'}, 'has cause', {'concept': 'behavior'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:has_cause ?q . ?a rdf:type ontology:disease . ?q rdf:type ontology:behavior } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:abuse property:has_cause ?y . ?y rdf:type ontology:behavior } } . FILTER ( ?w = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q6082705
P828
Q9332 Q12136
USER
And how about Islamic extremism?
(c(Q12136),P828,c(Q9332))
action approx
action find_reverse_tuple_counts
relation P828
type Q9332
type Q12136
action count
action filter_type
action find
entity Q6082705
relation P828
type Q9332
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q9332'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P828 ?q . ?q rdf:type ontology:Q9332 . ?n rdf:type ontology:Q12136 } GROUP BY ?q } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q6082705 property:P828 ?g . ?g rdf:type ontology:Q9332 } } }
Islamic extremism
action approx
action find_reverse_tuple_counts
relation has cause
type behavior
type disease
action count
action filter_type
action find
entity Islamic extremism
relation has cause
type behavior
[{'concept': 'disease'}, 'has cause', {'concept': 'behavior'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:has_cause ?q . ?q rdf:type ontology:behavior . ?n rdf:type ontology:disease } GROUP BY ?q } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Islamic_extremism property:has_cause ?g . ?g rdf:type ontology:behavior } } }
[]
behavior disease
Q600571 Q6082705
SYSTEM
abuse, Islamic extremism
Q600571 Q6082705
(c(Q12136),P828,c(Q9332))
action approx
action find_reverse_tuple_counts
relation P828
type Q9332
type Q12136
action count
action filter_type
action find
entity Q6082705
relation P828
type Q9332
[ANSWERS]
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q9332'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P828 ?q . ?q rdf:type ontology:Q9332 . ?n rdf:type ontology:Q12136 } GROUP BY ?q } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q6082705 property:P828 ?g . ?g rdf:type ontology:Q9332 } } }
abuse Islamic extremism
abuse Islamic extremism
action approx
action find_reverse_tuple_counts
relation has cause
type behavior
type disease
action count
action filter_type
action find
entity Islamic extremism
relation has cause
type behavior
[{'concept': 'disease'}, 'has cause', {'concept': 'behavior'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:has_cause ?q . ?q rdf:type ontology:behavior . ?n rdf:type ontology:disease } GROUP BY ?q } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Islamic_extremism property:has_cause ?g . ?g rdf:type ontology:behavior } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P921
Q9332 Q386724
USER
How many behaviors were discussed in lesser number of works than that behavior ?
(c(Q386724),P921,c(Q9332))
[{'concept': 'Q386724'}, 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P921 ?y . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q9332 }
[{'concept': 'work'}, 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:main_subject ?y . ?z rdf:type ontology:work . ?y rdf:type ontology:behavior }
[]
behavior work
Comparative|Count over More/Less|Single entity type|Clarification
Q6082705
SYSTEM
Did you mean Islamic extremism ?
(c(Q386724),P921,c(Q9332))
[ANSWER]
[{'concept': 'Q386724'}, 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P921 ?y . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q9332 }
Did you mean Islamic extremism ?
Islamic extremism
[{'concept': 'work'}, 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:main_subject ?y . ?z rdf:type ontology:work . ?y rdf:type ontology:behavior }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q386724),P921,c(Q9332))
[{'concept': 'Q386724'}, 'P921', {'concept': 'Q9332'}]
[{'concept': 'work'}, 'main subject', {'concept': 'behavior'}]
[]
SYSTEM
0
(c(Q386724),P921,c(Q9332))
[ANSWER]
[{'concept': 'Q386724'}, 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P921 ?y . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q9332 }
0
[{'concept': 'work'}, 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:main_subject ?y . ?z rdf:type ontology:work . ?y rdf:type ontology:behavior }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q231708
P50
Q2342494
USER
Which collectables were written by Edith Nesbit ?
(c(Q2342494),P50,Q231708)
action filter_type
action find_reverse
entity Q231708
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q231708']
SELECT DISTINCT ?x WHERE { ?x property:P50 resource:Q231708 . ?x rdf:type ontology:Q2342494 }
Edith Nesbit
action filter_type
action find_reverse
entity Edith Nesbit
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Edith Nesbit']
SELECT DISTINCT ?x WHERE { ?x property:author resource:Edith_Nesbit . ?x rdf:type ontology:collectable }
[]
collectable
Q651866 Q2920166 Q7766848
SYSTEM
Five Children and It, The Enchanted Castle, The Story of the Treasure Seekers
Q7766848 Q16845056 Q2920166 Q16386839 Q3795974 Q7766831 Q651866 Q969970 Q19102752 Q4877815
(c(Q2342494),P50,Q231708)
action filter_type
action find_reverse
entity Q231708
relation P50
type Q2342494
And [ANSWERS] were written by Edith Nesbit
[{'concept': 'Q2342494'}, 'P50', 'Q231708']
SELECT DISTINCT ?x WHERE { ?x property:P50 resource:Q231708 . ?x rdf:type ontology:Q2342494 }
The Story of the Treasure Seekers The House of Arden The Enchanted Castle The Magic City The Phoenix and the Carpet The Story of the Amulet Five Children and It The Railway Children The Wouldbegoods Beautiful Stories from Shakespeare
And Five Children and It, The Enchanted Castle and The Story of the Treasure Seekers were written by Edith Nesbit
Five Children and It The Enchanted Castle The Story of the Treasure Seekers
action filter_type
action find_reverse
entity Edith Nesbit
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Edith Nesbit']
SELECT DISTINCT ?x WHERE { ?x property:author resource:Edith_Nesbit . ?x rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7766848
P840
Q56061
USER
Where is that collectable set in ?
(Q7766848,P840,c(Q56061))
action filter_type
action find
entity Q7766848
relation P840
type Q56061
['Q7766848', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7766848 property:P840 ?t . ?t rdf:type ontology:Q56061 }
The Story of the Treasure Seekers
action filter_type
action find
entity The Story of the Treasure Seekers
relation narrative location
type administrative territorial entity
['The Story of the Treasure Seekers', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:The_Story_of_the_Treasure_Seekers property:narrative_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q2920166
SYSTEM
Did you mean The Enchanted Castle ?
Q651866 Q2920166 Q7766848
(Q651866,P840,c(Q56061)) (Q2920166,P840,c(Q56061)) (Q7766848,P840,c(Q56061))
[ANSWER]
['Q651866', 'P840', {'concept': 'Q56061'}] ['Q2920166', 'P840', {'concept': 'Q56061'}] ['Q7766848', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7766848 property:P840 ?t . ?t rdf:type ontology:Q56061 }
Five Children and It The Enchanted Castle The Story of the Treasure Seekers
Did you mean The Enchanted Castle ?
The Enchanted Castle
['Five Children and It', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Enchanted Castle', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Story of the Treasure Seekers', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:The_Story_of_the_Treasure_Seekers property:narrative_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant The Story of the Treasure Seekers. Could you tell me the answer for that?
(Q7766848,P840,c(Q56061))
Q7766848
['Q7766848', 'P840', {'concept': 'Q56061'}]
['The Story of the Treasure Seekers', 'narrative location', {'concept': 'administrative territorial entity'}]
[]
Q84
SYSTEM
London
Q84
(Q7766848,P840,c(Q56061))
action filter_type
action find
entity Q7766848
relation P840
type Q56061
That collectable is set in a [ANSWER]
['Q7766848', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7766848 property:P840 ?t . ?t rdf:type ontology:Q56061 }
London
That collectable is set in a London
London
action filter_type
action find
entity The Story of the Treasure Seekers
relation narrative location
type administrative territorial entity
['The Story of the Treasure Seekers', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:The_Story_of_the_Treasure_Seekers property:narrative_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15978631 Q41112
P703 P2293
Q863908
USER
Which nucleic acid sequences are genetically connected with schizophrenia and are found in Homo sapiens ?
AND((c(Q863908),P2293,Q41112), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q41112
relation P2293
action find_reverse
entity Q15978631
relation P703
type Q863908
{'AND': [[{'concept': 'Q863908'}, 'P2293', 'Q41112'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?y WHERE { ?y property:P2293 resource:Q41112 . ?y property:P703 resource:Q15978631 . ?y rdf:type ontology:Q863908 }
Homo sapiens schizophrenia
action filter_type
action intersection
action find_reverse
entity schizophrenia
relation genetic association
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'genetic association', 'schizophrenia'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?y WHERE { ?y property:genetic_association resource:schizophrenia . ?y property:found_in_taxon resource:Homo_sapiens . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18031520 Q18032986 Q18043105 Q17826316 Q18037645 Q17847588 Q18032520 Q18031807 Q18049953 Q18036628
SYSTEM
Some of them are SLC1A1, PPFIA2, ARHGAP31, ANK3, APOL2, BCL9, TRIM26, SYN2, CNTNAP5, NT5C2
Q18031807 Q18041009 Q18031520 Q18048165 Q18016440 Q18040268 Q18029451 Q15326496 Q14913982 Q18028062 Q20782710 Q18037948 Q18030950 Q414043 Q18030185 Q18036628 Q18034039 Q18047740 Q18037645 Q18048560 Q18049538 Q15316113 Q18039623 Q18049219 Q18036681 Q18045846 Q18046640 Q18036818 Q14905744 Q18041534 Q4044993 Q18035848 Q18045682 Q18050468 Q18044580 Q18042004 Q18052271 Q18032337 Q18032520 Q17826316 Q18032095 Q18032986 Q18049953 Q18043105 Q18032734 Q17847588 Q18052474 Q18037897 Q18041268 Q18053266 Q15318481 Q18048767 Q18047286 Q18037642 Q18047439 Q18035155 Q15317427
AND((c(Q863908),P2293,Q41112), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q41112
relation P2293
action find_reverse
entity Q15978631
relation P703
type Q863908
[ANSWERS] are genetically connected with schizophrenia and are found in Homo sapiens
{'AND': [[{'concept': 'Q863908'}, 'P2293', 'Q41112'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?y WHERE { ?y property:P2293 resource:Q41112 . ?y property:P703 resource:Q15978631 . ?y rdf:type ontology:Q863908 }
SYN2 RIN2 SLC1A1 TSPAN18 ARNTL COMMD10 MSRA RORA TCF4 STT3A DAOA ERC2 PTPRN2 RELN NOTCH4 NT5C2 PLAA MYO18B APOL2 ZNF804A AGBL1 CDH13 CTNNA3 ACSM1 TNIK RTN4R FBXO11 PHF8 CACNA1C KIF26B NPAS3 SDCCAG8 CSMD1 SLCO6A1 ZFYVE28 HHAT NKAIN2 VRK2 TRIM26 ANK3 TRAF3 PPFIA2 CNTNAP5 ARHGAP31 IFT88 BCL9 CCDC60 CNTNAP2 CNNM2 TSNARE1 ZEB2 POM121L2 TMTC1 BRD1 NLRC5 KCNMB2 NFKB1
SLC1A1, PPFIA2, ARHGAP31, ANK3, APOL2, BCL9, TRIM26, SYN2, CNTNAP5 and NT5C2 are genetically connected with schizophrenia and are found in Homo sapiens
SLC1A1 PPFIA2 ARHGAP31 ANK3 APOL2 BCL9 TRIM26 SYN2 CNTNAP5 NT5C2
action filter_type
action intersection
action find_reverse
entity schizophrenia
relation genetic association
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'genetic association', 'schizophrenia'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?y WHERE { ?y property:genetic_association resource:schizophrenia . ?y property:found_in_taxon resource:Homo_sapiens . ?y rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18253838 Q17847588
P688
Q181394
USER
Which nutrients are encoded by BCL9 or Rpl37a ?
OR((Q17847588,P688,c(Q181394)), (Q18253838,P688,c(Q181394)))
action filter_type
action union
action find
entity Q17847588
relation P688
action find
entity Q18253838
relation P688
type Q181394
{'OR': [['Q17847588', 'P688', {'concept': 'Q181394'}], ['Q18253838', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q181394 . { { resource:Q17847588 property:P688 ?a } UNION { resource:Q18253838 property:P688 ?a } } }
Rpl37a BCL9
action filter_type
action union
action find
entity BCL9
relation encodes
action find
entity Rpl37a
relation encodes
type nutrient
{'OR': [['BCL9', 'encodes', {'concept': 'nutrient'}], ['Rpl37a', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:nutrient . { { resource:BCL9 property:encodes ?a } UNION { resource:Rpl37a property:encodes ?a } } }
[]
nutrient
Q21990967 Q21115298
SYSTEM
60S ribosomal protein L37a, B-cell CLL/lymphoma 9 protein
Q21990967 Q21115298
OR((Q17847588,P688,c(Q181394)), (Q18253838,P688,c(Q181394)))
action filter_type
action union
action find
entity Q17847588
relation P688
action find
entity Q18253838
relation P688
type Q181394
The [ANSWERS] are encoded by BCL9 or Rpl37a
{'OR': [['Q17847588', 'P688', {'concept': 'Q181394'}], ['Q18253838', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q181394 . { { resource:Q17847588 property:P688 ?a } UNION { resource:Q18253838 property:P688 ?a } } }
60S ribosomal protein L37a B-cell CLL/lymphoma 9 protein
The 60S ribosomal protein L37a and B-cell CLL/lymphoma 9 protein are encoded by BCL9 or Rpl37a
60S ribosomal protein L37a B-cell CLL/lymphoma 9 protein
action filter_type
action union
action find
entity BCL9
relation encodes
action find
entity Rpl37a
relation encodes
type nutrient
{'OR': [['BCL9', 'encodes', {'concept': 'nutrient'}], ['Rpl37a', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:nutrient . { { resource:BCL9 property:encodes ?a } UNION { resource:Rpl37a property:encodes ?a } } }
[]