Simple Question (Direct)
Simple Question
Q7412913
P108
Q163740
USER
Which nonprofit organization is the employer of Samuel Wesley Stratton ?
(Q7412913,P108,c(Q163740))
action filter_type
action find
entity Q7412913
relation P108
type Q163740
['Q7412913', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q7412913 property:P108 ?a . ?a rdf:type ontology:Q163740 }
Samuel Wesley Stratton
action filter_type
action find
entity Samuel Wesley Stratton
relation employer
type nonprofit organization
['Samuel Wesley Stratton', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Samuel_Wesley_Stratton property:employer ?a . ?a rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q131252
SYSTEM
University of Chicago
Q131252
(Q7412913,P108,c(Q163740))
action filter_type
action find
entity Q7412913
relation P108
type Q163740
Chicago [ANSWER] is the employer of Samuel Wesley Stratton
['Q7412913', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q7412913 property:P108 ?a . ?a rdf:type ontology:Q163740 }
University of Chicago
Chicago University of Chicago is the employer of Samuel Wesley Stratton
University of Chicago
action filter_type
action find
entity Samuel Wesley Stratton
relation employer
type nonprofit organization
['Samuel Wesley Stratton', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Samuel_Wesley_Stratton property:employer ?a . ?a rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131252
P123
Q21114848
USER
Which magazine genres produced that nonprofit organization ?
(c(Q21114848),P123,Q131252)
action filter_type
action find_reverse
entity Q131252
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q131252']
SELECT DISTINCT ?h WHERE { ?h property:P123 resource:Q131252 . ?h rdf:type ontology:Q21114848 }
University of Chicago
action filter_type
action find_reverse
entity University of Chicago
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'University of Chicago']
SELECT DISTINCT ?h WHERE { ?h property:publisher resource:University_of_Chicago . ?h rdf:type ontology:magazine_genre }
[]
magazine genre
Q4744240 Q7782416
SYSTEM
American Journal of Education, Theory of Computing
Q4744240 Q7782416
(c(Q21114848),P123,Q131252)
action filter_type
action find_reverse
entity Q131252
relation P123
type Q21114848
[ANSWERS] produced that nonprofit organization
[{'concept': 'Q21114848'}, 'P123', 'Q131252']
SELECT DISTINCT ?h WHERE { ?h property:P123 resource:Q131252 . ?h rdf:type ontology:Q21114848 }
American Journal of Education Theory of Computing
American Journal of Education and Theory of Computing produced that nonprofit organization
American Journal of Education Theory of Computing
action filter_type
action find_reverse
entity University of Chicago
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'University of Chicago']
SELECT DISTINCT ?h WHERE { ?h property:publisher resource:University_of_Chicago . ?h rdf:type ontology:magazine_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131252
P937
Q502895
USER
Who works at that nonprofit organization ?
(c(Q502895),P937,Q4744240) (c(Q502895),P937,Q7782416)
action filter_type
action find_reverse
entity Q131252
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q4744240'] [{'concept': 'Q502895'}, 'P937', 'Q7782416']
SELECT DISTINCT ?j WHERE { ?j property:P937 resource:Q131252 . ?j rdf:type ontology:Q502895 }
University of Chicago
action filter_type
action find_reverse
entity University of Chicago
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'American Journal of Education'] [{'concept': 'common name'}, 'work location', 'Theory of Computing']
SELECT DISTINCT ?j WHERE { ?j property:work_location resource:University_of_Chicago . ?j rdf:type ontology:common_name }
[]
common name
Q350468 Q9355579
SYSTEM
J. Allen Hynek, Tara Zahra
Q350468 Q9355579
(c(Q502895),P937,Q4744240) (c(Q502895),P937,Q7782416)
action filter_type
action find_reverse
entity Q131252
relation P937
type Q502895
[ANSWERS] work at that nonprofit organization
[{'concept': 'Q502895'}, 'P937', 'Q4744240'] [{'concept': 'Q502895'}, 'P937', 'Q7782416']
SELECT DISTINCT ?j WHERE { ?j property:P937 resource:Q131252 . ?j rdf:type ontology:Q502895 }
J. Allen Hynek Tara Zahra
J. Allen Hynek and Tara Zahra work at that nonprofit organization
J. Allen Hynek Tara Zahra
action filter_type
action find_reverse
entity University of Chicago
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'American Journal of Education'] [{'concept': 'common name'}, 'work location', 'Theory of Computing']
SELECT DISTINCT ?j WHERE { ?j property:work_location resource:University_of_Chicago . ?j rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art do that person star in ?
(c(Q838948),P161,Q350468)
[{'concept': 'Q838948'}, 'P161', 'Q350468']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q350468 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'J. Allen Hynek']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:J._Allen_Hynek . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q350468
SYSTEM
Did you mean J. Allen Hynek ?
(c(Q838948),P161,Q350468) (c(Q838948),P161,Q9355579)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q350468'] [{'concept': 'Q838948'}, 'P161', 'Q9355579']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q350468 . ?z rdf:type ontology:Q838948 }
Did you mean J. Allen Hynek ?
J. Allen Hynek
[{'concept': 'work of art'}, 'cast member', 'J. Allen Hynek'] [{'concept': 'work of art'}, 'cast member', 'Tara Zahra']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:J._Allen_Hynek . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q838948),P161,Q350468)
[{'concept': 'Q838948'}, 'P161', 'Q350468']
[{'concept': 'work of art'}, 'cast member', 'J. Allen Hynek']
[]
SYSTEM
1
Q320588
(c(Q838948),P161,Q350468)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q350468']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q350468 . ?z rdf:type ontology:Q838948 }
Close Encounters of the Third Kind
1
[{'concept': 'work of art'}, 'cast member', 'J. Allen Hynek']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:J._Allen_Hynek . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q350468
P112
Q43229
USER
Which organization was started by J. Allen Hynek ?
(c(Q43229),P112,Q350468)
action filter_type
action find_reverse
entity Q350468
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q350468']
SELECT DISTINCT ?a WHERE { ?a property:P112 resource:Q350468 . ?a rdf:type ontology:Q43229 }
J. Allen Hynek
action filter_type
action find_reverse
entity J. Allen Hynek
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'J. Allen Hynek']
SELECT DISTINCT ?a WHERE { ?a property:founder resource:J._Allen_Hynek . ?a rdf:type ontology:organization }
[]
organization
Q2607874
SYSTEM
Center for UFO Studies
Q2607874
(c(Q43229),P112,Q350468)
action filter_type
action find_reverse
entity Q350468
relation P112
type Q43229
[ANSWER] was started by J. Allen Hynek
[{'concept': 'Q43229'}, 'P112', 'Q350468']
SELECT DISTINCT ?a WHERE { ?a property:P112 resource:Q350468 . ?a rdf:type ontology:Q43229 }
Center for UFO Studies
Center for UFO Studies was started by J. Allen Hynek
Center for UFO Studies
action filter_type
action find_reverse
entity J. Allen Hynek
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'J. Allen Hynek']
SELECT DISTINCT ?a WHERE { ?a property:founder resource:J._Allen_Hynek . ?a rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2607874
P159
Q56061
USER
Which administrative territory is the head office of that organization ?
(Q2607874,P159,c(Q56061))
action filter_type
action find
entity Q2607874
relation P159
type Q56061
['Q2607874', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2607874 property:P159 ?m }
Center for UFO Studies
action filter_type
action find
entity Center for UFO Studies
relation headquarters location
type administrative territorial entity
['Center for UFO Studies', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Center_for_UFO_Studies property:headquarters_location ?m }
[]
administrative territorial entity
Q1297
SYSTEM
Chicago
Q1297
(Q2607874,P159,c(Q56061))
action filter_type
action find
entity Q2607874
relation P159
type Q56061
[ANSWER] is the head office of that organization
['Q2607874', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2607874 property:P159 ?m }
Chicago
Chicago is the head office of that organization
Chicago
action filter_type
action find
entity Center for UFO Studies
relation headquarters location
type administrative territorial entity
['Center for UFO Studies', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Center_for_UFO_Studies property:headquarters_location ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q258479 Q350468
P509
Q12136
USER
Which diseases lead to the death of J. Allen Hynek and Annette Charles ?
AND((Q350468,P509,c(Q12136)), (Q258479,P509,c(Q12136)))
action filter_type
action intersection
action find
entity Q350468
relation P509
action find
entity Q258479
relation P509
type Q12136
{'AND': [['Q350468', 'P509', {'concept': 'Q12136'}], ['Q258479', 'P509', {'concept': 'Q12136'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12136 . resource:Q350468 property:P509 ?d . resource:Q258479 property:P509 ?d }
Annette Charles J. Allen Hynek
action filter_type
action intersection
action find
entity J. Allen Hynek
relation cause of death
action find
entity Annette Charles
relation cause of death
type disease
{'AND': [['J. Allen Hynek', 'cause of death', {'concept': 'disease'}], ['Annette Charles', 'cause of death', {'concept': 'disease'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:disease . resource:J._Allen_Hynek property:cause_of_death ?d . resource:Annette_Charles property:cause_of_death ?d }
[]
disease
Q12078
SYSTEM
cancer
Q12078
AND((Q350468,P509,c(Q12136)), (Q258479,P509,c(Q12136)))
action filter_type
action intersection
action find
entity Q350468
relation P509
action find
entity Q258479
relation P509
type Q12136
Breast [ANSWER] lead to the death of J. Allen Hynek and Annette Charles
{'AND': [['Q350468', 'P509', {'concept': 'Q12136'}], ['Q258479', 'P509', {'concept': 'Q12136'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12136 . resource:Q350468 property:P509 ?d . resource:Q258479 property:P509 ?d }
cancer
Breast cancer lead to the death of J. Allen Hynek and Annette Charles
cancer
action filter_type
action intersection
action find
entity J. Allen Hynek
relation cause of death
action find
entity Annette Charles
relation cause of death
type disease
{'AND': [['J. Allen Hynek', 'cause of death', {'concept': 'disease'}], ['Annette Charles', 'cause of death', {'concept': 'disease'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:disease . resource:J._Allen_Hynek property:cause_of_death ?d . resource:Annette_Charles property:cause_of_death ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12078 Q423762
P2176
Q8386
USER
Is Paclitaxel used as a remedy for cancer ?
(Q12078,P2176,Q423762)
action is_in
entity Q423762
action find
entity Q12078
relation P2176
['Q12078', 'P2176', 'Q423762']
ASK WHERE { resource:Q12078 property:P2176 resource:Q423762 }
cancer Paclitaxel
action is_in
entity Paclitaxel
action find
entity cancer
relation drug used for treatment
['cancer', 'drug used for treatment', 'Paclitaxel']
ASK WHERE { resource:cancer property:drug_used_for_treatment resource:Paclitaxel }
[]
drug
SYSTEM
YES
(Q12078,P2176,Q423762)
action is_in
entity Q423762
action find
entity Q12078
relation P2176
[ANSWER]
['Q12078', 'P2176', 'Q423762']
ASK WHERE { resource:Q12078 property:P2176 resource:Q423762 }
Yes
action is_in
entity Paclitaxel
action find
entity cancer
relation drug used for treatment
['cancer', 'drug used for treatment', 'Paclitaxel']
ASK WHERE { resource:cancer property:drug_used_for_treatment resource:Paclitaxel }
[]