Simple Question (Direct)
Simple Question
Q7456491
P39
Q12737077
USER
Which occupation was a position for which Seth Grove was appointed ?
(Q7456491,P39,c(Q12737077))
action filter_type
action find
entity Q7456491
relation P39
type Q12737077
['Q7456491', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q7456491 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Seth Grove
action filter_type
action find
entity Seth Grove
relation position held
type occupation
['Seth Grove', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Seth_Grove property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q14616716
SYSTEM
member of the Pennsylvania House of Representatives
Q14616716
(Q7456491,P39,c(Q12737077))
action filter_type
action find
entity Q7456491
relation P39
type Q12737077
A [ANSWER] was a position for which Seth Grove was appointed
['Q7456491', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q7456491 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
member of the Pennsylvania House of Representatives
A member of the Pennsylvania House of Representatives was a position for which Seth Grove was appointed
member of the Pennsylvania House of Representatives
action filter_type
action find
entity Seth Grove
relation position held
type occupation
['Seth Grove', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Seth_Grove property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7456491
P102
Q7210356
USER
Which party does Seth Grove belong to ?
(Q7456491,P102,c(Q7210356))
action filter_type
action find
entity Q7456491
relation P102
type Q7210356
['Q7456491', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q7456491 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Seth Grove
action filter_type
action find
entity Seth Grove
relation member of political party
type political organization
['Seth Grove', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Seth_Grove property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q7456491,P102,c(Q7210356))
action filter_type
action find
entity Q7456491
relation P102
type Q7210356
Seth Grove belongs to [ANSWER]
['Q7456491', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q7456491 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Republican Party
Seth Grove belongs to Republican Party
Republican Party
action filter_type
action find
entity Seth Grove
relation member of political party
type political organization
['Seth Grove', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Seth_Grove property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7456491
P1412
Q34770
USER
Which language can that person read ?
(Q29468,P1412,c(Q34770))
action filter_type
action find
entity Q7456491
relation P1412
type Q34770
['Q29468', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q7456491 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Seth Grove
action filter_type
action find
entity Seth Grove
relation languages spoken, written or signed
type language
['Republican Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Seth_Grove property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q29468,P1412,c(Q34770))
action filter_type
action find
entity Q7456491
relation P1412
type Q34770
That person can read the [ANSWER]
['Q29468', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q7456491 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
English
That person can read the English
English
action filter_type
action find
entity Seth Grove
relation languages spoken, written or signed
type language
['Republican Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Seth_Grove property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7456491
P937
Q852446
USER
Which US administrative territory is the work location of Seth Grove ?
(Q7456491,P937,c(Q852446))
action filter_type
action find
entity Q7456491
relation P937
type Q852446
['Q7456491', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { resource:Q7456491 property:P937 ?b . ?b rdf:type ontology:Q852446 }
Seth Grove
action filter_type
action find
entity Seth Grove
relation work location
type administrative territorial entity of the United States
['Seth Grove', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { resource:Seth_Grove property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q7456491,P937,c(Q852446))
action filter_type
action find
entity Q7456491
relation P937
type Q852446
[ANSWER] is the work location of Seth Grove
['Q7456491', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { resource:Q7456491 property:P937 ?b . ?b rdf:type ontology:Q852446 }
Harrisburg
Harrisburg is the work location of Seth Grove
Harrisburg
action filter_type
action find
entity Seth Grove
relation work location
type administrative territorial entity of the United States
['Seth Grove', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { resource:Seth_Grove property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13219625
Q852446
USER
And what about Henry Mills Fuller?
(Q13219625,P937,c(Q852446))
action filter_type
action find
entity Q13219625
relation P937
type Q852446
['Q13219625', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?z WHERE { resource:Q13219625 property:P937 ?z . ?z rdf:type ontology:Q852446 }
Henry Mills Fuller
action filter_type
action find
entity Henry Mills Fuller
relation work location
type administrative territorial entity of the United States
['Henry Mills Fuller', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?z WHERE { resource:Henry_Mills_Fuller property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q13219625,P937,c(Q852446))
action filter_type
action find
entity Q13219625
relation P937
type Q852446
[ANSWER]
['Q13219625', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?z WHERE { resource:Q13219625 property:P937 ?z . ?z rdf:type ontology:Q852446 }
Harrisburg
Harrisburg
action filter_type
action find
entity Henry Mills Fuller
relation work location
type administrative territorial entity of the United States
['Henry Mills Fuller', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?z WHERE { resource:Henry_Mills_Fuller property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q188878 Q25280
P190
Q56061
USER
Which administrative territories are sister towns of Harrisburg or Dax ?
OR((Q25280,P190,c(Q56061)), (Q188878,P190,c(Q56061)))
action filter_type
action union
action find
entity Q25280
relation P190
action find
entity Q188878
relation P190
type Q56061
{'OR': [['Q25280', 'P190', {'concept': 'Q56061'}], ['Q188878', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q25280 property:P190 ?c } UNION { resource:Q188878 property:P190 ?c } } . ?c rdf:type ontology:Q56061 }
Dax Harrisburg
action filter_type
action union
action find
entity Harrisburg
relation sister city
action find
entity Dax
relation sister city
type administrative territorial entity
{'OR': [['Harrisburg', 'sister city', {'concept': 'administrative territorial entity'}], ['Dax', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Harrisburg property:sister_city ?c } UNION { resource:Dax property:sister_city ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q152385 Q340 Q14325
SYSTEM
Ma'alot-Tarshiha, Montreal, Logroño
Q152385 Q340 Q14325
OR((Q25280,P190,c(Q56061)), (Q188878,P190,c(Q56061)))
action filter_type
action union
action find
entity Q25280
relation P190
action find
entity Q188878
relation P190
type Q56061
[ANSWERS] are sister towns of Harrisburg or Dax
{'OR': [['Q25280', 'P190', {'concept': 'Q56061'}], ['Q188878', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q25280 property:P190 ?c } UNION { resource:Q188878 property:P190 ?c } } . ?c rdf:type ontology:Q56061 }
Ma'alot-Tarshiha Montreal Logroño
Ma'alot-Tarshiha, Montreal and Logroño are sister towns of Harrisburg or Dax
Ma'alot-Tarshiha Montreal Logroño
action filter_type
action union
action find
entity Harrisburg
relation sister city
action find
entity Dax
relation sister city
type administrative territorial entity
{'OR': [['Harrisburg', 'sister city', {'concept': 'administrative territorial entity'}], ['Dax', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Harrisburg property:sister_city ?c } UNION { resource:Dax property:sister_city ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q56061
USER
How many administrative territories or administrative territories are sister towns of that administrative territory ?
(Q152385,P190,c(Q15617994)) (Q152385,P190,c(Q56061)) (Q152385,P190,c(Q15617994)) (Q152385,P190,c(Q56061)) (Q340,P190,c(Q15617994)) (Q340,P190,c(Q56061)) (Q14325,P190,c(Q15617994)) (Q14325,P190,c(Q56061))
['Q152385', 'P190', {'concept': 'Q15617994'}] ['Q152385', 'P190', {'concept': 'Q56061'}] ['Q152385', 'P190', {'concept': 'Q15617994'}] ['Q152385', 'P190', {'concept': 'Q56061'}] ['Q340', 'P190', {'concept': 'Q15617994'}] ['Q340', 'P190', {'concept': 'Q56061'}] ['Q14325', 'P190', {'concept': 'Q15617994'}] ['Q14325', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q152385 property:P190 ?z } UNION { resource:Q152385 property:P190 ?y } UNION { resource:Q152385 property:P190 ?z } UNION { resource:Q152385 property:P190 ?y } UNION { resource:Q1529343 property:P190 ?z } UNION { resource:Q1529343 property:P190 ?y } UNION { resource:Q14325 property:P190 ?z } UNION { resource:Q14325 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
["Ma'alot-Tarshiha", 'sister city', {'concept': 'designation for an administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'designation for an administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'administrative territorial entity'}] ['Logroño', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Logroño', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Ma'alot-Tarshiha property:sister_city ?z } UNION { resource:Ma'alot-Tarshiha property:sister_city ?y } UNION { resource:Ma'alot-Tarshiha property:sister_city ?z } UNION { resource:Ma'alot-Tarshiha property:sister_city ?y } UNION { resource:Montreal property:sister_city ?z } UNION { resource:Montreal property:sister_city ?y } UNION { resource:Logroño property:sister_city ?z } UNION { resource:Logroño property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
designation for an administrative territorial entity administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q340
SYSTEM
Did you mean Montreal ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q152385 property:P190 ?z } UNION { resource:Q152385 property:P190 ?y } UNION { resource:Q152385 property:P190 ?z } UNION { resource:Q152385 property:P190 ?y } UNION { resource:Q1529343 property:P190 ?z } UNION { resource:Q1529343 property:P190 ?y } UNION { resource:Q14325 property:P190 ?z } UNION { resource:Q14325 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Did you mean Montreal ?
Montreal
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Ma'alot-Tarshiha property:sister_city ?z } UNION { resource:Ma'alot-Tarshiha property:sister_city ?y } UNION { resource:Ma'alot-Tarshiha property:sister_city ?z } UNION { resource:Ma'alot-Tarshiha property:sister_city ?y } UNION { resource:Montreal property:sister_city ?z } UNION { resource:Montreal property:sister_city ?y } UNION { resource:Logroño property:sister_city ?z } UNION { resource:Logroño property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ma'alot-Tarshiha. Could you tell me the answer for that?
(Q152385,P190,c(Q15617994)) (Q152385,P190,c(Q56061)) (Q152385,P190,c(Q15617994)) (Q152385,P190,c(Q56061)) (Q340,P190,c(Q15617994)) (Q340,P190,c(Q56061)) (Q14325,P190,c(Q15617994)) (Q14325,P190,c(Q56061))
Q152385
['Q152385', 'P190', {'concept': 'Q15617994'}] ['Q152385', 'P190', {'concept': 'Q56061'}] ['Q152385', 'P190', {'concept': 'Q15617994'}] ['Q152385', 'P190', {'concept': 'Q56061'}] ['Q340', 'P190', {'concept': 'Q15617994'}] ['Q340', 'P190', {'concept': 'Q56061'}] ['Q14325', 'P190', {'concept': 'Q15617994'}] ['Q14325', 'P190', {'concept': 'Q56061'}]
["Ma'alot-Tarshiha", 'sister city', {'concept': 'designation for an administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'designation for an administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'administrative territorial entity'}] ['Logroño', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Logroño', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
3
Q7769 Q52096 Q6122
(Q152385,P190,c(Q15617994)) (Q152385,P190,c(Q56061)) (Q152385,P190,c(Q15617994)) (Q152385,P190,c(Q56061)) (Q340,P190,c(Q15617994)) (Q340,P190,c(Q56061)) (Q14325,P190,c(Q15617994)) (Q14325,P190,c(Q56061))
[ANSWER]
['Q152385', 'P190', {'concept': 'Q15617994'}] ['Q152385', 'P190', {'concept': 'Q56061'}] ['Q152385', 'P190', {'concept': 'Q15617994'}] ['Q152385', 'P190', {'concept': 'Q56061'}] ['Q340', 'P190', {'concept': 'Q15617994'}] ['Q340', 'P190', {'concept': 'Q56061'}] ['Q14325', 'P190', {'concept': 'Q15617994'}] ['Q14325', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q152385 property:P190 ?z } UNION { resource:Q152385 property:P190 ?y } UNION { resource:Q152385 property:P190 ?z } UNION { resource:Q152385 property:P190 ?y } UNION { resource:Q1529343 property:P190 ?z } UNION { resource:Q1529343 property:P190 ?y } UNION { resource:Q14325 property:P190 ?z } UNION { resource:Q14325 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Birobidzhan Pratovecchio Asti
3
["Ma'alot-Tarshiha", 'sister city', {'concept': 'designation for an administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'designation for an administrative territorial entity'}] ["Ma'alot-Tarshiha", 'sister city', {'concept': 'administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'administrative territorial entity'}] ['Logroño', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Logroño', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Ma'alot-Tarshiha property:sister_city ?z } UNION { resource:Ma'alot-Tarshiha property:sister_city ?y } UNION { resource:Ma'alot-Tarshiha property:sister_city ?z } UNION { resource:Ma'alot-Tarshiha property:sister_city ?y } UNION { resource:Montreal property:sister_city ?z } UNION { resource:Montreal property:sister_city ?y } UNION { resource:Logroño property:sister_city ?z } UNION { resource:Logroño property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340
P159
Q43229
USER
Which organizations have their head office location at Montreal ?
(c(Q43229),P159,Q340)
action filter_type
action find_reverse
entity Q340
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q340']
SELECT DISTINCT ?e WHERE { ?e property:P159 resource:Q340 . ?e rdf:type ontology:Q43229 }
Montreal
action filter_type
action find_reverse
entity Montreal
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Montreal']
SELECT DISTINCT ?e WHERE { ?e property:headquarters_location resource:Montreal . ?e rdf:type ontology:organization }
[]
organization
Q815694 Q3319685 Q2612238
SYSTEM
Bell Canada, Molson Coors Brewing Company, Mega Brands, Inc.
Q2894596 Q858494 Q806693 Q1352708 Q3117582 Q4789651 Q4803678 Q7928052 Q2843323 Q7828298 Q3554415 Q7580363 Q3302441 Q6940434 Q1203039 Q5296786 Q429877 Q717104 Q5012867 Q5511536 Q2977455 Q18154370 Q6003420 Q5521860 Q16625595 Q7840451 Q7922941 Q596060 Q3488364 Q6872412 Q5598199 Q2997693 Q3517438 Q17167683 Q3227452 Q5291049 Q2860003 Q3437282 Q1145669 Q8051676 Q16467728 Q132408 Q2621318 Q2743805 Q3424656 Q7259735 Q4941147 Q3143277 Q3537414 Q7311027 Q17507558 Q3560641 Q17009137 Q458001 Q3424839 Q2986851 Q8036693 Q912476 Q891797 Q3148965 Q3100744 Q537615 Q5430633 Q3548078 Q1148414 Q5121158 Q7833770 Q3054112 Q3504127 Q4777983 Q16980351 Q1238739 Q5227135 Q7261307 Q16983094 Q5441105 Q8027468 Q3476059 Q2022261 Q5090399 Q3099685 Q3260030 Q2874219 Q504715 Q5911118 Q16954153 Q944608 Q17033572 Q7936270 Q18338430 Q750438 Q3363769 Q7973038 Q3488122 Q3257913 Q2163311 Q2832082 Q19600226 Q1969696 Q17052988 Q2894586 Q7269628 Q6502324 Q3025966 Q4916503 Q3242538 Q18635265 Q3033947 Q2819600 Q19903548 Q17077305 Q18209346 Q172978 Q7392905 Q8044974 Q6801278 Q5306429 Q4950452 Q634298 Q7711610 Q1096191 Q4678172 Q246572 Q3075843 Q3211913 Q3406795 Q528313 Q4835139 Q6448513 Q16875647 Q1834836 Q7507830 Q5603395 Q6498590 Q7310506 Q685403 Q16146867 Q7833614 Q2943216 Q3498075 Q2860764 Q3319685 Q1000212 Q6914222 Q5297699 Q6557384 Q5118193 Q8034109 Q7448994 Q3270180 Q16251748 Q3496560 Q7101687 Q7389747 Q7319879 Q17103066 Q1333162 Q3104459 Q1524197 Q16951804 Q2612238 Q6997184 Q5167007 Q3413955 Q17013571 Q5198196 Q7332562 Q6851798 Q2578454 Q942431 Q7080059 Q7403389 Q815694 Q4869466 Q6718986 Q5532857 Q16641354 Q3502846 Q1093349 Q15818070 Q7280843 Q3129362 Q7277309 Q3869460 Q637564 Q7072645 Q180922 Q2076679 Q6915348 Q17023355 Q1360087 Q6905060 Q4826245 Q3019129 Q7617429 Q7236318 Q7357917 Q17020160 Q5161136 Q18415213 Q5519978 Q683265 Q4926401 Q4958461 Q908444 Q7277729 Q3488077 Q6506731 Q4915098 Q891779 Q15973638 Q3502831 Q6459012 Q4789532 Q684254 Q3157513 Q868339 Q3531990 Q2856087 Q6804756 Q6059287 Q14568265 Q21726609 Q7841484 Q3349796 Q16954064 Q4869638 Q7928243 Q2821643 Q18162402 Q7887664 Q17107879 Q16246968 Q4667985 Q7252279 Q19572621 Q1032384 Q7180837 Q2832297 Q3517315 Q245386 Q2973051 Q3408306 Q5281861 Q18636284 Q3071471 Q4920741 Q7884711 Q288253 Q3212802 Q5270588 Q923069 Q17064923 Q6821825 Q3344206 Q2396830 Q5010929 Q3420750 Q3414855 Q2989805 Q5121150 Q3117385
(c(Q43229),P159,Q340)
action filter_type
action find_reverse
entity Q340
relation P159
type Q43229
[ANSWERS]
[{'concept': 'Q43229'}, 'P159', 'Q340']
SELECT DISTINCT ?e WHERE { ?e property:P159 resource:Q340 . ?e rdf:type ontology:Q43229 }
Bell TV International Council of Societies of Industrial Design Bank of Montreal Saputo Incorporated TVA Group Argon 18 Asbestos Corporation Limited Videoville Showtime Kangaride Totem Acoustic Van Houtte Spring Maxi Muse Entertainment German Society of Montreal Donohue Inc. Canadair Dessau CMC Electronics Fédération de l'informatique du Québec Toon Boom Animation Les Films Séville Imasco Garage Red Barrels Tribsoft VertigoXmedia Cineflix Société générale de financement Miracle Mart Gray Line Montreal Osisko Mining Tembec Amaya Inc. Le SuperClub Vidéotron Dominion Engineering Works Archambault Robotics Design Inc Metro Inc. Yellow Bird Project Moment Factory CCM Yellow Media Lavasoft Remstar Pultronics Bonanza Humpty Dumpty Snack Foods TC Transcontinental Reliance Protectron Security Services Aimia Virgin Mobile Canada Mad Science CP Ships Renaud-Bray Communauto Worldcolor Quebecor Bombardier Recreational Products Imavision Genivar Équiterre Fairmount Bagel Ultramar Molson Cinémas Guzzo Transat A.T. Enerkem Super C Anvil Mining CM Labs Simulations Domtar DataWind Purkinje Incorporated Haivision Fednav Group Wise Stores Scores Rio Tinto Alcan Chemical Computing Group Gaz Métro Loto-Québec Aveos Fleet Performance Cirque du Soleil Hotel2Tango Browns Shoes SNC-Lavalin Thyme Maternity Visionx Montreal Suburban Tramway and Power Astral Media CPR Angus Shops WatchMojo.com Société des casinos du Québec Logibec Groupe Informatique Rolf C. Hagen Group Alcan Argex Titanium Inc. Seagram Pajar Bell Internet Quazal Lavalys Dialexia Birks & Mayors Lise Watier Lightspeed Dollarama Axa Canada Photon etc. Héritage MokkoStudio Mecachrome SR Telecom Xpertdoc McGill Executive Institute Dream Pod 9 Boutique La Vie en Rose National Bank of Canada Thaï Express Classé Ad Opt Kruger Inc. Fonds de solidarité FTQ LP8 média Resolute Forest Products Matrox BCA Research Kutoka Interactive Image Entertainment Corporation Seagull Sid Lee Green Vision Media Laura Reitmans Garda Alderon Iron Ore Corp. TransForce Cavalia Steinberg's Ardène Molson Coors Brewing Company Montreal Light, Heat & Power Morsam Fashions Dorel Industries Liquid Nutrition Churchill Investments Group Woozworld Semafo Léger Marketing Greiche and scaff Standard Life Orex Exploration SENSIO Technologies Rezolution Pictures Zero Knowledge Systems WSP Global Gesca Limitée Gildan Activewear BioAmber Inc. Mega Brands, Inc. Nesbitt, Thomson and Company Cook and Date Quebecor World J. Pascal's Hardware and Furniture Cycles Devinci Rideau Milgram & Company Ltd. Office québécois de la langue française Presagis Ogilvy Renault Salada tea Bell Canada Baton Rouge MTY Food Group Genetec Hatley Redpath Sugar Citibank Canada Orbite Aluminae Radio IP Software Heenan Blaikie ROBIC NCW Femmes Fatales BeaverTails OLCO Petroleum Group CAE Inc. Montreal Locomotive Works Mosaika Art & Design Tele-ressources Laurentian Bank of Canada Montefiore Club Autodesk Media and Entertainment DavidsTea Stingray Digital Power Financial Roger Broughton Softimage ConjuChem Rodeo FX Gameaccess.ca Uniprix Bleublancrouge Bravo Telecom Power Corporation of Canada RSM Richter Chamberland Société des alcools du Québec Le Château Biomedcom Bombardier Aerospace SmartUse Rogers Sugar LMAB-Group Argex Titanium inc. Drawn and Quarterly Jacob Modulis Tooncan BFL CANADA Mechtronix Inc. Inukshuk Wireless Fundica.com Beezid Triffix Entertainment Ogilvy Multiwebcast Batshaw Youth and Family Centres Vidéotron Mobile Abitibi-Consolidated Atwill-Morin Cogeco Martin & Vleminckx CakeMail Abitibi Power and Paper Company Provalis Research Les Films Christal Canadian Vickers Pharmascience ALDO Group Telemedia 5N Plus Inc. Ciné-Asie Film Institute Provigo Discovery Air Defence Cellcom Communications Fido Solutions Black Eye Productions Unican Security Systems ACE Aviation Holdings La Senza Dialogic Inc. Bell Fibe TV Eicon Messaging Architects Northern Championship Wrestling Vidéotron CF Cable Raymond Chabot Grant Thornton Québecor Média Iron Ore Company of Canada Ciné-Asie Creatives Groupe Dynamite
Bell Canada, Molson Coors Brewing Company and Mega Brands, Inc. have their head office location at Montreal
Bell Canada Molson Coors Brewing Company Mega Brands, Inc.
action filter_type
action find_reverse
entity Montreal
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Montreal']
SELECT DISTINCT ?e WHERE { ?e property:headquarters_location resource:Montreal . ?e rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2612238
P272
Q838948
USER
Which work of art had that organization as the production company ?
(c(Q838948),P272,Q2612238)
action filter_type
action find_reverse
entity Q2612238
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q2612238']
SELECT DISTINCT ?v WHERE { ?v property:P272 resource:Q2612238 . ?v rdf:type ontology:Q838948 }
Mega Brands, Inc.
action filter_type
action find_reverse
entity Mega Brands, Inc.
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Mega Brands, Inc.']
SELECT DISTINCT ?v WHERE { ?v property:production_company resource:Mega_Brands,_Inc. . ?v rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q2612238
SYSTEM
Did you mean Mega Brands, Inc. ?
Q815694 Q3319685 Q2612238
(c(Q838948),P272,Q815694) (c(Q838948),P272,Q3319685) (c(Q838948),P272,Q2612238)
[ANSWER]
[{'concept': 'Q838948'}, 'P272', 'Q815694'] [{'concept': 'Q838948'}, 'P272', 'Q3319685'] [{'concept': 'Q838948'}, 'P272', 'Q2612238']
SELECT DISTINCT ?v WHERE { ?v property:P272 resource:Q2612238 . ?v rdf:type ontology:Q838948 }
Bell Canada Molson Coors Brewing Company Mega Brands, Inc.
Did you mean Mega Brands, Inc. ?
Mega Brands, Inc.
[{'concept': 'work of art'}, 'production company', 'Bell Canada'] [{'concept': 'work of art'}, 'production company', 'Molson Coors Brewing Company'] [{'concept': 'work of art'}, 'production company', 'Mega Brands, Inc.']
SELECT DISTINCT ?v WHERE { ?v property:production_company resource:Mega_Brands,_Inc. . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P272,Q2612238)
[{'concept': 'Q838948'}, 'P272', 'Q2612238']
[{'concept': 'work of art'}, 'production company', 'Mega Brands, Inc.']
[]
Q5305409
SYSTEM
Dragons: Fire and Ice
Q5305409
(c(Q838948),P272,Q2612238)
action filter_type
action find_reverse
entity Q2612238
relation P272
type Q838948
[ANSWER] had that organization as the production company
[{'concept': 'Q838948'}, 'P272', 'Q2612238']
SELECT DISTINCT ?v WHERE { ?v property:P272 resource:Q2612238 . ?v rdf:type ontology:Q838948 }
Dragons: Fire and Ice
Dragons: Fire and Ice had that organization as the production company
Dragons: Fire and Ice
action filter_type
action find_reverse
entity Mega Brands, Inc.
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Mega Brands, Inc.']
SELECT DISTINCT ?v WHERE { ?v property:production_company resource:Mega_Brands,_Inc. . ?v rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5305409 Q59225 Q30
P495
Q15617994
USER
Did that work of art originated in Campofilone and United States of America ?
(Q5305409,P495,Q59225) (Q5305409,P495,Q30)
action is_in
entity Q5305409
action intersection
action find_reverse
entity Q59225
relation P495
action find_reverse
entity Q30
relation P495
['Q5305409', 'P495', 'Q59225'] ['Q5305409', 'P495', 'Q30']
ASK WHERE { resource:Q5305409 property:P495 resource:Q59225 . resource:Q5305409 property:P495 resource:Q30 }
Dragons: Fire and Ice Campofilone United States of America
action is_in
entity Dragons: Fire and Ice
action intersection
action find_reverse
entity Campofilone
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['Dragons: Fire and Ice', 'country of origin', 'Campofilone'] ['Dragons: Fire and Ice', 'country of origin', 'United States of America']
ASK WHERE { resource:Dragons:_Fire_and_Ice property:country_of_origin resource:Campofilone . resource:Dragons:_Fire_and_Ice property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5305409,P495,Q59225) (Q5305409,P495,Q30)
action is_in
entity Q5305409
action intersection
action find_reverse
entity Q59225
relation P495
action find_reverse
entity Q30
relation P495
[ANSWER]
['Q5305409', 'P495', 'Q59225'] ['Q5305409', 'P495', 'Q30']
ASK WHERE { resource:Q5305409 property:P495 resource:Q59225 . resource:Q5305409 property:P495 resource:Q30 }
NO and YES respectively
action is_in
entity Dragons: Fire and Ice
action intersection
action find_reverse
entity Campofilone
relation country of origin
action find_reverse
entity United States of America
relation country of origin
['Dragons: Fire and Ice', 'country of origin', 'Campofilone'] ['Dragons: Fire and Ice', 'country of origin', 'United States of America']
ASK WHERE { resource:Dragons:_Fire_and_Ice property:country_of_origin resource:Campofilone . resource:Dragons:_Fire_and_Ice property:country_of_origin resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16965051
P17
Q15617994
USER
Which administrative territory is Nahe mine a part of ?
(Q16965051,P17,c(Q15617994))
action filter_type
action find
entity Q16965051
relation P17
type Q15617994
['Q16965051', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q16965051 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Nahe mine
action filter_type
action find
entity Nahe mine
relation country
type designation for an administrative territorial entity
['Nahe mine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Nahe_mine property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q819
SYSTEM
Laos
Q819
(Q16965051,P17,c(Q15617994))
action filter_type
action find
entity Q16965051
relation P17
type Q15617994
[ANSWER] is Nahe mine a part of
['Q16965051', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q16965051 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Laos
Laos is Nahe mine a part of
Laos
action filter_type
action find
entity Nahe mine
relation country
type designation for an administrative territorial entity
['Nahe mine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Nahe_mine property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]