Simple Question (Direct)
Simple Question
Q296484
P20
Q56061
USER
Which administrative territory is the place of death of Cory Monteith ?
(Q296484,P20,c(Q56061))
action filter_type
action find
entity Q296484
relation P20
type Q56061
['Q296484', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q296484 property:P20 ?o }
Cory Monteith
action filter_type
action find
entity Cory Monteith
relation place of death
type administrative territorial entity
['Cory Monteith', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Cory_Monteith property:place_of_death ?o }
[]
administrative territorial entity
Q24639
SYSTEM
Vancouver
Q24639
(Q296484,P20,c(Q56061))
action filter_type
action find
entity Q296484
relation P20
type Q56061
[ANSWER] is the place of death of Cory Monteith
['Q296484', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q296484 property:P20 ?o }
Vancouver
Vancouver is the place of death of Cory Monteith
Vancouver
action filter_type
action find
entity Cory Monteith
relation place of death
type administrative territorial entity
['Cory Monteith', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Cory_Monteith property:place_of_death ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24639
P159
Q43229
USER
Which organizations have their HQ location at that administrative territory ?
(c(Q43229),P159,Q24639)
action filter_type
action find_reverse
entity Q24639
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q24639']
SELECT DISTINCT ?e WHERE { ?e property:P159 resource:Q24639 . ?e rdf:type ontology:Q43229 }
Vancouver
action filter_type
action find_reverse
entity Vancouver
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Vancouver']
SELECT DISTINCT ?e WHERE { ?e property:headquarters_location resource:Vancouver . ?e rdf:type ontology:organization }
[]
organization
Q165858 Q23672312 Q6702957
SYSTEM
Telus, Herschel Supply Co., Lululemon Athletica
Q6887941 Q5029687 Q16987739 Q8538 Q1232862 Q7263734 Q1417770 Q628814 Q7557544 Q17070947 Q19878991 Q7065126 Q5254663 Q6802365 Q17065597 Q4763295 Q16986198 Q5375992 Q7005027 Q16828309 Q6702957 Q7753445 Q7936148 Q4936172 Q162434 Q5104054 Q7408218 Q579426 Q4875766 Q5062415 Q23672312 Q7355666 Q5031659 Q6696047 Q6430529 Q7659197 Q6753936 Q7129613 Q23054661 Q16961994 Q7119843 Q5453243 Q5681542 Q7416970 Q5138245 Q7313127 Q5514583 Q17062506 Q4794065 Q438862 Q26726361 Q17069263 Q7914119 Q2412425 Q7302721 Q20204848 Q16984163 Q16002702 Q5099698 Q8034554 Q5060245 Q6038172 Q16249381 Q18395743 Q6058749 Q5209837 Q5158834 Q165858 Q16827446 Q7607309 Q5514843 Q5449774 Q17032932 Q13529482 Q5321390 Q795720 Q7076053 Q17012273 Q17130741 Q5204084 Q7118803 Q7268296 Q4735989 Q26724782 Q5326525 Q17069332 Q5469252 Q5585858 Q6050633 Q13529447 Q25203974 Q1747133 Q4781621 Q5636161 Q26726322 Q3558254 Q7516369 Q6886719 Q370248 Q7621508 Q6722042 Q4719766 Q16948916 Q16000228 Q7920919 Q6954705 Q1176784 Q528381 Q7268619 Q7341451 Q2262344 Q1534795 Q17146560 Q688725 Q17154089 Q1451353 Q7544190 Q7856196 Q7687130 Q4650699 Q7697926 Q17141390 Q4686064 Q6995971 Q6722987 Q1765036 Q17111934 Q4815816 Q614087 Q4967364 Q1356524 Q13529435 Q610918 Q13529431 Q16954395 Q7697925 Q4690083 Q2944088 Q5319134 Q17068139 Q7914085 Q1033165 Q1783801 Q26726243 Q7922607 Q16954060 Q5296606 Q5326991 Q4545754 Q7516654 Q1410238 Q4791147 Q5122674 Q6006077 Q6458672 Q5289214 Q16968498 Q7011150 Q5194318 Q4033362 Q3390766 Q16984125 Q7355875 Q7799087 Q8064295 Q4926090 Q7565968 Q1419532 Q7517413
(c(Q43229),P159,Q24639)
action filter_type
action find_reverse
entity Q24639
relation P159
type Q43229
[ANSWERS] have their HQ location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q24639']
SELECT DISTINCT ?e WHERE { ?e property:P159 resource:Q24639 . ?e rdf:type ontology:Q43229 }
Mod7 Canadian Anti-racism Education and Research Society Ivanhoe Mines Image Engine Eldorado Gold Pyrrha Jewelry Finning Stunts Canada Solegear Bioplastics Naturally Advanced Imperial Metals Corp Novus Entertainment Delta Hotels McMillan LLP TAG Oil Angiotech Pharmaceuticals INETCO Systems Limited Endeavour Mining Nevsun Resources BroadbandTV Corp Lululemon Athletica The Network Hub Vision Critical Bocci Intermeccanica Choices Market Sam Sullivan Disability Foundation Suite101 Beach Travellers Centre for Drug Research and Development Herschel Supply Co. Rockwell Diamonds Candente Copper Lucara Diamond Koodo Mobile Swivel New Media Maple Leaf Publishing Pan American Silver TED Shearwater Research PNI Digital Media First Majestic Silver Hathor Exploration Sandstorm Gold Coastal.com Renewal2 GSL Holdings Ltd. New Zealand Energy Corporation Army & Navy Stores Alterra Power You Move Me Minaurum Gold Vancouver Airport Services Slant Six Games Recon Instruments EnWave Corporation Hillsborough Resources Alternative Earth Resources China Gold International Resources Work At Play Central 1 Credit Union Insite Comm100 YYoga Intrinsyc Daiya Concord Pacific Developments Telus Alliance Cinemas Stemcell Technologies GVFX Finavera Wind Energy ShaMaran Petroleum Western Forest Products E-Comm BC Hydro Ocean Productions McCarthy Tétrault Urban Fare D3 Security Management Systems PDFTron Systems Quadra FNX Mining Alta Newspaper Group O2E Brands Earls Esquires Forestry Innovation Investment Gordon Stanfield Animation International Forest Products NovaGold Resources Grow Silver Wheaton Appnovation HTnaturals Shack Shine Woodward's Silver Standard Resources Mobify HSBC Bank Canada Strangeloop Networks MacMillan Bloedel Aton Resources CityStudio Vancouver Metafor Software Verb Exchange NMC Resource David Suzuki Foundation Corriente Resources Qualex-Landmark Robert Allan Ltd. Seaspan Marine Corporation Goldcorp Trulioo Teck Resources Picatic Fraser Institute SmashLAB Turquoise Hill Resources Taseko Mines ACL Telus TV Nodefly Advance Gold Nerd Corps Entertainment Macdonald Realty West Fraser Timber Peoples Trust Atimi Software Inc Red Back Mining BrightSide Technologies Jim Pattison Group New Gold Mountain Equipment Co-op Methanex BuildDirect Telus Mobility Africo Resources Pixar Canada Dynamsoft MailChannels Vancity Canfor Sony Pictures Imageworks WOW 1 Day Painting VersaCold Brodie Bicycles Donner Metals Earth's Own Food Company 1-800-GOT-JUNK? Silvercorp Metals PlentyofFish Aritzia Citizens Bank of Canada Impark LIJA Style Dollar Giant Zymeworks New Reliable Press Cunningham Drug ActiveState Placer Dome Rio Alto Mining Rocky Mountain Bicycles Thunderbird Films Zafin Labs Blenz Coffee South American Silver Corporation First Quantum Minerals Simba Technologies
Telus, Herschel Supply Co. and Lululemon Athletica have their HQ location at that administrative territory
Telus Herschel Supply Co. Lululemon Athletica
action filter_type
action find_reverse
entity Vancouver
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Vancouver']
SELECT DISTINCT ?e WHERE { ?e property:headquarters_location resource:Vancouver . ?e rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23672312
P1056
Q987767
USER
Which containers are produced by that organization ?
(Q23672312,P1056,c(Q987767))
action filter_type
action find
entity Q23672312
relation P1056
type Q987767
['Q23672312', 'P1056', {'concept': 'Q987767'}]
SELECT DISTINCT ?p WHERE { resource:Q23672312 property:P1056 ?p . ?p rdf:type ontology:Q987767 }
Herschel Supply Co.
action filter_type
action find
entity Herschel Supply Co.
relation product
type container
['Herschel Supply Co.', 'product', {'concept': 'container'}]
SELECT DISTINCT ?p WHERE { resource:Herschel_Supply_Co. property:product ?p . ?p rdf:type ontology:container }
[]
container
Clarification for simple ques.
Q6702957
SYSTEM
Did you mean Lululemon Athletica ?
Q165858 Q23672312 Q6702957
(Q165858,P1056,c(Q987767)) (Q23672312,P1056,c(Q987767)) (Q6702957,P1056,c(Q987767))
[ANSWER]
['Q165858', 'P1056', {'concept': 'Q987767'}] ['Q23672312', 'P1056', {'concept': 'Q987767'}] ['Q6702957', 'P1056', {'concept': 'Q987767'}]
SELECT DISTINCT ?p WHERE { resource:Q23672312 property:P1056 ?p . ?p rdf:type ontology:Q987767 }
Telus Herschel Supply Co. Lululemon Athletica
Did you mean Lululemon Athletica ?
Lululemon Athletica
['Telus', 'product', {'concept': 'container'}] ['Herschel Supply Co.', 'product', {'concept': 'container'}] ['Lululemon Athletica', 'product', {'concept': 'container'}]
SELECT DISTINCT ?p WHERE { resource:Herschel_Supply_Co. property:product ?p . ?p rdf:type ontology:container }
[]
Simple Question (Coreferenced)
USER
No, I meant Herschel Supply Co.. Could you tell me the answer for that?
(Q23672312,P1056,c(Q987767))
Q23672312
['Q23672312', 'P1056', {'concept': 'Q987767'}]
['Herschel Supply Co.', 'product', {'concept': 'container'}]
[]
Q5843 Q467505 Q1190525
SYSTEM
backpack, handbag, duffel bag
Q5843 Q467505 Q1190525
(Q23672312,P1056,c(Q987767))
action filter_type
action find
entity Q23672312
relation P1056
type Q987767
[ANSWERS] are produced by that organization
['Q23672312', 'P1056', {'concept': 'Q987767'}]
SELECT DISTINCT ?p WHERE { resource:Q23672312 property:P1056 ?p . ?p rdf:type ontology:Q987767 }
backpack handbag duffel bag
Backpack, handbag and duffel bag are produced by that organization
backpack handbag duffel bag
action filter_type
action find
entity Herschel Supply Co.
relation product
type container
['Herschel Supply Co.', 'product', {'concept': 'container'}]
SELECT DISTINCT ?p WHERE { resource:Herschel_Supply_Co. property:product ?p . ?p rdf:type ontology:container }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q165858
P17
Q1048835
USER
Which political territory does Telus belong to ?
(Q165858,P17,c(Q1048835))
action filter_type
action find
entity Q165858
relation P17
type Q1048835
['Q165858', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q165858 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Telus
action filter_type
action find
entity Telus
relation country
type political territorial entity
['Telus', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Telus property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q165858,P17,c(Q1048835))
action filter_type
action find
entity Q165858
relation P17
type Q1048835
Telus belongs to [ANSWER]
['Q165858', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q165858 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Canada
Telus belongs to Canada
Canada
action filter_type
action find
entity Telus
relation country
type political territorial entity
['Telus', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Telus property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16 Q2573032
P27
Q502895
USER
Is Frank Anderson a citizen of that political territory ?
(Q2573032,P27,Q16)
action is_in
entity Q16
action find
entity Q2573032
relation P27
['Q2573032', 'P27', 'Q16']
ASK WHERE { resource:Q2573032 property:P27 resource:Q16 }
Canada Frank Anderson
action is_in
entity Canada
action find
entity Frank Anderson
relation country of citizenship
['Frank Anderson', 'country of citizenship', 'Canada']
ASK WHERE { resource:Frank_Anderson property:country_of_citizenship resource:Canada }
[]
common name
SYSTEM
YES
(Q2573032,P27,Q16)
action is_in
entity Q16
action find
entity Q2573032
relation P27
[ANSWER]
['Q2573032', 'P27', 'Q16']
ASK WHERE { resource:Q2573032 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Frank Anderson
relation country of citizenship
['Frank Anderson', 'country of citizenship', 'Canada']
ASK WHERE { resource:Frank_Anderson property:country_of_citizenship resource:Canada }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18379470 Q24639
P17
Q1048835
USER
Which political territories are Vancouver or BuyNOW TV a part of ?
OR((Q24639,P17,c(Q1048835)), (Q18379470,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q24639
relation P17
action find
entity Q18379470
relation P17
type Q1048835
{'OR': [['Q24639', 'P17', {'concept': 'Q1048835'}], ['Q18379470', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . { ?m property:P17 ?p . VALUES ( ?m ) { ( resource:Q24639 ) ( resource:Q18379470 ) } } }
BuyNOW TV Vancouver
action filter_type
action union
action find
entity Vancouver
relation country
action find
entity BuyNOW TV
relation country
type political territorial entity
{'OR': [['Vancouver', 'country', {'concept': 'political territorial entity'}], ['BuyNOW TV', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . { ?m property:country ?p . VALUES ( ?m ) { ( resource:Vancouver ) ( resource:BuyNOW_TV ) } } }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
OR((Q24639,P17,c(Q1048835)), (Q18379470,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q24639
relation P17
action find
entity Q18379470
relation P17
type Q1048835
[ANSWER] is Vancouver or BuyNOW TV a part of
{'OR': [['Q24639', 'P17', {'concept': 'Q1048835'}], ['Q18379470', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . { ?m property:P17 ?p . VALUES ( ?m ) { ( resource:Q24639 ) ( resource:Q18379470 ) } } }
Canada
Canada is Vancouver or BuyNOW TV a part of
Canada
action filter_type
action union
action find
entity Vancouver
relation country
action find
entity BuyNOW TV
relation country
type political territorial entity
{'OR': [['Vancouver', 'country', {'concept': 'political territorial entity'}], ['BuyNOW TV', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . { ?m property:country ?p . VALUES ( ?m ) { ( resource:Vancouver ) ( resource:BuyNOW_TV ) } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16 Q6130426
P27
Q502895
USER
Is James Bryson Baird a citizen of that political territory ?
(Q6130426,P27,Q16)
action is_in
entity Q16
action find
entity Q6130426
relation P27
['Q6130426', 'P27', 'Q16']
ASK WHERE { resource:Q6130426 property:P27 resource:Q16 }
Canada James Bryson Baird
action is_in
entity Canada
action find
entity James Bryson Baird
relation country of citizenship
['James Bryson Baird', 'country of citizenship', 'Canada']
ASK WHERE { resource:James_Bryson_Baird property:country_of_citizenship resource:Canada }
[]
common name
SYSTEM
YES
(Q6130426,P27,Q16)
action is_in
entity Q16
action find
entity Q6130426
relation P27
[ANSWER]
['Q6130426', 'P27', 'Q16']
ASK WHERE { resource:Q6130426 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity James Bryson Baird
relation country of citizenship
['James Bryson Baird', 'country of citizenship', 'Canada']
ASK WHERE { resource:James_Bryson_Baird property:country_of_citizenship resource:Canada }
[]