Simple Question (Direct)
Simple Question
Q16043772
P69
Q163740
USER
What is the nonprofit organization where James Oliver was educated ?
(Q16043772,P69,c(Q163740))
action filter_type
action find
entity Q16043772
relation P69
type Q163740
['Q16043772', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q163740 . resource:Q16043772 property:P69 ?z }
James Oliver
action filter_type
action find
entity James Oliver
relation educated at
type nonprofit organization
['James Oliver', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nonprofit_organization . resource:James_Oliver property:educated_at ?z }
[]
nonprofit organization
Q1138374
SYSTEM
St. John's University (New York City)
Q1138374
(Q16043772,P69,c(Q163740))
action filter_type
action find
entity Q16043772
relation P69
type Q163740
The nonprofit organization James Oliver was educated is at [ANSWER]
['Q16043772', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q163740 . resource:Q16043772 property:P69 ?z }
St. John's University (New York City)
The nonprofit organization James Oliver was educated is at St. John's University (New York City)
St. John's University (New York City)
action filter_type
action find
entity James Oliver
relation educated at
type nonprofit organization
['James Oliver', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nonprofit_organization . resource:James_Oliver property:educated_at ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16043772
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1138374,P27,c(Q15617994))
action filter_type
action find
entity Q16043772
relation P27
type Q15617994
['Q1138374', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q16043772 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
James Oliver
action filter_type
action find
entity James Oliver
relation country of citizenship
type designation for an administrative territorial entity
["St. John's University (New York City)", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:James_Oliver property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1138374,P27,c(Q15617994))
action filter_type
action find
entity Q16043772
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q1138374', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q16043772 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity James Oliver
relation country of citizenship
type designation for an administrative territorial entity
["St. John's University (New York City)", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:James_Oliver property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7750318 Q1138374
P159
Q56061
USER
Which administrative territories are the headquarters of St. John's University (New York City) or The Marine and General Mutual Life Assurance Society located ?
OR((Q1138374,P159,c(Q56061)), (Q7750318,P159,c(Q56061)))
action filter_type
action union
action find
entity Q1138374
relation P159
action find
entity Q7750318
relation P159
type Q56061
{'OR': [['Q1138374', 'P159', {'concept': 'Q56061'}], ['Q7750318', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1138374 property:P159 ?n } UNION { resource:Q7750318 property:P159 ?n } } . ?n rdf:type ontology:Q56061 }
The Marine and General Mutual Life Assurance Society St. John's University (New York City)
action filter_type
action union
action find
entity St. John's University (New York City)
relation headquarters location
action find
entity The Marine and General Mutual Life Assurance Society
relation headquarters location
type administrative territorial entity
{'OR': [["St. John's University (New York City)", 'headquarters location', {'concept': 'administrative territorial entity'}], ['The Marine and General Mutual Life Assurance Society', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:St._John's_University_(New_York_City) property:headquarters_location ?n } UNION { resource:The_Marine_and_General_Mutual_Life_Assurance_Society property:headquarters_location ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q671348 Q60
SYSTEM
Worthing, New York City
Q671348 Q60
OR((Q1138374,P159,c(Q56061)), (Q7750318,P159,c(Q56061)))
action filter_type
action union
action find
entity Q1138374
relation P159
action find
entity Q7750318
relation P159
type Q56061
[ANSWERS] are the headquarters of St. John's University (New York City) or The Marine and General Mutual Life Assurance Society located
{'OR': [['Q1138374', 'P159', {'concept': 'Q56061'}], ['Q7750318', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1138374 property:P159 ?n } UNION { resource:Q7750318 property:P159 ?n } } . ?n rdf:type ontology:Q56061 }
Worthing New York City
Worthing and New York City are the headquarters of St. John's University (New York City) or The Marine and General Mutual Life Assurance Society located
Worthing New York City
action filter_type
action union
action find
entity St. John's University (New York City)
relation headquarters location
action find
entity The Marine and General Mutual Life Assurance Society
relation headquarters location
type administrative territorial entity
{'OR': [["St. John's University (New York City)", 'headquarters location', {'concept': 'administrative territorial entity'}], ['The Marine and General Mutual Life Assurance Society', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:St._John's_University_(New_York_City) property:headquarters_location ?n } UNION { resource:The_Marine_and_General_Mutual_Life_Assurance_Society property:headquarters_location ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1584668 Q16043772
P102
Q7210356
USER
Which political organizations are James Oliver or Harald Petzold affiliated with ?
OR((Q16043772,P102,c(Q7210356)), (Q1584668,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q16043772
relation P102
action find
entity Q1584668
relation P102
type Q7210356
{'OR': [['Q16043772', 'P102', {'concept': 'Q7210356'}], ['Q1584668', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q16043772 property:P102 ?x } UNION { resource:Q1584668 property:P102 ?x } } . ?x rdf:type ontology:Q7210356 }
Harald Petzold James Oliver
action filter_type
action union
action find
entity James Oliver
relation member of political party
action find
entity Harald Petzold
relation member of political party
type political organization
{'OR': [['James Oliver', 'member of political party', {'concept': 'political organization'}], ['Harald Petzold', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?x WHERE { { { resource:James_Oliver property:member_of_political_party ?x } UNION { resource:Harald_Petzold property:member_of_political_party ?x } } . ?x rdf:type ontology:political_organization }
[]
political organization
Q29552 Q152554 Q49764
SYSTEM
Democratic Party, The Left Party.PDS, The Left
Q29552 Q152554 Q49764
OR((Q16043772,P102,c(Q7210356)), (Q1584668,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q16043772
relation P102
action find
entity Q1584668
relation P102
type Q7210356
James Oliver or Harald Petzold are affiliated with [ANSWERS]
{'OR': [['Q16043772', 'P102', {'concept': 'Q7210356'}], ['Q1584668', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q16043772 property:P102 ?x } UNION { resource:Q1584668 property:P102 ?x } } . ?x rdf:type ontology:Q7210356 }
Democratic Party The Left Party.PDS The Left
James Oliver or Harald Petzold are affiliated with Democratic Party, The Left Party.PDS and The Left
Democratic Party The Left Party.PDS The Left
action filter_type
action union
action find
entity James Oliver
relation member of political party
action find
entity Harald Petzold
relation member of political party
type political organization
{'OR': [['James Oliver', 'member of political party', {'concept': 'political organization'}], ['Harald Petzold', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?x WHERE { { { resource:James_Oliver property:member_of_political_party ?x } UNION { resource:Harald_Petzold property:member_of_political_party ?x } } . ?x rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11273816 Q16043772
P106
Q12737077
USER
Which occupations do James Oliver or Jørgen Løvset do for a living ?
OR((Q16043772,P106,c(Q12737077)), (Q11273816,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16043772
relation P106
action find
entity Q11273816
relation P106
type Q12737077
{'OR': [['Q16043772', 'P106', {'concept': 'Q12737077'}], ['Q11273816', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . { { resource:Q16043772 property:P106 ?n } UNION { resource:Q11273816 property:P106 ?n } } }
Jørgen Løvset James Oliver
action filter_type
action union
action find
entity James Oliver
relation occupation
action find
entity Jørgen Løvset
relation occupation
type occupation
{'OR': [['James Oliver', 'occupation', {'concept': 'occupation'}], ['Jørgen Løvset', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . { { resource:James_Oliver property:occupation ?n } UNION { resource:Jørgen_Løvset property:occupation ?n } } }
[]
occupation
Q39631 Q82955 Q36180 Q2640827
SYSTEM
physician, politician, writer, gynaecologist
Q39631 Q82955 Q36180 Q2640827
OR((Q16043772,P106,c(Q12737077)), (Q11273816,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16043772
relation P106
action find
entity Q11273816
relation P106
type Q12737077
[ANSWERS] for a living James Oliver or Jørgen Løvset do
{'OR': [['Q16043772', 'P106', {'concept': 'Q12737077'}], ['Q11273816', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . { { resource:Q16043772 property:P106 ?n } UNION { resource:Q11273816 property:P106 ?n } } }
physician politician writer gynaecologist
Physician, politician, writer and gynaecologist for a living James Oliver or Jørgen Løvset do
physician politician writer gynaecologist
action filter_type
action union
action find
entity James Oliver
relation occupation
action find
entity Jørgen Løvset
relation occupation
type occupation
{'OR': [['James Oliver', 'occupation', {'concept': 'occupation'}], ['Jørgen Løvset', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . { { resource:James_Oliver property:occupation ?n } UNION { resource:Jørgen_Løvset property:occupation ?n } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7945376 Q7750318
P159
Q56061
USER
Which administrative territories are the headquarter locations of The Marine and General Mutual Life Assurance Society or W. C. Bradley Co. ?
OR((Q7750318,P159,c(Q56061)), (Q7945376,P159,c(Q56061)))
action filter_type
action union
action find
entity Q7750318
relation P159
action find
entity Q7945376
relation P159
type Q56061
{'OR': [['Q7750318', 'P159', {'concept': 'Q56061'}], ['Q7945376', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q7750318 property:P159 ?p } UNION { resource:Q7945376 property:P159 ?p } } . ?p rdf:type ontology:Q56061 }
W. C. Bradley Co. The Marine and General Mutual Life Assurance Society
action filter_type
action union
action find
entity The Marine and General Mutual Life Assurance Society
relation headquarters location
action find
entity W. C. Bradley Co.
relation headquarters location
type administrative territorial entity
{'OR': [['The Marine and General Mutual Life Assurance Society', 'headquarters location', {'concept': 'administrative territorial entity'}], ['W. C. Bradley Co.', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:The_Marine_and_General_Mutual_Life_Assurance_Society property:headquarters_location ?p } UNION { resource:W._C._Bradley_Co. property:headquarters_location ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q671348 Q239870
SYSTEM
Worthing, Columbus
Q671348 Q239870
OR((Q7750318,P159,c(Q56061)), (Q7945376,P159,c(Q56061)))
action filter_type
action union
action find
entity Q7750318
relation P159
action find
entity Q7945376
relation P159
type Q56061
[ANSWERS] are the headquarter locations of The Marine and General Mutual Life Assurance Society or W. C. Bradley Co.
{'OR': [['Q7750318', 'P159', {'concept': 'Q56061'}], ['Q7945376', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q7750318 property:P159 ?p } UNION { resource:Q7945376 property:P159 ?p } } . ?p rdf:type ontology:Q56061 }
Worthing Columbus
Worthing and Columbus are the headquarter locations of The Marine and General Mutual Life Assurance Society or W. C. Bradley Co.
Worthing Columbus
action filter_type
action union
action find
entity The Marine and General Mutual Life Assurance Society
relation headquarters location
action find
entity W. C. Bradley Co.
relation headquarters location
type administrative territorial entity
{'OR': [['The Marine and General Mutual Life Assurance Society', 'headquarters location', {'concept': 'administrative territorial entity'}], ['W. C. Bradley Co.', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:The_Marine_and_General_Mutual_Life_Assurance_Society property:headquarters_location ?p } UNION { resource:W._C._Bradley_Co. property:headquarters_location ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7945376 Q794272
P740
Q56061
USER
How many administrative territories are the locations of formation of W. C. Bradley Co. or Azul Brazilian Airlines ?
(Q7945376,P740,c(Q56061)) (Q794272,P740,c(Q56061))
action count
action union
action filter_type
action find
entity Q7945376
relation P740
type Q56061
action filter_type
action find
entity Q794272
relation P740
type Q56061
['Q7945376', 'P740', {'concept': 'Q56061'}] ['Q794272', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?f ) { ( resource:Q7945376 ) ( resource:Q794272 ) } . ?f property:P740 ?m }
W. C. Bradley Co. Azul Brazilian Airlines
action count
action union
action filter_type
action find
entity W. C. Bradley Co.
relation location of formation
type administrative territorial entity
action filter_type
action find
entity Azul Brazilian Airlines
relation location of formation
type administrative territorial entity
['W. C. Bradley Co.', 'location of formation', {'concept': 'administrative territorial entity'}] ['Azul Brazilian Airlines', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?f ) { ( resource:W._C._Bradley_Co. ) ( resource:Azul_Brazilian_Airlines ) } . ?f property:location_of_formation ?m }
[]
administrative territorial entity
SYSTEM
2
Q174 Q239870
(Q7945376,P740,c(Q56061)) (Q794272,P740,c(Q56061))
action count
action union
action filter_type
action find
entity Q7945376
relation P740
type Q56061
action filter_type
action find
entity Q794272
relation P740
type Q56061
[ANSWER]
['Q7945376', 'P740', {'concept': 'Q56061'}] ['Q794272', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?f ) { ( resource:Q7945376 ) ( resource:Q794272 ) } . ?f property:P740 ?m }
São Paulo Columbus
2
action count
action union
action filter_type
action find
entity W. C. Bradley Co.
relation location of formation
type administrative territorial entity
action filter_type
action find
entity Azul Brazilian Airlines
relation location of formation
type administrative territorial entity
['W. C. Bradley Co.', 'location of formation', {'concept': 'administrative territorial entity'}] ['Azul Brazilian Airlines', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?f ) { ( resource:W._C._Bradley_Co. ) ( resource:Azul_Brazilian_Airlines ) } . ?f property:location_of_formation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239870
P47
Q56061
USER
Which administrative territories are bordered by Columbus ?
(Q239870,P47,c(Q56061))
action filter_type
action find
entity Q239870
relation P47
type Q56061
['Q239870', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q239870 property:P47 ?w . ?w rdf:type ontology:Q56061 }
Columbus
action filter_type
action find
entity Columbus
relation shares border with
type administrative territorial entity
['Columbus', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Columbus property:shares_border_with ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q219656 Q80073
SYSTEM
Macon, Opelika
Q219656 Q80073
(Q239870,P47,c(Q56061))
action filter_type
action find
entity Q239870
relation P47
type Q56061
The [ANSWERS] are bordered by Columbus
['Q239870', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q239870 property:P47 ?w . ?w rdf:type ontology:Q56061 }
Macon Opelika
The Macon and Opelika are bordered by Columbus
Macon Opelika
action filter_type
action find
entity Columbus
relation shares border with
type administrative territorial entity
['Columbus', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Columbus property:shares_border_with ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q80073
P1408
Q4830453
USER
Which business enterprises are responsible for broadcasting to that administrative territory ?
(c(Q4830453),P1408,Q80073)
action filter_type
action find_reverse
entity Q80073
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q80073']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4830453 . ?e property:P1408 resource:Q80073 }
Opelika
action filter_type
action find_reverse
entity Opelika
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Opelika']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:business_enterprise . ?e property:licensed_to_broadcast_to resource:Opelika }
[]
business enterprise
Clarification for simple ques.
Q80073
SYSTEM
Did you mean Opelika ?
Q219656 Q80073
(c(Q4830453),P1408,Q219656) (c(Q4830453),P1408,Q80073)
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', 'Q219656'] [{'concept': 'Q4830453'}, 'P1408', 'Q80073']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4830453 . ?e property:P1408 resource:Q80073 }
Macon Opelika
Did you mean Opelika ?
Opelika
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Macon'] [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Opelika']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:business_enterprise . ?e property:licensed_to_broadcast_to resource:Opelika }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q4830453),P1408,Q80073)
[{'concept': 'Q4830453'}, 'P1408', 'Q80073']
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Opelika']
[]
Q7956260 Q7953164 Q7946614
SYSTEM
WTLM, WMXA, WANI
Q7956260 Q7953164 Q7946614
(c(Q4830453),P1408,Q80073)
action filter_type
action find_reverse
entity Q80073
relation P1408
type Q4830453
[ANSWERS] are responsible for broadcasting to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q80073']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4830453 . ?e property:P1408 resource:Q80073 }
WTLM WMXA WANI
WTLM, WMXA and WANI are responsible for broadcasting to that administrative territory
WTLM WMXA WANI
action filter_type
action find_reverse
entity Opelika
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Opelika']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:business_enterprise . ?e property:licensed_to_broadcast_to resource:Opelika }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219656
P276
Q2668072
USER
What is situated at Macon ?
(c(Q2668072),P276,Q219656)
action filter_type
action find_reverse
entity Q219656
relation P276
type Q2668072
[{'concept': 'Q2668072'}, 'P276', 'Q219656']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q219656 . ?g rdf:type ontology:Q2668072 }
Macon
action filter_type
action find_reverse
entity Macon
relation location
type collection
[{'concept': 'collection'}, 'location', 'Macon']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Macon . ?g rdf:type ontology:collection }
[]
collection
Q6940776
SYSTEM
Museum of Arts and Sciences
Q6940776
(c(Q2668072),P276,Q219656)
action filter_type
action find_reverse
entity Q219656
relation P276
type Q2668072
The [ANSWER] is situated at Macon
[{'concept': 'Q2668072'}, 'P276', 'Q219656']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q219656 . ?g rdf:type ontology:Q2668072 }
Museum of Arts and Sciences
The Museum of Arts and Sciences is situated at Macon
Museum of Arts and Sciences
action filter_type
action find_reverse
entity Macon
relation location
type collection
[{'concept': 'collection'}, 'location', 'Macon']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Macon . ?g rdf:type ontology:collection }
[]