Simple Question (Direct)
Simple Question
Q5366196
P39
Q12737077
USER
Which occupation was a position for which Ellwood J. Turner was appointed ?
(Q5366196,P39,c(Q12737077))
action filter_type
action find
entity Q5366196
relation P39
type Q12737077
['Q5366196', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5366196 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Ellwood J. Turner
action filter_type
action find
entity Ellwood J. Turner
relation position held
type occupation
['Ellwood J. Turner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ellwood_J._Turner property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q14616716
SYSTEM
member of the Pennsylvania House of Representatives
Q14616716
(Q5366196,P39,c(Q12737077))
action filter_type
action find
entity Q5366196
relation P39
type Q12737077
A [ANSWER] was a position for which Ellwood J. Turner was appointed
['Q5366196', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5366196 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
member of the Pennsylvania House of Representatives
A member of the Pennsylvania House of Representatives was a position for which Ellwood J. Turner was appointed
member of the Pennsylvania House of Representatives
action filter_type
action find
entity Ellwood J. Turner
relation position held
type occupation
['Ellwood J. Turner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ellwood_J._Turner property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5366196
P937
Q852446
USER
What is the work location of Ellwood J. Turner ?
(Q5366196,P937,c(Q852446))
action filter_type
action find
entity Q5366196
relation P937
type Q852446
['Q5366196', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?n WHERE { resource:Q5366196 property:P937 ?n . ?n rdf:type ontology:Q852446 }
Ellwood J. Turner
action filter_type
action find
entity Ellwood J. Turner
relation work location
type administrative territorial entity of the United States
['Ellwood J. Turner', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?n WHERE { resource:Ellwood_J._Turner property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q5366196,P937,c(Q852446))
action filter_type
action find
entity Q5366196
relation P937
type Q852446
The work location of Ellwood J. Turner is in [ANSWER]
['Q5366196', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?n WHERE { resource:Q5366196 property:P937 ?n . ?n rdf:type ontology:Q852446 }
Harrisburg
The work location of Ellwood J. Turner is in Harrisburg
Harrisburg
action filter_type
action find
entity Ellwood J. Turner
relation work location
type administrative territorial entity of the United States
['Ellwood J. Turner', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?n WHERE { resource:Ellwood_J._Turner property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25280
P159
Q43229
USER
Which organizations have the principal seat at that US administrative territory ?
(c(Q43229),P159,Q25280)
action filter_type
action find_reverse
entity Q25280
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q25280']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q25280 . ?t rdf:type ontology:Q43229 }
Harrisburg
action filter_type
action find_reverse
entity Harrisburg
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Harrisburg']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Harrisburg . ?t rdf:type ontology:organization }
[]
organization
Q7314708 Q7120626 Q5744519
SYSTEM
Republican State Committee of Pennsylvania, PSECU, Hershey Creamery Company
Q7887639 Q7120626 Q17021099 Q5744519 Q7164005 Q7196276 Q3183831 Q7088304 Q7314708
(c(Q43229),P159,Q25280)
action filter_type
action find_reverse
entity Q25280
relation P159
type Q43229
[ANSWERS] have the principal seat at that US administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q25280']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q25280 . ?t rdf:type ontology:Q43229 }
United Concordia PSECU Harper Polling Hershey Creamery Company Pennsylvania Medical Society PinnacleHealth System New World Pasta Ollie's Bargain Outlet Republican State Committee of Pennsylvania
Republican State Committee of Pennsylvania, PSECU and Hershey Creamery Company have the principal seat at that US administrative territory
Republican State Committee of Pennsylvania PSECU Hershey Creamery Company
action filter_type
action find_reverse
entity Harrisburg
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Harrisburg']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Harrisburg . ?t rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25280
P1376
Q852446
USER
Which US administrative territory has Harrisburg as its county seat ?
(Q25280,P1376,c(Q852446))
action filter_type
action find
entity Q25280
relation P1376
type Q852446
['Q25280', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q852446 . resource:Q25280 property:P1376 ?m }
Harrisburg
action filter_type
action find
entity Harrisburg
relation capital of
type administrative territorial entity of the United States
['Harrisburg', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Harrisburg property:capital_of ?m }
[]
administrative territorial entity of the United States
Q1400
SYSTEM
Pennsylvania
Q1400
(Q25280,P1376,c(Q852446))
action filter_type
action find
entity Q25280
relation P1376
type Q852446
In [ANSWER] has Harrisburg as its county seat
['Q25280', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q852446 . resource:Q25280 property:P1376 ?m }
Pennsylvania
In Pennsylvania has Harrisburg as its county seat
Pennsylvania
action filter_type
action find
entity Harrisburg
relation capital of
type administrative territorial entity of the United States
['Harrisburg', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Harrisburg property:capital_of ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25280
P190
Q56061
USER
Which administrative territories are twin town of Harrisburg ?
(c(Q56061),P190,Q25280)
action filter_type
action find
entity Q25280
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q25280']
SELECT DISTINCT ?b WHERE { resource:Q25280 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Harrisburg
action filter_type
action find
entity Harrisburg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Harrisburg']
SELECT DISTINCT ?b WHERE { resource:Harrisburg property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340 Q152385
SYSTEM
Montreal, Ma'alot-Tarshiha
Q340 Q152385
(c(Q56061),P190,Q25280)
action filter_type
action find
entity Q25280
relation P190
type Q56061
[ANSWERS] are twin town of Harrisburg
[{'concept': 'Q56061'}, 'P190', 'Q25280']
SELECT DISTINCT ?b WHERE { resource:Q25280 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Montreal Ma'alot-Tarshiha
Montreal and Ma'alot-Tarshiha are twin town of Harrisburg
Montreal Ma'alot-Tarshiha
action filter_type
action find
entity Harrisburg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Harrisburg']
SELECT DISTINCT ?b WHERE { resource:Harrisburg property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q340 Q152385
P190
Q56061
USER
Which administrative territories are partner town of Montreal and Ma'alot-Tarshiha ?
(c(Q56061),P190,Q340) (c(Q56061),P190,Q152385)
action union
action filter_type
action find
entity Q340
relation P190
type Q56061
action filter_type
action find
entity Q152385
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q340'] [{'concept': 'Q56061'}, 'P190', 'Q152385']
SELECT DISTINCT ?d WHERE { { resource:Q340 property:P190 ?d . ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q56061 . resource:Q152385 property:P190 ?d } }
Montreal Ma'alot-Tarshiha
action union
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
action filter_type
action find
entity Ma'alot-Tarshiha
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Montreal'] [{'concept': 'administrative territorial entity'}, 'sister city', "Ma'alot-Tarshiha"]
SELECT DISTINCT ?d WHERE { { resource:Montreal property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . resource:Ma'alot-Tarshiha property:sister_city ?d } }
[]
administrative territorial entity
Q490 Q8686 Q65
SYSTEM
Milan, Shanghai, Los Angeles
Q1524 Q8686 Q727 Q1492 Q3110 Q1715 Q490 Q3561 Q41843 Q3274 Q65 Q3805 Q51103 Q3820 Q239 Q7769
(c(Q56061),P190,Q340) (c(Q56061),P190,Q152385)
action union
action filter_type
action find
entity Q340
relation P190
type Q56061
action filter_type
action find
entity Q152385
relation P190
type Q56061
[ANSWERS] are partner town of Montreal and Ma'alot-Tarshiha
[{'concept': 'Q56061'}, 'P190', 'Q340'] [{'concept': 'Q56061'}, 'P190', 'Q152385']
SELECT DISTINCT ?d WHERE { { resource:Q340 property:P190 ?d . ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q56061 . resource:Q152385 property:P190 ?d } }
Athens Shanghai Amsterdam Barcelona San Salvador Hanover Milan Algiers Beersheba Managua Los Angeles Amman Cali Beirut Brussels Birobidzhan
Milan, Shanghai and Los Angeles are partner town of Montreal and Ma'alot-Tarshiha
Milan Shanghai Los Angeles
action union
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
action filter_type
action find
entity Ma'alot-Tarshiha
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Montreal'] [{'concept': 'administrative territorial entity'}, 'sister city', "Ma'alot-Tarshiha"]
SELECT DISTINCT ?d WHERE { { resource:Montreal property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . resource:Ma'alot-Tarshiha property:sister_city ?d } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q490 Q8686 Q65
P159
Q4830453
USER
Which business enterprises have headquarters located at Milan, Shanghai and Los Angeles ?
(c(Q4830453),P159,Q490) (c(Q4830453),P159,Q8686) (c(Q4830453),P159,Q65)
action union
action filter_type
action find_reverse
entity Q490
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q8686
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q65
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q490'] [{'concept': 'Q4830453'}, 'P159', 'Q8686'] [{'concept': 'Q4830453'}, 'P159', 'Q65']
SELECT DISTINCT ?p WHERE { ?p property:P159 ?b . VALUES ( ?b ) { ( resource:Q490 ) ( resource:Q8686 ) } }
Milan Shanghai Los Angeles
action union
action filter_type
action find_reverse
entity Milan
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Shanghai
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Los Angeles
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Milan'] [{'concept': 'business enterprise'}, 'headquarters location', 'Shanghai'] [{'concept': 'business enterprise'}, 'headquarters location', 'Los Angeles']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location ?b . VALUES ( ?b ) { ( resource:Milan ) ( resource:Shanghai ) } }
[]
business enterprise
Q3928777 Q4231991 Q3579256
SYSTEM
Radio Padania Freedom, Qoros, Bompiani
Q3579256 Q1091749 Q248878 Q1671467 Q786340 Q27110 Q375982 Q1801483 Q3928777 Q2460725 Q1239317 Q747384 Q3459037 Q3963282 Q15411288 Q81472 Q4231991 Q18651250 Q985997 Q846884 Q1374272 Q910401 Q708290 Q7060570 Q17065460 Q6544704 Q6772146 Q16927622 Q23681826 Q21071125 Q16843335 Q19880266 Q4851430 Q874088 Q196253 Q304769 Q519560 Q15040669 Q5559258 Q6315705 Q641746 Q6927533 Q157906 Q23682345 Q19872063 Q17089553 Q1140873 Q23671513 Q6817757 Q166419 Q3360013 Q1149935
(c(Q4830453),P159,Q490) (c(Q4830453),P159,Q8686) (c(Q4830453),P159,Q65)
action union
action filter_type
action find_reverse
entity Q490
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q8686
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q65
relation P159
type Q4830453
[ANSWERS] have headquarters located at Milan, Shanghai and Los Angeles
[{'concept': 'Q4830453'}, 'P159', 'Q490'] [{'concept': 'Q4830453'}, 'P159', 'Q8686'] [{'concept': 'Q4830453'}, 'P159', 'Q65']
SELECT DISTINCT ?p WHERE { ?p property:P159 ?b . VALUES ( ?b ) { ( resource:Q490 ) ( resource:Q8686 ) } }
Bompiani cafe racer Zust Progetti Gestione ecologiche ASA Autobianchi Fusi Lambro (Car manufacturer) Radio Padania Freedom Turinelli & Pezza Fimer Aster Società Italiana Motori Fratelli Nardi SAML Hudong-Zhonghua Shipbuilding Jiangnan Shipyard Qoros Shanghai Shentong Metro Group Co., Ltd. HSBC Bank (China) Ubisoft Shanghai Eurasia Aviation Corporation SAIC Motor Cartoon Network Norton & Wallis Papa Cristo's Namecheap Marmol Radziner CitySourced Chinese Laundry TravelStore BloomNation Hodgetts + Fung Ballantine Brewery Paul Hastings Hughes Aircraft Company ARCO North American Aviation Westinghouse Aviation Gas Turbine Division Gibson, Dunn & Crutcher JustFab Hallmark Channel Moxon & Kobrin Boomerang Rampage Clothing Company Allied Wallet TeleSign KTLA NYX Cosmetics Meomi Design Fox Broadcasting Company Pabst Brewing Company WWE Studios
Radio Padania Freedom, Qoros and Bompiani have headquarters located at Milan, Shanghai and Los Angeles
Radio Padania Freedom Qoros Bompiani
action union
action filter_type
action find_reverse
entity Milan
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Shanghai
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity Los Angeles
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Milan'] [{'concept': 'business enterprise'}, 'headquarters location', 'Shanghai'] [{'concept': 'business enterprise'}, 'headquarters location', 'Los Angeles']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location ?b . VALUES ( ?b ) { ( resource:Milan ) ( resource:Shanghai ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3928777
P123
Q4830453
USER
Which business enterprise was published by that one ?
(c(Q4830453),P123,Q3928777)
action filter_type
action find
entity Q3928777
relation P123
type Q4830453
[{'concept': 'Q4830453'}, 'P123', 'Q3928777']
SELECT DISTINCT ?h WHERE { resource:Q3928777 property:P123 ?h . ?h rdf:type ontology:Q4830453 }
Radio Padania Freedom
action filter_type
action find
entity Radio Padania Freedom
relation publisher
type business enterprise
[{'concept': 'business enterprise'}, 'publisher', 'Radio Padania Freedom']
SELECT DISTINCT ?h WHERE { resource:Radio_Padania_Freedom property:publisher ?h . ?h rdf:type ontology:business_enterprise }
[]
business enterprise
Clarification for simple ques.
Q4231991
SYSTEM
Did you mean Qoros ?
Q3928777 Q4231991 Q3579256
(c(Q4830453),P123,Q3928777) (c(Q4830453),P123,Q4231991) (c(Q4830453),P123,Q3579256)
[ANSWER]
[{'concept': 'Q4830453'}, 'P123', 'Q3928777'] [{'concept': 'Q4830453'}, 'P123', 'Q4231991'] [{'concept': 'Q4830453'}, 'P123', 'Q3579256']
SELECT DISTINCT ?h WHERE { resource:Q3928777 property:P123 ?h . ?h rdf:type ontology:Q4830453 }
Radio Padania Freedom Qoros Bompiani
Did you mean Qoros ?
Qoros
[{'concept': 'business enterprise'}, 'publisher', 'Radio Padania Freedom'] [{'concept': 'business enterprise'}, 'publisher', 'Qoros'] [{'concept': 'business enterprise'}, 'publisher', 'Bompiani']
SELECT DISTINCT ?h WHERE { resource:Radio_Padania_Freedom property:publisher ?h . ?h rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
USER
No, I meant Radio Padania Freedom. Could you tell me the answer for that?
(c(Q4830453),P123,Q3928777)
Q3928777
[{'concept': 'Q4830453'}, 'P123', 'Q3928777']
[{'concept': 'business enterprise'}, 'publisher', 'Radio Padania Freedom']
[]
Q3928777
SYSTEM
Radio Padania Freedom
Q3928777
(c(Q4830453),P123,Q3928777)
action filter_type
action find
entity Q3928777
relation P123
type Q4830453
[ANSWER] was published by that one
[{'concept': 'Q4830453'}, 'P123', 'Q3928777']
SELECT DISTINCT ?h WHERE { resource:Q3928777 property:P123 ?h . ?h rdf:type ontology:Q4830453 }
Radio Padania Freedom
Radio Padania Freedom was published by that one
Radio Padania Freedom
action filter_type
action find
entity Radio Padania Freedom
relation publisher
type business enterprise
[{'concept': 'business enterprise'}, 'publisher', 'Radio Padania Freedom']
SELECT DISTINCT ?h WHERE { resource:Radio_Padania_Freedom property:publisher ?h . ?h rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3928777 Q751419
P159
Q56061
USER
Is Maminigui the HQ of Radio Padania Freedom ?
(Q3928777,P159,Q751419)
action is_in
entity Q751419
action find
entity Q3928777
relation P159
['Q3928777', 'P159', 'Q751419']
ASK WHERE { resource:Q3928777 property:P159 resource:Q751419 }
Radio Padania Freedom Maminigui
action is_in
entity Maminigui
action find
entity Radio Padania Freedom
relation headquarters location
['Radio Padania Freedom', 'headquarters location', 'Maminigui']
ASK WHERE { resource:Radio_Padania_Freedom property:headquarters_location resource:Maminigui }
[]
administrative territorial entity
SYSTEM
NO
(Q3928777,P159,Q751419)
action is_in
entity Q751419
action find
entity Q3928777
relation P159
[ANSWER]
['Q3928777', 'P159', 'Q751419']
ASK WHERE { resource:Q3928777 property:P159 resource:Q751419 }
No
action is_in
entity Maminigui
action find
entity Radio Padania Freedom
relation headquarters location
['Radio Padania Freedom', 'headquarters location', 'Maminigui']
ASK WHERE { resource:Radio_Padania_Freedom property:headquarters_location resource:Maminigui }
[]