Simple Question (Direct)
Simple Question
Q301649
P161
Q502895
USER
Which people are in Lady for a Day ?
(Q301649,P161,c(Q502895))
action filter_type
action find
entity Q301649
relation P161
type Q502895
['Q301649', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q301649 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Lady for a Day
action filter_type
action find
entity Lady for a Day
relation cast member
type common name
['Lady for a Day', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Lady_for_a_Day property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1280760 Q272083 Q950857
SYSTEM
Ward Bond, Glenda Farrell, Warren William
Q1288004 Q1280760 Q4020191 Q436022 Q3126164 Q539170 Q1383202 Q950857 Q3435051 Q554094 Q726919 Q2006459 Q272083 Q2750248 Q259600 Q3179992 Q4864570 Q1621558
(Q301649,P161,c(Q502895))
action filter_type
action find
entity Q301649
relation P161
type Q502895
[ANSWERS] are in Lady for a Day
['Q301649', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q301649 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Nat Pendleton Ward Bond William Worthington Jean Parker Halliwell Hobbes Ned Sparks Leo White Warren William Robert Emmett O'Connor Guy Kibbee Walter Connolly Edward LeSaint Glenda Farrell Samuel S. Hinds May Robson Joe Bordeaux Barry Norton Hobart Bosworth
Ward Bond, Glenda Farrell and Warren William are in Lady for a Day
Ward Bond Glenda Farrell Warren William
action filter_type
action find
entity Lady for a Day
relation cast member
type common name
['Lady for a Day', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Lady_for_a_Day property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1280760 Q272083 Q950857
P1196
Q1931388
USER
What situation did Ward Bond, Glenda Farrell and Warren William die in ?
(Q1280760,P1196,c(Q1931388)) (Q272083,P1196,c(Q1931388)) (Q950857,P1196,c(Q1931388))
action union
action filter_type
action find
entity Q1280760
relation P1196
type Q1931388
action filter_type
action find
entity Q272083
relation P1196
type Q1931388
action filter_type
action find
entity Q950857
relation P1196
type Q1931388
['Q1280760', 'P1196', {'concept': 'Q1931388'}] ['Q272083', 'P1196', {'concept': 'Q1931388'}] ['Q950857', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { { resource:Q272083 property:P1196 ?x . ?x rdf:type ontology:Q1931388 } UNION { ?x rdf:type ontology:Q1931388 . resource:Q1280760 property:P1196 ?x } }
Ward Bond Glenda Farrell Warren William
action union
action filter_type
action find
entity Ward Bond
relation manner of death
type cause of death
action filter_type
action find
entity Glenda Farrell
relation manner of death
type cause of death
action filter_type
action find
entity Warren William
relation manner of death
type cause of death
['Ward Bond', 'manner of death', {'concept': 'cause of death'}] ['Glenda Farrell', 'manner of death', {'concept': 'cause of death'}] ['Warren William', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { { resource:Glenda_Farrell property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death } UNION { ?x rdf:type ontology:cause_of_death . resource:Ward_Bond property:manner_of_death ?x } }
[]
cause of death
Q3739104 Q3739104 Q3739104
SYSTEM
natural causes
Q3739104 Q3739104 Q3739104
(Q1280760,P1196,c(Q1931388)) (Q272083,P1196,c(Q1931388)) (Q950857,P1196,c(Q1931388))
action union
action filter_type
action find
entity Q1280760
relation P1196
type Q1931388
action filter_type
action find
entity Q272083
relation P1196
type Q1931388
action filter_type
action find
entity Q950857
relation P1196
type Q1931388
Ward Bond , Glenda Farrell and Warren William died in [ANSWER], [ANSWER] and [ANSWER]
['Q1280760', 'P1196', {'concept': 'Q1931388'}] ['Q272083', 'P1196', {'concept': 'Q1931388'}] ['Q950857', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { { resource:Q272083 property:P1196 ?x . ?x rdf:type ontology:Q1931388 } UNION { ?x rdf:type ontology:Q1931388 . resource:Q1280760 property:P1196 ?x } }
natural causes natural causes natural causes
Ward Bond , Glenda Farrell and Warren William died in natural causes, natural causes and natural causes
natural causes natural causes natural causes
action union
action filter_type
action find
entity Ward Bond
relation manner of death
type cause of death
action filter_type
action find
entity Glenda Farrell
relation manner of death
type cause of death
action filter_type
action find
entity Warren William
relation manner of death
type cause of death
['Ward Bond', 'manner of death', {'concept': 'cause of death'}] ['Glenda Farrell', 'manner of death', {'concept': 'cause of death'}] ['Warren William', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { { resource:Glenda_Farrell property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death } UNION { ?x rdf:type ontology:cause_of_death . resource:Ward_Bond property:manner_of_death ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q301649
P344
Q502895
USER
Which person is the cinematographer of Lady for a Day ?
(Q301649,P344,c(Q502895))
action filter_type
action find
entity Q301649
relation P344
type Q502895
['Q301649', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q301649 property:P344 ?x . ?x rdf:type ontology:Q502895 }
Lady for a Day
action filter_type
action find
entity Lady for a Day
relation director of photography
type common name
['Lady for a Day', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Lady_for_a_Day property:director_of_photography ?x . ?x rdf:type ontology:common_name }
[]
common name
Q960230
SYSTEM
Joseph Walker
Q960230
(Q301649,P344,c(Q502895))
action filter_type
action find
entity Q301649
relation P344
type Q502895
[ANSWER] is the cinematographer of Lady for a Day
['Q301649', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q301649 property:P344 ?x . ?x rdf:type ontology:Q502895 }
Joseph Walker
Joseph Walker is the cinematographer of Lady for a Day
Joseph Walker
action filter_type
action find
entity Lady for a Day
relation director of photography
type common name
['Lady for a Day', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Lady_for_a_Day property:director_of_photography ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q301649
P136
Q483394
USER
What can be considered as category for that work of art ?
(Q960230,P136,c(Q483394))
action filter_type
action find
entity Q301649
relation P136
type Q483394
['Q960230', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?r WHERE { resource:Q301649 property:P136 ?r . ?r rdf:type ontology:Q483394 }
Lady for a Day
action filter_type
action find
entity Lady for a Day
relation genre
type genre
['Joseph Walker', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?r WHERE { resource:Lady_for_a_Day property:genre ?r . ?r rdf:type ontology:genre }
[]
genre
Q859369
SYSTEM
comedy-drama
Q859369
(Q960230,P136,c(Q483394))
action filter_type
action find
entity Q301649
relation P136
type Q483394
[ANSWER] can be considered as category for that work of art
['Q960230', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?r WHERE { resource:Q301649 property:P136 ?r . ?r rdf:type ontology:Q483394 }
comedy-drama
Comedy-drama can be considered as category for that work of art
comedy-drama
action filter_type
action find
entity Lady for a Day
relation genre
type genre
['Joseph Walker', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?r WHERE { resource:Lady_for_a_Day property:genre ?r . ?r rdf:type ontology:genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1280760
P1050
Q2057971
USER
What does Ward Bond suffer from ?
(Q1280760,P1050,c(Q2057971))
action filter_type
action find
entity Q1280760
relation P1050
type Q2057971
['Q1280760', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q1280760 property:P1050 ?q . ?q rdf:type ontology:Q2057971 }
Ward Bond
action filter_type
action find
entity Ward Bond
relation medical condition
type health problem
['Ward Bond', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:Ward_Bond property:medical_condition ?q . ?q rdf:type ontology:health_problem }
[]
health problem
Q41571
SYSTEM
epilepsy
Q41571
(Q1280760,P1050,c(Q2057971))
action filter_type
action find
entity Q1280760
relation P1050
type Q2057971
Ward Bond suffers from [ANSWER]
['Q1280760', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q1280760 property:P1050 ?q . ?q rdf:type ontology:Q2057971 }
epilepsy
Ward Bond suffers from epilepsy
epilepsy
action filter_type
action find
entity Ward Bond
relation medical condition
type health problem
['Ward Bond', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:Ward_Bond property:medical_condition ?q . ?q rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q41571 Q24153252 Q210402
P2176
Q8386
USER
Does epilepsy require antibacterial drug and diazepam in its treatment ?
(Q41571,P2176,Q24153252) (Q41571,P2176,Q210402)
action is_in
entity Q41571
action intersection
action find_reverse
entity Q24153252
relation P2176
action find_reverse
entity Q210402
relation P2176
['Q41571', 'P2176', 'Q24153252'] ['Q41571', 'P2176', 'Q210402']
ASK WHERE { resource:Q41571 property:P2176 resource:Q24153252 . resource:Q41571 property:P2176 resource:Q210402 }
epilepsy antibacterial drug diazepam
action is_in
entity epilepsy
action intersection
action find_reverse
entity antibacterial drug
relation drug used for treatment
action find_reverse
entity diazepam
relation drug used for treatment
['epilepsy', 'drug used for treatment', 'antibacterial drug'] ['epilepsy', 'drug used for treatment', 'diazepam']
ASK WHERE { resource:epilepsy property:drug_used_for_treatment resource:antibacterial_drug . resource:epilepsy property:drug_used_for_treatment resource:diazepam }
[]
drug
SYSTEM
NO and YES respectively
(Q41571,P2176,Q24153252) (Q41571,P2176,Q210402)
action is_in
entity Q41571
action intersection
action find_reverse
entity Q24153252
relation P2176
action find_reverse
entity Q210402
relation P2176
[ANSWER]
['Q41571', 'P2176', 'Q24153252'] ['Q41571', 'P2176', 'Q210402']
ASK WHERE { resource:Q41571 property:P2176 resource:Q24153252 . resource:Q41571 property:P2176 resource:Q210402 }
NO and YES respectively
action is_in
entity epilepsy
action intersection
action find_reverse
entity antibacterial drug
relation drug used for treatment
action find_reverse
entity diazepam
relation drug used for treatment
['epilepsy', 'drug used for treatment', 'antibacterial drug'] ['epilepsy', 'drug used for treatment', 'diazepam']
ASK WHERE { resource:epilepsy property:drug_used_for_treatment resource:antibacterial_drug . resource:epilepsy property:drug_used_for_treatment resource:diazepam }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41571
P2293
Q863908
USER
Which nucleic acid sequences are genetically linked with epilepsy ?
(c(Q863908),P2293,Q41571)
action filter_type
action find
entity Q41571
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q41571']
SELECT DISTINCT ?h WHERE { resource:Q41571 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
epilepsy
action filter_type
action find
entity epilepsy
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'epilepsy']
SELECT DISTINCT ?h WHERE { resource:epilepsy property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18030938 Q18056155 Q17861955
SYSTEM
PTPRD, MAST4, CHRM3
Q18030575 Q17861955 Q18030938 Q18056155
(c(Q863908),P2293,Q41571)
action filter_type
action find
entity Q41571
relation P2293
type Q863908
[ANSWERS] are genetically linked with epilepsy
[{'concept': 'Q863908'}, 'P2293', 'Q41571']
SELECT DISTINCT ?h WHERE { resource:Q41571 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
PLA2G4A CHRM3 PTPRD MAST4
PTPRD, MAST4 and CHRM3 are genetically linked with epilepsy
PTPRD MAST4 CHRM3
action filter_type
action find
entity epilepsy
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'epilepsy']
SELECT DISTINCT ?h WHERE { resource:epilepsy property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18030938 Q18056155 Q17861955
P2293
Q2057971
USER
Which health problems are genetically connected with PTPRD, MAST4 and CHRM3 ?
(c(Q2057971),P2293,Q18030938) (c(Q2057971),P2293,Q18056155) (c(Q2057971),P2293,Q17861955)
action union
action filter_type
action find
entity Q18030938
relation P2293
type Q2057971
action filter_type
action find
entity Q18056155
relation P2293
type Q2057971
action filter_type
action find
entity Q17861955
relation P2293
type Q2057971
[{'concept': 'Q2057971'}, 'P2293', 'Q18030938'] [{'concept': 'Q2057971'}, 'P2293', 'Q18056155'] [{'concept': 'Q2057971'}, 'P2293', 'Q17861955']
SELECT DISTINCT ?h WHERE { VALUES ( ?p ) { ( resource:Q18030938 ) ( resource:Q18056155 ) } . ?p property:P2293 ?h }
PTPRD MAST4 CHRM3
action union
action filter_type
action find
entity PTPRD
relation genetic association
type health problem
action filter_type
action find
entity MAST4
relation genetic association
type health problem
action filter_type
action find
entity CHRM3
relation genetic association
type health problem
[{'concept': 'health problem'}, 'genetic association', 'PTPRD'] [{'concept': 'health problem'}, 'genetic association', 'MAST4'] [{'concept': 'health problem'}, 'genetic association', 'CHRM3']
SELECT DISTINCT ?h WHERE { VALUES ( ?p ) { ( resource:PTPRD ) ( resource:MAST4 ) } . ?p property:genetic_association ?h }
[]
health problem
Q12174 Q18556697 Q3025883
SYSTEM
obesity, human immunodeficiency virus infectious disease, type 2 diabetes mellitus
Q18971509 Q12174 Q41571 Q3025883 Q168403 Q916280 Q18556697 Q12252367 Q41571 Q41571
(c(Q2057971),P2293,Q18030938) (c(Q2057971),P2293,Q18056155) (c(Q2057971),P2293,Q17861955)
action union
action filter_type
action find
entity Q18030938
relation P2293
type Q2057971
action filter_type
action find
entity Q18056155
relation P2293
type Q2057971
action filter_type
action find
entity Q17861955
relation P2293
type Q2057971
[ANSWERS] are genetically connected with PTPRD, MAST4 and CHRM3
[{'concept': 'Q2057971'}, 'P2293', 'Q18030938'] [{'concept': 'Q2057971'}, 'P2293', 'Q18056155'] [{'concept': 'Q2057971'}, 'P2293', 'Q17861955']
SELECT DISTINCT ?h WHERE { VALUES ( ?p ) { ( resource:Q18030938 ) ( resource:Q18056155 ) } . ?p property:P2293 ?h }
focal epilepsy obesity epilepsy type 2 diabetes mellitus myopia restless legs syndrome human immunodeficiency virus infectious disease atherosclerosis epilepsy epilepsy
Obesity, human immunodeficiency virus infectious disease and type 2 diabetes mellitus are genetically connected with PTPRD, MAST4 and CHRM3
obesity human immunodeficiency virus infectious disease type 2 diabetes mellitus
action union
action filter_type
action find
entity PTPRD
relation genetic association
type health problem
action filter_type
action find
entity MAST4
relation genetic association
type health problem
action filter_type
action find
entity CHRM3
relation genetic association
type health problem
[{'concept': 'health problem'}, 'genetic association', 'PTPRD'] [{'concept': 'health problem'}, 'genetic association', 'MAST4'] [{'concept': 'health problem'}, 'genetic association', 'CHRM3']
SELECT DISTINCT ?h WHERE { VALUES ( ?p ) { ( resource:PTPRD ) ( resource:MAST4 ) } . ?p property:genetic_association ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18030938
P702
Q181394
USER
Which nutrients do PTPRD encode ?
(c(Q181394),P702,Q12174) (c(Q181394),P702,Q18556697) (c(Q181394),P702,Q3025883)
action filter_type
action find_reverse
entity Q18030938
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q12174'] [{'concept': 'Q181394'}, 'P702', 'Q18556697'] [{'concept': 'Q181394'}, 'P702', 'Q3025883']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q181394 . ?g property:P702 resource:Q18030938 }
PTPRD
action filter_type
action find_reverse
entity PTPRD
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'obesity'] [{'concept': 'nutrient'}, 'encoded by', 'human immunodeficiency virus infectious disease'] [{'concept': 'nutrient'}, 'encoded by', 'type 2 diabetes mellitus']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:nutrient . ?g property:encoded_by resource:PTPRD }
[]
nutrient
Q21149392 Q21123804
SYSTEM
PTPRD protein, Receptor-type tyrosine-protein phosphatase delta
Q21149392 Q21123804
(c(Q181394),P702,Q12174) (c(Q181394),P702,Q18556697) (c(Q181394),P702,Q3025883)
action filter_type
action find_reverse
entity Q18030938
relation P702
type Q181394
PTPRD encode codes [ANSWERS]
[{'concept': 'Q181394'}, 'P702', 'Q12174'] [{'concept': 'Q181394'}, 'P702', 'Q18556697'] [{'concept': 'Q181394'}, 'P702', 'Q3025883']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q181394 . ?g property:P702 resource:Q18030938 }
PTPRD protein Receptor-type tyrosine-protein phosphatase delta
PTPRD encode codes PTPRD protein and Receptor-type tyrosine-protein phosphatase delta
PTPRD protein Receptor-type tyrosine-protein phosphatase delta
action filter_type
action find_reverse
entity PTPRD
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'obesity'] [{'concept': 'nutrient'}, 'encoded by', 'human immunodeficiency virus infectious disease'] [{'concept': 'nutrient'}, 'encoded by', 'type 2 diabetes mellitus']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:nutrient . ?g property:encoded_by resource:PTPRD }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q960230
P734
Q82799
USER
Who is associated with Joseph Walker ?
(Q960230,P734,c(Q82799))
action filter_type
action find
entity Q960230
relation P734
type Q82799
['Q960230', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q960230 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Joseph Walker
action filter_type
action find
entity Joseph Walker
relation family name
type name
['Joseph Walker', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Joseph_Walker property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q1158605
SYSTEM
Walker
Q1158605
(Q960230,P734,c(Q82799))
action filter_type
action find
entity Q960230
relation P734
type Q82799
[ANSWER] is associated with Joseph [ANSWER]
['Q960230', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q960230 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Walker
Walker is associated with Joseph Walker
Walker
action filter_type
action find
entity Joseph Walker
relation family name
type name
['Joseph Walker', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Joseph_Walker property:family_name ?b . ?b rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1158605 Q9056 Q1860
P407
Q34770
USER
Is that name in Czech and English ?
(Q1158605,P407,Q9056) (Q1158605,P407,Q1860)
action is_in
entity Q1158605
action intersection
action find_reverse
entity Q9056
relation P407
action find_reverse
entity Q1860
relation P407
['Q1158605', 'P407', 'Q9056'] ['Q1158605', 'P407', 'Q1860']
ASK WHERE { resource:Q1158605 property:P407 resource:Q9056 . resource:Q1158605 property:P407 resource:Q1860 }
Walker Czech English
action is_in
entity Walker
action intersection
action find_reverse
entity Czech
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Walker', 'language of work or name', 'Czech'] ['Walker', 'language of work or name', 'English']
ASK WHERE { resource:Walker property:language_of_work_or_name resource:Czech . resource:Walker property:language_of_work_or_name resource:English }
[]
language
SYSTEM
NO and YES respectively
(Q1158605,P407,Q9056) (Q1158605,P407,Q1860)
action is_in
entity Q1158605
action intersection
action find_reverse
entity Q9056
relation P407
action find_reverse
entity Q1860
relation P407
[ANSWER]
['Q1158605', 'P407', 'Q9056'] ['Q1158605', 'P407', 'Q1860']
ASK WHERE { resource:Q1158605 property:P407 resource:Q9056 . resource:Q1158605 property:P407 resource:Q1860 }
NO and YES respectively
action is_in
entity Walker
action intersection
action find_reverse
entity Czech
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Walker', 'language of work or name', 'Czech'] ['Walker', 'language of work or name', 'English']
ASK WHERE { resource:Walker property:language_of_work_or_name resource:Czech . resource:Walker property:language_of_work_or_name resource:English }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q41571 Q5515257 Q240642
P2176
Q8386
USER
Is epilepsy cured by gabapentin enacarbil and valproic acid ?
(Q41571,P2176,Q5515257) (Q41571,P2176,Q240642)
action is_in
entity Q41571
action intersection
action find_reverse
entity Q5515257
relation P2176
action find_reverse
entity Q240642
relation P2176
['Q41571', 'P2176', 'Q5515257'] ['Q41571', 'P2176', 'Q240642']
ASK WHERE { resource:Q41571 property:P2176 resource:Q5515257 . resource:Q41571 property:P2176 resource:Q240642 }
epilepsy gabapentin enacarbil valproic acid
action is_in
entity epilepsy
action intersection
action find_reverse
entity gabapentin enacarbil
relation drug used for treatment
action find_reverse
entity valproic acid
relation drug used for treatment
['epilepsy', 'drug used for treatment', 'gabapentin enacarbil'] ['epilepsy', 'drug used for treatment', 'valproic acid']
ASK WHERE { resource:epilepsy property:drug_used_for_treatment resource:gabapentin_enacarbil . resource:epilepsy property:drug_used_for_treatment resource:valproic_acid }
[]
drug
SYSTEM
YES
(Q41571,P2176,Q5515257) (Q41571,P2176,Q240642)
action is_in
entity Q41571
action intersection
action find_reverse
entity Q5515257
relation P2176
action find_reverse
entity Q240642
relation P2176
[ANSWER]
['Q41571', 'P2176', 'Q5515257'] ['Q41571', 'P2176', 'Q240642']
ASK WHERE { resource:Q41571 property:P2176 resource:Q5515257 . resource:Q41571 property:P2176 resource:Q240642 }
Yes
action is_in
entity epilepsy
action intersection
action find_reverse
entity gabapentin enacarbil
relation drug used for treatment
action find_reverse
entity valproic acid
relation drug used for treatment
['epilepsy', 'drug used for treatment', 'gabapentin enacarbil'] ['epilepsy', 'drug used for treatment', 'valproic acid']
ASK WHERE { resource:epilepsy property:drug_used_for_treatment resource:gabapentin_enacarbil . resource:epilepsy property:drug_used_for_treatment resource:valproic_acid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q41571
P1050
Q502895
USER
How many people have the disease epilepsy ?
(c(Q502895),P1050,Q41571)
action count
action filter_type
action find_reverse
entity Q41571
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q41571']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P1050 resource:Q41571 . ?h rdf:type ontology:Q502895 }
epilepsy
action count
action filter_type
action find_reverse
entity epilepsy
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'epilepsy']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:medical_condition resource:epilepsy . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
131
Q192165 Q41654 Q6524751 Q491787 Q235931 Q991 Q7326873 Q2497776 Q5243856 Q5387928 Q3807434 Q694881 Q84201 Q5669353 Q6524515 Q517 Q942066 Q3518909 Q7378068 Q31082 Q4351984 Q3295485 Q291133 Q5443847 Q435306 Q6308169 Q1355622 Q238397 Q1991026 Q375709 Q102870 Q3521562 Q6862791 Q1048 Q6450928 Q1385992 Q723693 Q1280760 Q3565555 Q5229223 Q33391 Q6192317 Q6317945 Q204810 Q13424289 Q433281 Q460929 Q15615 Q5365719 Q1197667 Q11745 Q2608819 Q3528112 Q7786728 Q329716 Q718174 Q2492135 Q5571441 Q1378107 Q739950 Q5214037 Q1972390 Q349799 Q5162016 Q2619547 Q714780 Q6122715 Q175788 Q72720 Q36174 Q342969 Q57218 Q23888 Q976071 Q6245379 Q6282881 Q43720 Q536415 Q3249158 Q361271 Q2341169 Q2714938 Q5070898 Q6377302 Q253167 Q5082780 Q526983 Q2450630 Q183579 Q3536355 Q7378043 Q237490 Q310488 Q23810 Q132682 Q7331444 Q42204 Q2056384 Q2442506 Q1397375 Q6794659 Q7336564 Q15992917 Q5343924 Q382035 Q6170445 Q2038289 Q683410 Q6284505 Q276226 Q439095 Q478832 Q7330717 Q3308791 Q14185693 Q633 Q319380 Q309759 Q5582 Q160541 Q4943695 Q2628541 Q4665655 Q4724 Q207867 Q7542 Q311425 Q11153 Q435600 Q256548 Q721887
(c(Q502895),P1050,Q41571)
action count
action filter_type
action find_reverse
entity Q41571
relation P1050
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1050', 'Q41571']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P1050 resource:Q41571 . ?h rdf:type ontology:Q502895 }
Danny Glover Michael IV the Paphlagonian Leon Legge Claudio Bravo Teena Marie Fyodor Dostoyevsky Richard Jobson Rihard Jakopič DeBarra Mayo Erica Wagner Jason Snelling Paul Maynard Archduke Charles, Duke of Teschen Harry H. Laughlin Leon Bender Napoleon Ian Roberts Terry Marsh Rufus King Florence Griffith-Joyner Edith Bowman Martin Kemp Leonora Dori Ferdinand II Hohenstein Lindsey Buckingham Julie Ferguson Tony Lazzeri Ida Saxton McKinley Elizabeth Clare Prophet Don Craig Wiley Harriet Tubman Jonty Rhodes Minakata Kumagusu Julius Caesar Kyffin Williams Michael Wilding Ottis Toole Ward Bond Wally Lewis Dave Longaberger Leon Trotsky Mike Skinner Justin Moyer Ion Creangă Edward Snowden Michael Lee Dai Greene Lil Wayne Elliott Roosevelt I Vachel Lindsay Arfa Karim Alan Faneca Colin Blythe Thom Jones Michael Jeter Federico Ubaldo della Rovere, Duke of Urbino Davis Tarwater Gloria Pascoe Mike Adamle Hilmir Snær Guðnason Dan Mitchell Grover Cleveland Alexander Ad-Rock Connor Doran Fabia Eudokia Prince Erik, Duke of Västmanland Jago Eliot, Lord Eliot David Lane Meshell Ndegeocello Charles II of Spain Charles Altamont Doyle Rudi Dutschke Bud Abbott Laurie Lee John Lovell Joseph Elkington Pius IX Wynton Kelly Samari Rolle John A. Bennett Geoff Rickly Prince Gaetan, Count of Girgenti Chanda Gunn Kathy Sierra Margaux Hemingway Charles Swain Joe Doyle Francis Libermann Ferdinand I of Austria Tracy Pew Rufus Hannah Elizabeth of Austria Prince John of the United Kingdom Alfred Nobel Modest Mussorgsky Rick Harrison Hugo Weaving Paul Wade Tony Coelho Francis Hopkinson Max Clifford Rita Marcalo Matt Doust Edward Kern Richard Ramirez Jean Clemens Tony Greig Norbert Burgmüller Joseph Kallinger Marion Clignet Rik Mayall Laura Sandys Richmal Oates-Whitehead Barry George Katie Hopkins Neil Young Vugar Gashimov Edward Lear Vincent van Gogh Prince Leopold, Duke of Albany Boonreung Buachan Hikari Ōe Abdul Rahman Yasin Le Corbusier Ian Curtis Prince Guadalupe Victoria John Roberts Jimmy Reed Karen Armstrong Lionel Blue
131
action count
action filter_type
action find_reverse
entity epilepsy
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'epilepsy']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:medical_condition resource:epilepsy . ?h rdf:type ontology:common_name }
[]