Simple Question (Direct)
Simple Question
Q5233280
P19
Q15617994
USER
Which administrative territory was David Edward Price born at ?
(Q5233280,P19,c(Q15617994))
action filter_type
action find
entity Q5233280
relation P19
type Q15617994
['Q5233280', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q5233280 property:P19 ?f . ?f rdf:type ontology:Q15617994 }
David Edward Price
action filter_type
action find
entity David Edward Price
relation place of birth
type designation for an administrative territorial entity
['David Edward Price', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:David_Edward_Price property:place_of_birth ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q176
SYSTEM
Quebec
Q176
(Q5233280,P19,c(Q15617994))
action filter_type
action find
entity Q5233280
relation P19
type Q15617994
David Edward Price was born in [ANSWER]
['Q5233280', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q5233280 property:P19 ?f . ?f rdf:type ontology:Q15617994 }
Quebec
David Edward Price was born in Quebec
Quebec
action filter_type
action find
entity David Edward Price
relation place of birth
type designation for an administrative territorial entity
['David Edward Price', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:David_Edward_Price property:place_of_birth ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q176
P47
Q15617994
USER
Which administrative territories share border with that one ?
(Q176,P47,c(Q15617994))
action filter_type
action find
entity Q176
relation P47
type Q15617994
['Q176', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q176 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Quebec
action filter_type
action find
entity Quebec
relation shares border with
type designation for an administrative territorial entity
['Quebec', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Quebec property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2007 Q1904 Q2023
SYSTEM
Northwest Territories, Ontario, Nunavut
Q1965 Q2007 Q2003 Q1904 Q2023
(Q176,P47,c(Q15617994))
action filter_type
action find
entity Q176
relation P47
type Q15617994
[ANSWERS] share border with that one
['Q176', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q176 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
New Brunswick Northwest Territories Newfoundland and Labrador Ontario Nunavut
Northwest Territories, Ontario and Nunavut share border with that one
Northwest Territories Ontario Nunavut
action filter_type
action find
entity Quebec
relation shares border with
type designation for an administrative territorial entity
['Quebec', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Quebec property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q176
P47
Q15617994
USER
Do Quebec have an adjacent border with those ones ?
(Q176,P47,Q2007) (Q176,P47,Q1904) (Q176,P47,Q2023)
action is_in
entity prev_answer
action find
entity Q176
relation P47
['Q176', 'P47', 'Q2007'] ['Q176', 'P47', 'Q1904'] ['Q176', 'P47', 'Q2023']
ASK WHERE { resource:Q176 property:P47 ?l . VALUES ( ?l ) { ( resource:Q1965 ) ( resource:Q2007 ) ( resource:Q2003 ) } }
Quebec
action is_in
entity prev_answer
action find
entity Quebec
relation shares border with
['Quebec', 'shares border with', 'Northwest Territories'] ['Quebec', 'shares border with', 'Ontario'] ['Quebec', 'shares border with', 'Nunavut']
ASK WHERE { resource:Quebec property:shares_border_with ?l . VALUES ( ?l ) { ( resource:New_Brunswick ) ( resource:Northwest_Territories ) ( resource:Newfoundland_and_Labrador ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q176,P47,Q2007) (Q176,P47,Q1904) (Q176,P47,Q2023)
action is_in
entity prev_answer
action find
entity Q176
relation P47
[ANSWER]
['Q176', 'P47', 'Q2007'] ['Q176', 'P47', 'Q1904'] ['Q176', 'P47', 'Q2023']
ASK WHERE { resource:Q176 property:P47 ?l . VALUES ( ?l ) { ( resource:Q1965 ) ( resource:Q2007 ) ( resource:Q2003 ) } }
Yes
action is_in
entity prev_answer
action find
entity Quebec
relation shares border with
['Quebec', 'shares border with', 'Northwest Territories'] ['Quebec', 'shares border with', 'Ontario'] ['Quebec', 'shares border with', 'Nunavut']
ASK WHERE { resource:Quebec property:shares_border_with ?l . VALUES ( ?l ) { ( resource:New_Brunswick ) ( resource:Northwest_Territories ) ( resource:Newfoundland_and_Labrador ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1904
P19
Q502895
USER
How many people have place of birth as Ontario ?
(c(Q502895),P19,Q1904)
action count
action filter_type
action find_reverse
entity Q1904
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1904']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q1904 }
Ontario
action count
action filter_type
action find_reverse
entity Ontario
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Ontario']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Ontario }
[]
common name
SYSTEM
200
Q6162222 Q1506900 Q2579718 Q439355 Q6232176 Q1701054 Q1240412 Q647391 Q5677608 Q1423150 Q6376870 Q1365935 Q706445 Q21621153 Q4758336 Q1173550 Q15526050 Q3113238 Q5362966 Q5301793 Q7387490 Q7427037 Q7363612 Q7368417 Q5026168 Q6236090 Q1703770 Q474222 Q7440915 Q336904 Q27098208 Q21037702 Q3110930 Q229310 Q4719573 Q7182164 Q549117 Q364988 Q1936169 Q1918879 Q1680704 Q21198343 Q8007405 Q13563003 Q2157464 Q1292284 Q741292 Q23612310 Q1634361 Q5106106 Q186042 Q18394937 Q2939818 Q955080 Q1440805 Q5486929 Q14949435 Q777234 Q3809176 Q6780053 Q4679792 Q6727009 Q3012280 Q3180258 Q285583 Q3439527 Q5932229 Q4357220 Q7288229 Q6818952 Q5200165 Q17198340 Q5542760 Q2617661 Q4767816 Q6523765 Q6851000 Q1770430 Q1252209 Q4977973 Q1804845 Q14949566 Q6375390 Q6711018 Q358410 Q6282145 Q15999694 Q14090203 Q6186796 Q582748 Q3050522 Q548715 Q3034837 Q9374847 Q5234772 Q8010053 Q15958774 Q1611209 Q27685861 Q5370033 Q998211 Q552939 Q548779 Q275993 Q548768 Q364303 Q11812068 Q117170 Q4177579 Q203068 Q4735303 Q311220 Q2035970 Q6386516 Q1263728 Q164037 Q2427459 Q3833412 Q6830903 Q1356438 Q3754121 Q1048357 Q6178169 Q542493 Q935623 Q888118 Q15627068 Q6076259 Q1999231 Q2080409 Q1060411 Q4153228 Q1284586 Q3498453 Q703564 Q1338605 Q713653 Q1638787 Q6730210 Q24514819 Q16012228 Q259860 Q21621253 Q268080 Q1430373 Q7965007 Q369668 Q16244764 Q15999425 Q1257757 Q15701943 Q6395893 Q7143620 Q5671624 Q16198996 Q16204784 Q4960999 Q6988767 Q608327 Q1820796 Q1820783 Q2073254 Q2444461 Q1699367 Q733675 Q7861777 Q1677170 Q2020038 Q20685006 Q16015487 Q975874 Q15500465 Q269705 Q6139466 Q2579295 Q4983851 Q284932 Q6252275 Q545375 Q15810401 Q8014329 Q140155 Q4719439 Q4930910 Q2569802 Q2897938 Q6170285 Q128645 Q1703185 Q5002155 Q291236 Q4154114 Q472873 Q7926710 Q4722621 Q381894 Q433971 Q5257068 Q5667707 Q5490588
(c(Q502895),P19,Q1904)
action count
action filter_type
action find_reverse
entity Q1904
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1904']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q1904 }
Jason Clark Robert James Manion William L. Walsh Emily Murphy John F. Bassett John Meehan Donald Tolmie Frank Henry Cooney Harvey Sproule Fred Bodsworth Kathleen O'Grady Harry Cameron Sven Delblanc Jae Deen Andrew Pyper David Allan Bromley Sasha Hostyn Graham Cooke Elizabeth Hess Douglas McDonald S. George Curry Saucy Sylvia Ron Casey Rosemary Radcliffe Cameron Ansell John Gray Raymond Milton Amos Arbour Sean Cummings David McNally Georgine Milmine Eric Barry Gordon Thiessen Trish Stratus Alexander McBride Phil McCordic Vic Lindquist Gerald Bull Mina Benson Hubbard Mel Brock James L. Kraft George Van Amber Brown William Curtis Shelly Heather Gemmen Wilson Robert Hanbidge Edward G. Boyle Pete Muldoon Frank Findley Mackay Hugh Graham Chris Carter John Kenneth Galbraith William Henry Sinclair Carol Anne Chenard Dan Shea Frances Itani Frank Granger Quigley Nick Haramis Albert W. Tucker John Cunningham McLennan Mary Lawson Adam Sioui Madeline Gardiner Sonja Smits Joel Palmer Toe Blake Roger Valley John G. Lake Kent McDonell Ralph Wallace Burton Meredith MacNeill Cynthia Tucker Shawn Mendes George N. Morgan Cle Kooiman Annaleise Carr Leo Gerard Mildred Noble Krista Bridges Eber Brock Ward Bruce McCaffrey Lang Jeffries Mihkel Harilaid Kate Bridges Léoda Gauthier Leon Redbone Joseph Clarke Douglas Walton Mikko Kosonen Jesse Rivest Bruce Hutchison Eleanor Catton Charles Delahaye Dominic Besner William Keith Swayze David Hartin William Gould Charles Masson Alasdair MacMhaoirn Joe Cosley Ember Swift Trevor Ferguson James Haggarty Roger Plaxton Tommy Burns Frank Fisher Jim Prentice Malcolm Plaw MacLeod Jasmine Richards Roy Wood Sellars James Alan Gardner Alpheus George Barnes Stonehouse James Craig Watson Paul Erdman Kelsey Titmarsh Fanny Kelly David Breakenridge Read Thomas Stephen Cullen Liskula Cohen Michael Hainsworth Ernest MacMillan James Reaney Cassie Chadwick Jennifer Calvert Denis Lortie Francis Moore George Beverly Shea Agnes Ethelwyn Wetherald Isaac Durnford Norman Malloy John Rutsey William Edmund Harper Soo Garay James A. Hughes Stephanie Beard John Murray Harold McMunn Babe Siebert Jacob Falconer Maggie De Vries Dorothy Warburton Blaise Diesbourg Keith Woodall Ephixa Jordan Todosey Floyd Martin Walter Gretzky William Osler Steve Williams Prescott F. Cogswell Frank Prewett Honey Cocaine Kevin Breit Pat Kelly Harry Pollard Jonas Berkeley Eileen McGann Brendan McLeod Neil J. Armstrong Dave Trottier Leslie Hotson Leslie Frost Pete Henderson Joseph Wright John Borrows Lewis Urry Tyson Jerry Jack Pickford Oliver Aiken Howland Basil O'Meara Marvin Goldhar Kathleen Howard James Keteltas Hackett Kate Todd James McLaughlin W. W. Hiltz Bud Germa Bert Corbeau John Paul Ruttan Robertson Davies Fred Gabourie William Laskin Samuel A. Cook Alexander Lucas Bláthnaid Ní Chofaigh Barry Stock Bernard Garbutt Jean Blewett Arthur Meighen Jonathan Hale Buster Harding Evariste Payer George Ducker H. J. Rose Victoria Forester Alfred Edwin McKay Marshall Kay Red Horner Denis Akiyama Harry C. Hatch Frank de Jong
200
action count
action filter_type
action find_reverse
entity Ontario
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Ontario']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Ontario }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1904
P47
Q15617994 Q852446
USER
How many administrative territories or US administrative territories are bordered by Ontario ?
(Q1904,P47,c(Q15617994)) (Q1904,P47,c(Q852446))
action count
action union
action filter_type
action find
entity Q1904
relation P47
type Q15617994
action filter_type
action find
entity Q1904
relation P47
type Q852446
['Q1904', 'P47', {'concept': 'Q15617994'}] ['Q1904', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:Q852446 ) ( ontology:Q15617994 ) } }
Ontario
action count
action union
action filter_type
action find
entity Ontario
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Ontario
relation shares border with
type administrative territorial entity of the United States
['Ontario', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ontario', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity administrative territorial entity of the United States
SYSTEM
11
Q1397 Q176 Q1384 Q1948 Q1400 Q2007 Q1166 Q1537 Q1527 Q2023 Q603676
(Q1904,P47,c(Q15617994)) (Q1904,P47,c(Q852446))
action count
action union
action filter_type
action find
entity Q1904
relation P47
type Q15617994
action filter_type
action find
entity Q1904
relation P47
type Q852446
[ANSWER]
['Q1904', 'P47', {'concept': 'Q15617994'}] ['Q1904', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:Q852446 ) ( ontology:Q15617994 ) } }
Ohio Quebec New York Manitoba Pennsylvania Northwest Territories Michigan Wisconsin Minnesota Nunavut District of Keewatin
11
action count
action union
action filter_type
action find
entity Ontario
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Ontario
relation shares border with
type administrative territorial entity of the United States
['Ontario', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ontario', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1008
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with more number of administrative territories than Côte d'Ivoire ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?f property:P530 ?b . ?f rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q1008 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?a ) }
Côte d'Ivoire
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?f property:diplomatic_relation ?b . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?a ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than Côte d'Ivoire
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?f property:P530 ?b . ?f rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q1008 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?a ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with more number of administrative territories than Côte d'Ivoire
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?f property:diplomatic_relation ?b . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1904
P159
Q43229
USER
Which organizations have HQ at Ontario ?
(c(Q43229),P159,Q1904)
action filter_type
action find_reverse
entity Q1904
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1904']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q1904 . ?v rdf:type ontology:Q43229 }
Ontario
action filter_type
action find_reverse
entity Ontario
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Ontario']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Ontario . ?v rdf:type ontology:organization }
[]
organization
Q6872400 Q6666533 Q5970581
SYSTEM
Miracle Food Mart, Loeb, IES Ltd
Q6872400 Q19903428 Q6666533 Q6715345 Q5970581 Q251486 Q7058432 Q5146818 Q5567012 Q16958809
(c(Q43229),P159,Q1904)
action filter_type
action find_reverse
entity Q1904
relation P159
type Q43229
[ANSWERS] have HQ at Ontario
[{'concept': 'Q43229'}, 'P159', 'Q1904']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q1904 . ?v rdf:type ontology:Q43229 }
Miracle Food Mart Lystek Loeb MEI Academy IES Ltd Semacode Northern Indian Medical & Dental Association of Canada College of Respiratory Therapists of Ontario GlassFrog International Aid Organization Ultra Food & Drug
Miracle Food Mart, Loeb and IES Ltd have HQ at Ontario
Miracle Food Mart Loeb IES Ltd
action filter_type
action find_reverse
entity Ontario
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Ontario']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Ontario . ?v rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6872400 Q6666533 Q5970581
P159
Q15617994
USER
Which administrative territories are the HQ of those organizations ?
(Q6872400,P159,c(Q15617994)) (Q6666533,P159,c(Q15617994)) (Q5970581,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
['Q6872400', 'P159', {'concept': 'Q15617994'}] ['Q6666533', 'P159', {'concept': 'Q15617994'}] ['Q5970581', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?v property:P159 ?e . VALUES ( ?v ) { ( resource:Q6872400 ) ( resource:Q19903428 ) ( resource:Q6666533 ) } . ?e rdf:type ontology:Q15617994 }
Miracle Food Mart Loeb IES Ltd
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Miracle Food Mart', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Loeb', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['IES Ltd', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?v property:headquarters_location ?e . VALUES ( ?v ) { ( resource:Miracle_Food_Mart ) ( resource:Lystek ) ( resource:Loeb ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1904 Q1904 Q1904
SYSTEM
Ontario
Q1904 Q1904 Q1904
(Q6872400,P159,c(Q15617994)) (Q6666533,P159,c(Q15617994)) (Q5970581,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the HQ of those organizations
['Q6872400', 'P159', {'concept': 'Q15617994'}] ['Q6666533', 'P159', {'concept': 'Q15617994'}] ['Q5970581', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?v property:P159 ?e . VALUES ( ?v ) { ( resource:Q6872400 ) ( resource:Q19903428 ) ( resource:Q6666533 ) } . ?e rdf:type ontology:Q15617994 }
Ontario Ontario Ontario
Ontario, Ontario and Ontario are the HQ of those organizations
Ontario Ontario Ontario
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Miracle Food Mart', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Loeb', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['IES Ltd', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?v property:headquarters_location ?e . VALUES ( ?v ) { ( resource:Miracle_Food_Mart ) ( resource:Lystek ) ( resource:Loeb ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1904
P610
Q8502
USER
Which is the highest peak of Ontario ?
(Q1904,P610,c(Q8502))
action filter_type
action find
entity Q1904
relation P610
type Q8502
['Q1904', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?x WHERE { resource:Q1904 property:P610 ?x . ?x rdf:type ontology:Q8502 }
Ontario
action filter_type
action find
entity Ontario
relation highest point
type mountain
['Ontario', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?x WHERE { resource:Ontario property:highest_point ?x . ?x rdf:type ontology:mountain }
[]
mountain
Q1514665
SYSTEM
Ishpatina Ridge
Q1514665
(Q1904,P610,c(Q8502))
action filter_type
action find
entity Q1904
relation P610
type Q8502
The highest peak of Ontario is the [ANSWER]
['Q1904', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?x WHERE { resource:Q1904 property:P610 ?x . ?x rdf:type ontology:Q8502 }
Ishpatina Ridge
The highest peak of Ontario is the Ishpatina Ridge
Ishpatina Ridge
action filter_type
action find
entity Ontario
relation highest point
type mountain
['Ontario', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?x WHERE { resource:Ontario property:highest_point ?x . ?x rdf:type ontology:mountain }
[]