Simple Question (Direct)
Simple Question
Q651253
P509
Q2057971
USER
What was the cause of death of Nicolas Chopin ?
(Q651253,P509,c(Q2057971))
action filter_type
action find
entity Q651253
relation P509
type Q2057971
['Q651253', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2057971 . resource:Q651253 property:P509 ?x }
Nicolas Chopin
action filter_type
action find
entity Nicolas Chopin
relation cause of death
type health problem
['Nicolas Chopin', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:health_problem . resource:Nicolas_Chopin property:cause_of_death ?x }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q651253,P509,c(Q2057971))
action filter_type
action find
entity Q651253
relation P509
type Q2057971
The cause of death of Nicolas Chopin was of [ANSWER]
['Q651253', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2057971 . resource:Q651253 property:P509 ?x }
tuberculosis
The cause of death of Nicolas Chopin was of tuberculosis
tuberculosis
action filter_type
action find
entity Nicolas Chopin
relation cause of death
type health problem
['Nicolas Chopin', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:health_problem . resource:Nicolas_Chopin property:cause_of_death ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12204
P180
Q15709879
USER
Which artwork series depicts that health problem ?
(c(Q15709879),P180,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P180
type Q15709879
[{'concept': 'Q15709879'}, 'P180', 'Q12204']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15709879 . ?z property:P180 resource:Q12204 }
tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'tuberculosis']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:artwork_series . ?z property:depicts resource:tuberculosis }
[]
artwork series
Q2267579
SYSTEM
The Sick Child
Q2267579
(c(Q15709879),P180,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P180
type Q15709879
[ANSWER] depicts that health problem
[{'concept': 'Q15709879'}, 'P180', 'Q12204']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15709879 . ?z property:P180 resource:Q12204 }
The Sick Child
The Sick Child depicts that health problem
The Sick Child
action filter_type
action find_reverse
entity tuberculosis
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'tuberculosis']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:artwork_series . ?z property:depicts resource:tuberculosis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12204
P828
Q2057971
USER
What is caused by tuberculosis ?
(c(Q2057971),P828,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q12204']
SELECT DISTINCT ?b WHERE { ?b property:P828 resource:Q12204 . ?b rdf:type ontology:Q2057971 }
tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'tuberculosis']
SELECT DISTINCT ?b WHERE { ?b property:has_cause resource:tuberculosis . ?b rdf:type ontology:health_problem }
[]
health problem
Q7850856
SYSTEM
pericardial tuberculosis
Q7850856
(c(Q2057971),P828,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P828
type Q2057971
Tuberculosis [ANSWER] is caused by tuberculosis
[{'concept': 'Q2057971'}, 'P828', 'Q12204']
SELECT DISTINCT ?b WHERE { ?b property:P828 resource:Q12204 . ?b rdf:type ontology:Q2057971 }
pericardial tuberculosis
Tuberculosis pericardial tuberculosis is caused by tuberculosis
pericardial tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'tuberculosis']
SELECT DISTINCT ?b WHERE { ?b property:has_cause resource:tuberculosis . ?b rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12204
P1542
Q16521
USER
Which taxon caused tuberculosis ?
(c(Q16521),P1542,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P1542
type Q16521
[{'concept': 'Q16521'}, 'P1542', 'Q12204']
SELECT DISTINCT ?d WHERE { ?d property:P1542 resource:Q12204 . ?d rdf:type ontology:Q16521 }
tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation cause of
type taxon
[{'concept': 'taxon'}, 'cause of', 'tuberculosis']
SELECT DISTINCT ?d WHERE { ?d property:cause_of resource:tuberculosis . ?d rdf:type ontology:taxon }
[]
taxon
Q130971
SYSTEM
Mycobacterium tuberculosis
Q130971
(c(Q16521),P1542,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P1542
type Q16521
Tuberculosis [ANSWER] caused tuberculosis
[{'concept': 'Q16521'}, 'P1542', 'Q12204']
SELECT DISTINCT ?d WHERE { ?d property:P1542 resource:Q12204 . ?d rdf:type ontology:Q16521 }
Mycobacterium tuberculosis
Tuberculosis Mycobacterium tuberculosis caused tuberculosis
Mycobacterium tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation cause of
type taxon
[{'concept': 'taxon'}, 'cause of', 'tuberculosis']
SELECT DISTINCT ?d WHERE { ?d property:cause_of resource:tuberculosis . ?d rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12204
P2175
Q796194
USER
Which medical procedure is used for treatment of that health problem ?
(c(Q796194),P2175,Q130971)
action filter_type
action find_reverse
entity Q12204
relation P2175
type Q796194
[{'concept': 'Q796194'}, 'P2175', 'Q130971']
SELECT DISTINCT ?i WHERE { ?i property:P2175 resource:Q12204 . ?i rdf:type ontology:Q796194 }
tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation medical condition treated
type medical procedure
[{'concept': 'medical procedure'}, 'medical condition treated', 'Mycobacterium tuberculosis']
SELECT DISTINCT ?i WHERE { ?i property:medical_condition_treated resource:tuberculosis . ?i rdf:type ontology:medical_procedure }
[]
medical procedure
Q2982723
SYSTEM
artificial pneumothorax
Q2982723
(c(Q796194),P2175,Q130971)
action filter_type
action find_reverse
entity Q12204
relation P2175
type Q796194
[ANSWER] is used for treatment of that health problem
[{'concept': 'Q796194'}, 'P2175', 'Q130971']
SELECT DISTINCT ?i WHERE { ?i property:P2175 resource:Q12204 . ?i rdf:type ontology:Q796194 }
artificial pneumothorax
Artificial pneumothorax is used for treatment of that health problem
artificial pneumothorax
action filter_type
action find_reverse
entity tuberculosis
relation medical condition treated
type medical procedure
[{'concept': 'medical procedure'}, 'medical condition treated', 'Mycobacterium tuberculosis']
SELECT DISTINCT ?i WHERE { ?i property:medical_condition_treated resource:tuberculosis . ?i rdf:type ontology:medical_procedure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12204
P2293
Q863908
USER
Which nucleic acid sequences have genetic correlation with tuberculosis ?
(Q12204,P2293,c(Q863908))
action filter_type
action find
entity Q12204
relation P2293
type Q863908
['Q12204', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?m WHERE { resource:Q12204 property:P2293 ?m . ?m rdf:type ontology:Q863908 }
tuberculosis
action filter_type
action find
entity tuberculosis
relation genetic association
type nucleic acid sequence
['tuberculosis', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?m WHERE { resource:tuberculosis property:genetic_association ?m . ?m rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18027822 Q18046243 Q18046457
SYSTEM
IL2RB, DYNC2H1, NAA60
Q18046243 Q18027822 Q18036707 Q18046457 Q18037839 Q18047505 Q18035367 Q18022927 Q18037162
(Q12204,P2293,c(Q863908))
action filter_type
action find
entity Q12204
relation P2293
type Q863908
[ANSWERS] have genetic correlation with tuberculosis
['Q12204', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?m WHERE { resource:Q12204 property:P2293 ?m . ?m rdf:type ontology:Q863908 }
DYNC2H1 IL2RB VWA8 NAA60 C2CD2 DCUN1D5 SPON1 DSCAM ZFPM2
IL2RB, DYNC2H1 and NAA60 have genetic correlation with tuberculosis
IL2RB DYNC2H1 NAA60
action filter_type
action find
entity tuberculosis
relation genetic association
type nucleic acid sequence
['tuberculosis', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?m WHERE { resource:tuberculosis property:genetic_association ?m . ?m rdf:type ontology:nucleic_acid_sequence }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q129324
P180
Q16521 Q18783400 Q386724
USER
How many taxons are depicted in greater number of genres of sculpture or works than castanea ?
(c(Q18783400)|c(Q386724),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q16521
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q129324
relation P180
type Q18783400
type Q386724
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q386724 ) } . ?u rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P180 resource:Q129324 . { { ?i rdf:type ontology:Q18783400 } UNION { ?i rdf:type ontology:Q386724 } } } } . FILTER ( ?z > ?y ) }
castanea
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type taxon
type work
action count
action filter_multi_types
action find_reverse
entity castanea
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:work ) } . ?u rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:depicts resource:castanea . { { ?i rdf:type ontology:genre_of_sculpture } UNION { ?i rdf:type ontology:work } } } } . FILTER ( ?z > ?y ) }
[]
taxon genre of sculpture work
SYSTEM
7
Q36341 Q2102 Q201701 Q2934 Q23390 Q140 Q34706
(c(Q18783400)|c(Q386724),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q16521
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q129324
relation P180
type Q18783400
type Q386724
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q386724 ) } . ?u rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P180 resource:Q129324 . { { ?i rdf:type ontology:Q18783400 } UNION { ?i rdf:type ontology:Q386724 } } } } . FILTER ( ?z > ?y ) }
brown bear snake pufferfish goat deer lion leopard
7
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type taxon
type work
action count
action filter_multi_types
action find_reverse
entity castanea
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:work ) } . ?u rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:depicts resource:castanea . { { ?i rdf:type ontology:genre_of_sculpture } UNION { ?i rdf:type ontology:work } } } } . FILTER ( ?z > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q312736
P180
Q16521 Q18783400 Q386724
USER
And what about Pandanus tectorius?
(c(Q18783400)|c(Q386724),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q16521
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q312736
relation P180
type Q18783400
type Q386724
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:P180 ?n . ?n rdf:type ontology:Q16521 . ?b rdf:type ontology:Q386724 } UNION { ?n rdf:type ontology:Q16521 . ?b rdf:type ontology:Q18783400 . ?b property:P180 ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q18783400 ) ( ontology:Q386724 ) } } . ?f property:P180 resource:Q312736 } } . FILTER ( ?m > ?k ) }
Pandanus tectorius
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type taxon
type work
action count
action filter_multi_types
action find_reverse
entity Pandanus tectorius
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:depicts ?n . ?n rdf:type ontology:taxon . ?b rdf:type ontology:work } UNION { ?n rdf:type ontology:taxon . ?b rdf:type ontology:genre_of_sculpture . ?b property:depicts ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:genre_of_sculpture ) ( ontology:work ) } } . ?f property:depicts resource:Pandanus_tectorius } } . FILTER ( ?m > ?k ) }
[]
taxon genre of sculpture work
SYSTEM
7
Q36341 Q2102 Q201701 Q2934 Q23390 Q140 Q34706
(c(Q18783400)|c(Q386724),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q16521
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q312736
relation P180
type Q18783400
type Q386724
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:P180 ?n . ?n rdf:type ontology:Q16521 . ?b rdf:type ontology:Q386724 } UNION { ?n rdf:type ontology:Q16521 . ?b rdf:type ontology:Q18783400 . ?b property:P180 ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q18783400 ) ( ontology:Q386724 ) } } . ?f property:P180 resource:Q312736 } } . FILTER ( ?m > ?k ) }
brown bear snake pufferfish goat deer lion leopard
7
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type taxon
type work
action count
action filter_multi_types
action find_reverse
entity Pandanus tectorius
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?m ) WHERE { { ?b property:depicts ?n . ?n rdf:type ontology:taxon . ?b rdf:type ontology:work } UNION { ?n rdf:type ontology:taxon . ?b rdf:type ontology:genre_of_sculpture . ?b property:depicts ?n } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:genre_of_sculpture ) ( ontology:work ) } } . ?f property:depicts resource:Pandanus_tectorius } } . FILTER ( ?m > ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18027822
P703
Q16521
USER
Which taxon is IL2RB found in ?
(Q18027822,P703,c(Q16521))
action filter_type
action find
entity Q18027822
relation P703
type Q16521
['Q18027822', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q18027822 property:P703 ?r . ?r rdf:type ontology:Q16521 }
IL2RB
action filter_type
action find
entity IL2RB
relation found in taxon
type taxon
['IL2RB', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:IL2RB property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18027822,P703,c(Q16521))
action filter_type
action find
entity Q18027822
relation P703
type Q16521
Which taxon is IL2RB found in
['Q18027822', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q18027822 property:P703 ?r . ?r rdf:type ontology:Q16521 }
Homo sapiens
Which taxon is IL2RB found in
Homo sapiens
action filter_type
action find
entity IL2RB
relation found in taxon
type taxon
['IL2RB', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:IL2RB property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15978631
P689
Q2057971
USER
What can afflict that taxon ?
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?a WHERE { ?a property:P689 resource:Q15978631 . ?a rdf:type ontology:Q2057971 }
Homo sapiens
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?a WHERE { ?a property:afflicts resource:Homo_sapiens . ?a rdf:type ontology:health_problem }
[]
health problem
Q403463
SYSTEM
Aicardi syndrome
Q403463
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[ANSWER] can afflict that taxon
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?a WHERE { ?a property:P689 resource:Q15978631 . ?a rdf:type ontology:Q2057971 }
Aicardi syndrome
Aicardi syndrome can afflict that taxon
Aicardi syndrome
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?a WHERE { ?a property:afflicts resource:Homo_sapiens . ?a rdf:type ontology:health_problem }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P689
Q4936952 Q82799 Q2057971
USER
How many health problems afflicts more number of anatomical structures or names than that health problem ?
(c(Q2057971),P689,c(Q4936952)|c(Q82799))
action count
action greater
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q403463
relation P689
type Q4936952
type Q82799
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q403463 property:P689 ?u . { VALUES ( ?o ) { ( ontology:Q4936952 ) ( ontology:Q82799 ) } . ?u rdf:type ?o } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?a WHERE { { ?a property:P689 ?g . ?a rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q4936952 } UNION { ?a rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q82799 . ?a property:P689 ?g } } GROUP BY ?a } }
action count
action greater
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity Aicardi syndrome
relation afflicts
type anatomical structure
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Aicardi_syndrome property:afflicts ?u . { VALUES ( ?o ) { ( ontology:anatomical_structure ) ( ontology:name ) } . ?u rdf:type ?o } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?a WHERE { { ?a property:afflicts ?g . ?a rdf:type ontology:health_problem . ?g rdf:type ontology:anatomical_structure } UNION { ?a rdf:type ontology:health_problem . ?g rdf:type ontology:name . ?a property:afflicts ?g } } GROUP BY ?a } }
[]
anatomical structure name health problem
SYSTEM
0
(c(Q2057971),P689,c(Q4936952)|c(Q82799))
action count
action greater
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q403463
relation P689
type Q4936952
type Q82799
[ANSWER]
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q403463 property:P689 ?u . { VALUES ( ?o ) { ( ontology:Q4936952 ) ( ontology:Q82799 ) } . ?u rdf:type ?o } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?a WHERE { { ?a property:P689 ?g . ?a rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q4936952 } UNION { ?a rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q82799 . ?a property:P689 ?g } } GROUP BY ?a } }
0
action count
action greater
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity Aicardi syndrome
relation afflicts
type anatomical structure
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Aicardi_syndrome property:afflicts ?u . { VALUES ( ?o ) { ( ontology:anatomical_structure ) ( ontology:name ) } . ?u rdf:type ?o } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?a WHERE { { ?a property:afflicts ?g . ?a rdf:type ontology:health_problem . ?g rdf:type ontology:anatomical_structure } UNION { ?a rdf:type ontology:health_problem . ?g rdf:type ontology:name . ?a property:afflicts ?g } } GROUP BY ?a } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3589133
P828
Q2057971 Q3839081
USER
Which disasters are caused by lesser number of health problems than chikungunya epidemic on Réunion ?
(c(Q3839081),P828,c(Q2057971))
action less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589133
relation P828
type Q2057971
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:P828 ?e . ?e rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q3839081 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q3589133 property:P828 ?n . ?n rdf:type ontology:Q2057971 } } . FILTER ( ?q < ?h ) }
chikungunya epidemic on Réunion
action less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity chikungunya epidemic on Réunion
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:has_cause ?e . ?e rdf:type ontology:health_problem . ?v rdf:type ontology:disaster } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:chikungunya_epidemic_on_Réunion property:has_cause ?n . ?n rdf:type ontology:health_problem } } . FILTER ( ?q < ?h ) }
[]
health problem disaster
Q223288 Q11971365 Q783597
SYSTEM
Tenerife airport disaster, Førdesveten plane crash, American Airlines Flight 1420
Q783597 Q671297 Q1582992 Q18147604 Q5150534 Q4919790 Q3960716 Q251039 Q171178 Q858734 Q7672526 Q977367 Q223288 Q2475745 Q11890853 Q11971365 Q8068 Q381183 Q5587844 Q858145
(c(Q3839081),P828,c(Q2057971))
action less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589133
relation P828
type Q2057971
[ANSWERS] are caused by lesser number of health problems than chikungunya epidemic on Réunion
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:P828 ?e . ?e rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q3839081 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q3589133 property:P828 ?n . ?n rdf:type ontology:Q2057971 } } . FILTER ( ?q < ?h ) }
American Airlines Flight 1420 1983 West Bank fainting epidemic Tanganyika laughter epidemic Aero Flight 217 Comandante Ferraz Antarctic Base fire Thai Airways International Flight 311 Silvertown explosion US Airways Flight 1549 Fukushima nuclear accident Superga air disaster TWA Flight 841 chemical accident Tenerife airport disaster Siberia Airlines Flight 1812 1978 Finnish Air Force DC-3 crash Førdesveten plane crash flood Aero Flight 311 Gothenburg discothèque fire Space Shuttle Challenger disaster
Tenerife airport disaster, Førdesveten plane crash and American Airlines Flight 1420 are caused by lesser number of health problems than chikungunya epidemic on Réunion
Tenerife airport disaster Førdesveten plane crash American Airlines Flight 1420
action less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity chikungunya epidemic on Réunion
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?q ) WHERE { ?v property:has_cause ?e . ?e rdf:type ontology:health_problem . ?v rdf:type ontology:disaster } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:chikungunya_epidemic_on_Réunion property:has_cause ?n . ?n rdf:type ontology:health_problem } } . FILTER ( ?q < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3589134
P828
Q2057971 Q3839081
USER
And what about measles epidemic France 2008?
(c(Q3839081),P828,c(Q2057971))
action less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589134
relation P828
type Q2057971
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?b ) WHERE { ?l property:P828 ?t . ?l rdf:type ontology:Q3839081 . ?t rdf:type ontology:Q2057971 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q2057971 . resource:Q3589134 property:P828 ?c } } . FILTER ( ?b < ?y ) }
measles epidemic France 2008
action less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity measles epidemic France 2008
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?b ) WHERE { ?l property:has_cause ?t . ?l rdf:type ontology:disaster . ?t rdf:type ontology:health_problem } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:health_problem . resource:measles_epidemic_France_2008 property:has_cause ?c } } . FILTER ( ?b < ?y ) }
[]
health problem disaster
Q223288 Q11971365 Q783597
SYSTEM
Tenerife airport disaster, Førdesveten plane crash, American Airlines Flight 1420
Q783597 Q671297 Q1582992 Q18147604 Q5150534 Q4919790 Q3960716 Q251039 Q171178 Q858734 Q7672526 Q977367 Q223288 Q2475745 Q11890853 Q11971365 Q8068 Q381183 Q5587844 Q858145
(c(Q3839081),P828,c(Q2057971))
action less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589134
relation P828
type Q2057971
[ANSWERS]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?b ) WHERE { ?l property:P828 ?t . ?l rdf:type ontology:Q3839081 . ?t rdf:type ontology:Q2057971 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q2057971 . resource:Q3589134 property:P828 ?c } } . FILTER ( ?b < ?y ) }
American Airlines Flight 1420 1983 West Bank fainting epidemic Tanganyika laughter epidemic Aero Flight 217 Comandante Ferraz Antarctic Base fire Thai Airways International Flight 311 Silvertown explosion US Airways Flight 1549 Fukushima nuclear accident Superga air disaster TWA Flight 841 chemical accident Tenerife airport disaster Siberia Airlines Flight 1812 1978 Finnish Air Force DC-3 crash Førdesveten plane crash flood Aero Flight 311 Gothenburg discothèque fire Space Shuttle Challenger disaster
Tenerife airport disaster Førdesveten plane crash American Airlines Flight 1420
action less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity measles epidemic France 2008
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?b ) WHERE { ?l property:has_cause ?t . ?l rdf:type ontology:disaster . ?t rdf:type ontology:health_problem } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:health_problem . resource:measles_epidemic_France_2008 property:has_cause ?c } } . FILTER ( ?b < ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1542
Q12136 Q2057971 Q2057971
USER
How many health problems were the cause of atmost 4 diseases and health problems ?
(c(Q2057971),P1542,c(Q12136)|c(Q2057971))
action count
action atmost
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
value 4
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q12136'}, {'concept': 'Q2057971'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?p WHERE { { ?p property:P1542 ?a . ?p rdf:type ontology:Q2057971 . ?a rdf:type ontology:Q12136 } UNION { ?p property:P1542 ?a . ?p rdf:type ontology:Q2057971 . ?a rdf:type ontology:Q2057971 } } GROUP BY ?p } . FILTER ( ?u <= 4 ) }
action count
action atmost
action union
action find_tuple_counts
relation cause of
type health problem
type disease
action find_tuple_counts
relation cause of
type health problem
type health problem
value 4
[{'concept': 'health problem'}, 'cause of', [{'concept': 'disease'}, {'concept': 'health problem'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?p WHERE { { ?p property:cause_of ?a . ?p rdf:type ontology:health_problem . ?a rdf:type ontology:disease } UNION { ?p property:cause_of ?a . ?p rdf:type ontology:health_problem . ?a rdf:type ontology:health_problem } } GROUP BY ?p } . FILTER ( ?u <= 4 ) }
[]
disease health problem health problem
SYSTEM
40
Q1504570 Q12090 Q12125 Q357522 Q3541798 Q5572555 Q3043135 Q12204 Q12206 Q39222 Q42982 Q2465347 Q5797309 Q155857 Q1899576 Q2753827 Q243257 Q241827 Q929963 Q844935 Q121041 Q12195 Q15734316 Q599683 Q23037745 Q68833 Q8084905 Q943897 Q180152 Q147778 Q1186703 Q133823 Q217519 Q4330029 Q79793 Q4826344 Q133780 Q2840 Q131742 Q664174
(c(Q2057971),P1542,c(Q12136)|c(Q2057971))
action count
action atmost
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
value 4
[ANSWER]
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q12136'}, {'concept': 'Q2057971'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?p WHERE { { ?p property:P1542 ?a . ?p rdf:type ontology:Q2057971 . ?a rdf:type ontology:Q12136 } UNION { ?p property:P1542 ?a . ?p rdf:type ontology:Q2057971 . ?a rdf:type ontology:Q2057971 } } GROUP BY ?p } . FILTER ( ?u <= 4 ) }
protein C deficiency Cholera common cold Adipsia Tuberculosis of the adrenal glands glycerol kinase deficiency congenital lactase deficiency tuberculosis diabetes mellitus rabies type I hypersensitivity thyroid adenoma lacrimal duct obstruction rubella Vasa praevia Pigment dispersion syndrome chikungunya Upper airway resistance syndrome Primary polydipsia coronary artery disease appendicitis poliomyelitis underlying disease Brugada syndrome pollen allergy bone fracture autoimmune neuromuscular disease gastroparesis Vitiligo liver cirrhosis demyelinating disease migraine bubonic plague airway obstruction measles Autoimmune inner ear disease plague influenza hepatitis asbestosis
40
action count
action atmost
action union
action find_tuple_counts
relation cause of
type health problem
type disease
action find_tuple_counts
relation cause of
type health problem
type health problem
value 4
[{'concept': 'health problem'}, 'cause of', [{'concept': 'disease'}, {'concept': 'health problem'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?p WHERE { { ?p property:cause_of ?a . ?p rdf:type ontology:health_problem . ?a rdf:type ontology:disease } UNION { ?p property:cause_of ?a . ?p rdf:type ontology:health_problem . ?a rdf:type ontology:health_problem } } GROUP BY ?p } . FILTER ( ?u <= 4 ) }
[]