Simple Question (Direct)
Simple Question
Q944024
P19
Q56061
USER
Which administrative territory is the birthplace of Laurence J. Peter ?
(Q944024,P19,c(Q56061))
action filter_type
action find
entity Q944024
relation P19
type Q56061
['Q944024', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q944024 property:P19 ?r }
Laurence J. Peter
action filter_type
action find
entity Laurence J. Peter
relation place of birth
type administrative territorial entity
['Laurence J. Peter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Laurence_J._Peter property:place_of_birth ?r }
[]
administrative territorial entity
Q24639
SYSTEM
Vancouver
Q24639
(Q944024,P19,c(Q56061))
action filter_type
action find
entity Q944024
relation P19
type Q56061
[ANSWER] is the birthplace of Laurence J. Peter
['Q944024', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q944024 property:P19 ?r }
Vancouver
Vancouver is the birthplace of Laurence J. Peter
Vancouver
action filter_type
action find
entity Laurence J. Peter
relation place of birth
type administrative territorial entity
['Laurence J. Peter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Laurence_J._Peter property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q944024
P138
Q2342494
USER
Which collectable comes from that person ?
(c(Q2342494),P138,Q24639)
action filter_type
action find_reverse
entity Q944024
relation P138
type Q2342494
[{'concept': 'Q2342494'}, 'P138', 'Q24639']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q944024 . ?e rdf:type ontology:Q2342494 }
Laurence J. Peter
action filter_type
action find_reverse
entity Laurence J. Peter
relation named after
type collectable
[{'concept': 'collectable'}, 'named after', 'Vancouver']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Laurence_J._Peter . ?e rdf:type ontology:collectable }
[]
collectable
Q497359
SYSTEM
Peter Principle
Q497359
(c(Q2342494),P138,Q24639)
action filter_type
action find_reverse
entity Q944024
relation P138
type Q2342494
[ANSWER] comes from that person
[{'concept': 'Q2342494'}, 'P138', 'Q24639']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q944024 . ?e rdf:type ontology:Q2342494 }
Peter Principle
Peter Principle comes from that person
Peter Principle
action filter_type
action find_reverse
entity Laurence J. Peter
relation named after
type collectable
[{'concept': 'collectable'}, 'named after', 'Vancouver']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Laurence_J._Peter . ?e rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q497359 Q944024
P138
Q502895
USER
Is Laurence J. Peter the etymology of that collectable ?
(Q497359,P138,Q944024)
action is_in
entity Q944024
action find
entity Q497359
relation P138
['Q497359', 'P138', 'Q944024']
ASK WHERE { resource:Q497359 property:P138 resource:Q944024 }
Peter Principle Laurence J. Peter
action is_in
entity Laurence J. Peter
action find
entity Peter Principle
relation named after
['Peter Principle', 'named after', 'Laurence J. Peter']
ASK WHERE { resource:Peter_Principle property:named_after resource:Laurence_J._Peter }
[]
common name
SYSTEM
YES
(Q497359,P138,Q944024)
action is_in
entity Q944024
action find
entity Q497359
relation P138
[ANSWER]
['Q497359', 'P138', 'Q944024']
ASK WHERE { resource:Q497359 property:P138 resource:Q944024 }
Yes
action is_in
entity Laurence J. Peter
action find
entity Peter Principle
relation named after
['Peter Principle', 'named after', 'Laurence J. Peter']
ASK WHERE { resource:Peter_Principle property:named_after resource:Laurence_J._Peter }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q944024 Q5016211
P20
Q56061
USER
Did the demise of Laurence J. Peter occur Cad'Faret ?
(Q944024,P20,Q5016211)
action is_in
entity Q5016211
action find
entity Q944024
relation P20
['Q944024', 'P20', 'Q5016211']
ASK WHERE { resource:Q944024 property:P20 resource:Q5016211 }
Laurence J. Peter Cad'Faret
action is_in
entity Cad'Faret
action find
entity Laurence J. Peter
relation place of death
['Laurence J. Peter', 'place of death', "Cad'Faret"]
ASK WHERE { resource:Laurence_J._Peter property:place_of_death resource:Cad'Faret }
[]
administrative territorial entity
SYSTEM
NO
(Q944024,P20,Q5016211)
action is_in
entity Q5016211
action find
entity Q944024
relation P20
[ANSWER]
['Q944024', 'P20', 'Q5016211']
ASK WHERE { resource:Q944024 property:P20 resource:Q5016211 }
No
action is_in
entity Cad'Faret
action find
entity Laurence J. Peter
relation place of death
['Laurence J. Peter', 'place of death', "Cad'Faret"]
ASK WHERE { resource:Laurence_J._Peter property:place_of_death resource:Cad'Faret }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q24639 Q159273 Q51103
P190
Q56061
USER
Is Vancouver twin town of Arequipa and Cali ?
(Q24639,P190,Q159273) (Q24639,P190,Q51103)
action is_in
entity Q24639
action intersection
action find_reverse
entity Q159273
relation P190
action find_reverse
entity Q51103
relation P190
['Q24639', 'P190', 'Q159273'] ['Q24639', 'P190', 'Q51103']
ASK WHERE { resource:Q24639 property:P190 resource:Q51103 . resource:Q24639 property:P190 resource:Q159273 }
Vancouver Arequipa Cali
action is_in
entity Vancouver
action intersection
action find_reverse
entity Arequipa
relation sister city
action find_reverse
entity Cali
relation sister city
['Vancouver', 'sister city', 'Arequipa'] ['Vancouver', 'sister city', 'Cali']
ASK WHERE { resource:Vancouver property:sister_city resource:Cali . resource:Vancouver property:sister_city resource:Arequipa }
[]
administrative territorial entity
SYSTEM
YES
(Q24639,P190,Q159273) (Q24639,P190,Q51103)
action is_in
entity Q24639
action intersection
action find_reverse
entity Q159273
relation P190
action find_reverse
entity Q51103
relation P190
[ANSWER]
['Q24639', 'P190', 'Q159273'] ['Q24639', 'P190', 'Q51103']
ASK WHERE { resource:Q24639 property:P190 resource:Q51103 . resource:Q24639 property:P190 resource:Q159273 }
Yes
action is_in
entity Vancouver
action intersection
action find_reverse
entity Arequipa
relation sister city
action find_reverse
entity Cali
relation sister city
['Vancouver', 'sister city', 'Arequipa'] ['Vancouver', 'sister city', 'Cali']
ASK WHERE { resource:Vancouver property:sister_city resource:Cali . resource:Vancouver property:sister_city resource:Arequipa }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24639
P159
Q43229
USER
Which organizations have their HQ location at Vancouver ?
(c(Q43229),P159,Q24639)
action filter_type
action find_reverse
entity Q24639
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q24639']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q24639 }
Vancouver
action filter_type
action find_reverse
entity Vancouver
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Vancouver']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Vancouver }
[]
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 Vancouver
[{'concept': 'Q43229'}, 'P159', 'Q24639']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q24639 }
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 Vancouver
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 ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Vancouver }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24639
P355
Q43229
USER
Which organization is Vancouver the subsidiary of ?
(c(Q43229),P355,Q24639)
action filter_type
action find_reverse
entity Q24639
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q24639']
SELECT DISTINCT ?n WHERE { ?n property:P355 resource:Q24639 . ?n rdf:type ontology:Q43229 }
Vancouver
action filter_type
action find_reverse
entity Vancouver
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Vancouver']
SELECT DISTINCT ?n WHERE { ?n property:subsidiary resource:Vancouver . ?n rdf:type ontology:organization }
[]
organization
Q17142365
SYSTEM
Infobip
Q17142365
(c(Q43229),P355,Q24639)
action filter_type
action find_reverse
entity Q24639
relation P355
type Q43229
Which organization is Vancouver the subsidiary of
[{'concept': 'Q43229'}, 'P355', 'Q24639']
SELECT DISTINCT ?n WHERE { ?n property:P355 resource:Q24639 . ?n rdf:type ontology:Q43229 }
Infobip
Which organization is Vancouver the subsidiary of
Infobip
action filter_type
action find_reverse
entity Vancouver
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Vancouver']
SELECT DISTINCT ?n WHERE { ?n property:subsidiary resource:Vancouver . ?n rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24639
P1313
Q12737077
USER
Which occupation is fulfilled by Vancouver ?
(Q24639,P1313,c(Q12737077))
action filter_type
action find
entity Q24639
relation P1313
type Q12737077
['Q24639', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q24639 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
Vancouver
action filter_type
action find
entity Vancouver
relation office held by head of government
type occupation
['Vancouver', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Vancouver property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q24639,P1313,c(Q12737077))
action filter_type
action find
entity Q24639
relation P1313
type Q12737077
The [ANSWER] is fulfilled by Vancouver
['Q24639', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q24639 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
mayor
The mayor is fulfilled by Vancouver
mayor
action filter_type
action find
entity Vancouver
relation office held by head of government
type occupation
['Vancouver', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Vancouver property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24639
P30
Q2221906
USER
Which geographic location is Vancouver a part of ?
(Q24639,P30,c(Q2221906))
action filter_type
action find
entity Q24639
relation P30
type Q2221906
['Q24639', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q24639 property:P30 ?q . ?q rdf:type ontology:Q2221906 }
Vancouver
action filter_type
action find
entity Vancouver
relation continent
type geographic location
['Vancouver', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:Vancouver property:continent ?q . ?q rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q24639,P30,c(Q2221906))
action filter_type
action find
entity Q24639
relation P30
type Q2221906
Which geographic location is Vancouver a part of
['Q24639', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q24639 property:P30 ?q . ?q rdf:type ontology:Q2221906 }
North America
Which geographic location is Vancouver a part of
North America
action filter_type
action find
entity Vancouver
relation continent
type geographic location
['Vancouver', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:Vancouver property:continent ?q . ?q rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P30
Q2221906 Q337567 Q14524493
USER
Which geographic locations are approximately the same number of still waterss and terrains situated as that geographic location ?
(c(Q337567)|c(Q14524493),P30,c(Q2221906))
action approx
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q337567
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q49
relation P30
type Q337567
type Q14524493
[[{'concept': 'Q337567'}, {'concept': 'Q14524493'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?z WHERE { VALUES ( ?q ) { ( ontology:Q14524493 ) ( ontology:Q337567 ) } . ?m rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P30 resource:Q49 . { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:Q337567 ) ( ontology:Q14524493 ) } } } } . FILTER ( ?k = ?s ) }
action approx
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type still waters
action find_reverse_tuple_counts
relation continent
type geographic location
type terrain
action count
action filter_multi_types
action find_reverse
entity North America
relation continent
type still waters
type terrain
[[{'concept': 'still waters'}, {'concept': 'terrain'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?z WHERE { VALUES ( ?q ) { ( ontology:terrain ) ( ontology:still_waters ) } . ?m rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:continent resource:North_America . { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:still_waters ) ( ontology:terrain ) } } } } . FILTER ( ?k = ?s ) }
[]
geographic location still waters terrain
Q48 Q15 Q46
SYSTEM
Asia, Africa, Europe
Q46 Q3960 Q828 Q48 Q49 Q15 Q5401 Q18 Q538
(c(Q337567)|c(Q14524493),P30,c(Q2221906))
action approx
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q337567
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q49
relation P30
type Q337567
type Q14524493
[ANSWERS] are approximately the same number of still waterss and terrains situated as that geographic location
[[{'concept': 'Q337567'}, {'concept': 'Q14524493'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?z WHERE { VALUES ( ?q ) { ( ontology:Q14524493 ) ( ontology:Q337567 ) } . ?m rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P30 resource:Q49 . { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:Q337567 ) ( ontology:Q14524493 ) } } } } . FILTER ( ?k = ?s ) }
Europe Australia Americas Asia North America Africa Eurasia South America Oceania
Asia, Africa and Europe are approximately the same number of still waterss and terrains situated as that geographic location
Asia Africa Europe
action approx
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type still waters
action find_reverse_tuple_counts
relation continent
type geographic location
type terrain
action count
action filter_multi_types
action find_reverse
entity North America
relation continent
type still waters
type terrain
[[{'concept': 'still waters'}, {'concept': 'terrain'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?z WHERE { VALUES ( ?q ) { ( ontology:terrain ) ( ontology:still_waters ) } . ?m rdf:type ?q } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:continent resource:North_America . { ?b rdf:type ?f . VALUES ( ?f ) { ( ontology:still_waters ) ( ontology:terrain ) } } } } . FILTER ( ?k = ?s ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q160307
P30
Q15617994
USER
Do Fatimid caliphate have their location in those geographic locations ?
(Q160307,P30,Q48) (Q160307,P30,Q15) (Q160307,P30,Q46)
action is_in
entity prev_answer
action find
entity Q160307
relation P30
['Q160307', 'P30', 'Q48'] ['Q160307', 'P30', 'Q15'] ['Q160307', 'P30', 'Q46']
ASK WHERE { resource:Q160307 property:P30 ?h . VALUES ( ?h ) { ( resource:Q46 ) ( resource:Q3960 ) ( resource:Q828 ) } }
Fatimid caliphate
action is_in
entity prev_answer
action find
entity Fatimid caliphate
relation continent
['Fatimid caliphate', 'continent', 'Asia'] ['Fatimid caliphate', 'continent', 'Africa'] ['Fatimid caliphate', 'continent', 'Europe']
ASK WHERE { resource:Fatimid_caliphate property:continent ?h . VALUES ( ?h ) { ( resource:Europe ) ( resource:Australia ) ( resource:Americas ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q160307,P30,Q48) (Q160307,P30,Q15) (Q160307,P30,Q46)
action is_in
entity prev_answer
action find
entity Q160307
relation P30
[ANSWER]
['Q160307', 'P30', 'Q48'] ['Q160307', 'P30', 'Q15'] ['Q160307', 'P30', 'Q46']
ASK WHERE { resource:Q160307 property:P30 ?h . VALUES ( ?h ) { ( resource:Q46 ) ( resource:Q3960 ) ( resource:Q828 ) } }
Yes
action is_in
entity prev_answer
action find
entity Fatimid caliphate
relation continent
['Fatimid caliphate', 'continent', 'Asia'] ['Fatimid caliphate', 'continent', 'Africa'] ['Fatimid caliphate', 'continent', 'Europe']
ASK WHERE { resource:Fatimid_caliphate property:continent ?h . VALUES ( ?h ) { ( resource:Europe ) ( resource:Australia ) ( resource:Americas ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q2221906 Q3895768
USER
Which fictional locations are located in approximately 1 geographic location ?
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
value 1
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?u ) WHERE { ?j property:P706 ?w . ?j rdf:type ontology:Q3895768 . ?w rdf:type ontology:Q2221906 } GROUP BY ?j } . FILTER ( ?u = 1 ) }
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
value 1
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?u ) WHERE { ?j property:located_on_terrain_feature ?w . ?j rdf:type ontology:fictional_location . ?w rdf:type ontology:geographic_location } GROUP BY ?j } . FILTER ( ?u = 1 ) }
[]
geographic location fictional location
Q766099
SYSTEM
Wakanda
Q766099
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
value 1
[ANSWER] is located in approximately 1 geographic location
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?u ) WHERE { ?j property:P706 ?w . ?j rdf:type ontology:Q3895768 . ?w rdf:type ontology:Q2221906 } GROUP BY ?j } . FILTER ( ?u = 1 ) }
Wakanda
Wakanda is located in approximately 1 geographic location
Wakanda
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
value 1
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?u ) WHERE { ?j property:located_on_terrain_feature ?w . ?j rdf:type ontology:fictional_location . ?w rdf:type ontology:geographic_location } GROUP BY ?j } . FILTER ( ?u = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q766099
P122
Q1307214
USER
What best describes the government of that fictional location ?
(Q766099,P122,c(Q1307214))
action filter_type
action find
entity Q766099
relation P122
type Q1307214
['Q766099', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?n WHERE { resource:Q766099 property:P122 ?n . ?n rdf:type ontology:Q1307214 }
Wakanda
action filter_type
action find
entity Wakanda
relation basic form of government
type form of government
['Wakanda', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?n WHERE { resource:Wakanda property:basic_form_of_government ?n . ?n rdf:type ontology:form_of_government }
[]
form of government
Q7269
SYSTEM
monarchy
Q7269
(Q766099,P122,c(Q1307214))
action filter_type
action find
entity Q766099
relation P122
type Q1307214
[ANSWER] best describes the government of that fictional location
['Q766099', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?n WHERE { resource:Q766099 property:P122 ?n . ?n rdf:type ontology:Q1307214 }
monarchy
Monarchy best describes the government of that fictional location
monarchy
action filter_type
action find
entity Wakanda
relation basic form of government
type form of government
['Wakanda', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?n WHERE { resource:Wakanda property:basic_form_of_government ?n . ?n rdf:type ontology:form_of_government }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P122
Q1307214 Q3024240
USER
How many forms of government best describe the type of government of greater number of former countries than that form of government ?
(c(Q3024240),P122,c(Q1307214))
action count
action greater
action find_tuple_counts
relation P122
type Q1307214
type Q3024240
action count
action filter_type
action find
entity Q7269
relation P122
type Q1307214
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?k ) WHERE { ?i rdf:type ontology:Q1307214 . ?s rdf:type ontology:Q3024240 . ?i property:P122 ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:Q1307214 . resource:Q7269 property:P122 ?z } } . FILTER ( ?k > ?t ) }
action count
action greater
action find_tuple_counts
relation basic form of government
type form of government
type former country
action count
action filter_type
action find
entity monarchy
relation basic form of government
type form of government
[{'concept': 'former country'}, 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?k ) WHERE { ?i rdf:type ontology:form_of_government . ?s rdf:type ontology:former_country . ?i property:basic_form_of_government ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:form_of_government . resource:monarchy property:basic_form_of_government ?z } } . FILTER ( ?k > ?t ) }
[]
form of government former country
SYSTEM
0
(c(Q3024240),P122,c(Q1307214))
action count
action greater
action find_tuple_counts
relation P122
type Q1307214
type Q3024240
action count
action filter_type
action find
entity Q7269
relation P122
type Q1307214
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?k ) WHERE { ?i rdf:type ontology:Q1307214 . ?s rdf:type ontology:Q3024240 . ?i property:P122 ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:Q1307214 . resource:Q7269 property:P122 ?z } } . FILTER ( ?k > ?t ) }
0
action count
action greater
action find_tuple_counts
relation basic form of government
type form of government
type former country
action count
action filter_type
action find
entity monarchy
relation basic form of government
type form of government
[{'concept': 'former country'}, 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?k ) WHERE { ?i rdf:type ontology:form_of_government . ?s rdf:type ontology:former_country . ?i property:basic_form_of_government ?s } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ontology:form_of_government . resource:monarchy property:basic_form_of_government ?z } } . FILTER ( ?k > ?t ) }
[]