Simple Question (Direct)
Simple Question
Q316706
P21
Q290
USER
Which sex does Sugar Ray Robinson possess ?
(Q316706,P21,c(Q290))
action filter_type
action find
entity Q316706
relation P21
type Q290
['Q316706', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q316706 property:P21 ?r }
Sugar Ray Robinson
action filter_type
action find
entity Sugar Ray Robinson
relation gender
type sex
['Sugar Ray Robinson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Sugar_Ray_Robinson property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q316706,P21,c(Q290))
action filter_type
action find
entity Q316706
relation P21
type Q290
Sugar Ray Robinson possesses un [ANSWER]
['Q316706', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q316706 property:P21 ?r }
male
Sugar Ray Robinson possesses un male
male
action filter_type
action find
entity Sugar Ray Robinson
relation gender
type sex
['Sugar Ray Robinson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Sugar_Ray_Robinson property:gender ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q613860 Q316706
P509
Q2057971
USER
Which health problems were the causes of death of Sugar Ray Robinson or Willie May ?
OR((Q316706,P509,c(Q2057971)), (Q613860,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q316706
relation P509
action find
entity Q613860
relation P509
type Q2057971
{'OR': [['Q316706', 'P509', {'concept': 'Q2057971'}], ['Q613860', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q316706 property:P509 ?x } UNION { resource:Q613860 property:P509 ?x } } . ?x rdf:type ontology:Q2057971 }
Willie May Sugar Ray Robinson
action filter_type
action union
action find
entity Sugar Ray Robinson
relation cause of death
action find
entity Willie May
relation cause of death
type health problem
{'OR': [['Sugar Ray Robinson', 'cause of death', {'concept': 'health problem'}], ['Willie May', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Sugar_Ray_Robinson property:cause_of_death ?x } UNION { resource:Willie_May property:cause_of_death ?x } } . ?x rdf:type ontology:health_problem }
[]
health problem
Q816798 Q12206
SYSTEM
amyloidosis, diabetes mellitus
Q816798 Q12206
OR((Q316706,P509,c(Q2057971)), (Q613860,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q316706
relation P509
action find
entity Q613860
relation P509
type Q2057971
[ANSWERS] were the causes of death of Sugar Ray Robinson or Willie May
{'OR': [['Q316706', 'P509', {'concept': 'Q2057971'}], ['Q613860', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q316706 property:P509 ?x } UNION { resource:Q613860 property:P509 ?x } } . ?x rdf:type ontology:Q2057971 }
amyloidosis diabetes mellitus
Amyloidosis and diabetes mellitus were the causes of death of Sugar Ray Robinson or Willie May
amyloidosis diabetes mellitus
action filter_type
action union
action find
entity Sugar Ray Robinson
relation cause of death
action find
entity Willie May
relation cause of death
type health problem
{'OR': [['Sugar Ray Robinson', 'cause of death', {'concept': 'health problem'}], ['Willie May', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Sugar_Ray_Robinson property:cause_of_death ?x } UNION { resource:Willie_May property:cause_of_death ?x } } . ?x rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q12206
P2176
Q8386 Q965478
USER
How many drugs or unsaturated hydrocarbons are used for treating diabetes mellitus ?
(Q12206,P2176,c(Q8386)) (Q12206,P2176,c(Q965478))
action count
action union
action filter_type
action find
entity Q12206
relation P2176
type Q8386
action filter_type
action find
entity Q12206
relation P2176
type Q965478
['Q12206', 'P2176', {'concept': 'Q8386'}] ['Q12206', 'P2176', {'concept': 'Q965478'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q8386 ) ( ontology:Q965478 ) } . ?h rdf:type ?y }
diabetes mellitus
action count
action union
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type drug
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type unsaturated hydrocarbon
['diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}] ['diabetes mellitus', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:drug ) ( ontology:unsaturated_hydrocarbon ) } . ?h rdf:type ?y }
[]
drug unsaturated hydrocarbon
SYSTEM
23
Q155472 Q420626 Q410965 Q3492616 Q412443 Q367700 Q201872 Q415411 Q2754775 Q417762 Q414270 Q411648 Q411188 Q412666 Q338005 Q909745 Q409935 Q417317 Q6042242 Q3108899 Q409898 Q7844989 Q2526479
(Q12206,P2176,c(Q8386)) (Q12206,P2176,c(Q965478))
action count
action union
action filter_type
action find
entity Q12206
relation P2176
type Q8386
action filter_type
action find
entity Q12206
relation P2176
type Q965478
[ANSWER]
['Q12206', 'P2176', {'concept': 'Q8386'}] ['Q12206', 'P2176', {'concept': 'Q965478'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q8386 ) ( ontology:Q965478 ) } . ?h rdf:type ?y }
Valsartan glibenclamide Insulin Detemir Insulin Lispro risperidone Cyclosporine Olanzapine Anakinra Insulin Aspart Exenatide Ranibizumab tacrolimus aripiprazole Ramipril acarbose linagliptin Pegaptanib Insulin Glargine Insulin Glulisine glipizide dapagliflozin Troglitazone Liraglutide
23
action count
action union
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type drug
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type unsaturated hydrocarbon
['diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}] ['diabetes mellitus', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:drug ) ( ontology:unsaturated_hydrocarbon ) } . ?h rdf:type ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12206
P1995
Q1047113
USER
Which special field is the medical specality concerned with diabetes mellitus ?
(Q12206,P1995,c(Q1047113))
action filter_type
action find
entity Q12206
relation P1995
type Q1047113
['Q12206', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?e WHERE { resource:Q12206 property:P1995 ?e . ?e rdf:type ontology:Q1047113 }
diabetes mellitus
action filter_type
action find
entity diabetes mellitus
relation medical specialty
type special field
['diabetes mellitus', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?e WHERE { resource:diabetes_mellitus property:medical_specialty ?e . ?e rdf:type ontology:special_field }
[]
special field
Q1207969
SYSTEM
diabetology
Q1207969
(Q12206,P1995,c(Q1047113))
action filter_type
action find
entity Q12206
relation P1995
type Q1047113
[ANSWER] is the medical specality concerned with diabetes mellitus
['Q12206', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?e WHERE { resource:Q12206 property:P1995 ?e . ?e rdf:type ontology:Q1047113 }
diabetology
Diabetology is the medical specality concerned with diabetes mellitus
diabetology
action filter_type
action find
entity diabetes mellitus
relation medical specialty
type special field
['diabetes mellitus', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?e WHERE { resource:diabetes_mellitus property:medical_specialty ?e . ?e rdf:type ontology:special_field }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q17444103 Q12206
P1995
Q1047113
USER
Or Sheik Umar Khan?
OR((Q12206,P1995,c(Q1047113)), (Q17444103,P1995,c(Q1047113)))
action filter_type
action union
action find
entity Q12206
relation P1995
action find
entity Q17444103
relation P1995
type Q1047113
{'OR': [['Q12206', 'P1995', {'concept': 'Q1047113'}], ['Q17444103', 'P1995', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?f ) { ( resource:Q12206 ) ( resource:Q17444103 ) } . ?f property:P1995 ?g } . ?g rdf:type ontology:Q1047113 }
Sheik Umar Khan diabetes mellitus
action filter_type
action union
action find
entity diabetes mellitus
relation medical specialty
action find
entity Sheik Umar Khan
relation medical specialty
type special field
{'OR': [['diabetes mellitus', 'medical specialty', {'concept': 'special field'}], ['Sheik Umar Khan', 'medical specialty', {'concept': 'special field'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?f ) { ( resource:diabetes_mellitus ) ( resource:Sheik_Umar_Khan ) } . ?f property:medical_specialty ?g } . ?g rdf:type ontology:special_field }
[]
special field
Q7215 Q1207969
SYSTEM
virology, diabetology
Q7215 Q1207969
OR((Q12206,P1995,c(Q1047113)), (Q17444103,P1995,c(Q1047113)))
action filter_type
action union
action find
entity Q12206
relation P1995
action find
entity Q17444103
relation P1995
type Q1047113
[ANSWERS]
{'OR': [['Q12206', 'P1995', {'concept': 'Q1047113'}], ['Q17444103', 'P1995', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?f ) { ( resource:Q12206 ) ( resource:Q17444103 ) } . ?f property:P1995 ?g } . ?g rdf:type ontology:Q1047113 }
virology diabetology
virology diabetology
action filter_type
action union
action find
entity diabetes mellitus
relation medical specialty
action find
entity Sheik Umar Khan
relation medical specialty
type special field
{'OR': [['diabetes mellitus', 'medical specialty', {'concept': 'special field'}], ['Sheik Umar Khan', 'medical specialty', {'concept': 'special field'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?f ) { ( resource:diabetes_mellitus ) ( resource:Sheik_Umar_Khan ) } . ?f property:medical_specialty ?g } . ?g rdf:type ontology:special_field }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q1914636 Q5962346 Q1047113
USER
Which special fields are a component of min number of activities or classification schemes ?
(c(Q1047113),P361,c(Q1914636)|c(Q5962346))
action argmin
action union
action find_tuple_counts
relation P361
type Q1047113
type Q1914636
action find_tuple_counts
relation P361
type Q1047113
type Q5962346
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?i ) WHERE { { ?l property:P361 ?v . ?l rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q1914636 } UNION { ?l property:P361 ?v . ?l rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q5962346 } } GROUP BY ?l } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { { ?b rdf:type ontology:Q1047113 . ?e rdf:type ontology:Q1914636 . ?b property:P361 ?e } UNION { ?b property:P361 ?e . ?b rdf:type ontology:Q1047113 . ?e rdf:type ontology:Q5962346 } } GROUP BY ?b } } }
action argmin
action union
action find_tuple_counts
relation part of
type special field
type activity
action find_tuple_counts
relation part of
type special field
type classification scheme
[{'concept': 'special field'}, 'part of', [{'concept': 'activity'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?i ) WHERE { { ?l property:part_of ?v . ?l rdf:type ontology:special_field . ?v rdf:type ontology:activity } UNION { ?l property:part_of ?v . ?l rdf:type ontology:special_field . ?v rdf:type ontology:classification_scheme } } GROUP BY ?l } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { { ?b rdf:type ontology:special_field . ?e rdf:type ontology:activity . ?b property:part_of ?e } UNION { ?b property:part_of ?e . ?b rdf:type ontology:special_field . ?e rdf:type ontology:classification_scheme } } GROUP BY ?b } } }
[]
activity classification scheme special field
Q5611339 Q207011 Q14177941
SYSTEM
grouser, neuroscience, State/County Subdivision Outline Maps
Q614304 Q17002728 Q539690 Q2964004 Q203337 Q21572183 Q128406 Q932510 Q1507246 Q60195 Q745328 Q180502 Q21614234 Q488059 Q1407263 Q15304508 Q103824 Q235007 Q4117183 Q7218 Q327657 Q81009 Q7234391 Q208217 Q7754 Q177635 Q2027981 Q48803 Q27133094 Q739465 Q182468 Q338379 Q861689 Q4785472 Q7922 Q1335366 Q1278791 Q134435 Q120569 Q11351 Q4260703 Q80015 Q775325 Q5611339 Q199655 Q47417 Q14177941 Q1569011 Q642836 Q428691 Q2442870 Q10379 Q6497044 Q21928196 Q743664 Q459381 Q1207969 Q1000058 Q1650750 Q80006 Q1066186 Q623100 Q80083 Q145903 Q220821 Q1456948 Q898674 Q22811234 Q899279 Q1662333 Q121713 Q188449 Q1430816 Q131089 Q460162 Q162606 Q52120 Q454812 Q2108944 Q613566 Q126552 Q760348 Q3448005 Q2713123 Q1498222 Q1916458 Q207011 Q1046686 Q1774688 Q2728012 Q286452 Q489119 Q504033 Q1328949 Q141495 Q16683089 Q15218776 Q1741745 Q1514678 Q52106 Q333024 Q1741922
(c(Q1047113),P361,c(Q1914636)|c(Q5962346))
action argmin
action union
action find_tuple_counts
relation P361
type Q1047113
type Q1914636
action find_tuple_counts
relation P361
type Q1047113
type Q5962346
[ANSWERS] are a component of min number of activities or classification schemes
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?i ) WHERE { { ?l property:P361 ?v . ?l rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q1914636 } UNION { ?l property:P361 ?v . ?l rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q5962346 } } GROUP BY ?l } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { { ?b rdf:type ontology:Q1047113 . ?e rdf:type ontology:Q1914636 . ?b property:P361 ?e } UNION { ?b property:P361 ?e . ?b rdf:type ontology:Q1047113 . ?e rdf:type ontology:Q5962346 } } GROUP BY ?b } } }
pharmacy branch of botany angiology thoracic surgery pulmonology modeling, virtual environments and simulation pharmacology general surgery media education semiotics mathematical statistics parasitology agricultural business and management philosophical anthropology forensic psychiatry pathogen transmission ontology hematology cardiac surgery Open Biomedical Ontologies toxicology rheumatology rhetoric Postmodernist anthropology literary science mathematical analysis nephrology oral surgery horticulture vaccine development study of the Hebrew language hydrography trauma surgery Education economics archaeological sub-discipline pedagogy neuroendocrinology anarchist schools of thought topography gastroenterology organic chemistry railway engineering Obstetrics gynecology transport engineering grouser library science international economics State/County Subdivision Outline Maps Urban history Neuroradiology computer engineering lepidopterology cardiology history of literature legal medicine Abdominal surgery literary theory diabetology psychoneuroendocrinology neuropathology computer programming science of history business engineering humanities egyptology visual sociology geobotany neonatology branch of philosophy Controlling infection epidemiology acupuncture neurosurgery pediatric surgery geodesy museology endocrinology glaciology forensic medicine press statistics software configuration management business informatics eye surgery radical centrism phlebology vascular surgery media economy neuroscience allergology clinical pharmacology neurobiology Hand surgery Hellenic studies oral and maxillofacial surgery neuropediatrics mathematical optimization endocrine oncology orthopedic surgery Child and adolescent psychiatry gerontopsychiatry biogeography pluralism pediatric urology
Grouser, neuroscience and State/County Subdivision Outline Maps are a component of min number of activities or classification schemes
grouser neuroscience State/County Subdivision Outline Maps
action argmin
action union
action find_tuple_counts
relation part of
type special field
type activity
action find_tuple_counts
relation part of
type special field
type classification scheme
[{'concept': 'special field'}, 'part of', [{'concept': 'activity'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?i ) WHERE { { ?l property:part_of ?v . ?l rdf:type ontology:special_field . ?v rdf:type ontology:activity } UNION { ?l property:part_of ?v . ?l rdf:type ontology:special_field . ?v rdf:type ontology:classification_scheme } } GROUP BY ?l } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?f ) WHERE { { ?b rdf:type ontology:special_field . ?e rdf:type ontology:activity . ?b property:part_of ?e } UNION { ?b property:part_of ?e . ?b rdf:type ontology:special_field . ?e rdf:type ontology:classification_scheme } } GROUP BY ?b } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q17656338 Q14177941
P364 P407
Q34770
USER
Which languages are the original languages of creation of State/County Subdivision Outline Maps and are the languages of work for Blair will quit as British PM within a year ?
AND((Q14177941,P364,c(Q34770)), (Q17656338,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q14177941
relation P364
action find
entity Q17656338
relation P407
type Q34770
{'AND': [['Q14177941', 'P364', {'concept': 'Q34770'}], ['Q17656338', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { resource:Q17656338 property:P407 ?a . resource:Q14177941 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Blair will quit as British PM within a year State/County Subdivision Outline Maps
action filter_type
action intersection
action find
entity State/County Subdivision Outline Maps
relation original language of work
action find
entity Blair will quit as British PM within a year
relation language of work or name
type language
{'AND': [['State/County Subdivision Outline Maps', 'original language of work', {'concept': 'language'}], ['Blair will quit as British PM within a year', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { resource:Blair_will_quit_as_British_PM_within_a_year property:language_of_work_or_name ?a . resource:State/County_Subdivision_Outline_Maps property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q14177941,P364,c(Q34770)), (Q17656338,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q14177941
relation P364
action find
entity Q17656338
relation P407
type Q34770
[ANSWER] is the original languages of creation of State/County Subdivision Outline Maps and is the languages of work for Blair will quit as British PM within a year
{'AND': [['Q14177941', 'P364', {'concept': 'Q34770'}], ['Q17656338', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { resource:Q17656338 property:P407 ?a . resource:Q14177941 property:P364 ?a . ?a rdf:type ontology:Q34770 }
English
English is the original languages of creation of State/County Subdivision Outline Maps and is the languages of work for Blair will quit as British PM within a year
English
action filter_type
action intersection
action find
entity State/County Subdivision Outline Maps
relation original language of work
action find
entity Blair will quit as British PM within a year
relation language of work or name
type language
{'AND': [['State/County Subdivision Outline Maps', 'original language of work', {'concept': 'language'}], ['Blair will quit as British PM within a year', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { resource:Blair_will_quit_as_British_PM_within_a_year property:language_of_work_or_name ?a . resource:State/County_Subdivision_Outline_Maps property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q38355 Q1346342
P361
Q5962346
USER
Is that language a component of Cur and Anglic languages ?
(Q1860,P361,Q38355) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q38355
relation P361
action find_reverse
entity Q1346342
relation P361
['Q1860', 'P361', 'Q38355'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q38355 . resource:Q1860 property:P361 resource:Q1346342 }
English Cur Anglic languages
action is_in
entity English
action intersection
action find_reverse
entity Cur
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Cur'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Cur . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q38355) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q38355
relation P361
action find_reverse
entity Q1346342
relation P361
[ANSWER]
['Q1860', 'P361', 'Q38355'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q38355 . resource:Q1860 property:P361 resource:Q1346342 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity Cur
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Cur'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Cur . resource:English property:part_of resource:Anglic_languages }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5611339 Q186055
P361
Q58778
USER
Is grouser a portion of git ?
(Q5611339,P361,Q186055)
action is_in
entity Q186055
action find
entity Q5611339
relation P361
['Q5611339', 'P361', 'Q186055']
ASK WHERE { resource:Q5611339 property:P361 resource:Q186055 }
grouser git
action is_in
entity git
action find
entity grouser
relation part of
['grouser', 'part of', 'git']
ASK WHERE { resource:grouser property:part_of resource:git }
[]
system
SYSTEM
NO
(Q5611339,P361,Q186055)
action is_in
entity Q186055
action find
entity Q5611339
relation P361
[ANSWER]
['Q5611339', 'P361', 'Q186055']
ASK WHERE { resource:Q5611339 property:P361 resource:Q186055 }
No
action is_in
entity git
action find
entity grouser
relation part of
['grouser', 'part of', 'git']
ASK WHERE { resource:grouser property:part_of resource:git }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5611339
P366
Q1190554
USER
Which event is recognized as the main use of that special field ?
action filter_type
action find
entity Q5611339
relation P366
type Q1190554
SELECT DISTINCT ?v WHERE { resource:Q5611339 property:P366 ?v . ?v rdf:type ontology:Q1190554 }
grouser
action filter_type
action find
entity grouser
relation use
type event
SELECT DISTINCT ?v WHERE { resource:grouser property:use ?v . ?v rdf:type ontology:event }
[]
event
Q385378
SYSTEM
construction
Q385378
action filter_type
action find
entity Q5611339
relation P366
type Q1190554
And [ANSWER] is recognized as the main use of that special field
SELECT DISTINCT ?v WHERE { resource:Q5611339 property:P366 ?v . ?v rdf:type ontology:Q1190554 }
construction
And construction is recognized as the main use of that special field
construction
action filter_type
action find
entity grouser
relation use
type event
SELECT DISTINCT ?v WHERE { resource:grouser property:use ?v . ?v rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15702065 Q17656338
P407
Q34770
USER
Which languages are Blair will quit as British PM within a year or The Last Dictatorship in Europe. Belarus under Lukashenko in ?
OR((Q17656338,P407,c(Q34770)), (Q15702065,P407,c(Q34770)))
action filter_type
action union
action find
entity Q17656338
relation P407
action find
entity Q15702065
relation P407
type Q34770
{'OR': [['Q17656338', 'P407', {'concept': 'Q34770'}], ['Q15702065', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { { ?b property:P407 ?z . VALUES ( ?b ) { ( resource:Q17656338 ) ( resource:Q15702065 ) } } . ?z rdf:type ontology:Q34770 }
The Last Dictatorship in Europe. Belarus under Lukashenko Blair will quit as British PM within a year
action filter_type
action union
action find
entity Blair will quit as British PM within a year
relation language of work or name
action find
entity The Last Dictatorship in Europe. Belarus under Lukashenko
relation language of work or name
type language
{'OR': [['Blair will quit as British PM within a year', 'language of work or name', {'concept': 'language'}], ['The Last Dictatorship in Europe. Belarus under Lukashenko', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { { ?b property:language_of_work_or_name ?z . VALUES ( ?b ) { ( resource:Blair_will_quit_as_British_PM_within_a_year ) ( resource:The_Last_Dictatorship_in_Europe._Belarus_under_Lukashenko ) } } . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q17656338,P407,c(Q34770)), (Q15702065,P407,c(Q34770)))
action filter_type
action union
action find
entity Q17656338
relation P407
action find
entity Q15702065
relation P407
type Q34770
[ANSWER] is Blair will quit as British PM within a year or The Last Dictatorship in Europe. Belarus under Lukashenko in
{'OR': [['Q17656338', 'P407', {'concept': 'Q34770'}], ['Q15702065', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { { ?b property:P407 ?z . VALUES ( ?b ) { ( resource:Q17656338 ) ( resource:Q15702065 ) } } . ?z rdf:type ontology:Q34770 }
English
English is Blair will quit as British PM within a year or The Last Dictatorship in Europe. Belarus under Lukashenko in
English
action filter_type
action union
action find
entity Blair will quit as British PM within a year
relation language of work or name
action find
entity The Last Dictatorship in Europe. Belarus under Lukashenko
relation language of work or name
type language
{'OR': [['Blair will quit as British PM within a year', 'language of work or name', {'concept': 'language'}], ['The Last Dictatorship in Europe. Belarus under Lukashenko', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { { ?b property:language_of_work_or_name ?z . VALUES ( ?b ) { ( resource:Blair_will_quit_as_British_PM_within_a_year ) ( resource:The_Last_Dictatorship_in_Europe._Belarus_under_Lukashenko ) } } . ?z rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q21198177
P364
Q838948
USER
Is Falling known to be originally created in that one language ?
(Q21198177,P364,Q1860)
action is_in
entity Q1860
action find
entity Q21198177
relation P364
['Q21198177', 'P364', 'Q1860']
ASK WHERE { resource:Q21198177 property:P364 resource:Q1860 }
English Falling
action is_in
entity English
action find
entity Falling
relation original language of work
['Falling', 'original language of work', 'English']
ASK WHERE { resource:Falling property:original_language_of_work resource:English }
[]
work of art
SYSTEM
YES
(Q21198177,P364,Q1860)
action is_in
entity Q1860
action find
entity Q21198177
relation P364
[ANSWER]
['Q21198177', 'P364', 'Q1860']
ASK WHERE { resource:Q21198177 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Falling
relation original language of work
['Falling', 'original language of work', 'English']
ASK WHERE { resource:Falling property:original_language_of_work resource:English }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7735265 Q5611339
P361 P452
Q58778
USER
Which systems are grouser a component of or are the industries The Fresh Market belongs to ?
OR((Q5611339,P361,c(Q58778)), (Q7735265,P452,c(Q58778)))
action filter_type
action union
action find
entity Q5611339
relation P361
action find
entity Q7735265
relation P452
type Q58778
{'OR': [['Q5611339', 'P361', {'concept': 'Q58778'}], ['Q7735265', 'P452', {'concept': 'Q58778'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q5611339 property:P361 ?u } UNION { resource:Q7735265 property:P452 ?u } } . ?u rdf:type ontology:Q58778 }
The Fresh Market grouser
action filter_type
action union
action find
entity grouser
relation part of
action find
entity The Fresh Market
relation industry
type system
{'OR': [['grouser', 'part of', {'concept': 'system'}], ['The Fresh Market', 'industry', {'concept': 'system'}]]}
SELECT DISTINCT ?u WHERE { { { resource:grouser property:part_of ?u } UNION { resource:The_Fresh_Market property:industry ?u } } . ?u rdf:type ontology:system }
[]
system
Q126793 Q940913
SYSTEM
retail, continuous track
Q126793 Q940913
OR((Q5611339,P361,c(Q58778)), (Q7735265,P452,c(Q58778)))
action filter_type
action union
action find
entity Q5611339
relation P361
action find
entity Q7735265
relation P452
type Q58778
The [ANSWERS] are grouser a component of or are the industries The Fresh Market belongs to
{'OR': [['Q5611339', 'P361', {'concept': 'Q58778'}], ['Q7735265', 'P452', {'concept': 'Q58778'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q5611339 property:P361 ?u } UNION { resource:Q7735265 property:P452 ?u } } . ?u rdf:type ontology:Q58778 }
retail continuous track
The retail and continuous track are grouser a component of or are the industries The Fresh Market belongs to
retail continuous track
action filter_type
action union
action find
entity grouser
relation part of
action find
entity The Fresh Market
relation industry
type system
{'OR': [['grouser', 'part of', {'concept': 'system'}], ['The Fresh Market', 'industry', {'concept': 'system'}]]}
SELECT DISTINCT ?u WHERE { { { resource:grouser property:part_of ?u } UNION { resource:The_Fresh_Market property:industry ?u } } . ?u rdf:type ontology:system }
[]