Simple Question (Direct)
Simple Question
Q1355729
P1050
Q2057971
USER
Which health problem does Neil Harbisson have ?
(Q1355729,P1050,c(Q2057971))
action filter_type
action find
entity Q1355729
relation P1050
type Q2057971
['Q1355729', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . resource:Q1355729 property:P1050 ?o }
Neil Harbisson
action filter_type
action find
entity Neil Harbisson
relation medical condition
type health problem
['Neil Harbisson', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . resource:Neil_Harbisson property:medical_condition ?o }
[]
health problem
Q133696
SYSTEM
color blindness
Q133696
(Q1355729,P1050,c(Q2057971))
action filter_type
action find
entity Q1355729
relation P1050
type Q2057971
Neil Harbisson has the [ANSWER]
['Q1355729', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . resource:Q1355729 property:P1050 ?o }
color blindness
Neil Harbisson has the color blindness
color blindness
action filter_type
action find
entity Neil Harbisson
relation medical condition
type health problem
['Neil Harbisson', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . resource:Neil_Harbisson property:medical_condition ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q133696
P1995
Q1047113
USER
Which special field is the medical expertise concerned with that health problem ?
(Q133696,P1995,c(Q1047113))
action filter_type
action find
entity Q133696
relation P1995
type Q1047113
['Q133696', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?m WHERE { resource:Q133696 property:P1995 ?m . ?m rdf:type ontology:Q1047113 }
color blindness
action filter_type
action find
entity color blindness
relation medical specialty
type special field
['color blindness', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?m WHERE { resource:color_blindness property:medical_specialty ?m . ?m rdf:type ontology:special_field }
[]
special field
Q161437
SYSTEM
ophthalmology
Q161437
(Q133696,P1995,c(Q1047113))
action filter_type
action find
entity Q133696
relation P1995
type Q1047113
[ANSWER] is the medical expertise concerned with that health problem
['Q133696', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?m WHERE { resource:Q133696 property:P1995 ?m . ?m rdf:type ontology:Q1047113 }
ophthalmology
Ophthalmology is the medical expertise concerned with that health problem
ophthalmology
action filter_type
action find
entity color blindness
relation medical specialty
type special field
['color blindness', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?m WHERE { resource:color_blindness property:medical_specialty ?m . ?m rdf:type ontology:special_field }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q416417
Q1047113
USER
And how about Akathisia?
(Q416417,P1995,c(Q1047113))
action filter_type
action find
entity Q416417
relation P1995
type Q1047113
['Q416417', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?d WHERE { resource:Q416417 property:P1995 ?d . ?d rdf:type ontology:Q1047113 }
Akathisia
action filter_type
action find
entity Akathisia
relation medical specialty
type special field
['Akathisia', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?d WHERE { resource:Akathisia property:medical_specialty ?d . ?d rdf:type ontology:special_field }
[]
special field
Q83042
SYSTEM
neurology
Q83042
(Q416417,P1995,c(Q1047113))
action filter_type
action find
entity Q416417
relation P1995
type Q1047113
[ANSWER]
['Q416417', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?d WHERE { resource:Q416417 property:P1995 ?d . ?d rdf:type ontology:Q1047113 }
neurology
neurology
action filter_type
action find
entity Akathisia
relation medical specialty
type special field
['Akathisia', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?d WHERE { resource:Akathisia property:medical_specialty ?d . ?d rdf:type ontology:special_field }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1995
Q2057971
USER
How many health problems specializes in that special field ?
(c(Q2057971),P1995,Q83042)
action count
action filter_type
action find_reverse
entity Q83042
relation P1995
type Q2057971
[{'concept': 'Q2057971'}, 'P1995', 'Q83042']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:Q2057971 . ?t property:P1995 resource:Q83042 }
action count
action filter_type
action find_reverse
entity neurology
relation medical specialty
type health problem
[{'concept': 'health problem'}, 'medical specialty', 'neurology']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:health_problem . ?t property:medical_specialty resource:neurology }
[]
health problem
SYSTEM
181
Q4973199 Q1919487 Q649602 Q1049655 Q1947307 Q587420 Q18740 Q49989 Q1255956 Q1041258 Q583908 Q189561 Q213600 Q1132120 Q1410673 Q1431371 Q4813631 Q2325854 Q17083186 Q751641 Q17156972 Q1815019 Q3508787 Q4804182 Q3269843 Q2484592 Q1476361 Q370066 Q12202 Q3338681 Q5282843 Q3029045 Q657516 Q1788314 Q3312899 Q7879711 Q11081 Q11085 Q190370 Q616667 Q177809 Q1756898 Q1137767 Q17125280 Q2310947 Q1297985 Q1995327 Q11707850 Q174651 Q17232521 Q3301664 Q2881413 Q620760 Q551085 Q18209712 Q979168 Q6901840 Q221472 Q3508804 Q5182126 Q794457 Q2346415 Q742099 Q3338682 Q4731121 Q945930 Q17141939 Q593958 Q3281293 Q11540874 Q1066311 Q133823 Q980709 Q6881881 Q576349 Q250365 Q8285 Q1051436 Q4837923 Q209733 Q693872 Q488214 Q6152510 Q498916 Q4898733 Q177190 Q1321884 Q1531322 Q613809 Q1186703 Q1126839 Q1881388 Q2868788 Q862872 Q7562539 Q629444 Q3792460 Q2303951 Q3456637 Q190564 Q163905 Q161790 Q7234177 Q638975 Q3042171 Q944758 Q1331905 Q192579 Q3026441 Q1076421 Q4862390 Q8277 Q1399182 Q1153641 Q2669284 Q5114004 Q403453 Q1558317 Q199615 Q495068 Q522163 Q1634879 Q1648484 Q543517 Q1755122 Q1541975 Q1125121 Q205214 Q741208 Q9294654 Q13038909 Q1507379 Q4463723 Q665207 Q210427 Q883863 Q624590 Q906492 Q2140130 Q18592 Q1470530 Q48143 Q1502312 Q622828 Q3144201 Q3961686 Q2666433 Q1209150 Q41571 Q112412 Q83030 Q132971 Q580290 Q913856 Q2844600 Q427118 Q4771330 Q899726 Q387082 Q693519 Q1135338 Q1544884 Q11571043 Q11571043 Q1198391 Q5532415 Q332293 Q916280 Q1436162 Q1712213 Q1531991 Q3508800 Q424242 Q9386865 Q2356131 Q826103 Q1335642 Q1860507 Q154709 Q166907 Q611458
(c(Q2057971),P1995,Q83042)
action count
action filter_type
action find_reverse
entity Q83042
relation P1995
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P1995', 'Q83042']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:Q2057971 . ?t property:P1995 resource:Q83042 }
Brody myopathy Melkersson-Rosenthal syndrome Ohtahara syndrome paraplegia basal ganglia calcification Myotonia congenita transient global amnesia Creutzfeldt-Jakob disease Dravet syndrome West syndrome vascular dementia narcolepsy sleep apnea trigeminal neuralgia Tarsal tunnel syndrome Frey's syndrome dyskinetic cerebral palsy Riley-Day syndrome obstructive sleep apnea recurrent hypersomnia Paroxysmal sympathetic hyperactivity Leigh disease Postencephalitic parkinsonism aseptic meningitis Hyperkalemic periodic paralysis Becker muscular dystrophy tropical spastic paraparesis Tolosa–Hunt syndrome stroke Hereditary sensory and autonomic neuropathy type I Distal muscular dystrophy spastic diplegia Hereditary spastic paraplegia familial periodic paralysis familial hemiplegic migraine ulnar neuropathy Alzheimer's disease Parkinson's disease central pontine myelinolysis temporal lobe epilepsy Refsum disease Lambert-Eaton myasthenic syndrome muscular dystrophy Lateral pontine syndrome spinocerebellar ataxia type 13 Brain herniation Kennedy's disease motor neuron disease Bálint's syndrome vascular myelopathy viral meningitis lateral sclerosis Postural orthostatic tachycardia syndrome myelitis Autoimmune autonomic ganglionopathy brain edema Monoplegia fragile X syndrome paraneoplastic neurologic syndrome cranial nerve disease Locked-in syndrome meningoencephalitis Subclavian steal syndrome Giant axonal neuropathy Allan-Herndon-Dudley syndrome progressive supranuclear palsy Hereditary neuralgic amyotrophy transient cerebral ischemia Roussy–Lévy syndrome Vertebrobasilar insufficiency complex regional pain syndrome migraine status epilepticus mitochondrial myopathy brain disease facial hemiatrophy myasthenia gravis Cauda equina syndrome Babinski–Nageotte syndrome chronic fatigue syndrome Meige syndrome benign epilepsy with centrotemporal spikes cervical dystonia apraxia Epilepsia partialis continua sleep disorder congenital muscular dystrophy limb-girdle muscular dystrophy Kleine-Levin syndrome demyelinating disease Horner's syndrome MERRF syndrome spinocerebellar ataxia type 6 fatal familial insomnia facial paralysis Dyskinesia Subdural hygroma spinal cord disease X-linked myopathy with excessive autophagy Huntington's disease Lafora disease Asperger syndrome posterior cerebral artery infarction central core myopathy oculopharyngeal muscular dystrophy Tetraplegia dementia with Lewy bodies jet lag Machado–Joseph disease chorea brain ischemia multiple sclerosis facioscapulohumeral muscular dystrophy Wolfram syndrome Arachnoiditis Chronic traumatic encephalopathy Aicardi-Goutieres syndrome focal hand dystonia encephalitis Todd's paresis Sydenham's chorea encephalomyelitis Duchenne muscular dystrophy juvenile myoclonic epilepsy Neurodegeneration multiple system atrophy advanced sleep phase syndrome Guillain–Barré syndrome pseudotumor cerebri alcoholic polyneuropathy periodic limb movement disorder nemaline myopathy cavernous sinus thrombosis thoracic outlet syndrome cerebral palsy blepharospasm Arachnoid cyst dystonia lateral medullary syndrome frontotemporal dementia delayed sleep phase disorder meningitis polyneuropathy Hypokalemic periodic paralysis Excessive daytime sleepiness Ramsay Hunt syndrome type I MELAS syndrome cerebral infarction epilepsy congenital myopathy dementia dyslexia Spinal muscular atrophy Friedreich's ataxia muscular atrophy radial neuropathy anterior cerebral artery infarction Spinocerebellar ataxia Ataxia telangiectasia essential tremor Bell's palsy Lennox-Gastaut syndrome Idiopathic hypersomnia Idiopathic hypersomnia intracranial aneurysm idiopathic generalized epilepsy carpal tunnel syndrome restless legs syndrome Pantothenate kinase-associated neurodegeneration Normal pressure hydrocephalus Parkinsonian syndrome congenital myasthenic syndrome acute disseminated encephalomyelitis Olivopontocerebellar atrophy Unverricht-Lundborg syndrome Reye's syndrome Emery-Dreifuss muscular dystrophy myotonic dystrophy type 1 cerebellar ataxia cluster headache neuromyelitis optica
181
action count
action filter_type
action find_reverse
entity neurology
relation medical specialty
type health problem
[{'concept': 'health problem'}, 'medical specialty', 'neurology']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:health_problem . ?t property:medical_specialty resource:neurology }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1355729 Q1175669
P50
Q2342494
USER
How many collectables are written by Neil Harbisson or David Michaels ?
(c(Q2342494),P50,Q1355729) (c(Q2342494),P50,Q1175669)
action count
action union
action filter_type
action find_reverse
entity Q1355729
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q1175669
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1355729'] [{'concept': 'Q2342494'}, 'P50', 'Q1175669']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:P50 resource:Q1355729 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P50 resource:Q1175669 . ?m rdf:type ontology:Q2342494 } }
Neil Harbisson David Michaels
action count
action union
action filter_type
action find_reverse
entity Neil Harbisson
relation author
type collectable
action filter_type
action find_reverse
entity David Michaels
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Neil Harbisson'] [{'concept': 'collectable'}, 'author', 'David Michaels']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:author resource:Neil_Harbisson . ?m rdf:type ontology:collectable } UNION { ?m property:author resource:David_Michaels . ?m rdf:type ontology:collectable } }
[]
collectable
SYSTEM
8
Q1131434 Q3992454 Q1392028 Q3992455 Q15070936 Q1102091 Q4051564 Q1826472
(c(Q2342494),P50,Q1355729) (c(Q2342494),P50,Q1175669)
action count
action union
action filter_type
action find_reverse
entity Q1355729
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q1175669
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q1355729'] [{'concept': 'Q2342494'}, 'P50', 'Q1175669']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:P50 resource:Q1355729 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P50 resource:Q1175669 . ?m rdf:type ontology:Q2342494 } }
Tom Clancy's Splinter Cell: Operation Barracuda Tom Clancy's Splinter Cell: Conviction Tom Clancy's EndWar Tom Clancy's Splinter Cell: Checkmate Tom Clancy's EndWar: The Hunted Tom Clancy's Splinter Cell Tom Clancy's Splinter Cell: Fallout Tom Clancy's Ghost Recon
8
action count
action union
action filter_type
action find_reverse
entity Neil Harbisson
relation author
type collectable
action filter_type
action find_reverse
entity David Michaels
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Neil Harbisson'] [{'concept': 'collectable'}, 'author', 'David Michaels']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:author resource:Neil_Harbisson . ?m rdf:type ontology:collectable } UNION { ?m property:author resource:David_Michaels . ?m rdf:type ontology:collectable } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1355729 Q27651264
P734
Q82799
USER
How many names are associated with Neil Harbisson or Arwidsson ?
(Q1355729,P734,c(Q82799)) (Q27651264,P734,c(Q82799))
action count
action union
action filter_type
action find
entity Q1355729
relation P734
type Q82799
action filter_type
action find
entity Q27651264
relation P734
type Q82799
['Q1355729', 'P734', {'concept': 'Q82799'}] ['Q27651264', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Q1355729 property:P734 ?k . ?k rdf:type ontology:Q82799 } UNION { resource:Q27651264 property:P734 ?k . ?k rdf:type ontology:Q82799 } }
Neil Harbisson Arwidsson
action count
action union
action filter_type
action find
entity Neil Harbisson
relation family name
type name
action filter_type
action find
entity Arwidsson
relation family name
type name
['Neil Harbisson', 'family name', {'concept': 'name'}] ['Arwidsson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Neil_Harbisson property:family_name ?k . ?k rdf:type ontology:name } UNION { resource:Arwidsson property:family_name ?k . ?k rdf:type ontology:name } }
[]
name
SYSTEM
2
Q25294874 Q16158929
(Q1355729,P734,c(Q82799)) (Q27651264,P734,c(Q82799))
action count
action union
action filter_type
action find
entity Q1355729
relation P734
type Q82799
action filter_type
action find
entity Q27651264
relation P734
type Q82799
[ANSWER]
['Q1355729', 'P734', {'concept': 'Q82799'}] ['Q27651264', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Q1355729 property:P734 ?k . ?k rdf:type ontology:Q82799 } UNION { resource:Q27651264 property:P734 ?k . ?k rdf:type ontology:Q82799 } }
Harbisson Arwidsson
2
action count
action union
action filter_type
action find
entity Neil Harbisson
relation family name
type name
action filter_type
action find
entity Arwidsson
relation family name
type name
['Neil Harbisson', 'family name', {'concept': 'name'}] ['Arwidsson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Neil_Harbisson property:family_name ?k . ?k rdf:type ontology:name } UNION { resource:Arwidsson property:family_name ?k . ?k rdf:type ontology:name } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q5962346 Q1047113
USER
Which classification schemes are exactly 1 special field a portion of ?
(c(Q1047113),P361,c(Q5962346))
action equal
action find_reverse_tuple_counts
relation P361
type Q5962346
type Q1047113
value 1
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:P361 ?b . ?b rdf:type ontology:Q5962346 . ?t rdf:type ontology:Q1047113 } GROUP BY ?b } }
action equal
action find_reverse_tuple_counts
relation part of
type classification scheme
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:part_of ?b . ?b rdf:type ontology:classification_scheme . ?t rdf:type ontology:special_field } GROUP BY ?b } }
[]
classification scheme special field
Q787422 Q7193 Q188504
SYSTEM
Automatic Control (technology of automation), microbiology, alternative medicine
Q7193 Q787422 Q188504 Q216320
(c(Q1047113),P361,c(Q5962346))
action equal
action find_reverse_tuple_counts
relation P361
type Q5962346
type Q1047113
value 1
[ANSWERS] are exactly 1 special field a portion of
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:P361 ?b . ?b rdf:type ontology:Q5962346 . ?t rdf:type ontology:Q1047113 } GROUP BY ?b } }
microbiology Automatic Control (technology of automation) alternative medicine fluid dynamics
Automatic Control (technology of automation), microbiology and alternative medicine are exactly 1 special field a portion of
Automatic Control (technology of automation) microbiology alternative medicine
action equal
action find_reverse_tuple_counts
relation part of
type classification scheme
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:part_of ?b . ?b rdf:type ontology:classification_scheme . ?t rdf:type ontology:special_field } GROUP BY ?b } }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q201989
Q2057971
USER
And what about Lyme disease?
(Q201989,P361,c(Q2057971))
action count
action filter_type
action find
entity Q201989
relation P361
type Q2057971
['Q201989', 'P361', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q201989 property:P361 ?n . ?n rdf:type ontology:Q2057971 }
Lyme disease
action count
action filter_type
action find
entity Lyme disease
relation part of
type health problem
['Lyme disease', 'part of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Lyme_disease property:part_of ?n . ?n rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
(Q201989,P361,c(Q2057971))
action count
action filter_type
action find
entity Q201989
relation P361
type Q2057971
[ANSWER]
['Q201989', 'P361', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q201989 property:P361 ?n . ?n rdf:type ontology:Q2057971 }
1
action count
action filter_type
action find
entity Lyme disease
relation part of
type health problem
['Lyme disease', 'part of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Lyme_disease property:part_of ?n . ?n rdf:type ontology:health_problem }
[]