Simple Question (Direct)
Simple Question
Q469884
P7
Q502895
USER
Who is Spencer Gore a sibling of ?
(Q469884,P7,c(Q502895))
action filter_type
action find
entity Q469884
relation P7
type Q502895
['Q469884', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q469884 property:P7 ?b }
Spencer Gore
action filter_type
action find
entity Spencer Gore
relation brother
type common name
['Spencer Gore', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Spencer_Gore property:brother ?b }
[]
common name
Q366142
SYSTEM
Charles Gore
Q366142
(Q469884,P7,c(Q502895))
action filter_type
action find
entity Q469884
relation P7
type Q502895
Spencer Gore is a sibling of the [ANSWER]
['Q469884', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q469884 property:P7 ?b }
Charles Gore
Spencer Gore is a sibling of the Charles Gore
Charles Gore
action filter_type
action find
entity Spencer Gore
relation brother
type common name
['Spencer Gore', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Spencer_Gore property:brother ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366142
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q366142,P19,c(Q56061))
action filter_type
action find
entity Q366142
relation P19
type Q56061
['Q366142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q366142 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Charles Gore
action filter_type
action find
entity Charles Gore
relation place of birth
type administrative territorial entity
['Charles Gore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Gore property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q736742
SYSTEM
Wimbledon
Q736742
(Q366142,P19,c(Q56061))
action filter_type
action find
entity Q366142
relation P19
type Q56061
That person was born at [ANSWER]
['Q366142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q366142 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Wimbledon
That person was born at Wimbledon
Wimbledon
action filter_type
action find
entity Charles Gore
relation place of birth
type administrative territorial entity
['Charles Gore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Gore property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q736742 Q1826974
P19
Q502895
USER
Does Lino Pizzi have place of birth as that administrative territory ?
(Q1826974,P19,Q736742)
action is_in
entity Q1826974
action find
entity Q736742
relation P19
['Q1826974', 'P19', 'Q736742']
ASK WHERE { resource:Q736742 property:P19 resource:Q1826974 }
Wimbledon Lino Pizzi
action is_in
entity Lino Pizzi
action find
entity Wimbledon
relation place of birth
['Lino Pizzi', 'place of birth', 'Wimbledon']
ASK WHERE { resource:Wimbledon property:place_of_birth resource:Lino_Pizzi }
[]
common name
SYSTEM
NO
(Q1826974,P19,Q736742)
action is_in
entity Q1826974
action find
entity Q736742
relation P19
[ANSWER]
['Q1826974', 'P19', 'Q736742']
ASK WHERE { resource:Q736742 property:P19 resource:Q1826974 }
No
action is_in
entity Lino Pizzi
action find
entity Wimbledon
relation place of birth
['Lino Pizzi', 'place of birth', 'Wimbledon']
ASK WHERE { resource:Wimbledon property:place_of_birth resource:Lino_Pizzi }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q736742
P17
Q15617994
USER
How many administrative territories are Wimbledon present in ?
(Q736742,P17,c(Q15617994))
action count
action filter_type
action find
entity Q736742
relation P17
type Q15617994
['Q736742', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q736742 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Wimbledon
action count
action filter_type
action find
entity Wimbledon
relation country
type designation for an administrative territorial entity
['Wimbledon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Wimbledon property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q736742,P17,c(Q15617994))
action count
action filter_type
action find
entity Q736742
relation P17
type Q15617994
[ANSWER]
['Q736742', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q736742 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Wimbledon
relation country
type designation for an administrative territorial entity
['Wimbledon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Wimbledon property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q999959
Q15617994
USER
And also tell me about New Hampshire Route 33?
(Q999959,P17,c(Q15617994))
action count
action filter_type
action find
entity Q999959
relation P17
type Q15617994
['Q999959', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Q999959 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
New Hampshire Route 33
action count
action filter_type
action find
entity New Hampshire Route 33
relation country
type designation for an administrative territorial entity
['New Hampshire Route 33', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:New_Hampshire_Route_33 property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q999959,P17,c(Q15617994))
action count
action filter_type
action find
entity Q999959
relation P17
type Q15617994
[ANSWER]
['Q999959', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Q999959 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity New Hampshire Route 33
relation country
type designation for an administrative territorial entity
['New Hampshire Route 33', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:New_Hampshire_Route_33 property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q999959
P126
Q327333
USER
Who was the custodian of that thoroughfare ?
action filter_type
action find
entity Q999959
relation P126
type Q327333
SELECT DISTINCT ?r WHERE { resource:Q999959 property:P126 ?r . ?r rdf:type ontology:Q327333 }
New Hampshire Route 33
action filter_type
action find
entity New Hampshire Route 33
relation maintained by
type government agency
SELECT DISTINCT ?r WHERE { resource:New_Hampshire_Route_33 property:maintained_by ?r . ?r rdf:type ontology:government_agency }
[]
government agency
Q5559073
SYSTEM
New Hampshire Department of Transportation
Q5559073
action filter_type
action find
entity Q999959
relation P126
type Q327333
The custodian of that thoroughfare was the [ANSWER]
SELECT DISTINCT ?r WHERE { resource:Q999959 property:P126 ?r . ?r rdf:type ontology:Q327333 }
New Hampshire Department of Transportation
The custodian of that thoroughfare was the New Hampshire Department of Transportation
New Hampshire Department of Transportation
action filter_type
action find
entity New Hampshire Route 33
relation maintained by
type government agency
SELECT DISTINCT ?r WHERE { resource:New_Hampshire_Route_33 property:maintained_by ?r . ?r rdf:type ontology:government_agency }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2021533
P127
Q327333 Q699405
USER
Which dwellings are owned by approximately the same number of government agencies as Beverly Hills Hotel ?
(c(Q699405),P127,c(Q327333))
action approx
action find_tuple_counts
relation P127
type Q699405
type Q327333
action count
action filter_type
action find
entity Q2021533
relation P127
type Q699405
[{'concept': 'Q699405'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?m ) WHERE { ?f property:P127 ?o . ?f rdf:type ontology:Q699405 . ?o rdf:type ontology:Q327333 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q2021533 property:P127 ?n . ?n rdf:type ontology:Q699405 } } . FILTER ( ?m = ?b ) }
Beverly Hills Hotel
action approx
action find_tuple_counts
relation owned by
type dwelling
type government agency
action count
action filter_type
action find
entity Beverly Hills Hotel
relation owned by
type dwelling
[{'concept': 'dwelling'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?m ) WHERE { ?f property:owned_by ?o . ?f rdf:type ontology:dwelling . ?o rdf:type ontology:government_agency } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Beverly_Hills_Hotel property:owned_by ?n . ?n rdf:type ontology:dwelling } } . FILTER ( ?m = ?b ) }
[]
government agency dwelling
Q18199017 Q1515595 Q979477
SYSTEM
North Stafford Hotel, Hôtel Lutetia, Athenee Palace Hilton Bucharest
Q7719548 Q14875596 Q16161029 Q4936105 Q5103365 Q5764637 Q7135335 Q5148462 Q5595010 Q14691217 Q7127011 Q2967950 Q2131379 Q7714569 Q5475503 Q7731964 Q6666624 Q2969483 Q4753642 Q6772998 Q6044873 Q8025144 Q12317310 Q6965236 Q3322510 Q2633715 Q7773691 Q16994989 Q5911331 Q5189545 Q11350493 Q13529113 Q5903491 Q5911457 Q6411469 Q25529551 Q1536160 Q7756128 Q6774603 Q23685988 Q220141 Q5579283 Q4975947 Q6911961 Q1630911 Q22930253 Q7733115 Q27048574 Q7733117 Q2373311 Q2269257 Q6435059 Q5911186 Q21559812 Q21479774 Q4680814 Q217708 Q15271154 Q4409125 Q22976715 Q7163496 Q26960663 Q13529180 Q15816032 Q7757079 Q7676700 Q3226464 Q5974717 Q6632716 Q6359104 Q5764722 Q7848562 Q5454896 Q7588279 Q23646439 Q7756547 Q7553767 Q1221513 Q7488588 Q7832418 Q7494689 Q5528868 Q5475511 Q6109248 Q3066336 Q4069476 Q5133119 Q5528860 Q5528863 Q7736735 Q3773063 Q2141411 Q1515412 Q13529309 Q7336899 Q11140595 Q1943482 Q1631000 Q27033712 Q4947928 Q7741540 Q768935 Q5142150 Q18199017 Q550379 Q18157332 Q4822225 Q7336902 Q7753810 Q26242212 Q7601898 Q11330335 Q11330332 Q5911493 Q5594664 Q5168833 Q7367053 Q16917918 Q3700280 Q5764648 Q7241199 Q3446105 Q6549580 Q5025873 Q3030360 Q1395561 Q13529202 Q17374602 Q5911761 Q27825013 Q7028398 Q2383600 Q20388886 Q5594666 Q2667158 Q1139845 Q4261856 Q19307691 Q6359126 Q26237391 Q5093580 Q7137875 Q18112026 Q13046758 Q18636944 Q16707754 Q2375304 Q20872953 Q19361341 Q6738851 Q4969660 Q18392962 Q10432289 Q4637759 Q5211759 Q5475499 Q2748565 Q7760943 Q16843761 Q5911906 Q979133 Q14682365 Q5880409 Q1279896 Q7756546 Q1757744 Q2992084 Q22956395 Q24054070 Q6666631 Q25478116 Q5952897 Q5764716 Q5594626 Q5254591 Q5033663 Q7281352 Q5911177 Q3286125 Q3145689 Q2967922 Q23274 Q5594804 Q16890873 Q17444603 Q6792506 Q18393956 Q377792 Q3322506 Q6772968 Q1631096 Q17066064 Q4875722 Q26734729 Q1064758 Q7768971 Q633737 Q17444624 Q7216435 Q27104038 Q20046383 Q1481002 Q17111075 Q10363091 Q7593472 Q3481157 Q4969271 Q5911856 Q1975806 Q580531 Q18286846 Q5911786 Q6842354 Q7756548 Q15214163 Q4816085 Q5911300 Q7712174 Q5275586 Q7092584 Q2303685 Q1375672 Q3145464 Q6694162 Q5594659 Q4749032 Q5475487 Q26878946 Q7121094 Q5594657 Q2912208 Q16241516 Q6507351 Q6954237 Q1515595 Q3506669 Q7245128 Q7057353 Q4635474 Q11314630 Q27456363 Q19513101 Q5035589 Q746639 Q5911588 Q7090741 Q18207860 Q7774328 Q5094546 Q4040675 Q3857987 Q7488584 Q5911505 Q7374293 Q1630870 Q2021533 Q6387094 Q3030485 Q11869185 Q5764570 Q4765980 Q4975949 Q756690 Q7281345 Q2442059 Q24073463 Q12316149 Q5594620 Q20987102 Q3145578 Q7312432 Q5764519 Q5911415 Q24241038 Q5610641 Q18918653 Q7714783 Q5253151 Q279260 Q2570624 Q27826630 Q7760942 Q3135697 Q18534517 Q979477 Q2099561 Q6172690 Q3135691 Q24284732 Q5928735 Q21504226 Q16844927 Q2524370 Q5528857 Q25204442 Q7761492 Q18391931 Q22073967 Q13529263 Q1412478 Q14272885 Q13529166 Q7448800 Q15037522 Q3507213 Q14875207 Q14707458 Q25212617
(c(Q699405),P127,c(Q327333))
action approx
action find_tuple_counts
relation P127
type Q699405
type Q327333
action count
action filter_type
action find
entity Q2021533
relation P127
type Q699405
[ANSWERS] are owned by approximately the same number of government agencies as Beverly Hills Hotel
[{'concept': 'Q699405'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?m ) WHERE { ?f property:P127 ?o . ?f rdf:type ontology:Q699405 . ?o rdf:type ontology:Q327333 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q2021533 property:P127 ?n . ?n rdf:type ontology:Q699405 } } . FILTER ( ?m = ?b ) }
The Bowery House Hotel Beauséjour Nickelodeon Resorts by Marriott Boca Raton Resort Palace Hotel Hilton Liverpool City Centre Paramount Hotel Colonnade Hotel, London Grand Rapids Hotel Seelbach Hotel Versace Palace Château Montebello Beverly Hilton Hotel The Artisan Hotel Four Seasons Hotel Dublin The Empress Hotel Loews Madison Hotel Kilkea Castle Andaz West Hollywood Marriott West India Quay InterContinental Manila Wingate By Wyndham Hotel Phoenix Copenhagen Nara Hotel Monte-Carlo Bay Hotel & Resort Hotel Astoria The Water Club Conrad London St. James Hotel Carter, Manhattan Crowne Plaza Liverpool John Lennon Airport Hotel Lotte City Hotel Kinshicho Andaz Liverpool Street London Hotel Westin Lima Hotel & Convention Center Hotel Equatoria The Omni King Edward Hotel Hilton Garden Inn Dublin Custom House Grand Hotel, Vienna The Park, Chennai Martha Washington Inn Hilton Bristol Hotel Waldorf Astoria Berlin Golden Clouds Brown's Hotel Morgans Hotel Hilton Warsaw Hotel and Convention Centre Four Seasons Hotel Riyadh The Fairmont Orchid Waldorf Astoria Jeddah - Qasr Al Sharq The Fairmont Palm Hotel & Resort Swissôtel Nai Lert Park Hotel Hilton Moscow Leningradskaya Hotel Kowloon Shangri-La Hotel Aragon Hilton London Wembley Anantara Siam Bangkok Hotel Adare Manor Hôtel George-V Radha Regent Hotel, Chennai The Fullerton Hotel Singapore Hilton Dubai The Walk Penns Hall Hampton by Hilton Bournemouth Hilton London Hyde Park Reichshof Hamburg The Pierre Taj Boston Le Richemond ITC Grand Chola Hotel Hilton Eilat Queen of Sheba Kampala Hilton Hotel Hilton Singapore Tryp Bellver Fisherman's Cove St. Gregory Luxury Hotels & Suites DoubleTree by Hilton Hotel London - Kensington The Peninsula Chicago DoubleTree by Hilton Hotel Shanghai - Pudong Grand Hôtel Shangri-La Mactan Island Resort & Spa, Cebu The Trafalgar Hotel Sheraton Montevideo Gaylord Texan Resort Hotel & Convention Center Canary Riverside Plaza Hotel JW Marriott Grand Rapids New Yorker Hotel Hotel Arctic Clift Gaylord Palms Resort & Convention Center Gaylord Opryland Resort & Convention Center The Glasshouse Goldeneye Hilton Bandung Belmond Reid's Palace Hilton Cardiff Ritz-Carlton Kuala Lumpur Hyatt Regency Hong Kong, Sha Tin Hilton Molino Stucky Venice Mandarin Oriental, Bangkok The Morrison, a DoubleTree by Hilton Hotel Boston Harbor Hotel The Imperial Hotel Blackpool Langham Hotel, London Colcord Hotel North Stafford Hotel Conrad Dubai Rittenhouse Hotel Hilton Izmir Ritz-Carlton Jakarta The New York Palace Hotel Hilton Garden Inn Sunderland Starhotels Anderson Hilton Tokyo Bay Hilton Odawara Resort & Spa Hotel Fort Canning Grand Hyatt Washington Copperhill Mountain Lodge Rosa Grand Sheraton Vancouver Balmoral Hotel Hilton London Metropole President-Hotel Royalton Hotel Limketkai Hotel and Resort Camelback Inn Aulani Hotel Bellevue Palace Malmaison Hotel, Liverpool Regent Taipei Gran Hotel Montesol Ibiza, Curio Collection by Hilton Hilton Frankfurt City Centre Nickelodeon Suites Resort Orlando Hôtel Hermitage Monte-Carlo Swissôtel Makkah Grand Hyatt Taipei Hilton Orlando Lake Buena Vista The Empress Fontainebleau Resorts Hilton Garden Inn London Heathrow Airport Kampala Speke Hotel Conrad Tokyo Chester Grosvenor and Spa Park Lane Hotel DoubleTree by Hilton London-Chelsea Clarence Hotel Grand Hôtel Cannes Norfolk Hotel, Brighton Plaza Athénée Hilton Southampton Hotel New Netherland Makati Shangri-La, Manila British Colonial Hilton Nassau Staybridge Suites Abu Dhabi Yas Island Bolagshotellet 42 The Calls Dalvay-by-the-Sea Four Seasons Hotel Chicago Claridge's The Ritz-Carlton, Hong Kong Hilton Diagonal Mar Barcelona Hotel Roanoke Arizona Biltmore Hotel Hotel Arcata Holiday Inn & Suites Makati Hôtel de Paris Monte-Carlo The Peninsula Beverly Hills The Peninsula Hong Kong Hilton Paris Opera Laugesens Have Hilton Cambridge City Centre Loews Vanderbilt Hotel Hotet Hilton Budapest Hyatt Regency Indianapolis Hilton Sharm Waterfalls Resort Grand Hotel Delta Chelsea Le Méridien Indianapolis Hotel Radisson Montevideo Victoria Plaza Hotel Hotel Andaluz Manoir Richelieu Trianon Palace Versailles, A Waldorf Astoria Hotel Chateau Lake Louise Castille Paris Grand Metropole Hotel Edsa Shangri-La, Manila Hilton Frankfurt Airport Mauna Kea Beach Hotel The Westin Georgetown, Washington, D.C. Casapueblo Monte-Carlo Beach Marriott's Grande Vista Hotel del Coronado Ramada Plaza JFK Hotel Beach Hotel Conrad Istanbul Bosphorus Mandarin Oriental The Three Crowns Hotel Hotel Ukrayina Hilton Garden Inn Frankfurt Airport Hilton Tel Aviv Hampton by Hilton Krakow Hilton Bonn The Ritz London Hotel Strawberry Hill The Ritz-Carlton Millenia Singapore St James's Hotel and Club Shades of Green Britannia Adelphi Hotel Hotel Ponce Intercontinental Mardan Palace Sheraton Kansas City Hotel at Crown Center Waldorf Astoria Amsterdam Hotel Newfoundland Midland Hotel, Bradford The Peninsula Bangkok Divan Istanbul Atlanta Hotel Hotel Bristol The Academy Digby Pines Resort One Devonshire Gardens Oberoi Trident King David Hotel Crowne Plaza Belgrade Lowry Hotel Grand Hyatt New York Amway Grand Plaza Hotel Four Seasons Hotel, Washington, D.C. Hilton Sukhumvit Bangkok PUNTACANA Resort and Club Grand Hyatt Hong Kong David Citadel Hotel China World Hotel, Beijing Le Méridien Cyberport Hotel NH Gran Hotel Provincial Hôtel Lutetia Swissôtel Nankai Osaka Principe di Savoia North Western Hotel, Morecambe 350 West Mart Center Celestine Hotel Hilton Garden Inn Gurgaon Baani Square Hilton Manchester Deansgate Capital Hilton Savoy Hotel Hotel ICON Kimpton Tideline Ocean Resort & Spa Crowne Plaza Abu Dhabi Yas Island The Westin New York Grand Central Hotel Chewton Glen Hilton Prague Millennium Biltmore Hotel Shangri-La Hotel, Tokyo Hotel Fremantle Royal Horseguards Hotel Hotel Dajti Beverly Hills Hotel Kempinski Hotel N'Djamena Disney Vacation Club Hilton Helsinki Kalastajatorppa Hilton Glasgow Ankara Palas Brown's Hotel Atlantis, The Palm Radisson Blu Daugava Hotel Queen Elizabeth Hotel Hilton Sorrento Palace Hotel Marselis Grand Hotel Four Seasons Hotel Prague Hotel Macdonald Renaissance Malmö Hotel Hilton Chennai Hilton Podgorica Crna Gora DoubleTree by Hilton Cambridge City Centre Grosvenor House Hotel Hilton Athens The Athenaeum Hotel Delano Hotel Hotel Sacher Radisson Royal Hotel DoubleTree by Hilton Hotel Cairns The Ritz-Carlton, Georgetown Hilton Hawaiian Village Hilton London Syon Park Athenee Palace Hilton Bucharest Hilton Chicago Jeddah Hilton Hilton Kuala Lumpur Burlington Hotel Hudson Hotel Hilton Birmingham Metropole Boscolo Exedra Roma Carlton Cannes Gaylord National Resort & Convention Center Hilton Zurich Airport The Roosevelt Hotel Embassy Suites Washington, D.C. Hilton Bournemouth Mannings Heath Golf Club The Waldorf Hilton, London Spa Hotel Eden (Oulu) Threadneedles Hotel Selsdon Park Hotel The Thief (hotel) Hotel InterContinental Prague InterContinental Toronto Centre The Standard, High Line Carlton Hotel
North Stafford Hotel, Hôtel Lutetia and Athenee Palace Hilton Bucharest are owned by approximately the same number of government agencies as Beverly Hills Hotel
North Stafford Hotel Hôtel Lutetia Athenee Palace Hilton Bucharest
action approx
action find_tuple_counts
relation owned by
type dwelling
type government agency
action count
action filter_type
action find
entity Beverly Hills Hotel
relation owned by
type dwelling
[{'concept': 'dwelling'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?m ) WHERE { ?f property:owned_by ?o . ?f rdf:type ontology:dwelling . ?o rdf:type ontology:government_agency } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Beverly_Hills_Hotel property:owned_by ?n . ?n rdf:type ontology:dwelling } } . FILTER ( ?m = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q6666624
P127
Q327333 Q699405
USER
And how about Loews Madison Hotel?
(c(Q699405),P127,c(Q327333))
action approx
action find_tuple_counts
relation P127
type Q699405
type Q327333
action count
action filter_type
action find
entity Q6666624
relation P127
type Q699405
[{'concept': 'Q699405'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?l ) WHERE { ?i rdf:type ontology:Q699405 . ?g rdf:type ontology:Q327333 . ?i property:P127 ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q6666624 property:P127 ?k . ?k rdf:type ontology:Q699405 } } . FILTER ( ?l = ?v ) }
Loews Madison Hotel
action approx
action find_tuple_counts
relation owned by
type dwelling
type government agency
action count
action filter_type
action find
entity Loews Madison Hotel
relation owned by
type dwelling
[{'concept': 'dwelling'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?l ) WHERE { ?i rdf:type ontology:dwelling . ?g rdf:type ontology:government_agency . ?i property:owned_by ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Loews_Madison_Hotel property:owned_by ?k . ?k rdf:type ontology:dwelling } } . FILTER ( ?l = ?v ) }
[]
government agency dwelling
Q18199017 Q1515595 Q979477
SYSTEM
North Stafford Hotel, Hôtel Lutetia, Athenee Palace Hilton Bucharest
Q7719548 Q14875596 Q16161029 Q4936105 Q5103365 Q5764637 Q7135335 Q5148462 Q5595010 Q14691217 Q7127011 Q2967950 Q2131379 Q7714569 Q5475503 Q7731964 Q6666624 Q2969483 Q4753642 Q6772998 Q6044873 Q8025144 Q12317310 Q6965236 Q3322510 Q2633715 Q7773691 Q16994989 Q5911331 Q5189545 Q11350493 Q13529113 Q5903491 Q5911457 Q6411469 Q25529551 Q1536160 Q7756128 Q6774603 Q23685988 Q220141 Q5579283 Q4975947 Q6911961 Q1630911 Q22930253 Q7733115 Q27048574 Q7733117 Q2373311 Q2269257 Q6435059 Q5911186 Q21559812 Q21479774 Q4680814 Q217708 Q15271154 Q4409125 Q22976715 Q7163496 Q26960663 Q13529180 Q15816032 Q7757079 Q7676700 Q3226464 Q5974717 Q6632716 Q6359104 Q5764722 Q7848562 Q5454896 Q7588279 Q23646439 Q7756547 Q7553767 Q1221513 Q7488588 Q7832418 Q7494689 Q5528868 Q5475511 Q6109248 Q3066336 Q4069476 Q5133119 Q5528860 Q5528863 Q7736735 Q3773063 Q2141411 Q1515412 Q13529309 Q7336899 Q11140595 Q1943482 Q1631000 Q27033712 Q4947928 Q7741540 Q768935 Q5142150 Q18199017 Q550379 Q18157332 Q4822225 Q7336902 Q7753810 Q26242212 Q7601898 Q11330335 Q11330332 Q5911493 Q5594664 Q5168833 Q7367053 Q16917918 Q3700280 Q5764648 Q7241199 Q3446105 Q6549580 Q5025873 Q3030360 Q1395561 Q13529202 Q17374602 Q5911761 Q27825013 Q7028398 Q2383600 Q20388886 Q5594666 Q2667158 Q1139845 Q4261856 Q19307691 Q6359126 Q26237391 Q5093580 Q7137875 Q18112026 Q13046758 Q18636944 Q16707754 Q2375304 Q20872953 Q19361341 Q6738851 Q4969660 Q18392962 Q10432289 Q4637759 Q5211759 Q5475499 Q2748565 Q7760943 Q16843761 Q5911906 Q979133 Q14682365 Q5880409 Q1279896 Q7756546 Q1757744 Q2992084 Q22956395 Q24054070 Q6666631 Q25478116 Q5952897 Q5764716 Q5594626 Q5254591 Q5033663 Q7281352 Q5911177 Q3286125 Q3145689 Q2967922 Q23274 Q5594804 Q16890873 Q17444603 Q6792506 Q18393956 Q377792 Q3322506 Q6772968 Q1631096 Q17066064 Q4875722 Q26734729 Q1064758 Q7768971 Q633737 Q17444624 Q7216435 Q27104038 Q20046383 Q1481002 Q17111075 Q10363091 Q7593472 Q3481157 Q4969271 Q5911856 Q1975806 Q580531 Q18286846 Q5911786 Q6842354 Q7756548 Q15214163 Q4816085 Q5911300 Q7712174 Q5275586 Q7092584 Q2303685 Q1375672 Q3145464 Q6694162 Q5594659 Q4749032 Q5475487 Q26878946 Q7121094 Q5594657 Q2912208 Q16241516 Q6507351 Q6954237 Q1515595 Q3506669 Q7245128 Q7057353 Q4635474 Q11314630 Q27456363 Q19513101 Q5035589 Q746639 Q5911588 Q7090741 Q18207860 Q7774328 Q5094546 Q4040675 Q3857987 Q7488584 Q5911505 Q7374293 Q1630870 Q2021533 Q6387094 Q3030485 Q11869185 Q5764570 Q4765980 Q4975949 Q756690 Q7281345 Q2442059 Q24073463 Q12316149 Q5594620 Q20987102 Q3145578 Q7312432 Q5764519 Q5911415 Q24241038 Q5610641 Q18918653 Q7714783 Q5253151 Q279260 Q2570624 Q27826630 Q7760942 Q3135697 Q18534517 Q979477 Q2099561 Q6172690 Q3135691 Q24284732 Q5928735 Q21504226 Q16844927 Q2524370 Q5528857 Q25204442 Q7761492 Q18391931 Q22073967 Q13529263 Q1412478 Q14272885 Q13529166 Q7448800 Q15037522 Q3507213 Q14875207 Q14707458 Q25212617
(c(Q699405),P127,c(Q327333))
action approx
action find_tuple_counts
relation P127
type Q699405
type Q327333
action count
action filter_type
action find
entity Q6666624
relation P127
type Q699405
[ANSWERS]
[{'concept': 'Q699405'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?l ) WHERE { ?i rdf:type ontology:Q699405 . ?g rdf:type ontology:Q327333 . ?i property:P127 ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q6666624 property:P127 ?k . ?k rdf:type ontology:Q699405 } } . FILTER ( ?l = ?v ) }
The Bowery House Hotel Beauséjour Nickelodeon Resorts by Marriott Boca Raton Resort Palace Hotel Hilton Liverpool City Centre Paramount Hotel Colonnade Hotel, London Grand Rapids Hotel Seelbach Hotel Versace Palace Château Montebello Beverly Hilton Hotel The Artisan Hotel Four Seasons Hotel Dublin The Empress Hotel Loews Madison Hotel Kilkea Castle Andaz West Hollywood Marriott West India Quay InterContinental Manila Wingate By Wyndham Hotel Phoenix Copenhagen Nara Hotel Monte-Carlo Bay Hotel & Resort Hotel Astoria The Water Club Conrad London St. James Hotel Carter, Manhattan Crowne Plaza Liverpool John Lennon Airport Hotel Lotte City Hotel Kinshicho Andaz Liverpool Street London Hotel Westin Lima Hotel & Convention Center Hotel Equatoria The Omni King Edward Hotel Hilton Garden Inn Dublin Custom House Grand Hotel, Vienna The Park, Chennai Martha Washington Inn Hilton Bristol Hotel Waldorf Astoria Berlin Golden Clouds Brown's Hotel Morgans Hotel Hilton Warsaw Hotel and Convention Centre Four Seasons Hotel Riyadh The Fairmont Orchid Waldorf Astoria Jeddah - Qasr Al Sharq The Fairmont Palm Hotel & Resort Swissôtel Nai Lert Park Hotel Hilton Moscow Leningradskaya Hotel Kowloon Shangri-La Hotel Aragon Hilton London Wembley Anantara Siam Bangkok Hotel Adare Manor Hôtel George-V Radha Regent Hotel, Chennai The Fullerton Hotel Singapore Hilton Dubai The Walk Penns Hall Hampton by Hilton Bournemouth Hilton London Hyde Park Reichshof Hamburg The Pierre Taj Boston Le Richemond ITC Grand Chola Hotel Hilton Eilat Queen of Sheba Kampala Hilton Hotel Hilton Singapore Tryp Bellver Fisherman's Cove St. Gregory Luxury Hotels & Suites DoubleTree by Hilton Hotel London - Kensington The Peninsula Chicago DoubleTree by Hilton Hotel Shanghai - Pudong Grand Hôtel Shangri-La Mactan Island Resort & Spa, Cebu The Trafalgar Hotel Sheraton Montevideo Gaylord Texan Resort Hotel & Convention Center Canary Riverside Plaza Hotel JW Marriott Grand Rapids New Yorker Hotel Hotel Arctic Clift Gaylord Palms Resort & Convention Center Gaylord Opryland Resort & Convention Center The Glasshouse Goldeneye Hilton Bandung Belmond Reid's Palace Hilton Cardiff Ritz-Carlton Kuala Lumpur Hyatt Regency Hong Kong, Sha Tin Hilton Molino Stucky Venice Mandarin Oriental, Bangkok The Morrison, a DoubleTree by Hilton Hotel Boston Harbor Hotel The Imperial Hotel Blackpool Langham Hotel, London Colcord Hotel North Stafford Hotel Conrad Dubai Rittenhouse Hotel Hilton Izmir Ritz-Carlton Jakarta The New York Palace Hotel Hilton Garden Inn Sunderland Starhotels Anderson Hilton Tokyo Bay Hilton Odawara Resort & Spa Hotel Fort Canning Grand Hyatt Washington Copperhill Mountain Lodge Rosa Grand Sheraton Vancouver Balmoral Hotel Hilton London Metropole President-Hotel Royalton Hotel Limketkai Hotel and Resort Camelback Inn Aulani Hotel Bellevue Palace Malmaison Hotel, Liverpool Regent Taipei Gran Hotel Montesol Ibiza, Curio Collection by Hilton Hilton Frankfurt City Centre Nickelodeon Suites Resort Orlando Hôtel Hermitage Monte-Carlo Swissôtel Makkah Grand Hyatt Taipei Hilton Orlando Lake Buena Vista The Empress Fontainebleau Resorts Hilton Garden Inn London Heathrow Airport Kampala Speke Hotel Conrad Tokyo Chester Grosvenor and Spa Park Lane Hotel DoubleTree by Hilton London-Chelsea Clarence Hotel Grand Hôtel Cannes Norfolk Hotel, Brighton Plaza Athénée Hilton Southampton Hotel New Netherland Makati Shangri-La, Manila British Colonial Hilton Nassau Staybridge Suites Abu Dhabi Yas Island Bolagshotellet 42 The Calls Dalvay-by-the-Sea Four Seasons Hotel Chicago Claridge's The Ritz-Carlton, Hong Kong Hilton Diagonal Mar Barcelona Hotel Roanoke Arizona Biltmore Hotel Hotel Arcata Holiday Inn & Suites Makati Hôtel de Paris Monte-Carlo The Peninsula Beverly Hills The Peninsula Hong Kong Hilton Paris Opera Laugesens Have Hilton Cambridge City Centre Loews Vanderbilt Hotel Hotet Hilton Budapest Hyatt Regency Indianapolis Hilton Sharm Waterfalls Resort Grand Hotel Delta Chelsea Le Méridien Indianapolis Hotel Radisson Montevideo Victoria Plaza Hotel Hotel Andaluz Manoir Richelieu Trianon Palace Versailles, A Waldorf Astoria Hotel Chateau Lake Louise Castille Paris Grand Metropole Hotel Edsa Shangri-La, Manila Hilton Frankfurt Airport Mauna Kea Beach Hotel The Westin Georgetown, Washington, D.C. Casapueblo Monte-Carlo Beach Marriott's Grande Vista Hotel del Coronado Ramada Plaza JFK Hotel Beach Hotel Conrad Istanbul Bosphorus Mandarin Oriental The Three Crowns Hotel Hotel Ukrayina Hilton Garden Inn Frankfurt Airport Hilton Tel Aviv Hampton by Hilton Krakow Hilton Bonn The Ritz London Hotel Strawberry Hill The Ritz-Carlton Millenia Singapore St James's Hotel and Club Shades of Green Britannia Adelphi Hotel Hotel Ponce Intercontinental Mardan Palace Sheraton Kansas City Hotel at Crown Center Waldorf Astoria Amsterdam Hotel Newfoundland Midland Hotel, Bradford The Peninsula Bangkok Divan Istanbul Atlanta Hotel Hotel Bristol The Academy Digby Pines Resort One Devonshire Gardens Oberoi Trident King David Hotel Crowne Plaza Belgrade Lowry Hotel Grand Hyatt New York Amway Grand Plaza Hotel Four Seasons Hotel, Washington, D.C. Hilton Sukhumvit Bangkok PUNTACANA Resort and Club Grand Hyatt Hong Kong David Citadel Hotel China World Hotel, Beijing Le Méridien Cyberport Hotel NH Gran Hotel Provincial Hôtel Lutetia Swissôtel Nankai Osaka Principe di Savoia North Western Hotel, Morecambe 350 West Mart Center Celestine Hotel Hilton Garden Inn Gurgaon Baani Square Hilton Manchester Deansgate Capital Hilton Savoy Hotel Hotel ICON Kimpton Tideline Ocean Resort & Spa Crowne Plaza Abu Dhabi Yas Island The Westin New York Grand Central Hotel Chewton Glen Hilton Prague Millennium Biltmore Hotel Shangri-La Hotel, Tokyo Hotel Fremantle Royal Horseguards Hotel Hotel Dajti Beverly Hills Hotel Kempinski Hotel N'Djamena Disney Vacation Club Hilton Helsinki Kalastajatorppa Hilton Glasgow Ankara Palas Brown's Hotel Atlantis, The Palm Radisson Blu Daugava Hotel Queen Elizabeth Hotel Hilton Sorrento Palace Hotel Marselis Grand Hotel Four Seasons Hotel Prague Hotel Macdonald Renaissance Malmö Hotel Hilton Chennai Hilton Podgorica Crna Gora DoubleTree by Hilton Cambridge City Centre Grosvenor House Hotel Hilton Athens The Athenaeum Hotel Delano Hotel Hotel Sacher Radisson Royal Hotel DoubleTree by Hilton Hotel Cairns The Ritz-Carlton, Georgetown Hilton Hawaiian Village Hilton London Syon Park Athenee Palace Hilton Bucharest Hilton Chicago Jeddah Hilton Hilton Kuala Lumpur Burlington Hotel Hudson Hotel Hilton Birmingham Metropole Boscolo Exedra Roma Carlton Cannes Gaylord National Resort & Convention Center Hilton Zurich Airport The Roosevelt Hotel Embassy Suites Washington, D.C. Hilton Bournemouth Mannings Heath Golf Club The Waldorf Hilton, London Spa Hotel Eden (Oulu) Threadneedles Hotel Selsdon Park Hotel The Thief (hotel) Hotel InterContinental Prague InterContinental Toronto Centre The Standard, High Line Carlton Hotel
North Stafford Hotel Hôtel Lutetia Athenee Palace Hilton Bucharest
action approx
action find_tuple_counts
relation owned by
type dwelling
type government agency
action count
action filter_type
action find
entity Loews Madison Hotel
relation owned by
type dwelling
[{'concept': 'dwelling'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?l ) WHERE { ?i rdf:type ontology:dwelling . ?g rdf:type ontology:government_agency . ?i property:owned_by ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Loews_Madison_Hotel property:owned_by ?k . ?k rdf:type ontology:dwelling } } . FILTER ( ?l = ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have around 1 people and holidays as their patron saint ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?r WHERE { { ?r property:P417 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q1445650 } UNION { ?r property:P417 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?f = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?r WHERE { { ?r property:patron_saint ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:holiday } UNION { ?r property:patron_saint ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?f = 1 ) }
[]
common name holiday administrative territorial entity
SYSTEM
95
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?r WHERE { { ?r property:P417 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q1445650 } UNION { ?r property:P417 ?b . ?r rdf:type ontology:Q56061 . ?b rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?f = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
95
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?r WHERE { { ?r property:patron_saint ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:holiday } UNION { ?r property:patron_saint ?b . ?r rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?f = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q979477
P84
Q502895
USER
How many people are the designers of Athenee Palace Hilton Bucharest ?
(Q979477,P84,c(Q502895))
action count
action filter_type
action find
entity Q979477
relation P84
type Q502895
['Q979477', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q979477 property:P84 ?z . ?z rdf:type ontology:Q502895 }
Athenee Palace Hilton Bucharest
action count
action filter_type
action find
entity Athenee Palace Hilton Bucharest
relation architect
type common name
['Athenee Palace Hilton Bucharest', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Athenee_Palace_Hilton_Bucharest property:architect ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3780294 Q20870685
(Q979477,P84,c(Q502895))
action count
action filter_type
action find
entity Q979477
relation P84
type Q502895
[ANSWER]
['Q979477', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q979477 property:P84 ?z . ?z rdf:type ontology:Q502895 }
Duiliu Marcu Théophile Bradeau
2
action count
action filter_type
action find
entity Athenee Palace Hilton Bucharest
relation architect
type common name
['Athenee Palace Hilton Bucharest', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Athenee_Palace_Hilton_Bucharest property:architect ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1049601
P84
Q502895
USER
And how about Windsor Park?
(Q1049601,P84,c(Q502895))
action count
action filter_type
action find
entity Q1049601
relation P84
type Q502895
['Q1049601', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Q1049601 property:P84 ?k . ?k rdf:type ontology:Q502895 }
Windsor Park
action count
action filter_type
action find
entity Windsor Park
relation architect
type common name
['Windsor Park', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Windsor_Park property:architect ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q344137
(Q1049601,P84,c(Q502895))
action count
action filter_type
action find
entity Q1049601
relation P84
type Q502895
[ANSWER]
['Q1049601', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Q1049601 property:P84 ?k . ?k rdf:type ontology:Q502895 }
Archibald Leitch
1
action count
action filter_type
action find
entity Windsor Park
relation architect
type common name
['Windsor Park', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Windsor_Park property:architect ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q928431
Q502895
USER
And also tell me about St. Jan Berchmans Church, Brussels?
(Q928431,P84,c(Q502895))
action count
action filter_type
action find
entity Q928431
relation P84
type Q502895
['Q928431', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q928431 property:P84 ?g . ?g rdf:type ontology:Q502895 }
St. Jan Berchmans Church, Brussels
action count
action filter_type
action find
entity St. Jan Berchmans Church, Brussels
relation architect
type common name
['St. Jan Berchmans Church, Brussels', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:St._Jan_Berchmans_Church,_Brussels property:architect ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q928431,P84,c(Q502895))
action count
action filter_type
action find
entity Q928431
relation P84
type Q502895
[ANSWER]
['Q928431', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q928431 property:P84 ?g . ?g rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity St. Jan Berchmans Church, Brussels
relation architect
type common name
['St. Jan Berchmans Church, Brussels', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:St._Jan_Berchmans_Church,_Brussels property:architect ?g . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2135814
P669
Q83620 Q79007 Q699405
USER
How many dwellings are located on around the same number of thoroughfares or streets as Hilton Amsterdam ?
(c(Q699405),P669,c(Q83620)|c(Q79007))
action count
action approx
action union
action find_tuple_counts
relation P669
type Q699405
type Q83620
action find_tuple_counts
relation P669
type Q699405
type Q79007
action count
action filter_multi_types
action find
entity Q2135814
relation P669
type Q83620
type Q79007
[{'concept': 'Q699405'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q79007'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?p . VALUES ( ?p ) { ( ontology:Q83620 ) ( ontology:Q79007 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q2135814 property:P669 ?d . { { ?d rdf:type ontology:Q83620 } UNION { ?d rdf:type ontology:Q79007 } } } } . FILTER ( ?i = ?h ) }
Hilton Amsterdam
action count
action approx
action union
action find_tuple_counts
relation located on street
type dwelling
type thoroughfare
action find_tuple_counts
relation located on street
type dwelling
type street
action count
action filter_multi_types
action find
entity Hilton Amsterdam
relation located on street
type thoroughfare
type street
[{'concept': 'dwelling'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'street'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?p . VALUES ( ?p ) { ( ontology:thoroughfare ) ( ontology:street ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Hilton_Amsterdam property:located_on_street ?d . { { ?d rdf:type ontology:thoroughfare } UNION { ?d rdf:type ontology:street } } } } . FILTER ( ?i = ?h ) }
[]
thoroughfare street dwelling
SYSTEM
37
Q2463682 Q6737700 Q7553767 Q15816037 Q21285943 Q26398019 Q15858735 Q15816029 Q692578 Q1529986 Q2248257 Q2524370 Q1959679 Q2078885 Q2089212 Q2245503 Q1630988 Q2482159 Q12324426 Q20084478 Q2135814 Q20987102 Q3518472 Q743147 Q16697401 Q3507213 Q3361055 Q4841991 Q1444161 Q21469485 Q21856465 Q23812 Q15225847 Q18395000 Q5911186 Q1535365 Q18638615
(c(Q699405),P669,c(Q83620)|c(Q79007))
action count
action approx
action union
action find_tuple_counts
relation P669
type Q699405
type Q83620
action find_tuple_counts
relation P669
type Q699405
type Q79007
action count
action filter_multi_types
action find
entity Q2135814
relation P669
type Q83620
type Q79007
[ANSWER]
[{'concept': 'Q699405'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q79007'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?p . VALUES ( ?p ) { ( ontology:Q83620 ) ( ontology:Q79007 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q2135814 property:P669 ?d . { { ?d rdf:type ontology:Q83620 } UNION { ?d rdf:type ontology:Q79007 } } } } . FILTER ( ?i = ?h ) }
Hotel de l'Europe Majestic Hotel DoubleTree by Hilton Hotel Shanghai - Pudong Hotel de Brandebourg Hotel Continent Royal Clarence Hotel Hotel d’Angleterre König von Portugal Dolder Grand Rheinhotel Loreley Apollo Hotel Amsterdam Carlton Cannes Hotel Des Indes Scheepvaarthuis Château Laurier Schlüterstraße 45 Hotel New York Hotel Die Port van Cleve Lihmes Gård Royal Hotel Hilton Amsterdam Four Seasons Hotel Prague Terminus Est Hotel Negresco Sibirskoe Podvorye Hotel InterContinental Prague Palais de la Méditerranée Baglioni Hotel Grand Hotel Edifício Prometheus Hotel Ansgar Park Hotel Hotel Majestic William Stone Building Hotel Aragon Kurhaus of Scheveningen Torres Vermelhas (Maputo)
37
action count
action approx
action union
action find_tuple_counts
relation located on street
type dwelling
type thoroughfare
action find_tuple_counts
relation located on street
type dwelling
type street
action count
action filter_multi_types
action find
entity Hilton Amsterdam
relation located on street
type thoroughfare
type street
[{'concept': 'dwelling'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'street'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?c rdf:type ?p . VALUES ( ?p ) { ( ontology:thoroughfare ) ( ontology:street ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Hilton_Amsterdam property:located_on_street ?d . { { ?d rdf:type ontology:thoroughfare } UNION { ?d rdf:type ontology:street } } } } . FILTER ( ?i = ?h ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4888511 Q6666624
P17
Q15617994
USER
Which administrative territories are Loews Madison Hotel and Benjamin Elijah Mays High School a part of ?
AND((Q6666624,P17,c(Q15617994)), (Q4888511,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6666624
relation P17
action find
entity Q4888511
relation P17
type Q15617994
{'AND': [['Q6666624', 'P17', {'concept': 'Q15617994'}], ['Q4888511', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q4888511 property:P17 ?h . resource:Q6666624 property:P17 ?h }
Benjamin Elijah Mays High School Loews Madison Hotel
action filter_type
action intersection
action find
entity Loews Madison Hotel
relation country
action find
entity Benjamin Elijah Mays High School
relation country
type designation for an administrative territorial entity
{'AND': [['Loews Madison Hotel', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Benjamin Elijah Mays High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benjamin_Elijah_Mays_High_School property:country ?h . resource:Loews_Madison_Hotel property:country ?h }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q6666624,P17,c(Q15617994)), (Q4888511,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6666624
relation P17
action find
entity Q4888511
relation P17
type Q15617994
[ANSWER] is Loews Madison Hotel and Benjamin Elijah Mays High School a part of
{'AND': [['Q6666624', 'P17', {'concept': 'Q15617994'}], ['Q4888511', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q4888511 property:P17 ?h . resource:Q6666624 property:P17 ?h }
United States of America
United States of America is Loews Madison Hotel and Benjamin Elijah Mays High School a part of
United States of America
action filter_type
action intersection
action find
entity Loews Madison Hotel
relation country
action find
entity Benjamin Elijah Mays High School
relation country
type designation for an administrative territorial entity
{'AND': [['Loews Madison Hotel', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Benjamin Elijah Mays High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benjamin_Elijah_Mays_High_School property:country ?h . resource:Loews_Madison_Hotel property:country ?h }
[]