Simple Question (Direct)
Simple Question
Q729436
P1050
Q2057971
USER
What is George Allan affected by ?
(Q729436,P1050,c(Q2057971))
action filter_type
action find
entity Q729436
relation P1050
type Q2057971
['Q729436', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { resource:Q729436 property:P1050 ?c . ?c rdf:type ontology:Q2057971 }
George Allan
action filter_type
action find
entity George Allan
relation medical condition
type health problem
['George Allan', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { resource:George_Allan property:medical_condition ?c . ?c rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q729436,P1050,c(Q2057971))
action filter_type
action find
entity Q729436
relation P1050
type Q2057971
George Allan is affected by [ANSWER]
['Q729436', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { resource:Q729436 property:P1050 ?c . ?c rdf:type ontology:Q2057971 }
tuberculosis
George Allan is affected by tuberculosis
tuberculosis
action filter_type
action find
entity George Allan
relation medical condition
type health problem
['George Allan', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { resource:George_Allan property:medical_condition ?c . ?c rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q729436
P509
Q2057971
USER
What lead to the death of George Allan ?
(Q729436,P509,c(Q2057971))
action filter_type
action find
entity Q729436
relation P509
type Q2057971
['Q729436', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q729436 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
George Allan
action filter_type
action find
entity George Allan
relation cause of death
type health problem
['George Allan', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:George_Allan property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q729436,P509,c(Q2057971))
action filter_type
action find
entity Q729436
relation P509
type Q2057971
[ANSWER] lead to the death of George Allan
['Q729436', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q729436 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
tuberculosis
Tuberculosis lead to the death of George Allan
tuberculosis
action filter_type
action find
entity George Allan
relation cause of death
type health problem
['George Allan', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:George_Allan property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q729436
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q12204,P106,c(Q12737077))
action filter_type
action find
entity Q729436
relation P106
type Q12737077
['Q12204', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q729436 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
George Allan
action filter_type
action find
entity George Allan
relation occupation
type occupation
['tuberculosis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:George_Allan property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q12204,P106,c(Q12737077))
action filter_type
action find
entity Q729436
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q12204', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q729436 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity George Allan
relation occupation
type occupation
['tuberculosis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:George_Allan property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P689
Q4936952 Q25570959 Q2057971
USER
Which health problems can afflict min number of anatomical structures or animal structures ?
(c(Q2057971),P689,c(Q4936952)|c(Q25570959))
action argmin
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q25570959'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?c WHERE { VALUES ( ?o ) { ( ontology:Q4936952 ) ( ontology:Q25570959 ) } . ?s rdf:type ?o } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q4936952 . ?k property:P689 ?b } UNION { ?k property:P689 ?b . ?k rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q25570959 } } GROUP BY ?k } . FILTER ( ?w = ?u ) }
action argmin
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type animal structure
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'animal structure'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?c WHERE { VALUES ( ?o ) { ( ontology:anatomical_structure ) ( ontology:animal_structure ) } . ?s rdf:type ?o } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:health_problem . ?b rdf:type ontology:anatomical_structure . ?k property:afflicts ?b } UNION { ?k property:afflicts ?b . ?k rdf:type ontology:health_problem . ?b rdf:type ontology:animal_structure } } GROUP BY ?k } . FILTER ( ?w = ?u ) }
[]
anatomical structure animal structure health problem
Q181257 Q844935 Q12214
SYSTEM
prostate cancer, coronary artery disease, smallpox
Q18556210 Q6996973 Q18211751 Q5182155 Q1362721 Q18553706 Q3508732 Q1066265 Q574406 Q18558209 Q1266890 Q175827 Q18554834 Q18555928 Q1585743 Q2508462 Q5062122 Q18556225 Q2879095 Q18554850 Q18553224 Q16918477 Q5182126 Q944777 Q2946952 Q3339235 Q48143 Q844935 Q18558143 Q16499 Q2988775 Q18555020 Q18975470 Q18554359 Q18556397 Q18553766 Q7314317 Q18554536 Q18554357 Q5156409 Q18557992 Q18554999 Q7199538 Q403463 Q4684717 Q6673122 Q1779300 Q7136145 Q244438 Q616003 Q18555344 Q2661443 Q3281322 Q3043145 Q3552798 Q1642094 Q359892 Q18555048 Q181257 Q3540864 Q18555042 Q1963588 Q2429620 Q2339038 Q18556075 Q18555923 Q18557307 Q5526839 Q18556619 Q16831900 Q1030785 Q578257 Q7900883 Q18556675 Q1628473 Q6758201 Q18553502 Q5282519 Q18554363 Q1542466 Q18553584 Q2351083 Q6742919 Q501561 Q1585753 Q18554947 Q6072985 Q18554030 Q133087 Q18555940 Q21118423 Q11835644 Q189588 Q1393463 Q12214 Q17152566 Q165135 Q18558049 Q18558125 Q18965518 Q1807522 Q2031424 Q18553736 Q18556445 Q18968025 Q18554658 Q7113244 Q3030636 Q3540887 Q2966706 Q7879711
(c(Q2057971),P689,c(Q4936952)|c(Q25570959))
action argmin
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
[ANSWERS] can afflict min number of anatomical structures or animal structures
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q25570959'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?c WHERE { VALUES ( ?o ) { ( ontology:Q4936952 ) ( ontology:Q25570959 ) } . ?s rdf:type ?o } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q4936952 . ?k property:P689 ?b } UNION { ?k property:P689 ?b . ?k rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q25570959 } } GROUP BY ?k } . FILTER ( ?w = ?u ) }
gastrointestinal adenoma nervous system disease vulvar disease Craniotabes tuberous sclerosis gamma-amino butyric acid metabolism disorder pyelo-ureteral junction syndrome Osgood-Schlatter's disease Bartholin's duct cyst upper respiratory tract disease vascular disease stomach disease penile disease subclavian artery aneurysm urea cycle disorder mouth disease central nervous system disease femoral neuropathy optic nerve disease integumentary system disease lower respiratory tract disease nervous system cancer cranial nerve disease endometrial cancer cervical osteoarthritis nervous system disease meningitis coronary artery disease leukocyte disease hyperthyroidism heart conduction disease nasal cavity disease disease of biological process binocular vision disease biliary tract cancer eye accommodation disease reproductive system disease paranasal sinus disease vestibulocochlear nerve disease complement deficiency vein disease B cell deficiency pituitary gland disease Aicardi syndrome adrenal gland disease thyroid gland disease connective tissue disease parathyroid gland disease prosopagnosia aortic aneurysm tracheal disease endocrine system disease peroxisomal disease cytochrome P450 Oxidoreductase Deficiency uvulitis Hematidrosis salpingitis gonadal disease prostate cancer Balance disorder factor XII deficiency hematopoietic system disease blood platelet disease Neurogenic bladder external ear disease carotid artery disease muscle tissue disease gastrointestinal system cancer middle ear disease intracranial hypotension demodicosis Kohler's disease urinary system disease aortic disease corneal ulcer Marcus Gunn pupil pericardium disease calcium metabolism disease capillary disease vulvitis C1 inhibitor deficiency disease of metabolism Male breast cancer pericarditis urethral stricture fallopian tube disease iron metabolism disease acute laryngopharyngitis gout uterine disease auditory nerve damage thyroiditis stomach cancer hypopharynx cancer smallpox salivary gland disease goiter gastrointestinal lymphoma intracranial hypertension artery disease vaginal cancer oropharynx cancer bone remodeling disease prostate disease pleural disease splenic artery aneurysm ovarian disease carotid artery dissection Sensory processing disorder Chromhidrosis ulnar neuropathy
Prostate cancer, coronary artery disease and smallpox can afflict min number of anatomical structures or animal structures
prostate cancer coronary artery disease smallpox
action argmin
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type animal structure
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'animal structure'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?c WHERE { VALUES ( ?o ) { ( ontology:anatomical_structure ) ( ontology:animal_structure ) } . ?s rdf:type ?o } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:health_problem . ?b rdf:type ontology:anatomical_structure . ?k property:afflicts ?b } UNION { ?k property:afflicts ?b . ?k rdf:type ontology:health_problem . ?b rdf:type ontology:animal_structure } } GROUP BY ?k } . FILTER ( ?w = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1938763
P828
Q2057971 Q1441305
USER
How many medical signs do greater number of health problems lead to than fecal vomiting ?
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q1938763
relation P828
type Q1441305
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?p property:P828 ?y . ?p rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q2057971 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q1938763 property:P828 ?n . ?n rdf:type ontology:Q1441305 } } . FILTER ( ?e > ?v ) }
fecal vomiting
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity fecal vomiting
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?p property:has_cause ?y . ?p rdf:type ontology:medical_sign . ?y rdf:type ontology:health_problem } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:fecal_vomiting property:has_cause ?n . ?n rdf:type ontology:medical_sign } } . FILTER ( ?e > ?v ) }
[]
health problem medical sign
SYSTEM
2
Q1115038 Q127076
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q1938763
relation P828
type Q1441305
[ANSWER]
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?p property:P828 ?y . ?p rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q2057971 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q1938763 property:P828 ?n . ?n rdf:type ontology:Q1441305 } } . FILTER ( ?e > ?v ) }
runny nose vomiting
2
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity fecal vomiting
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?p property:has_cause ?y . ?p rdf:type ontology:medical_sign . ?y rdf:type ontology:health_problem } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:fecal_vomiting property:has_cause ?n . ?n rdf:type ontology:medical_sign } } . FILTER ( ?e > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5893790
P828
Q2057971 Q1441305
USER
And also tell me about Honeycombing?
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q5893790
relation P828
type Q1441305
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?j property:P828 ?l . ?j rdf:type ontology:Q1441305 . ?l rdf:type ontology:Q2057971 } GROUP BY ?j } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:Q1441305 . resource:Q5893790 property:P828 ?n } } }
Honeycombing
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity Honeycombing
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?j property:has_cause ?l . ?j rdf:type ontology:medical_sign . ?l rdf:type ontology:health_problem } GROUP BY ?j } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:medical_sign . resource:Honeycombing property:has_cause ?n } } }
[]
health problem medical sign
SYSTEM
2
Q1115038 Q127076
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q5893790
relation P828
type Q1441305
[ANSWER]
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?j property:P828 ?l . ?j rdf:type ontology:Q1441305 . ?l rdf:type ontology:Q2057971 } GROUP BY ?j } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:Q1441305 . resource:Q5893790 property:P828 ?n } } }
runny nose vomiting
2
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity Honeycombing
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?j property:has_cause ?l . ?j rdf:type ontology:medical_sign . ?l rdf:type ontology:health_problem } GROUP BY ?j } . FILTER ( ?f > ?k ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:medical_sign . resource:Honeycombing property:has_cause ?n } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5442133 Q729436
P54
Q1194951
USER
Which national sports teams have George Allan or Felix Baffoe as their member ?
OR((Q729436,P54,c(Q1194951)), (Q5442133,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q729436
relation P54
action find
entity Q5442133
relation P54
type Q1194951
{'OR': [['Q729436', 'P54', {'concept': 'Q1194951'}], ['Q5442133', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q729436 property:P54 ?g } UNION { resource:Q5442133 property:P54 ?g } } . ?g rdf:type ontology:Q1194951 }
Felix Baffoe George Allan
action filter_type
action union
action find
entity George Allan
relation member of sports team
action find
entity Felix Baffoe
relation member of sports team
type national sports team
{'OR': [['George Allan', 'member of sports team', {'concept': 'national sports team'}], ['Felix Baffoe', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?g WHERE { { { resource:George_Allan property:member_of_sports_team ?g } UNION { resource:Felix_Baffoe property:member_of_sports_team ?g } } . ?g rdf:type ontology:national_sports_team }
[]
national sports team
Q34044 Q172014
SYSTEM
Scotland national football team, Ghana national football team
Q34044 Q172014
OR((Q729436,P54,c(Q1194951)), (Q5442133,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q729436
relation P54
action find
entity Q5442133
relation P54
type Q1194951
[ANSWERS] have George Allan or Felix Baffoe as their member
{'OR': [['Q729436', 'P54', {'concept': 'Q1194951'}], ['Q5442133', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q729436 property:P54 ?g } UNION { resource:Q5442133 property:P54 ?g } } . ?g rdf:type ontology:Q1194951 }
Scotland national football team Ghana national football team
Scotland national football team and Ghana national football team have George Allan or Felix Baffoe as their member
Scotland national football team Ghana national football team
action filter_type
action union
action find
entity George Allan
relation member of sports team
action find
entity Felix Baffoe
relation member of sports team
type national sports team
{'OR': [['George Allan', 'member of sports team', {'concept': 'national sports team'}], ['Felix Baffoe', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?g WHERE { { { resource:George_Allan property:member_of_sports_team ?g } UNION { resource:Felix_Baffoe property:member_of_sports_team ?g } } . ?g rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q34044 Q172014
P1923
Q15275719
USER
Which recurring events did those national sports teams participate in ?
(c(Q15275719),P1923,Q34044) (c(Q15275719),P1923,Q172014)
action filter_type
action find_reverse
entity prev_answer
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', 'Q34044'] [{'concept': 'Q15275719'}, 'P1923', 'Q172014']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15275719 . ?p property:P1923 ?b . VALUES ( ?b ) { ( resource:Q34044 ) ( resource:Q172014 ) } }
Scotland national football team Ghana national football team
action filter_type
action find_reverse
entity prev_answer
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Scotland national football team'] [{'concept': 'recurring event'}, 'participating teams', 'Ghana national football team']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:recurring_event . ?p property:participating_teams ?b . VALUES ( ?b ) { ( resource:Scotland_national_football_team ) ( resource:Ghana_national_football_team ) } }
[]
recurring event
Q79859 Q37285 Q176883
SYSTEM
2014 FIFA World Cup, 2006 FIFA World Cup, 2010 FIFA World Cup
Q131075 Q101730 Q46938 Q46934 Q46943 Q132533 Q166121 Q132529 Q37285 Q176883 Q79859
(c(Q15275719),P1923,Q34044) (c(Q15275719),P1923,Q172014)
action filter_type
action find_reverse
entity prev_answer
relation P1923
type Q15275719
Those national sports teams participated in [ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', 'Q34044'] [{'concept': 'Q15275719'}, 'P1923', 'Q172014']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15275719 . ?p property:P1923 ?b . VALUES ( ?b ) { ( resource:Q34044 ) ( resource:Q172014 ) } }
1954 FIFA World Cup 1998 FIFA World Cup 1986 FIFA World Cup 1982 FIFA World Cup 1978 FIFA World Cup 1958 FIFA World Cup 1974 FIFA World Cup 1990 FIFA World Cup 2006 FIFA World Cup 2010 FIFA World Cup 2014 FIFA World Cup
Those national sports teams participated in 2014 FIFA World Cup, 2006 FIFA World Cup and 2010 FIFA World Cup
2014 FIFA World Cup 2006 FIFA World Cup 2010 FIFA World Cup
action filter_type
action find_reverse
entity prev_answer
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Scotland national football team'] [{'concept': 'recurring event'}, 'participating teams', 'Ghana national football team']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:recurring_event . ?p property:participating_teams ?b . VALUES ( ?b ) { ( resource:Scotland_national_football_team ) ( resource:Ghana_national_football_team ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q37285
P1346
Q1194951
USER
Which national sports team emerged victorious in that recurring event ?
(Q37285,P1346,c(Q1194951))
action filter_type
action find
entity Q37285
relation P1346
type Q1194951
['Q37285', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q37285 property:P1346 ?x . ?x rdf:type ontology:Q1194951 }
2006 FIFA World Cup
action filter_type
action find
entity 2006 FIFA World Cup
relation winner
type national sports team
['2006 FIFA World Cup', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:2006_FIFA_World_Cup property:winner ?x . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Clarification for simple ques.
Q37285
SYSTEM
Did you mean 2006 FIFA World Cup ?
Q79859 Q37285 Q176883
(Q79859,P1346,c(Q1194951)) (Q37285,P1346,c(Q1194951)) (Q176883,P1346,c(Q1194951))
[ANSWER]
['Q79859', 'P1346', {'concept': 'Q1194951'}] ['Q37285', 'P1346', {'concept': 'Q1194951'}] ['Q176883', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q37285 property:P1346 ?x . ?x rdf:type ontology:Q1194951 }
2014 FIFA World Cup 2006 FIFA World Cup 2010 FIFA World Cup
Did you mean 2006 FIFA World Cup ?
2006 FIFA World Cup
['2014 FIFA World Cup', 'winner', {'concept': 'national sports team'}] ['2006 FIFA World Cup', 'winner', {'concept': 'national sports team'}] ['2010 FIFA World Cup', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:2006_FIFA_World_Cup property:winner ?x . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
USER
Yes
(Q37285,P1346,c(Q1194951))
['Q37285', 'P1346', {'concept': 'Q1194951'}]
['2006 FIFA World Cup', 'winner', {'concept': 'national sports team'}]
[]
Q676899
SYSTEM
Italy national football team
Q676899
(Q37285,P1346,c(Q1194951))
action filter_type
action find
entity Q37285
relation P1346
type Q1194951
[ANSWER] emerged victorious in that recurring event
['Q37285', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q37285 property:P1346 ?x . ?x rdf:type ontology:Q1194951 }
Italy national football team
Italy national football team emerged victorious in that recurring event
Italy national football team
action filter_type
action find
entity 2006 FIFA World Cup
relation winner
type national sports team
['2006 FIFA World Cup', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:2006_FIFA_World_Cup property:winner ?x . ?x rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q676899 Q14848223
P1344
Q15275719
USER
Did that national sports team take part in Tangkas Junior International Badminton Championships ?
(Q676899,P1344,Q14848223)
action is_in
entity Q14848223
action find
entity Q676899
relation P1344
['Q676899', 'P1344', 'Q14848223']
ASK WHERE { resource:Q676899 property:P1344 resource:Q14848223 }
Italy national football team Tangkas Junior International Badminton Championships
action is_in
entity Tangkas Junior International Badminton Championships
action find
entity Italy national football team
relation participant of
['Italy national football team', 'participant of', 'Tangkas Junior International Badminton Championships']
ASK WHERE { resource:Italy_national_football_team property:participant_of resource:Tangkas_Junior_International_Badminton_Championships }
[]
recurring event
SYSTEM
NO
(Q676899,P1344,Q14848223)
action is_in
entity Q14848223
action find
entity Q676899
relation P1344
[ANSWER]
['Q676899', 'P1344', 'Q14848223']
ASK WHERE { resource:Q676899 property:P1344 resource:Q14848223 }
No
action is_in
entity Tangkas Junior International Badminton Championships
action find
entity Italy national football team
relation participant of
['Italy national football team', 'participant of', 'Tangkas Junior International Badminton Championships']
ASK WHERE { resource:Italy_national_football_team property:participant_of resource:Tangkas_Junior_International_Badminton_Championships }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q844935 Q670131
P2176
Q8386
USER
Is simvastatin used to cure coronary artery disease ?
(Q844935,P2176,Q670131)
action is_in
entity Q670131
action find
entity Q844935
relation P2176
['Q844935', 'P2176', 'Q670131']
ASK WHERE { resource:Q844935 property:P2176 resource:Q670131 }
coronary artery disease simvastatin
action is_in
entity simvastatin
action find
entity coronary artery disease
relation drug used for treatment
['coronary artery disease', 'drug used for treatment', 'simvastatin']
ASK WHERE { resource:coronary_artery_disease property:drug_used_for_treatment resource:simvastatin }
[]
drug
SYSTEM
YES
(Q844935,P2176,Q670131)
action is_in
entity Q670131
action find
entity Q844935
relation P2176
[ANSWER]
['Q844935', 'P2176', 'Q670131']
ASK WHERE { resource:Q844935 property:P2176 resource:Q670131 }
Yes
action is_in
entity simvastatin
action find
entity coronary artery disease
relation drug used for treatment
['coronary artery disease', 'drug used for treatment', 'simvastatin']
ASK WHERE { resource:coronary_artery_disease property:drug_used_for_treatment resource:simvastatin }
[]