Simple Question (Direct)
Simple Question
Q1638310
P937
Q56061
USER
Where did William B. Calhoun work ?
(Q1638310,P937,c(Q56061))
action filter_type
action find
entity Q1638310
relation P937
type Q56061
['Q1638310', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1638310 property:P937 ?r . ?r rdf:type ontology:Q56061 }
William B. Calhoun
action filter_type
action find
entity William B. Calhoun
relation work location
type administrative territorial entity
['William B. Calhoun', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:William_B._Calhoun property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q1638310,P937,c(Q56061))
action filter_type
action find
entity Q1638310
relation P937
type Q56061
William B. Calhoun worked in [ANSWER]
['Q1638310', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1638310 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Boston
William B. Calhoun worked in Boston
Boston
action filter_type
action find
entity William B. Calhoun
relation work location
type administrative territorial entity
['William B. Calhoun', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:William_B._Calhoun property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q100
P361
Q486972
USER
Which human settlement is a component of that administrative territory ?
(c(Q486972),P361,Q100)
action filter_type
action find_reverse
entity Q100
relation P361
type Q486972
[{'concept': 'Q486972'}, 'P361', 'Q100']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q486972 . ?k property:P361 resource:Q100 }
Boston
action filter_type
action find_reverse
entity Boston
relation part of
type human settlement
[{'concept': 'human settlement'}, 'part of', 'Boston']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:human_settlement . ?k property:part_of resource:Boston }
[]
human settlement
Q985993
SYSTEM
Jamaica Plain
Q985993
(c(Q486972),P361,Q100)
action filter_type
action find_reverse
entity Q100
relation P361
type Q486972
[ANSWER] is a component of that administrative territory
[{'concept': 'Q486972'}, 'P361', 'Q100']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q486972 . ?k property:P361 resource:Q100 }
Jamaica Plain
Jamaica Plain is a component of that administrative territory
Jamaica Plain
action filter_type
action find_reverse
entity Boston
relation part of
type human settlement
[{'concept': 'human settlement'}, 'part of', 'Boston']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:human_settlement . ?k property:part_of resource:Boston }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q985993 Q30
P17
Q15617994
USER
Does that human settlement belong to United States of America ?
(Q985993,P17,Q30)
action is_in
entity Q30
action find
entity Q985993
relation P17
['Q985993', 'P17', 'Q30']
ASK WHERE { resource:Q985993 property:P17 resource:Q30 }
Jamaica Plain United States of America
action is_in
entity United States of America
action find
entity Jamaica Plain
relation country
['Jamaica Plain', 'country', 'United States of America']
ASK WHERE { resource:Jamaica_Plain property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q985993,P17,Q30)
action is_in
entity Q30
action find
entity Q985993
relation P17
[ANSWER]
['Q985993', 'P17', 'Q30']
ASK WHERE { resource:Q985993 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Jamaica Plain
relation country
['Jamaica Plain', 'country', 'United States of America']
ASK WHERE { resource:Jamaica_Plain property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1638310 Q530154
P27
Q15617994
USER
Is William B. Calhoun an inhabitant of Kindelbrück ?
(Q1638310,P27,Q530154)
action is_in
entity Q530154
action find
entity Q1638310
relation P27
['Q1638310', 'P27', 'Q530154']
ASK WHERE { resource:Q1638310 property:P27 resource:Q530154 }
William B. Calhoun Kindelbrück
action is_in
entity Kindelbrück
action find
entity William B. Calhoun
relation country of citizenship
['William B. Calhoun', 'country of citizenship', 'Kindelbrück']
ASK WHERE { resource:William_B._Calhoun property:country_of_citizenship resource:Kindelbrück }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1638310,P27,Q530154)
action is_in
entity Q530154
action find
entity Q1638310
relation P27
[ANSWER]
['Q1638310', 'P27', 'Q530154']
ASK WHERE { resource:Q1638310 property:P27 resource:Q530154 }
No
action is_in
entity Kindelbrück
action find
entity William B. Calhoun
relation country of citizenship
['William B. Calhoun', 'country of citizenship', 'Kindelbrück']
ASK WHERE { resource:William_B._Calhoun property:country_of_citizenship resource:Kindelbrück }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q100
P206
Q15324 Q355304
USER
How many bodies of water or watercourses are located next to Boston ?
(Q100,P206,c(Q15324)) (Q100,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q15324
action filter_type
action find
entity Q100
relation P206
type Q355304
['Q100', 'P206', {'concept': 'Q15324'}] ['Q100', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Q100 property:P206 ?n . ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q15324 . resource:Q100 property:P206 ?n } }
Boston
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
['Boston', 'located next to body of water', {'concept': 'body of water'}] ['Boston', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Boston property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:body_of_water . resource:Boston property:located_next_to_body_of_water ?n } }
[]
body of water watercourse
SYSTEM
4
Q1332459 Q894564 Q794927 Q1758000
(Q100,P206,c(Q15324)) (Q100,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q15324
action filter_type
action find
entity Q100
relation P206
type Q355304
[ANSWER]
['Q100', 'P206', {'concept': 'Q15324'}] ['Q100', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Q100 property:P206 ?n . ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q15324 . resource:Q100 property:P206 ?n } }
Neponset River Boston Harbor Charles River Mystic River
4
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
['Boston', 'located next to body of water', {'concept': 'body of water'}] ['Boston', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Boston property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:body_of_water . resource:Boston property:located_next_to_body_of_water ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100
P291
Q571
USER
Which books were published in Boston ?
(c(Q571),P291,Q100)
action filter_type
action find_reverse
entity Q100
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q100']
SELECT DISTINCT ?a WHERE { ?a property:P291 resource:Q100 . ?a rdf:type ontology:Q571 }
Boston
action filter_type
action find_reverse
entity Boston
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Boston']
SELECT DISTINCT ?a WHERE { ?a property:place_of_publication resource:Boston . ?a rdf:type ontology:book }
[]
book
Q19090608 Q26722460 Q24036077
SYSTEM
The Indian Dispossessed, Eminent English liberals in and out of Parliament, Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q19091666 Q19090608 Q26722460 Q24036077 Q24033017 Q20869415 Q17362859
(c(Q571),P291,Q100)
action filter_type
action find_reverse
entity Q100
relation P291
type Q571
[ANSWERS]
[{'concept': 'Q571'}, 'P291', 'Q100']
SELECT DISTINCT ?a WHERE { ?a property:P291 resource:Q100 . ?a rdf:type ontology:Q571 }
The Laboring Classes of England The Indian Dispossessed Eminent English liberals in and out of Parliament Two Addresses from the Governour, Council and Convention of the Massachusets Colony The Pragmatic Programmer (1st edition) An Oration delivered before the Phi Beta Kappa Society One-Dimensional Man (1st edition)
The Indian Dispossessed, Eminent English liberals in and out of Parliament and Two Addresses from the Governour, Council and Convention of the Massachusets Colony were published in Boston
The Indian Dispossessed Eminent English liberals in and out of Parliament Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity Boston
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Boston']
SELECT DISTINCT ?a WHERE { ?a property:place_of_publication resource:Boston . ?a rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26722460
P123
Q502895
USER
Who published Eminent English liberals in and out of Parliament ?
(Q26722460,P123,c(Q502895))
action filter_type
action find
entity Q26722460
relation P123
type Q502895
['Q26722460', 'P123', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q26722460 property:P123 ?z . ?z rdf:type ontology:Q502895 }
Eminent English liberals in and out of Parliament
action filter_type
action find
entity Eminent English liberals in and out of Parliament
relation publisher
type common name
['Eminent English liberals in and out of Parliament', 'publisher', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Eminent_English_liberals_in_and_out_of_Parliament property:publisher ?z . ?z rdf:type ontology:common_name }
[]
common name
Q6141700
SYSTEM
James R. Osgood
Q6141700
(Q26722460,P123,c(Q502895))
action filter_type
action find
entity Q26722460
relation P123
type Q502895
The [ANSWER] published Eminent English liberals in and out of Parliament
['Q26722460', 'P123', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q26722460 property:P123 ?z . ?z rdf:type ontology:Q502895 }
James R. Osgood
The James R. Osgood published Eminent English liberals in and out of Parliament
James R. Osgood
action filter_type
action find
entity Eminent English liberals in and out of Parliament
relation publisher
type common name
['Eminent English liberals in and out of Parliament', 'publisher', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Eminent_English_liberals_in_and_out_of_Parliament property:publisher ?z . ?z rdf:type ontology:common_name }
[]