Simple Question (Direct)
Simple Question
Q377985
P40
Q502895
USER
Who is a child of Joseph Barcroft ?
(Q377985,P40,c(Q502895))
action filter_type
action find
entity Q377985
relation P40
type Q502895
['Q377985', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q377985 property:P40 ?l }
Joseph Barcroft
action filter_type
action find
entity Joseph Barcroft
relation child
type common name
['Joseph Barcroft', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Joseph_Barcroft property:child ?l }
[]
common name
Q18528294
SYSTEM
Henry Barcroft
Q18528294
(Q377985,P40,c(Q502895))
action filter_type
action find
entity Q377985
relation P40
type Q502895
A child of Joseph Barcroft is called [ANSWER]
['Q377985', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q377985 property:P40 ?l }
Henry Barcroft
A child of Joseph Barcroft is called Henry Barcroft
Henry Barcroft
action filter_type
action find
entity Joseph Barcroft
relation child
type common name
['Joseph Barcroft', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Joseph_Barcroft property:child ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q377985
P1346
Q618779
USER
Where was Joseph Barcroft decalred as a champion ?
(c(Q618779),P1346,Q377985)
action filter_type
action find_reverse
entity Q377985
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q377985']
SELECT DISTINCT ?h WHERE { ?h property:P1346 resource:Q377985 . ?h rdf:type ontology:Q618779 }
Joseph Barcroft
action filter_type
action find_reverse
entity Joseph Barcroft
relation winner
type award
[{'concept': 'award'}, 'winner', 'Joseph Barcroft']
SELECT DISTINCT ?h WHERE { ?h property:winner resource:Joseph_Barcroft . ?h rdf:type ontology:award }
[]
award
Q28003
SYSTEM
Copley Medal
Q28003
(c(Q618779),P1346,Q377985)
action filter_type
action find_reverse
entity Q377985
relation P1346
type Q618779
Joseph Barcroft was decalred as a champion [ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q377985']
SELECT DISTINCT ?h WHERE { ?h property:P1346 resource:Q377985 . ?h rdf:type ontology:Q618779 }
Copley Medal
Joseph Barcroft was decalred as a champion Copley Medal
Copley Medal
action filter_type
action find_reverse
entity Joseph Barcroft
relation winner
type award
[{'concept': 'award'}, 'winner', 'Joseph Barcroft']
SELECT DISTINCT ?h WHERE { ?h property:winner resource:Joseph_Barcroft . ?h rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q377985
P108
Q3918
USER
Who is the employer of Joseph Barcroft ?
(Q377985,P108,c(Q3918))
action filter_type
action find
entity Q377985
relation P108
type Q3918
['Q377985', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q377985 property:P108 ?k . ?k rdf:type ontology:Q3918 }
Joseph Barcroft
action filter_type
action find
entity Joseph Barcroft
relation employer
type university
['Joseph Barcroft', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Joseph_Barcroft property:employer ?k . ?k rdf:type ontology:university }
[]
university
Q35794
SYSTEM
University of Cambridge
Q35794
(Q377985,P108,c(Q3918))
action filter_type
action find
entity Q377985
relation P108
type Q3918
The employer of Joseph Barcroft is the [ANSWER]
['Q377985', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q377985 property:P108 ?k . ?k rdf:type ontology:Q3918 }
University of Cambridge
The employer of Joseph Barcroft is the University of Cambridge
University of Cambridge
action filter_type
action find
entity Joseph Barcroft
relation employer
type university
['Joseph Barcroft', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Joseph_Barcroft property:employer ?k . ?k rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35794
P1027
Q618779
USER
Which award is given by that university ?
(c(Q618779),P1027,Q35794)
action filter_type
action find_reverse
entity Q35794
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q35794']
SELECT DISTINCT ?j WHERE { ?j property:P1027 resource:Q35794 . ?j rdf:type ontology:Q618779 }
University of Cambridge
action filter_type
action find_reverse
entity University of Cambridge
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'University of Cambridge']
SELECT DISTINCT ?j WHERE { ?j property:conferred_by resource:University_of_Cambridge . ?j rdf:type ontology:award }
[]
award
Q4679816
SYSTEM
Adam Smith Prize
Q4679816
(c(Q618779),P1027,Q35794)
action filter_type
action find_reverse
entity Q35794
relation P1027
type Q618779
[ANSWER] is given by that university
[{'concept': 'Q618779'}, 'P1027', 'Q35794']
SELECT DISTINCT ?j WHERE { ?j property:P1027 resource:Q35794 . ?j rdf:type ontology:Q618779 }
Adam Smith Prize
Adam Smith Prize is given by that university
Adam Smith Prize
action filter_type
action find_reverse
entity University of Cambridge
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'University of Cambridge']
SELECT DISTINCT ?j WHERE { ?j property:conferred_by resource:University_of_Cambridge . ?j rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35794
P17
Q15617994
USER
Which administrative territory is University of Cambridge present in ?
(Q35794,P17,c(Q15617994))
action filter_type
action find
entity Q35794
relation P17
type Q15617994
['Q35794', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q35794 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
University of Cambridge
action filter_type
action find
entity University of Cambridge
relation country
type designation for an administrative territorial entity
['University of Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:University_of_Cambridge property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q35794,P17,c(Q15617994))
action filter_type
action find
entity Q35794
relation P17
type Q15617994
Which administrative territory is University of Cambridge present in
['Q35794', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q35794 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is University of Cambridge present in
United Kingdom
action filter_type
action find
entity University of Cambridge
relation country
type designation for an administrative territorial entity
['University of Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:University_of_Cambridge property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1207921
Q15617994
USER
And what about Naka-ku?
(Q1207921,P17,c(Q15617994))
action filter_type
action find
entity Q1207921
relation P17
type Q15617994
['Q1207921', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1207921 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Naka-ku
action filter_type
action find
entity Naka-ku
relation country
type designation for an administrative territorial entity
['Naka-ku', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Naka-ku property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1207921,P17,c(Q15617994))
action filter_type
action find
entity Q1207921
relation P17
type Q15617994
[ANSWER]
['Q1207921', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1207921 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Japan
Japan
action filter_type
action find
entity Naka-ku
relation country
type designation for an administrative territorial entity
['Naka-ku', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Naka-ku property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1313
Q895526
USER
Which authority organ is fulfilled by United Kingdom ?
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q895526 . resource:Q145 property:P1313 ?j }
United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:authority_organ . resource:United_Kingdom property:office_held_by_head_of_government ?j }
[]
authority organ
Q14211
SYSTEM
Prime Minister of the United Kingdom
Q14211
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
The [ANSWER] is fulfilled by United Kingdom
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q895526 . resource:Q145 property:P1313 ?j }
Prime Minister of the United Kingdom
The Prime Minister of the United Kingdom is fulfilled by United Kingdom
Prime Minister of the United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:authority_organ . resource:United_Kingdom property:office_held_by_head_of_government ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2873545
Q895526
USER
And how about Rurzyca, West Pomeranian Voivodeship?
(Q2873545,P1313,c(Q895526))
action filter_type
action find
entity Q2873545
relation P1313
type Q895526
['Q2873545', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?s WHERE { resource:Q2873545 property:P1313 ?s . ?s rdf:type ontology:Q895526 }
Rurzyca, West Pomeranian Voivodeship
action filter_type
action find
entity Rurzyca, West Pomeranian Voivodeship
relation office held by head of government
type authority organ
['Rurzyca, West Pomeranian Voivodeship', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?s WHERE { resource:Rurzyca,_West_Pomeranian_Voivodeship property:office_held_by_head_of_government ?s . ?s rdf:type ontology:authority_organ }
[]
authority organ
Q690928
SYSTEM
Schultheiß
Q690928
(Q2873545,P1313,c(Q895526))
action filter_type
action find
entity Q2873545
relation P1313
type Q895526
[ANSWER]
['Q2873545', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?s WHERE { resource:Q2873545 property:P1313 ?s . ?s rdf:type ontology:Q895526 }
Schultheiß
Schultheiß
action filter_type
action find
entity Rurzyca, West Pomeranian Voivodeship
relation office held by head of government
type authority organ
['Rurzyca, West Pomeranian Voivodeship', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?s WHERE { resource:Rurzyca,_West_Pomeranian_Voivodeship property:office_held_by_head_of_government ?s . ?s rdf:type ontology:authority_organ }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q69224
P159
Q13220204 Q895526
USER
Which administrative country subdivisions are the headquarters of around the same number of authority organs located as Herrliberg ?
(c(Q895526),P159,c(Q13220204))
action approx
action find_reverse_tuple_counts
relation P159
type Q13220204
type Q895526
action count
action filter_type
action find
entity Q69224
relation P159
type Q13220204
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:Q13220204 . resource:Q69224 property:P159 ?m } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P159 ?i . ?o rdf:type ontology:Q895526 . ?i rdf:type ontology:Q13220204 } GROUP BY ?i } }
Herrliberg
action approx
action find_reverse_tuple_counts
relation headquarters location
type second-level administrative country subdivision
type authority organ
action count
action filter_type
action find
entity Herrliberg
relation headquarters location
type second-level administrative country subdivision
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:second-level_administrative_country_subdivision . resource:Herrliberg property:headquarters_location ?m } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:headquarters_location ?i . ?o rdf:type ontology:authority_organ . ?i rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?i } }
[]
second-level administrative country subdivision authority organ
Q9899 Q1347872 Q9859
SYSTEM
Amsterdam, Oldambt, Oss
Q101341 Q67519 Q473316 Q68129 Q67125 Q107960 Q67120 Q67123 Q65826 Q64027 Q57919 Q57918 Q739449 Q57914 Q841299 Q258084 Q1440902 Q249715 Q65439 Q70248 Q69721 Q48542 Q69724 Q69726 Q69729 Q955459 Q13209 Q10016 Q160584 Q183029 Q337425 Q30599 Q65649 Q69152 Q64563 Q64567 Q206469 Q5707 Q475709 Q109483 Q67935 Q64694 Q65891 Q267015 Q488435 Q69981 Q1094095 Q65263 Q69383 Q69380 Q9767 Q499779 Q917326 Q4225 Q19316 Q9924 Q68269 Q9928 Q218259 Q68261 Q488157 Q1375859 Q11939 Q135970 Q7083 Q64186 Q18473 Q69503 Q64065 Q14565 Q9954 Q67760 Q69372 Q7903 Q5223 Q14580 Q63946 Q1321157 Q1525441 Q69300 Q25444 Q66384 Q43195 Q69433 Q57868 Q208012 Q1003757 Q36077 Q5420 Q81949 Q69208 Q65510 Q66283 Q9771 Q9774 Q9777 Q48750 Q171536 Q67872 Q69754 Q1025838 Q67849 Q843899 Q219595 Q64627 Q488779 Q66125 Q66537 Q450625 Q68220 Q68227 Q476330 Q68959 Q156743 Q65612 Q45744 Q484119 Q70517 Q108999 Q1473276 Q3941941 Q66403 Q90595 Q157144 Q1019611 Q69976 Q66334 Q488970 Q67203 Q211260 Q68256 Q156719 Q9858 Q9859 Q156711 Q73226 Q68258 Q68522 Q65164 Q69030 Q9913 Q791673 Q1663 Q113552 Q68244 Q4992787 Q104379 Q249906 Q69570 Q579984 Q14559 Q1013189 Q64156 Q9821 Q69329 Q66898 Q156760 Q308245 Q69716 Q58931 Q864802 Q67188 Q3799 Q189419 Q1532373 Q63905 Q64275 Q66473 Q926700 Q657461 Q48728 Q69148 Q69780 Q70655 Q64979 Q68956 Q917313 Q995152 Q68165 Q66984 Q81139 Q65273 Q9899 Q64614 Q70424 Q570969 Q157137 Q9799 Q33349 Q15833966 Q64727 Q7097 Q64058 Q158053 Q156724 Q1019658 Q43595 Q1019651 Q69364 Q131883 Q9949 Q63939 Q48696 Q67539 Q157795 Q285891 Q70042 Q1267640 Q66390 Q486717 Q483902 Q69836 Q66399 Q68063 Q66964 Q69216 Q581647 Q69401 Q4191 Q69227 Q69747 Q69745 Q69742 Q217802 Q215374 Q69654 Q69621 Q269667 Q108025 Q10039 Q395919 Q52261 Q111039 Q10035 Q64051 Q69974 Q65983 Q64224 Q998227 Q225521 Q65336 Q235190 Q48278 Q108988 Q503660 Q184454 Q66611 Q109005 Q65934 Q64099 Q1403340 Q21194 Q64665 Q64093 Q66593 Q648489 Q68240 Q68363 Q66814 Q68248 Q36136 Q3278215 Q9905 Q67100 Q64165 Q917535 Q67265 Q135959 Q57871 Q101918 Q63986 Q455464 Q489342 Q73065 Q68799 Q988413 Q67951 Q68097 Q70090 Q70093 Q10052 Q145871 Q64853 Q69822 Q503591 Q335135 Q70234 Q69675 Q2326 Q68849 Q48732 Q484008 Q69678 Q1447266 Q890194 Q1825 Q69774 Q10040 Q10044 Q109469 Q1975222 Q66839 Q108966 Q972 Q157055 Q36175 Q33280 Q2933 Q68205 Q66461 Q68266 Q69682 Q107135 Q691725 Q1008352 Q107351 Q109031 Q946497 Q493961 Q1347872 Q1256993 Q52298 Q69525 Q62266 Q64285 Q156732 Q72981 Q156739 Q734860 Q109042 Q69191 Q9872 Q9873 Q109048 Q9874 Q9875 Q110431 Q499485 Q63922 Q68111 Q1722 Q1640 Q1647 Q652130 Q145845 Q500223 Q69224 Q489374 Q7131 Q146456 Q2365 Q6749343 Q65037 Q69738 Q10001 Q10002 Q67894 Q108031 Q483969 Q27587 Q1019590 Q112675 Q64882 Q6535 Q69647 Q109494 Q246999 Q64087 Q303521 Q64082 Q66604 Q66191 Q66195 Q17834 Q9932 Q68277 Q48923 Q1686835 Q66697 Q113571 Q1773444 Q64171 Q66672 Q213246 Q216430 Q67270 Q984656 Q546634 Q64372 Q69512 Q64070 Q14570 Q69517 Q57860 Q67673 Q69062 Q90590 Q69245 Q485253 Q200667 Q2245 Q70332 Q67396 Q243766 Q56869 Q66633 Q68086 Q1000454 Q12407719 Q476008 Q68167 Q64512 Q68286 Q3617 Q2236 Q68395 Q52773 Q69768 Q69765 Q164098 Q10056 Q10053 Q157725 Q2088458 Q10050 Q4686 Q688539 Q107582 Q66254 Q66256 Q488762 Q69235 Q68230 Q65609 Q64205 Q66831 Q2340870 Q48844 Q69114 Q372110 Q1881 Q1019417 Q69690 Q771826 Q66733 Q488067 Q109021 Q67606 Q476603 Q65506 Q990385 Q493977 Q65858 Q10032 Q68305 Q68308 Q574558 Q69182 Q69020 Q68311
(c(Q895526),P159,c(Q13220204))
action approx
action find_reverse_tuple_counts
relation P159
type Q13220204
type Q895526
action count
action filter_type
action find
entity Q69224
relation P159
type Q13220204
[ANSWERS] are the headquarters of around the same number of authority organs located as Herrliberg
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:Q13220204 . resource:Q69224 property:P159 ?m } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P159 ?i . ?o rdf:type ontology:Q895526 . ?i rdf:type ontology:Q13220204 } GROUP BY ?i } }
Lillehammer Broc Phra Khanong Olten Appenzell District East Delhi Grüningen Steckborn Hüttwilen Nyon Arendal Vestby Krimpen aan den IJssel Sørum Matosinhos Grong Sopó Olaine Erlen Paudex La Tour-de-Peilz Stange Oberwil Langenthal Rapperswil-Jona Galatsi Nidau Oldenzaal Sievierodonetsk Sande Albergaria-a-Velha Municipality Pleiku Courtelary Thayngen Seon Buochs Nøtterøy Bjelovar Khlong Thom Kristiansund Selzach Dornach Marly Cầu Giấy Hvaler Melide Cailungo Oberriet Hinwil Bowil Gulpen-Wittem Verran Vila Franca de Xira Emmen Biên Hòa Haarlemmermeer Pfäffikon Heemstede Zoeterwoude Meilen Rissa Kaliro District Stein am Rhein Pilar Rothenburg Bad Zurzach Zuchwil Poschiavo Lancy Dierikon Purmerend Stabio Neuhausen am Rheinfall Casablanca Stryn Weggis Yverdon-les-Bains Raebareli district Phra Nakhon Gland Funchal Tramelan Aigle Lenzburg Oppegård Hoogeveen Khartsyzk Hạ Long Varaždin Barcelona Province Windisch Bonstetten Feuerthalen Valkenburg aan de Geul Weert Venlo Finnøy Geldermalsen Castel San Pietro Volketswil Pathum Wan Pieterlen Rheden Smila Männedorf Tynset Neuenegg Itingen Alytus Oftringen Richterswil Pak Kret Thalwil Ternopil Widnau Sathon Frøya Saint-Aubin-Sauges Røros Súdwest-Fryslân Rovereta Bellach Risør Vinnytsia Suan Luang Les Genevez Mörschwil Inderøy Tavannes Zaandam Porrentruy Kamianske Oosterhout Oss Uzhhorod Nijkerk Weinfelden Le Noirmont Dietlikon Münchenstein Diemen Avdiivka Split Bømlo Wohlen Īslīce parish Vadsø Águeda Municipality Rolle Temerin Schüpfheim Trstenik Arbon Boxtel Mies Zumikon Nikopol Ørland Écublens Harderwijk Long Biên Rüte Porto-Novo Zemun Zaltbommel Kreuzlingen Egerkingen Lengnau Oeiras Cartagena Karlsøy Schlieren Freienbach Mex Dürrenäsch Martigny Vila do Conde Kakhovka Kloten Langendorf Torres Novas Municipality Plan-les-Ouates Amsterdam Sachseln Saint-Blaise Hergiswil Kryvyi Rih Heerlen Melitopol Marin NE Allschwil Inwil Köniz Sorokyne Kremenchuk Chatuchak Cotonou Yan Nawa Carouge 's Gravenmoer Naarden Baden Fauske Buchs Druzhkivka Copacabana, Antioquia Courtepin Dusit Saint-Imier Balsfjord Karmøy Bellevue Härkingen Saint-Prex Freienstein-Teufen Küsnacht Arlesheim Morges Lucerne Orpund Reinach Renens Arth Stjørdal Askøy Feusisberg Binningen Rheinfelden Sarpsborg Renswoude Anadia Bex Namsos De Bilt Monthey Cortébert Bussnang Opfikon Horishni Plavni Skarsterlân Lupfig Manizales Antioquia - Medellín Kongsberg Verdal Zeewolde Oberhofen am Thunersee Sandefjord Wettswil am Albis Brugg Khlong Toei Vũng Tàu Birsfelden Le Locle Frenkendorf Loznica Onex Laufen Schwerzenbach Grenchen Trà Vinh Mueang Nakhon Nayok Beverwijk Lachen Aarburg Loures Liesberg Caacupé Skedsmo Apeldoorn Zofingen Noordwijk Aukra Veendam Bedano Puerto Plata Dielsdorf Davos Sainte-Croix Evilard Vianen Preševo Wiesendangen Pregny-Chambésy Leka Popayán Gambarogno Zollikofen Notodden Leytron Meråker Austevoll Belp Envigado Ba Đình Karasjok Stäfa Rhenen Houten Askim Huai Khwang Luterbach Mandal Alkmaar Cherkasy Thanh Hóa Lysychansk Asunción Paradiso Givisiez Domat/Ems Ostermundigen Fredrikstad Renkum Lak Si Hammerfest Voss Luque Ulstein Oldambt Priboj Bursins Payerne Ålesund Stansstad Kherson Wijchen Rivne Capelle aan den IJssel Halden Laufenburg Uden Valkenswaard Horten Veghel Veldhoven Steinkjer Utsira Vernier Chiasso Dubrovnik Osijek Rijeka Reykjanesbær Doetinchem Klepp Herrliberg Frosta Nottwil Mukacheve Tinn Manhiça District Trimbach Pully Deventer Enschede Rümlang Gjøvik Rakkestad Sandnes Phasi Charoen Leidschendam-Voorburg Greifensee Alta Wollerau Odda Chouf District Baar Vik Dübendorf Risch-Rotkreuz Muttenz Horn Rebstein Heiloo Buchs Genthod Yenakiieve Steinhausen Førde Ghaziabad Uzwil Breitenbach Alphen aan den Rijn Levanger Caslano Penafiel Nea Smyrni Sins Lyss Dietikon Horw Châtel-Saint-Denis Lørenskog Sant'Antonino Collina d'Oro Grimstad Cologny Stord Ladakh Vinje Romanel-sur-Morges Wiler bei Utzenstorf Bucaramanga Asker Kilchberg Les Breuleux Shostka Stavanger Mueang Chiang Mai Sumiswald Buchs Horgen Karlovac Seljord Neerach Cheseaux-sur-Lausanne Amriswil Muri bei Bern Barneveld Zeist Wijk bij Duurstede Chernivtsi Bankura district Nieuwegein Slavonski Brod Rapperswil Cēsis Au Hünenberg Melhus Cham Meyrin Niederbuchsiten Regensdorf Bettlach Kordelio-Evosmos Sortland Trubschachen Apatin Fyresdal Watthana Ittigen Kovačica Lausen Osterøy Moss Bleienbach Sam Phran Flawil Horta Tysvær Turbenthal Bunnik Wetzikon Bulle Heerenveen Ramsen Hölstein Burgdorf
Amsterdam, Oldambt and Oss are the headquarters of around the same number of authority organs located as Herrliberg
Amsterdam Oldambt Oss
action approx
action find_reverse_tuple_counts
relation headquarters location
type second-level administrative country subdivision
type authority organ
action count
action filter_type
action find
entity Herrliberg
relation headquarters location
type second-level administrative country subdivision
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:second-level_administrative_country_subdivision . resource:Herrliberg property:headquarters_location ?m } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:headquarters_location ?i . ?o rdf:type ontology:authority_organ . ?i rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q68305
P159
Q13220204 Q895526
USER
And also tell me about Wetzikon?
(c(Q895526),P159,c(Q13220204))
action approx
action find_reverse_tuple_counts
relation P159
type Q13220204
type Q895526
action count
action filter_type
action find
entity Q68305
relation P159
type Q13220204
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Q68305 property:P159 ?z . ?z rdf:type ontology:Q13220204 } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P159 ?x . ?x rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q895526 } GROUP BY ?x } }
Wetzikon
action approx
action find_reverse_tuple_counts
relation headquarters location
type second-level administrative country subdivision
type authority organ
action count
action filter_type
action find
entity Wetzikon
relation headquarters location
type second-level administrative country subdivision
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Wetzikon property:headquarters_location ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:headquarters_location ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:authority_organ } GROUP BY ?x } }
[]
second-level administrative country subdivision authority organ
Q9899 Q1347872 Q9859
SYSTEM
Amsterdam, Oldambt, Oss
Q101341 Q67519 Q473316 Q68129 Q67125 Q107960 Q67120 Q67123 Q65826 Q64027 Q57919 Q57918 Q739449 Q57914 Q841299 Q258084 Q1440902 Q249715 Q65439 Q70248 Q69721 Q48542 Q69724 Q69726 Q69729 Q955459 Q13209 Q10016 Q160584 Q183029 Q337425 Q30599 Q65649 Q69152 Q64563 Q64567 Q206469 Q5707 Q475709 Q109483 Q67935 Q64694 Q65891 Q267015 Q488435 Q69981 Q1094095 Q65263 Q69383 Q69380 Q9767 Q499779 Q917326 Q4225 Q19316 Q9924 Q68269 Q9928 Q218259 Q68261 Q488157 Q1375859 Q11939 Q135970 Q7083 Q64186 Q18473 Q69503 Q64065 Q14565 Q9954 Q67760 Q69372 Q7903 Q5223 Q14580 Q63946 Q1321157 Q1525441 Q69300 Q25444 Q66384 Q43195 Q69433 Q57868 Q208012 Q1003757 Q36077 Q5420 Q81949 Q69208 Q65510 Q66283 Q9771 Q9774 Q9777 Q48750 Q171536 Q67872 Q69754 Q1025838 Q67849 Q843899 Q219595 Q64627 Q488779 Q66125 Q66537 Q450625 Q68220 Q68227 Q476330 Q68959 Q156743 Q65612 Q45744 Q484119 Q70517 Q108999 Q1473276 Q3941941 Q66403 Q90595 Q157144 Q1019611 Q69976 Q66334 Q488970 Q67203 Q211260 Q68256 Q156719 Q9858 Q9859 Q156711 Q73226 Q68258 Q68522 Q65164 Q69030 Q9913 Q791673 Q1663 Q113552 Q68244 Q4992787 Q104379 Q249906 Q69570 Q579984 Q14559 Q1013189 Q64156 Q9821 Q69329 Q66898 Q156760 Q308245 Q69716 Q58931 Q864802 Q67188 Q3799 Q189419 Q1532373 Q63905 Q64275 Q66473 Q926700 Q657461 Q48728 Q69148 Q69780 Q70655 Q64979 Q68956 Q917313 Q995152 Q68165 Q66984 Q81139 Q65273 Q9899 Q64614 Q70424 Q570969 Q157137 Q9799 Q33349 Q15833966 Q64727 Q7097 Q64058 Q158053 Q156724 Q1019658 Q43595 Q1019651 Q69364 Q131883 Q9949 Q63939 Q48696 Q67539 Q157795 Q285891 Q70042 Q1267640 Q66390 Q486717 Q483902 Q69836 Q66399 Q68063 Q66964 Q69216 Q581647 Q69401 Q4191 Q69227 Q69747 Q69745 Q69742 Q217802 Q215374 Q69654 Q69621 Q269667 Q108025 Q10039 Q395919 Q52261 Q111039 Q10035 Q64051 Q69974 Q65983 Q64224 Q998227 Q225521 Q65336 Q235190 Q48278 Q108988 Q503660 Q184454 Q66611 Q109005 Q65934 Q64099 Q1403340 Q21194 Q64665 Q64093 Q66593 Q648489 Q68240 Q68363 Q66814 Q68248 Q36136 Q3278215 Q9905 Q67100 Q64165 Q917535 Q67265 Q135959 Q57871 Q101918 Q63986 Q455464 Q489342 Q73065 Q68799 Q988413 Q67951 Q68097 Q70090 Q70093 Q10052 Q145871 Q64853 Q69822 Q503591 Q335135 Q70234 Q69675 Q2326 Q68849 Q48732 Q484008 Q69678 Q1447266 Q890194 Q1825 Q69774 Q10040 Q10044 Q109469 Q1975222 Q66839 Q108966 Q972 Q157055 Q36175 Q33280 Q2933 Q68205 Q66461 Q68266 Q69682 Q107135 Q691725 Q1008352 Q107351 Q109031 Q946497 Q493961 Q1347872 Q1256993 Q52298 Q69525 Q62266 Q64285 Q156732 Q72981 Q156739 Q734860 Q109042 Q69191 Q9872 Q9873 Q109048 Q9874 Q9875 Q110431 Q499485 Q63922 Q68111 Q1722 Q1640 Q1647 Q652130 Q145845 Q500223 Q69224 Q489374 Q7131 Q146456 Q2365 Q6749343 Q65037 Q69738 Q10001 Q10002 Q67894 Q108031 Q483969 Q27587 Q1019590 Q112675 Q64882 Q6535 Q69647 Q109494 Q246999 Q64087 Q303521 Q64082 Q66604 Q66191 Q66195 Q17834 Q9932 Q68277 Q48923 Q1686835 Q66697 Q113571 Q1773444 Q64171 Q66672 Q213246 Q216430 Q67270 Q984656 Q546634 Q64372 Q69512 Q64070 Q14570 Q69517 Q57860 Q67673 Q69062 Q90590 Q69245 Q485253 Q200667 Q2245 Q70332 Q67396 Q243766 Q56869 Q66633 Q68086 Q1000454 Q12407719 Q476008 Q68167 Q64512 Q68286 Q3617 Q2236 Q68395 Q52773 Q69768 Q69765 Q164098 Q10056 Q10053 Q157725 Q2088458 Q10050 Q4686 Q688539 Q107582 Q66254 Q66256 Q488762 Q69235 Q68230 Q65609 Q64205 Q66831 Q2340870 Q48844 Q69114 Q372110 Q1881 Q1019417 Q69690 Q771826 Q66733 Q488067 Q109021 Q67606 Q476603 Q65506 Q990385 Q493977 Q65858 Q10032 Q68305 Q68308 Q574558 Q69182 Q69020 Q68311
(c(Q895526),P159,c(Q13220204))
action approx
action find_reverse_tuple_counts
relation P159
type Q13220204
type Q895526
action count
action filter_type
action find
entity Q68305
relation P159
type Q13220204
[ANSWERS]
[{'concept': 'Q895526'}, 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Q68305 property:P159 ?z . ?z rdf:type ontology:Q13220204 } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P159 ?x . ?x rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q895526 } GROUP BY ?x } }
Lillehammer Broc Phra Khanong Olten Appenzell District East Delhi Grüningen Steckborn Hüttwilen Nyon Arendal Vestby Krimpen aan den IJssel Sørum Matosinhos Grong Sopó Olaine Erlen Paudex La Tour-de-Peilz Stange Oberwil Langenthal Rapperswil-Jona Galatsi Nidau Oldenzaal Sievierodonetsk Sande Albergaria-a-Velha Municipality Pleiku Courtelary Thayngen Seon Buochs Nøtterøy Bjelovar Khlong Thom Kristiansund Selzach Dornach Marly Cầu Giấy Hvaler Melide Cailungo Oberriet Hinwil Bowil Gulpen-Wittem Verran Vila Franca de Xira Emmen Biên Hòa Haarlemmermeer Pfäffikon Heemstede Zoeterwoude Meilen Rissa Kaliro District Stein am Rhein Pilar Rothenburg Bad Zurzach Zuchwil Poschiavo Lancy Dierikon Purmerend Stabio Neuhausen am Rheinfall Casablanca Stryn Weggis Yverdon-les-Bains Raebareli district Phra Nakhon Gland Funchal Tramelan Aigle Lenzburg Oppegård Hoogeveen Khartsyzk Hạ Long Varaždin Barcelona Province Windisch Bonstetten Feuerthalen Valkenburg aan de Geul Weert Venlo Finnøy Geldermalsen Castel San Pietro Volketswil Pathum Wan Pieterlen Rheden Smila Männedorf Tynset Neuenegg Itingen Alytus Oftringen Richterswil Pak Kret Thalwil Ternopil Widnau Sathon Frøya Saint-Aubin-Sauges Røros Súdwest-Fryslân Rovereta Bellach Risør Vinnytsia Suan Luang Les Genevez Mörschwil Inderøy Tavannes Zaandam Porrentruy Kamianske Oosterhout Oss Uzhhorod Nijkerk Weinfelden Le Noirmont Dietlikon Münchenstein Diemen Avdiivka Split Bømlo Wohlen Īslīce parish Vadsø Águeda Municipality Rolle Temerin Schüpfheim Trstenik Arbon Boxtel Mies Zumikon Nikopol Ørland Écublens Harderwijk Long Biên Rüte Porto-Novo Zemun Zaltbommel Kreuzlingen Egerkingen Lengnau Oeiras Cartagena Karlsøy Schlieren Freienbach Mex Dürrenäsch Martigny Vila do Conde Kakhovka Kloten Langendorf Torres Novas Municipality Plan-les-Ouates Amsterdam Sachseln Saint-Blaise Hergiswil Kryvyi Rih Heerlen Melitopol Marin NE Allschwil Inwil Köniz Sorokyne Kremenchuk Chatuchak Cotonou Yan Nawa Carouge 's Gravenmoer Naarden Baden Fauske Buchs Druzhkivka Copacabana, Antioquia Courtepin Dusit Saint-Imier Balsfjord Karmøy Bellevue Härkingen Saint-Prex Freienstein-Teufen Küsnacht Arlesheim Morges Lucerne Orpund Reinach Renens Arth Stjørdal Askøy Feusisberg Binningen Rheinfelden Sarpsborg Renswoude Anadia Bex Namsos De Bilt Monthey Cortébert Bussnang Opfikon Horishni Plavni Skarsterlân Lupfig Manizales Antioquia - Medellín Kongsberg Verdal Zeewolde Oberhofen am Thunersee Sandefjord Wettswil am Albis Brugg Khlong Toei Vũng Tàu Birsfelden Le Locle Frenkendorf Loznica Onex Laufen Schwerzenbach Grenchen Trà Vinh Mueang Nakhon Nayok Beverwijk Lachen Aarburg Loures Liesberg Caacupé Skedsmo Apeldoorn Zofingen Noordwijk Aukra Veendam Bedano Puerto Plata Dielsdorf Davos Sainte-Croix Evilard Vianen Preševo Wiesendangen Pregny-Chambésy Leka Popayán Gambarogno Zollikofen Notodden Leytron Meråker Austevoll Belp Envigado Ba Đình Karasjok Stäfa Rhenen Houten Askim Huai Khwang Luterbach Mandal Alkmaar Cherkasy Thanh Hóa Lysychansk Asunción Paradiso Givisiez Domat/Ems Ostermundigen Fredrikstad Renkum Lak Si Hammerfest Voss Luque Ulstein Oldambt Priboj Bursins Payerne Ålesund Stansstad Kherson Wijchen Rivne Capelle aan den IJssel Halden Laufenburg Uden Valkenswaard Horten Veghel Veldhoven Steinkjer Utsira Vernier Chiasso Dubrovnik Osijek Rijeka Reykjanesbær Doetinchem Klepp Herrliberg Frosta Nottwil Mukacheve Tinn Manhiça District Trimbach Pully Deventer Enschede Rümlang Gjøvik Rakkestad Sandnes Phasi Charoen Leidschendam-Voorburg Greifensee Alta Wollerau Odda Chouf District Baar Vik Dübendorf Risch-Rotkreuz Muttenz Horn Rebstein Heiloo Buchs Genthod Yenakiieve Steinhausen Førde Ghaziabad Uzwil Breitenbach Alphen aan den Rijn Levanger Caslano Penafiel Nea Smyrni Sins Lyss Dietikon Horw Châtel-Saint-Denis Lørenskog Sant'Antonino Collina d'Oro Grimstad Cologny Stord Ladakh Vinje Romanel-sur-Morges Wiler bei Utzenstorf Bucaramanga Asker Kilchberg Les Breuleux Shostka Stavanger Mueang Chiang Mai Sumiswald Buchs Horgen Karlovac Seljord Neerach Cheseaux-sur-Lausanne Amriswil Muri bei Bern Barneveld Zeist Wijk bij Duurstede Chernivtsi Bankura district Nieuwegein Slavonski Brod Rapperswil Cēsis Au Hünenberg Melhus Cham Meyrin Niederbuchsiten Regensdorf Bettlach Kordelio-Evosmos Sortland Trubschachen Apatin Fyresdal Watthana Ittigen Kovačica Lausen Osterøy Moss Bleienbach Sam Phran Flawil Horta Tysvær Turbenthal Bunnik Wetzikon Bulle Heerenveen Ramsen Hölstein Burgdorf
Amsterdam Oldambt Oss
action approx
action find_reverse_tuple_counts
relation headquarters location
type second-level administrative country subdivision
type authority organ
action count
action filter_type
action find
entity Wetzikon
relation headquarters location
type second-level administrative country subdivision
[{'concept': 'authority organ'}, 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { resource:Wetzikon property:headquarters_location ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:headquarters_location ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:authority_organ } GROUP BY ?x } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q13220204
USER
How many administrative country subdivisions are bordered by that administrative country subdivision ?
(c(Q13220204),P47,Q1347872)
[{'concept': 'Q13220204'}, 'P47', 'Q1347872']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q1347872 . ?z rdf:type ontology:Q13220204 }
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Oldambt']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Oldambt . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Quantitative|Count|Single entity type|Clarification
Q9859
SYSTEM
Did you mean Oss ?
(c(Q13220204),P47,Q9899) (c(Q13220204),P47,Q1347872) (c(Q13220204),P47,Q9859)
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q9899'] [{'concept': 'Q13220204'}, 'P47', 'Q1347872'] [{'concept': 'Q13220204'}, 'P47', 'Q9859']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q1347872 . ?z rdf:type ontology:Q13220204 }
Did you mean Oss ?
Oss
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Amsterdam'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Oldambt'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Oss']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Oldambt . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Oldambt. Could you tell me the answer for that?
(c(Q13220204),P47,Q1347872)
Q1347872
[{'concept': 'Q13220204'}, 'P47', 'Q1347872']
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Oldambt']
[]
SYSTEM
2
Q932077 Q747965
(c(Q13220204),P47,Q1347872)
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q1347872']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q1347872 . ?z rdf:type ontology:Q13220204 }
Pekela Bellingwedde
2
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Oldambt']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Oldambt . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q948
P122
Q1307214 Q22676587 Q15617994
USER
Which administrative territories have approximately the same number of forms of government or monarchic systems as the type of government as Tunisia ?
(c(Q15617994),P122,c(Q1307214)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q948
relation P122
type Q1307214
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { VALUES ( ?p ) { ( ontology:Q1307214 ) ( ontology:Q22676587 ) } . ?t rdf:type ?p } . resource:Q948 property:P122 ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?m ) { ( ontology:Q22676587 ) ( ontology:Q1307214 ) } . ?h rdf:type ?m } GROUP BY ?q } }
Tunisia
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Tunisia
relation basic form of government
type form of government
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { VALUES ( ?p ) { ( ontology:form_of_government ) ( ontology:monarchic_system ) } . ?t rdf:type ?p } . resource:Tunisia property:basic_form_of_government ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?m ) { ( ontology:monarchic_system ) ( ontology:form_of_government ) } . ?h rdf:type ?m } GROUP BY ?q } }
[]
form of government monarchic system designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q711 Q717 Q837 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q1307214)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q948
relation P122
type Q1307214
type Q22676587
[ANSWERS] have approximately the same number of forms of government or monarchic systems as the type of government as Tunisia
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { VALUES ( ?p ) { ( ontology:Q1307214 ) ( ontology:Q22676587 ) } . ?t rdf:type ?p } . resource:Q948 property:P122 ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?m ) { ( ontology:Q22676587 ) ( ontology:Q1307214 ) } . ?h rdf:type ?m } GROUP BY ?q } }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have approximately the same number of forms of government or monarchic systems as the type of government as Tunisia
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Tunisia
relation basic form of government
type form of government
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { VALUES ( ?p ) { ( ontology:form_of_government ) ( ontology:monarchic_system ) } . ?t rdf:type ?p } . resource:Tunisia property:basic_form_of_government ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?o ) WHERE { VALUES ( ?m ) { ( ontology:monarchic_system ) ( ontology:form_of_government ) } . ?h rdf:type ?m } GROUP BY ?q } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q45
P122
Q1307214 Q22676587 Q15617994
USER
And also tell me about Portugal?
(c(Q15617994),P122,c(Q1307214)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q45
relation P122
type Q1307214
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { { ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1307214 . ?f property:P122 ?o } UNION { ?f property:P122 ?o . ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q22676587 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q45 property:P122 ?a . { { ?a rdf:type ontology:Q1307214 } UNION { ?a rdf:type ontology:Q22676587 } } } } . FILTER ( ?z = ?w ) }
Portugal
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Portugal
relation basic form of government
type form of government
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:form_of_government . ?f property:basic_form_of_government ?o } UNION { ?f property:basic_form_of_government ?o . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:monarchic_system } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Portugal property:basic_form_of_government ?a . { { ?a rdf:type ontology:form_of_government } UNION { ?a rdf:type ontology:monarchic_system } } } } . FILTER ( ?z = ?w ) }
[]
form of government monarchic system designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q711 Q717 Q837 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q1307214)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q45
relation P122
type Q1307214
type Q22676587
[ANSWERS]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { { ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1307214 . ?f property:P122 ?o } UNION { ?f property:P122 ?o . ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q22676587 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q45 property:P122 ?a . { { ?a rdf:type ontology:Q1307214 } UNION { ?a rdf:type ontology:Q22676587 } } } } . FILTER ( ?z = ?w ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Portugal
relation basic form of government
type form of government
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?z ) WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:form_of_government . ?f property:basic_form_of_government ?o } UNION { ?f property:basic_form_of_government ?o . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:monarchic_system } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Portugal property:basic_form_of_government ?a . { { ?a rdf:type ontology:form_of_government } UNION { ?a rdf:type ontology:monarchic_system } } } } . FILTER ( ?z = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q145
P530
Q1048835
USER
How many political territories have diplomatic relations with United Kingdom ?
(Q145,P530,c(Q1048835))
action count
action filter_type
action find
entity Q145
relation P530
type Q1048835
['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q145 property:P530 ?f . ?f rdf:type ontology:Q1048835 }
United Kingdom
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:United_Kingdom property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q183 Q408 Q16
(Q145,P530,c(Q1048835))
action count
action filter_type
action find
entity Q145
relation P530
type Q1048835
[ANSWER]
['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q145 property:P530 ?f . ?f rdf:type ontology:Q1048835 }
Germany Australia Canada
3
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:United_Kingdom property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1030
P530
Q1048835
USER
And what about Namibia?
(Q1030,P530,c(Q1048835))
action count
action filter_type
action find
entity Q1030
relation P530
type Q1048835
['Q1030', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q1030 property:P530 ?v . ?v rdf:type ontology:Q1048835 }
Namibia
action count
action filter_type
action find
entity Namibia
relation diplomatic relation
type political territorial entity
['Namibia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Namibia property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q408 Q16 Q183
(Q1030,P530,c(Q1048835))
action count
action filter_type
action find
entity Q1030
relation P530
type Q1048835
[ANSWER]
['Q1030', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q1030 property:P530 ?v . ?v rdf:type ontology:Q1048835 }
Australia Canada Germany
3
action count
action filter_type
action find
entity Namibia
relation diplomatic relation
type political territorial entity
['Namibia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Namibia property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q786
Q1048835
USER
And also tell me about Dominican Republic?
(Q786,P530,c(Q1048835))
action count
action filter_type
action find
entity Q786
relation P530
type Q1048835
['Q786', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q786 property:P530 ?v . ?v rdf:type ontology:Q1048835 }
Dominican Republic
action count
action filter_type
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
(Q786,P530,c(Q1048835))
action count
action filter_type
action find
entity Q786
relation P530
type Q1048835
[ANSWER]
['Q786', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q786 property:P530 ?v . ?v rdf:type ontology:Q1048835 }
2
action count
action filter_type
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity }
[]