Simple Question (Direct)
Simple Question
Q3964849
P106
Q12737077
USER
Which occupation is the profession of Sidney Hertzberg ?
(Q3964849,P106,c(Q12737077))
action filter_type
action find
entity Q3964849
relation P106
type Q12737077
['Q3964849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3964849 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Sidney Hertzberg
action filter_type
action find
entity Sidney Hertzberg
relation occupation
type occupation
['Sidney Hertzberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Sidney_Hertzberg property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q3964849,P106,c(Q12737077))
action filter_type
action find
entity Q3964849
relation P106
type Q12737077
The [ANSWER] is the profession of Sidney Hertzberg
['Q3964849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3964849 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
basketball player
The basketball player is the profession of Sidney Hertzberg
basketball player
action filter_type
action find
entity Sidney Hertzberg
relation occupation
type occupation
['Sidney Hertzberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Sidney_Hertzberg property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3964849
P735
Q82799
USER
Which name is Sidney Hertzberg known by ?
(Q3964849,P735,c(Q82799))
action filter_type
action find
entity Q3964849
relation P735
type Q82799
['Q3964849', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3964849 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Sidney Hertzberg
action filter_type
action find
entity Sidney Hertzberg
relation given name
type name
['Sidney Hertzberg', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Sidney_Hertzberg property:given_name ?o . ?o rdf:type ontology:name }
[]
name
Q10673707
SYSTEM
Sonny
Q10673707
(Q3964849,P735,c(Q82799))
action filter_type
action find
entity Q3964849
relation P735
type Q82799
Sidney Hertzberg is known as [ANSWER]
['Q3964849', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3964849 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Sonny
Sidney Hertzberg is known as Sonny
Sonny
action filter_type
action find
entity Sidney Hertzberg
relation given name
type name
['Sidney Hertzberg', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Sidney_Hertzberg property:given_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3964849
P27
Q15617994
USER
Which administrative territory is Sidney Hertzberg an inhabitant of ?
(Q3964849,P27,c(Q15617994))
action filter_type
action find
entity Q3964849
relation P27
type Q15617994
['Q3964849', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3964849 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Sidney Hertzberg
action filter_type
action find
entity Sidney Hertzberg
relation country of citizenship
type designation for an administrative territorial entity
['Sidney Hertzberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sidney_Hertzberg property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3964849,P27,c(Q15617994))
action filter_type
action find
entity Q3964849
relation P27
type Q15617994
[ANSWER] is Sidney Hertzberg an inhabitant of
['Q3964849', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3964849 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
United States of America is Sidney Hertzberg an inhabitant of
United States of America
action filter_type
action find
entity Sidney Hertzberg
relation country of citizenship
type designation for an administrative territorial entity
['Sidney Hertzberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sidney_Hertzberg property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3964849
P21
Q290
USER
Which sex does that person belong to ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q3964849
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q3964849 property:P21 ?f }
Sidney Hertzberg
action filter_type
action find
entity Sidney Hertzberg
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Sidney_Hertzberg property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q30,P21,c(Q290))
action filter_type
action find
entity Q3964849
relation P21
type Q290
That person belongs to [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q3964849 property:P21 ?f }
male
That person belongs to male
male
action filter_type
action find
entity Sidney Hertzberg
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Sidney_Hertzberg property:gender ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3964849
P1196
Q1931388
USER
What situation did that person die in ?
(Q6581097,P1196,c(Q1931388))
action filter_type
action find
entity Q3964849
relation P1196
type Q1931388
['Q6581097', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q3964849 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
Sidney Hertzberg
action filter_type
action find
entity Sidney Hertzberg
relation manner of death
type cause of death
['male', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Sidney_Hertzberg property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6581097,P1196,c(Q1931388))
action filter_type
action find
entity Q3964849
relation P1196
type Q1931388
That person died in [ANSWER]
['Q6581097', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q3964849 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Sidney Hertzberg
relation manner of death
type cause of death
['male', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Sidney_Hertzberg property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3964849
P509
Q2057971
USER
What caused the death of that person ?
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q3964849
relation P509
type Q2057971
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2057971 . resource:Q3964849 property:P509 ?u }
Sidney Hertzberg
action filter_type
action find
entity Sidney Hertzberg
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:health_problem . resource:Sidney_Hertzberg property:cause_of_death ?u }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q3964849
relation P509
type Q2057971
[ANSWER] caused the death of that person
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2057971 . resource:Q3964849 property:P509 ?u }
myocardial infarction
Myocardial infarction caused the death of that person
myocardial infarction
action filter_type
action find
entity Sidney Hertzberg
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:health_problem . resource:Sidney_Hertzberg property:cause_of_death ?u }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q5240655 Q3964849
P509
Q2057971
USER
And also David Vine
AND((Q3964849,P509,c(Q2057971)), (Q5240655,P509,c(Q2057971)))
action filter_type
action intersection
action find
entity Q3964849
relation P509
action find
entity Q5240655
relation P509
type Q2057971
{'AND': [['Q3964849', 'P509', {'concept': 'Q2057971'}], ['Q5240655', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?s WHERE { resource:Q3964849 property:P509 ?s . resource:Q5240655 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
David Vine Sidney Hertzberg
action filter_type
action intersection
action find
entity Sidney Hertzberg
relation cause of death
action find
entity David Vine
relation cause of death
type health problem
{'AND': [['Sidney Hertzberg', 'cause of death', {'concept': 'health problem'}], ['David Vine', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?s WHERE { resource:Sidney_Hertzberg property:cause_of_death ?s . resource:David_Vine property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
AND((Q3964849,P509,c(Q2057971)), (Q5240655,P509,c(Q2057971)))
action filter_type
action intersection
action find
entity Q3964849
relation P509
action find
entity Q5240655
relation P509
type Q2057971
[ANSWER]
{'AND': [['Q3964849', 'P509', {'concept': 'Q2057971'}], ['Q5240655', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?s WHERE { resource:Q3964849 property:P509 ?s . resource:Q5240655 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
myocardial infarction
myocardial infarction
action filter_type
action intersection
action find
entity Sidney Hertzberg
relation cause of death
action find
entity David Vine
relation cause of death
type health problem
{'AND': [['Sidney Hertzberg', 'cause of death', {'concept': 'health problem'}], ['David Vine', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?s WHERE { resource:Sidney_Hertzberg property:cause_of_death ?s . resource:David_Vine property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q21115043 Q12152
P2176 P129
Q8386
USER
Which drugs are used for treating myocardial infarction and do 5-hydroxytryptamine receptor 1A interact with ?
AND((Q12152,P2176,c(Q8386)), (Q21115043,P129,c(Q8386)))
action filter_type
action intersection
action find
entity Q12152
relation P2176
action find
entity Q21115043
relation P129
type Q8386
{'AND': [['Q12152', 'P2176', {'concept': 'Q8386'}], ['Q21115043', 'P129', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?z WHERE { resource:Q12152 property:P2176 ?z . resource:Q21115043 property:P129 ?z . ?z rdf:type ontology:Q8386 }
5-hydroxytryptamine receptor 1A myocardial infarction
action filter_type
action intersection
action find
entity myocardial infarction
relation drug used for treatment
action find
entity 5-hydroxytryptamine receptor 1A
relation physically interacts with
type drug
{'AND': [['myocardial infarction', 'drug used for treatment', {'concept': 'drug'}], ['5-hydroxytryptamine receptor 1A', 'physically interacts with', {'concept': 'drug'}]]}
SELECT DISTINCT ?z WHERE { resource:myocardial_infarction property:drug_used_for_treatment ?z . resource:5-hydroxytryptamine_receptor_1A property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
drug
Q418101
SYSTEM
pindolol
Q418101
AND((Q12152,P2176,c(Q8386)), (Q21115043,P129,c(Q8386)))
action filter_type
action intersection
action find
entity Q12152
relation P2176
action find
entity Q21115043
relation P129
type Q8386
[ANSWER] is used for treating myocardial infarction and do 5-hydroxytryptamine receptor 1A interact with
{'AND': [['Q12152', 'P2176', {'concept': 'Q8386'}], ['Q21115043', 'P129', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?z WHERE { resource:Q12152 property:P2176 ?z . resource:Q21115043 property:P129 ?z . ?z rdf:type ontology:Q8386 }
pindolol
Pindolol is used for treating myocardial infarction and do 5-hydroxytryptamine receptor 1A interact with
pindolol
action filter_type
action intersection
action find
entity myocardial infarction
relation drug used for treatment
action find
entity 5-hydroxytryptamine receptor 1A
relation physically interacts with
type drug
{'AND': [['myocardial infarction', 'drug used for treatment', {'concept': 'drug'}], ['5-hydroxytryptamine receptor 1A', 'physically interacts with', {'concept': 'drug'}]]}
SELECT DISTINCT ?z WHERE { resource:myocardial_infarction property:drug_used_for_treatment ?z . resource:5-hydroxytryptamine_receptor_1A property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q418101 Q287958
P129
Q181394
USER
Does that drug contact with Beta-1 adrenergic receptor ?
(Q418101,P129,Q287958)
action is_in
entity Q287958
action find
entity Q418101
relation P129
['Q418101', 'P129', 'Q287958']
ASK WHERE { resource:Q418101 property:P129 resource:Q287958 }
pindolol Beta-1 adrenergic receptor
action is_in
entity Beta-1 adrenergic receptor
action find
entity pindolol
relation physically interacts with
['pindolol', 'physically interacts with', 'Beta-1 adrenergic receptor']
ASK WHERE { resource:pindolol property:physically_interacts_with resource:Beta-1_adrenergic_receptor }
[]
nutrient
SYSTEM
YES
(Q418101,P129,Q287958)
action is_in
entity Q287958
action find
entity Q418101
relation P129
[ANSWER]
['Q418101', 'P129', 'Q287958']
ASK WHERE { resource:Q418101 property:P129 resource:Q287958 }
Yes
action is_in
entity Beta-1 adrenergic receptor
action find
entity pindolol
relation physically interacts with
['pindolol', 'physically interacts with', 'Beta-1 adrenergic receptor']
ASK WHERE { resource:pindolol property:physically_interacts_with resource:Beta-1_adrenergic_receptor }
[]