Simple Question (Direct)
Simple Question
Q9002893
P1196
Q1931388
USER
What situation did Henny Backus die in ?
(Q9002893,P1196,c(Q1931388))
action filter_type
action find
entity Q9002893
relation P1196
type Q1931388
['Q9002893', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q9002893 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
Henny Backus
action filter_type
action find
entity Henny Backus
relation manner of death
type cause of death
['Henny Backus', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:Henny_Backus property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q9002893,P1196,c(Q1931388))
action filter_type
action find
entity Q9002893
relation P1196
type Q1931388
Henny Backus died of [ANSWER]
['Q9002893', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q9002893 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
natural causes
Henny Backus died of natural causes
natural causes
action filter_type
action find
entity Henny Backus
relation manner of death
type cause of death
['Henny Backus', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:Henny_Backus property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9002893
P26
Q502895
USER
Which person is married to Henny Backus ?
(c(Q502895),P26,Q9002893)
action filter_type
action find
entity Q9002893
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q9002893']
SELECT DISTINCT ?x WHERE { resource:Q9002893 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Henny Backus
action filter_type
action find
entity Henny Backus
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Henny Backus']
SELECT DISTINCT ?x WHERE { resource:Henny_Backus property:spouse ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1236412
SYSTEM
Jim Backus
Q1236412
(c(Q502895),P26,Q9002893)
action filter_type
action find
entity Q9002893
relation P26
type Q502895
He [ANSWER] is married to Henny Backus
[{'concept': 'Q502895'}, 'P26', 'Q9002893']
SELECT DISTINCT ?x WHERE { resource:Q9002893 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Jim Backus
He Jim Backus is married to Henny Backus
Jim Backus
action filter_type
action find
entity Henny Backus
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Henny Backus']
SELECT DISTINCT ?x WHERE { resource:Henny_Backus property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1236412
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q1236412)
action filter_type
action find_reverse
entity Q1236412
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1236412']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q1236412 . ?x rdf:type ontology:Q838948 }
Jim Backus
action filter_type
action find_reverse
entity Jim Backus
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jim Backus']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Jim_Backus . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1306890 Q426346 Q1217650
SYSTEM
It's a Mad, Mad, Mad, Mad World, Rebel Without a Cause, The Wonderful World of the Brothers Grimm
Q3273366 Q18153008 Q2358316 Q136592 Q934021 Q2613223 Q4911833 Q5006108 Q3209915 Q2031626 Q3002394 Q1637360 Q203101 Q1366508 Q1332299 Q3204880 Q1767272 Q2309562 Q1520030 Q2275710 Q3230887 Q1518111 Q7538754 Q3841929 Q6880179 Q2493780 Q1849684 Q3521762 Q12136278 Q7096812 Q3067189 Q3027830 Q647814 Q6588602 Q2142990 Q5708673 Q3713975 Q1306890 Q3794147 Q1217650 Q2080652 Q210590 Q2618102 Q1647896 Q2192726 Q2289807 Q2870390 Q3203423 Q426346
(c(Q838948),P161,Q1236412)
action filter_type
action find_reverse
entity Q1236412
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q1236412']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q1236412 . ?x rdf:type ontology:Q838948 }
M 1001 Arabian Nights Ask Any Girl Man of a Thousand Faces His Kind of Woman Androcles and the Lion Billie C.H.O.M.P.S. The Square Jungle Pat and Mike Crazy Mama Don't Bother to Knock Don't Make Waves Now You See Him, Now You Don't Pete's Dragon The High Cost of Loving Francis in the Navy The Wild and the Innocent The Wheeler Dealers Boys' Night Out Ice Palace Bright Victory Slapstick of Another Kind Macabre Mister Magoo's Christmas Carol The Great Man Sunday in New York The Man with a Cloak Zotz! Operation Bikini Father was a Fullback Hurry Sundown Good Guys Wear Black Johnny Cool Where Were You When the Lights Went Out? Hello Down There Meet Me in Las Vegas It's a Mad, Mad, Mad, Mad World Easy Living The Wonderful World of the Brothers Grimm John Goldfarb, Please Come Home Angel Face Angels Revenge I'll See You in My Dreams A Private's Affair Above and Beyond Deep in My Heart You Can't Run Away from It Rebel Without a Cause
It's a Mad, Mad, Mad World, Rebel Without a Cause and The Wonderful World of the Brothers Grimm star that person as actor
It's a Mad, Mad, Mad, Mad World Rebel Without a Cause The Wonderful World of the Brothers Grimm
action filter_type
action find_reverse
entity Jim Backus
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jim Backus']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Jim_Backus . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1306890 Q426346 Q1217650
P364
Q34770
USER
Which languages are the original languages of creation of It's a Mad, Mad, Mad, Mad World, Rebel Without a Cause and The Wonderful World of the Brothers Grimm ?
(Q1306890,P364,c(Q34770)) (Q426346,P364,c(Q34770)) (Q1217650,P364,c(Q34770))
action union
action filter_type
action find
entity Q1306890
relation P364
type Q34770
action filter_type
action find
entity Q426346
relation P364
type Q34770
action filter_type
action find
entity Q1217650
relation P364
type Q34770
['Q1306890', 'P364', {'concept': 'Q34770'}] ['Q426346', 'P364', {'concept': 'Q34770'}] ['Q1217650', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { resource:Q1306890 property:P364 ?z . ?z rdf:type ontology:Q34770 } UNION { resource:Q426346 property:P364 ?z . ?z rdf:type ontology:Q34770 } }
It's a Mad, Mad, Mad, Mad World Rebel Without a Cause The Wonderful World of the Brothers Grimm
action union
action filter_type
action find
entity It's a Mad, Mad, Mad, Mad World
relation original language of work
type language
action filter_type
action find
entity Rebel Without a Cause
relation original language of work
type language
action filter_type
action find
entity The Wonderful World of the Brothers Grimm
relation original language of work
type language
["It's a Mad, Mad, Mad, Mad World", 'original language of work', {'concept': 'language'}] ['Rebel Without a Cause', 'original language of work', {'concept': 'language'}] ['The Wonderful World of the Brothers Grimm', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { resource:It's_a_Mad,_Mad,_Mad,_Mad_World property:original_language_of_work ?z . ?z rdf:type ontology:language } UNION { resource:Rebel_Without_a_Cause property:original_language_of_work ?z . ?z rdf:type ontology:language } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860
(Q1306890,P364,c(Q34770)) (Q426346,P364,c(Q34770)) (Q1217650,P364,c(Q34770))
action union
action filter_type
action find
entity Q1306890
relation P364
type Q34770
action filter_type
action find
entity Q426346
relation P364
type Q34770
action filter_type
action find
entity Q1217650
relation P364
type Q34770
[ANSWER], [ANSWER] and [ANSWER] are the original languages of creation of It's a Mad, Mad, Mad World, Rebel Without a Cause and The Wonderful World of the Brothers Grimm
['Q1306890', 'P364', {'concept': 'Q34770'}] ['Q426346', 'P364', {'concept': 'Q34770'}] ['Q1217650', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { resource:Q1306890 property:P364 ?z . ?z rdf:type ontology:Q34770 } UNION { resource:Q426346 property:P364 ?z . ?z rdf:type ontology:Q34770 } }
English English English
English, English and English are the original languages of creation of It's a Mad, Mad, Mad World, Rebel Without a Cause and The Wonderful World of the Brothers Grimm
English English English
action union
action filter_type
action find
entity It's a Mad, Mad, Mad, Mad World
relation original language of work
type language
action filter_type
action find
entity Rebel Without a Cause
relation original language of work
type language
action filter_type
action find
entity The Wonderful World of the Brothers Grimm
relation original language of work
type language
["It's a Mad, Mad, Mad, Mad World", 'original language of work', {'concept': 'language'}] ['Rebel Without a Cause', 'original language of work', {'concept': 'language'}] ['The Wonderful World of the Brothers Grimm', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { resource:It's_a_Mad,_Mad,_Mad,_Mad_World property:original_language_of_work ?z . ?z rdf:type ontology:language } UNION { resource:Rebel_Without_a_Cause property:original_language_of_work ?z . ?z rdf:type ontology:language } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q426346
P58
Q502895
USER
Who wrote the screenplay for Rebel Without a Cause ?
(Q426346,P58,c(Q502895))
action filter_type
action find
entity Q426346
relation P58
type Q502895
['Q426346', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q426346 property:P58 ?l }
Rebel Without a Cause
action filter_type
action find
entity Rebel Without a Cause
relation screenwriter
type common name
['Rebel Without a Cause', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Rebel_Without_a_Cause property:screenwriter ?l }
[]
common name
Q2347934 Q6074798
SYSTEM
Stewart Stern, Irving Shulman
Q2347934 Q6074798
(Q426346,P58,c(Q502895))
action filter_type
action find
entity Q426346
relation P58
type Q502895
The [ANSWERS] wrote the screenplay for Rebel Without a Cause
['Q426346', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q426346 property:P58 ?l }
Stewart Stern Irving Shulman
The Stewart Stern and Irving Shulman wrote the screenplay for Rebel Without a Cause
Stewart Stern Irving Shulman
action filter_type
action find
entity Rebel Without a Cause
relation screenwriter
type common name
['Rebel Without a Cause', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Rebel_Without_a_Cause property:screenwriter ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 963 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 963
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { FILTER ( ?m <= 963 ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?i } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 963
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { FILTER ( ?m <= 963 ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?i } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 963
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { FILTER ( ?m <= 963 ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?i } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 963
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { FILTER ( ?m <= 963 ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1475346
Q5962346
USER
And also tell me about chief?
(Q1475346,P361,c(Q5962346))
action filter_type
action find
entity Q1475346
relation P361
type Q5962346
['Q1475346', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q5962346 . resource:Q1475346 property:P361 ?q }
chief
action filter_type
action find
entity chief
relation part of
type classification scheme
['chief', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:classification_scheme . resource:chief property:part_of ?q }
[]
classification scheme
Q18336
SYSTEM
heraldry
Q18336
(Q1475346,P361,c(Q5962346))
action filter_type
action find
entity Q1475346
relation P361
type Q5962346
[ANSWER]
['Q1475346', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q5962346 . resource:Q1475346 property:P361 ?q }
heraldry
heraldry
action filter_type
action find
entity chief
relation part of
type classification scheme
['chief', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:classification_scheme . resource:chief property:part_of ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q5962346 Q43229
USER
Which classification schemes are the area of more number of organizations than that classification scheme ?
(c(Q43229),P101,c(Q5962346))
action greater
action find_reverse_tuple_counts
relation P101
type Q5962346
type Q43229
action count
action filter_type
action find
entity Q18336
relation P101
type Q5962346
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:Q43229 . ?v rdf:type ontology:Q5962346 . ?g property:P101 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ontology:Q5962346 . resource:Q18336 property:P101 ?a } } . FILTER ( ?w > ?f ) }
action greater
action find_reverse_tuple_counts
relation field of work
type classification scheme
type organization
action count
action filter_type
action find
entity heraldry
relation field of work
type classification scheme
[{'concept': 'organization'}, 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:organization . ?v rdf:type ontology:classification_scheme . ?g property:field_of_work ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ontology:classification_scheme . resource:heraldry property:field_of_work ?a } } . FILTER ( ?w > ?f ) }
[]
classification scheme organization
Q47307 Q185925
SYSTEM
genealogy, graphic design
Q47307 Q185925
(c(Q43229),P101,c(Q5962346))
action greater
action find_reverse_tuple_counts
relation P101
type Q5962346
type Q43229
action count
action filter_type
action find
entity Q18336
relation P101
type Q5962346
[ANSWERS] are the area of more number of organizations than that classification scheme
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:Q43229 . ?v rdf:type ontology:Q5962346 . ?g property:P101 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ontology:Q5962346 . resource:Q18336 property:P101 ?a } } . FILTER ( ?w > ?f ) }
genealogy graphic design
Genealogy and graphic design are the area of more number of organizations than that classification scheme
genealogy graphic design
action greater
action find_reverse_tuple_counts
relation field of work
type classification scheme
type organization
action count
action filter_type
action find
entity heraldry
relation field of work
type classification scheme
[{'concept': 'organization'}, 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:organization . ?v rdf:type ontology:classification_scheme . ?g property:field_of_work ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ontology:classification_scheme . resource:heraldry property:field_of_work ?a } } . FILTER ( ?w > ?f ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4933435 Q1236412
P509 P1050
Q2057971
USER
Which health problems caused the death of Jim Backus and do Bob Montgomery suffer from ?
AND((Q1236412,P509,c(Q2057971)), (Q4933435,P1050,c(Q2057971)))
action filter_type
action intersection
action find
entity Q1236412
relation P509
action find
entity Q4933435
relation P1050
type Q2057971
{'AND': [['Q1236412', 'P509', {'concept': 'Q2057971'}], ['Q4933435', 'P1050', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1236412 property:P509 ?d . resource:Q4933435 property:P1050 ?d . ?d rdf:type ontology:Q2057971 }
Bob Montgomery Jim Backus
action filter_type
action intersection
action find
entity Jim Backus
relation cause of death
action find
entity Bob Montgomery
relation medical condition
type health problem
{'AND': [['Jim Backus', 'cause of death', {'concept': 'health problem'}], ['Bob Montgomery', 'medical condition', {'concept': 'health problem'}]]}
SELECT DISTINCT ?d WHERE { resource:Jim_Backus property:cause_of_death ?d . resource:Bob_Montgomery property:medical_condition ?d . ?d rdf:type ontology:health_problem }
[]
health problem
Q11085
SYSTEM
Parkinson's disease
Q11085
AND((Q1236412,P509,c(Q2057971)), (Q4933435,P1050,c(Q2057971)))
action filter_type
action intersection
action find
entity Q1236412
relation P509
action find
entity Q4933435
relation P1050
type Q2057971
[ANSWER] caused the death of Jim Backus and do Bob Montgomery suffer from
{'AND': [['Q1236412', 'P509', {'concept': 'Q2057971'}], ['Q4933435', 'P1050', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1236412 property:P509 ?d . resource:Q4933435 property:P1050 ?d . ?d rdf:type ontology:Q2057971 }
Parkinson's disease
Parkinson's disease caused the death of Jim Backus and do Bob Montgomery suffer from
Parkinson's disease
action filter_type
action intersection
action find
entity Jim Backus
relation cause of death
action find
entity Bob Montgomery
relation medical condition
type health problem
{'AND': [['Jim Backus', 'cause of death', {'concept': 'health problem'}], ['Bob Montgomery', 'medical condition', {'concept': 'health problem'}]]}
SELECT DISTINCT ?d WHERE { resource:Jim_Backus property:cause_of_death ?d . resource:Bob_Montgomery property:medical_condition ?d . ?d rdf:type ontology:health_problem }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1050
Q2057971 Q502895
USER
How many health problems are less number of people affected by than that health problem ?
(c(Q502895),P1050,c(Q2057971))
action count
action less
action find_reverse_tuple_counts
relation P1050
type Q2057971
type Q502895
action count
action filter_type
action find_reverse
entity Q11085
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P1050 ?n . ?n rdf:type ontology:Q2057971 . ?j rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P1050 resource:Q11085 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?v < ?s ) }
action count
action less
action find_reverse_tuple_counts
relation medical condition
type health problem
type common name
action count
action filter_type
action find_reverse
entity Parkinson's disease
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:medical_condition ?n . ?n rdf:type ontology:health_problem . ?j rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:medical_condition resource:Parkinson's_disease . ?m rdf:type ontology:common_name } } . FILTER ( ?v < ?s ) }
[]
health problem common name
SYSTEM
213
Q6052272 Q372701 Q83319 Q1151507 Q18553829 Q794457 Q1198391 Q749409 Q4692280 Q68833 Q18554922 Q160649 Q500695 Q282142 Q3280669 Q16501 Q2425407 Q173022 Q2290446 Q35869 Q12199 Q7578960 Q36956 Q3025883 Q177254 Q658873 Q470427 Q18657 Q727096 Q16483 Q478389 Q2307256 Q41083 Q155098 Q727153 Q170990 Q222634 Q1143025 Q147778 Q938205 Q1209744 Q12174 Q623031 Q954625 Q857667 Q1282114 Q2035074 Q572169 Q1165179 Q202837 Q844935 Q131742 Q16499 Q212021 Q18556125 Q847057 Q178190 Q134649 Q213098 Q191779 Q1137767 Q207855 Q1016605 Q185034 Q12167 Q223591 Q1216998 Q18556035 Q180614 Q2562598 Q187255 Q1378921 Q1436063 Q208414 Q644318 Q12195 Q190564 Q118418 Q622427 Q1138590 Q916398 Q1364270 Q168403 Q12152 Q1451877 Q48143 Q536269 Q244438 Q188874 Q944758 Q18555055 Q134003 Q549534 Q18556938 Q159701 Q653200 Q11088 Q156050 Q206901 Q939364 Q190805 Q199804 Q653078 Q202387 Q1331905 Q616087 Q4117241 Q1365309 Q41571 Q8388 Q625164 Q152100 Q181257 Q180664 Q8277 Q1049655 Q38404 Q844717 Q180266 Q938983 Q568865 Q4677938 Q11072 Q504775 Q47912 Q2836 Q671776 Q131755 Q133696 Q124292 Q12156 Q925092 Q744790 Q42844 Q5445 Q10860654 Q132971 Q15283847 Q189580 Q18556385 Q181754 Q5282843 Q753904 Q189588 Q264118 Q18555369 Q220570 Q580290 Q3281322 Q182413 Q2500124 Q684924 Q12135 Q131749 Q1755568 Q161790 Q572111 Q3144986 Q2868696 Q3041498 Q418418 Q174857 Q340594 Q154874 Q281115 Q1112977 Q18555066 Q693519 Q181923 Q12202 Q12206 Q1161568 Q18555947 Q18555946 Q501829 Q595010 Q133087 Q272436 Q18554893 Q128581 Q18553852 Q1607658 Q193894 Q39222 Q47715 Q12214 Q2406697 Q207133 Q18556115 Q124407 Q476921 Q12192 Q1209150 Q4839317 Q1362453 Q29496 Q467635 Q18554997 Q1066311 Q194101 Q210427 Q1410831 Q208562 Q188605 Q7162621 Q653318 Q186676 Q2606101 Q729735 Q2840 Q81867 Q1141499 Q83030
(c(Q502895),P1050,c(Q2057971))
action count
action less
action find_reverse_tuple_counts
relation P1050
type Q2057971
type Q502895
action count
action filter_type
action find_reverse
entity Q11085
relation P1050
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P1050 ?n . ?n rdf:type ontology:Q2057971 . ?j rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P1050 resource:Q11085 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?v < ?s ) }
Mozart ear esophageal cancer typhoid fever dermatitis herpetiformis prostate carcinoma Locked-in syndrome intracranial aneurysm osteogenesis imperfecta natural killer cell leukemia bone fracture jaw cancer typhus retinoblastoma glioblastoma multiforme brain injury hypothyroidisms Acute tubular necrosis bronchitis idiopathic pulmonary fibrosis asthma acquired immunodeficiency syndrome Spondyloepiphyseal dysplasia congenita leprosy type 2 diabetes mellitus hyperopia Radiation burn refractive error multiple personality disorder physical disorder toxic diffuse goiter kyphosis neuritis syphilis leptospirosis hiatus hernia arthritis orofacial cleft oral cavity cancer liver cirrhosis neuroblastoma uterine cancer obesity liver cancer myelodysplastic syndrome pulmonary edema speech disorder Paget's disease of bone Seckel syndrome Kallmann syndrome cardiac arrest coronary artery disease hepatitis hyperthyroidism kleptomania adrenal carcinoma retinitis pigmentosa obsessive-compulsive disorder diphtheria progeria Gilles de la Tourette syndrome muscular dystrophy amblyopia Burkitt lymphoma sickle cell anemia malnutrition gastroesophageal reflux disease neoplasm cervical adenocarcinoma melanoma hemophilia B rheumatoid arthritis euthyroid sick syndrome autism spectrum disorder lymphoma vasculitis poliomyelitis Huntington's disease antisocial personality disorder ptosis non-Hodgkin lymphoma lymphedema hypertrophic cardiomyopathy myopia myocardial infarction embryonal carcinoma meningitis phaeochromocytoma prosopagnosia colorectal cancer Tetraplegia colon adenocarcinoma inherited blood coagulation disease osteosarcoma embryonal testis carcinoma glaucoma flat feet problems celiac disease brucellosis amyotrophic lateral sclerosis congenital heart disease heart disease chronic obstructive pulmonary disease Whipple disease post-traumatic stress disorder dementia with Lewy bodies aortic valve insufficiency autoimmune polyendocrine syndrome type 2 glioma epilepsy pedophilia retinal detachment nicotine addiction prostate cancer acute lymphocytic leukemia multiple sclerosis paraplegia autism spina bifida scarlet fever osteomyelitis cherubism acute monocytic leukemia amnestic disorder urinary bladder cancer lung cancer aphasia mutism bipolar disorder color blindness cholangiocarcinoma malaria Wolff-Parkinson-White syndrome Treacher Collins syndrome major depressive disorder anemia Iron overload dyslexia knee injury acromegaly lung large cell carcinoma heart failure Distal muscular dystrophy rheumatic fever stomach cancer acute myeloid leukemia teratocarcinoma pulmonary embolism Spinal muscular atrophy peroxisomal disease substance dependence Urbach–Wiethe disease rheumatism mental disorder anorexia nervosa osteopetrosis Asperger syndrome anterograde amnesia Alcoholic hepatitis pain agnosia eye disease ankylosis scoliosis achondroplasia yellow fever Proteus syndrome syringomyelia relapsing-remitting multiple sclerosis essential tremor attention deficit hyperactivity disorder stroke diabetes mellitus Granulomatosis with polyangiits breast carcinoma breast adenocarcinoma gigantism hypertrichosis gout allergic rhinitis ocular melanoma breast cancer lymphoblastic leukemia hepatoblastoma sarcoidosis rabies Down syndrome smallpox Tetraamelie Klinefelter's syndrome lung adenocarcinoma type 1 diabetes mellitus kidney failure pneumonia cerebral infarction back injury fibrosarcoma leukemia multiple myeloma vulva squamous cell carcinoma complex regional pain syndrome dwarfism cerebral palsy fibrodysplasia ossificans progressiva Marfan syndrome pulmonary emphysema penetrating trauma silicosis stuttering Paranoid schizophrenia chronic myeloid leukemia influenza albino Ehlers–Danlos syndrome dementia
213
action count
action less
action find_reverse_tuple_counts
relation medical condition
type health problem
type common name
action count
action filter_type
action find_reverse
entity Parkinson's disease
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:medical_condition ?n . ?n rdf:type ontology:health_problem . ?j rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:medical_condition resource:Parkinson's_disease . ?m rdf:type ontology:common_name } } . FILTER ( ?v < ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11085
P138
Q502895
USER
Which person is namesake of Parkinson's disease ?
(Q11085,P138,c(Q502895))
action filter_type
action find
entity Q11085
relation P138
type Q502895
['Q11085', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11085 property:P138 ?e . ?e rdf:type ontology:Q502895 }
Parkinson's disease
action filter_type
action find
entity Parkinson's disease
relation named after
type common name
["Parkinson's disease", 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Parkinson's_disease property:named_after ?e . ?e rdf:type ontology:common_name }
[]
common name
Q336489
SYSTEM
James Parkinson
Q336489
(Q11085,P138,c(Q502895))
action filter_type
action find
entity Q11085
relation P138
type Q502895
In [ANSWER] is namesake of Parkinson's disease
['Q11085', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q11085 property:P138 ?e . ?e rdf:type ontology:Q502895 }
James Parkinson
In James Parkinson is namesake of Parkinson's disease
James Parkinson
action filter_type
action find
entity Parkinson's disease
relation named after
type common name
["Parkinson's disease", 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Parkinson's_disease property:named_after ?e . ?e rdf:type ontology:common_name }
[]