Simple Question (Direct)
Simple Question
Q18202297
P21
Q290
USER
What is the sex of Adolph Nikolaus von Düring ?
(Q18202297,P21,c(Q290))
action filter_type
action find
entity Q18202297
relation P21
type Q290
['Q18202297', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q18202297 property:P21 ?d . ?d rdf:type ontology:Q290 }
Adolph Nikolaus von Düring
action filter_type
action find
entity Adolph Nikolaus von Düring
relation gender
type sex
['Adolph Nikolaus von Düring', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Adolph_Nikolaus_von_Düring property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18202297,P21,c(Q290))
action filter_type
action find
entity Q18202297
relation P21
type Q290
The sex of Adolph Nikolaus von Düring is the [ANSWER]
['Q18202297', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q18202297 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of Adolph Nikolaus von Düring is the male
male
action filter_type
action find
entity Adolph Nikolaus von Düring
relation gender
type sex
['Adolph Nikolaus von Düring', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Adolph_Nikolaus_von_Düring property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18202297
P19
Q486972
USER
Which human settlement was Adolph Nikolaus von Düring born in ?
(Q18202297,P19,c(Q486972))
action filter_type
action find
entity Q18202297
relation P19
type Q486972
['Q18202297', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q18202297 property:P19 ?y . ?y rdf:type ontology:Q486972 }
Adolph Nikolaus von Düring
action filter_type
action find
entity Adolph Nikolaus von Düring
relation place of birth
type human settlement
['Adolph Nikolaus von Düring', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:Adolph_Nikolaus_von_Düring property:place_of_birth ?y . ?y rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q18202297,P19,c(Q486972))
action filter_type
action find
entity Q18202297
relation P19
type Q486972
Adolph Nikolaus von Düring was born in [ANSWER]
['Q18202297', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q18202297 property:P19 ?y . ?y rdf:type ontology:Q486972 }
Hamburg
Adolph Nikolaus von Düring was born in Hamburg
Hamburg
action filter_type
action find
entity Adolph Nikolaus von Düring
relation place of birth
type human settlement
['Adolph Nikolaus von Düring', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:Adolph_Nikolaus_von_Düring property:place_of_birth ?y . ?y rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9151812
Q486972
USER
And also tell me about Andrzej Cofalik?
(Q9151812,P19,c(Q486972))
action filter_type
action find
entity Q9151812
relation P19
type Q486972
['Q9151812', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q9151812 property:P19 ?k . ?k rdf:type ontology:Q486972 }
Andrzej Cofalik
action filter_type
action find
entity Andrzej Cofalik
relation place of birth
type human settlement
['Andrzej Cofalik', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Andrzej_Cofalik property:place_of_birth ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q2610019
SYSTEM
Palowice
Q2610019
(Q9151812,P19,c(Q486972))
action filter_type
action find
entity Q9151812
relation P19
type Q486972
[ANSWER]
['Q9151812', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q9151812 property:P19 ?k . ?k rdf:type ontology:Q486972 }
Palowice
Palowice
action filter_type
action find
entity Andrzej Cofalik
relation place of birth
type human settlement
['Andrzej Cofalik', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Andrzej_Cofalik property:place_of_birth ?k . ?k rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have place of birth as that human settlement ?
(c(Q502895),P19,Q2610019)
action count
action filter_type
action find_reverse
entity Q2610019
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2610019']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q502895 . ?o property:P19 resource:Q2610019 }
action count
action filter_type
action find_reverse
entity Palowice
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Palowice']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:common_name . ?o property:place_of_birth resource:Palowice }
[]
common name
SYSTEM
1
Q9151812
(c(Q502895),P19,Q2610019)
action count
action filter_type
action find_reverse
entity Q2610019
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q2610019']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q502895 . ?o property:P19 resource:Q2610019 }
Andrzej Cofalik
1
action count
action filter_type
action find_reverse
entity Palowice
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Palowice']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:common_name . ?o property:place_of_birth resource:Palowice }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q4694508
P1376
Q1048835 Q486972
USER
How many political territories have lesser number of human settlements as their capital than Aguas Verdes ?
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q4694508
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:Q486972 . ?l property:P1376 resource:Q4694508 } } . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P1376 ?r . ?r rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q486972 } GROUP BY ?r } }
Aguas Verdes
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity Aguas Verdes
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:human_settlement . ?l property:capital_of resource:Aguas_Verdes } } . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:human_settlement } GROUP BY ?r } }
[]
political territorial entity human settlement
SYSTEM
610
Q7915647 Q132418 Q132410 Q13881 Q13882 Q13885 Q13884 Q13887 Q6318040 Q13889 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q6317672 Q3891 Q3899 Q2175 Q938891 Q10298683 Q2271 Q849807 Q48060 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13900 Q13902 Q515343 Q753689 Q2058837 Q3825827 Q3825439 Q167859 Q43448 Q170390 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q8170 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q168651 Q3312907 Q173407 Q8517 Q3741 Q165956 Q2223 Q6949621 Q133083 Q22880 Q2071352 Q1925048 Q210061 Q494354 Q13786 Q13785 Q9676 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10547 Q2485101 Q7290462 Q1334322 Q10465 Q628370 Q104891 Q4863230 Q1890 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q746558 Q8560844 Q664 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q12741 Q6339 Q5082 Q3312493 Q3824385 Q3678587 Q2967 Q5065 Q5067 Q5061 Q5062 Q6317167 Q5068 Q13737 Q408 Q2096228 Q13730 Q13739 Q599448 Q40 Q3312467 Q7931 Q7932 Q13861 Q240 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q2140 Q539231 Q13827 Q13826 Q13825 Q34617 Q13829 Q2698844 Q383734 Q953068 Q35 Q38610 Q3313291 Q3312974 Q7137570 Q3826135 Q170036 Q9648 Q5926575 Q7686343 Q3125978 Q5262649 Q192959 Q3321924 Q8566 Q13857 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3825983 Q2342207 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q757 Q13772 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6308 Q632108 Q5096392 Q6301 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q7890 Q2917 Q7896 Q1399432 Q933179 Q5945 Q3916 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q48079 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q5093 Q18288148 Q5095 Q5096 Q3653113 Q23635 Q6321909 Q671742 Q6317899 Q450521 Q2621992 Q5075 Q3824597 Q834261 Q3557 Q5078 Q193619 Q13740 Q2632922 Q4804007 Q13744 Q5925410 Q1893486 Q3313278 Q2898 Q48094 Q5051137 Q48098 Q201162 Q168856 Q192697 Q178269 Q2772 Q13874 Q7928 Q46070 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q2703450 Q3313040 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q188373 Q2486455 Q48046 Q5048959 Q3826128 Q2379199 Q2101298 Q1823 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q7421013 Q3825413 Q189974 Q193295 Q2594990 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q8195 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2110 Q48072 Q2718510 Q3586 Q18221 Q192184 Q13892 Q13893 Q13891 Q2875944 Q13895 Q13899 Q3906 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q505220 Q1866 Q3826249 Q209597 Q103093 Q7636360 Q13809 Q178084 Q2697268 Q13860 Q13807 Q13806 Q240441 Q1230021 Q183 Q24174 Q10440 Q933576 Q49655 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q5657086 Q2697641 Q309460 Q48089 Q7919 Q7917 Q7916 Q7914 Q7912 Q7911 Q7910 Q838690 Q48101 Q1233672 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q7908 Q543868 Q16 Q3540 Q2697221 Q539094 Q205068 Q130840 Q6320495 Q10526 Q191091 Q3321868 Q10483 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q48057 Q211793 Q48054 Q211795 Q6328 Q6319125 Q3312431 Q10557 Q10554 Q10555 Q2909 Q2640062 Q862584 Q2902 Q10559 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q4694508
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:Q486972 . ?l property:P1376 resource:Q4694508 } } . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P1376 ?r . ?r rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q486972 } GROUP BY ?r } }
Vargas Guerra District Northern Cape Mpumalanga Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Paita District Surigao del Norte Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Ayabaca District Kalimantan Tengah Kalimantan Timur Riau Province San Miguel District Huacrachuco South Sumatra Western Highlands Province Gera District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga del Sur Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory County of Oldenburg Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Tübingen Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Landgraviate of Hesse-Kassel Checca District Ternopil Oblast Main-Tauber Special Region of Yogyakarta North West Kepulauan Riau Máncora District Gauteng Electoral Palatinate Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Cebu Cavite Isle of Man Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Lower Franconia County of Chiny Ramón Castilla District County of Toulouse Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Bengkulu Province Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Emirate of Bukhara Manseriche District New Zealand Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara Tambopata North Sulawesi Province Basilan Australia Tornquist Aurora Bataan Chimbu Province Austria Tacna District Giessen Government Region Darmstadt Government Region Mountain Province Brussels Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla North Sumatra Province Ambo District Kalinga Isabela Iloilo Saint Pierre and Miquelon La Union Chimbote District Iquitos District South-West Africa Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Pariñas District Puquio District Kiev Oblast Falkland Islands Huaytará District Tarma District Bali Jauja District Minsk Region Arequipa Alzey-Worms Misamis Occidental Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Tarata San Cayetano Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Saint Vincent and the Grenadines Capiz Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Leipzig Lincoln Partido Chiclayo District Nordsachsen Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Kassel Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Kalimantan Barat Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Leipzig District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Maluku Province Metropolitan City of Florence Papua West Papua Kingdom of Syunik Bermuda Río Tambo District General Pueyrredón Moyobamba District Magdeburg Government Region Villarino South East Sulawesi Province Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Batanes Chancay District Ascope District Batangas Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Potsdam District Catacaos Rostock District Amazonas Region Chernivtsi Oblast South Moravian Region Ivano-Frankivsk Oblast West Sumatra Rizal Kassel  Government Region Plzeň Region Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Chalhuanca District Yucay District Huaraz District Walloon Region Värmland County Urubamba District Callería Mala District Zlín Region Bellavista District Quinua District Cusco Region South Bohemia Region Manantay Cottbus Casitas Huancabamba District politics of Edinburgh Tandil Aceh Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Saposoa District Pausa District Jõgeva County Hradec Králové Region Dominion of New Zealand Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Breisgau-Hochschwarzwald Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Lampung Province Karl-Marx-Stadt District Abancay District East Java Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tarlac Tawi-Tawi Surigao del Sur Omate District Zambales Zamboanga del Norte Kalimantan Selatan North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Huancavelica Region Bangka–Belitung Islands Chuschi District Tumbes department Västra Götaland County Sullana District Eastern Samar Ilkhanate Chavín de Huantar District Misamis Oriental Dinagat Islands Davao Oriental General Alvarado Partido Nieva District Germany Dresden Government Region Coburg Santa Cruz District Schellenberg Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Manú Pamparomas District County of Hainaut Neubrandenburg District Odenwaldkreis Kreis Bergstraße Darmstadt-Dieburg Groß-Gerau Offenbach Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Hochtaunuskreis Chaupimarca District Canada Banten Province Corongo District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Rosenheim Karlovy Vary Region Samuel Pastor District Regen Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region Frankfurt (Oder) San Martín Region Erfurt Lima Region Mittelsachsen Pacasmayo District Cajamarca Swabia Upper Franconia Upper Palatinate Vorpommern-Rügen District Aramango District Enga Province Mecklenburgische Seenplatte District Lower Bavaria Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
610
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity Aguas Verdes
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:human_settlement . ?l property:capital_of resource:Aguas_Verdes } } . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:human_settlement } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2697637
P1376
Q1048835 Q486972
USER
And also tell me about San Marcos District?
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q2697637
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1376 resource:Q2697637 . ?f rdf:type ontology:Q486972 } } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1376 ?m . ?m rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q486972 } GROUP BY ?m } }
San Marcos District
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity San Marcos District
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:capital_of resource:San_Marcos_District . ?f rdf:type ontology:human_settlement } } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:human_settlement } GROUP BY ?m } }
[]
political territorial entity human settlement
SYSTEM
610
Q7915647 Q132418 Q132410 Q13881 Q13882 Q13885 Q13884 Q13887 Q6318040 Q13889 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q6317672 Q3891 Q3899 Q2175 Q938891 Q10298683 Q2271 Q849807 Q48060 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13900 Q13902 Q515343 Q753689 Q2058837 Q3825827 Q3825439 Q167859 Q43448 Q170390 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q8170 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q168651 Q3312907 Q173407 Q8517 Q3741 Q165956 Q2223 Q6949621 Q133083 Q22880 Q2071352 Q1925048 Q210061 Q494354 Q13786 Q13785 Q9676 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10547 Q2485101 Q7290462 Q1334322 Q10465 Q628370 Q104891 Q4863230 Q1890 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q746558 Q8560844 Q664 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q12741 Q6339 Q5082 Q3312493 Q3824385 Q3678587 Q2967 Q5065 Q5067 Q5061 Q5062 Q6317167 Q5068 Q13737 Q408 Q2096228 Q13730 Q13739 Q599448 Q40 Q3312467 Q7931 Q7932 Q13861 Q240 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q2140 Q539231 Q13827 Q13826 Q13825 Q34617 Q13829 Q2698844 Q383734 Q953068 Q35 Q38610 Q3313291 Q3312974 Q7137570 Q3826135 Q170036 Q9648 Q5926575 Q7686343 Q3125978 Q5262649 Q192959 Q3321924 Q8566 Q13857 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3825983 Q2342207 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q757 Q13772 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6308 Q632108 Q5096392 Q6301 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q7890 Q2917 Q7896 Q1399432 Q933179 Q5945 Q3916 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q48079 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q5093 Q18288148 Q5095 Q5096 Q3653113 Q23635 Q6321909 Q671742 Q6317899 Q450521 Q2621992 Q5075 Q3824597 Q834261 Q3557 Q5078 Q193619 Q13740 Q2632922 Q4804007 Q13744 Q5925410 Q1893486 Q3313278 Q2898 Q48094 Q5051137 Q48098 Q201162 Q168856 Q192697 Q178269 Q2772 Q13874 Q7928 Q46070 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q2703450 Q3313040 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q188373 Q2486455 Q48046 Q5048959 Q3826128 Q2379199 Q2101298 Q1823 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q7421013 Q3825413 Q189974 Q193295 Q2594990 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q8195 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2110 Q48072 Q2718510 Q3586 Q18221 Q192184 Q13892 Q13893 Q13891 Q2875944 Q13895 Q13899 Q3906 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q505220 Q1866 Q3826249 Q209597 Q103093 Q7636360 Q13809 Q178084 Q2697268 Q13860 Q13807 Q13806 Q240441 Q1230021 Q183 Q24174 Q10440 Q933576 Q49655 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q5657086 Q2697641 Q309460 Q48089 Q7919 Q7917 Q7916 Q7914 Q7912 Q7911 Q7910 Q838690 Q48101 Q1233672 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q7908 Q543868 Q16 Q3540 Q2697221 Q539094 Q205068 Q130840 Q6320495 Q10526 Q191091 Q3321868 Q10483 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q48057 Q211793 Q48054 Q211795 Q6328 Q6319125 Q3312431 Q10557 Q10554 Q10555 Q2909 Q2640062 Q862584 Q2902 Q10559 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q2697637
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1376 resource:Q2697637 . ?f rdf:type ontology:Q486972 } } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1376 ?m . ?m rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q486972 } GROUP BY ?m } }
Vargas Guerra District Northern Cape Mpumalanga Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Paita District Surigao del Norte Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Ayabaca District Kalimantan Tengah Kalimantan Timur Riau Province San Miguel District Huacrachuco South Sumatra Western Highlands Province Gera District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga del Sur Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory County of Oldenburg Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Tübingen Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Landgraviate of Hesse-Kassel Checca District Ternopil Oblast Main-Tauber Special Region of Yogyakarta North West Kepulauan Riau Máncora District Gauteng Electoral Palatinate Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Cebu Cavite Isle of Man Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Lower Franconia County of Chiny Ramón Castilla District County of Toulouse Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Bengkulu Province Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Emirate of Bukhara Manseriche District New Zealand Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara Tambopata North Sulawesi Province Basilan Australia Tornquist Aurora Bataan Chimbu Province Austria Tacna District Giessen Government Region Darmstadt Government Region Mountain Province Brussels Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla North Sumatra Province Ambo District Kalinga Isabela Iloilo Saint Pierre and Miquelon La Union Chimbote District Iquitos District South-West Africa Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Pariñas District Puquio District Kiev Oblast Falkland Islands Huaytará District Tarma District Bali Jauja District Minsk Region Arequipa Alzey-Worms Misamis Occidental Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Tarata San Cayetano Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Saint Vincent and the Grenadines Capiz Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Leipzig Lincoln Partido Chiclayo District Nordsachsen Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Kassel Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Kalimantan Barat Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Leipzig District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Maluku Province Metropolitan City of Florence Papua West Papua Kingdom of Syunik Bermuda Río Tambo District General Pueyrredón Moyobamba District Magdeburg Government Region Villarino South East Sulawesi Province Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Batanes Chancay District Ascope District Batangas Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Potsdam District Catacaos Rostock District Amazonas Region Chernivtsi Oblast South Moravian Region Ivano-Frankivsk Oblast West Sumatra Rizal Kassel  Government Region Plzeň Region Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Chalhuanca District Yucay District Huaraz District Walloon Region Värmland County Urubamba District Callería Mala District Zlín Region Bellavista District Quinua District Cusco Region South Bohemia Region Manantay Cottbus Casitas Huancabamba District politics of Edinburgh Tandil Aceh Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Saposoa District Pausa District Jõgeva County Hradec Králové Region Dominion of New Zealand Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Breisgau-Hochschwarzwald Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Lampung Province Karl-Marx-Stadt District Abancay District East Java Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tarlac Tawi-Tawi Surigao del Sur Omate District Zambales Zamboanga del Norte Kalimantan Selatan North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Huancavelica Region Bangka–Belitung Islands Chuschi District Tumbes department Västra Götaland County Sullana District Eastern Samar Ilkhanate Chavín de Huantar District Misamis Oriental Dinagat Islands Davao Oriental General Alvarado Partido Nieva District Germany Dresden Government Region Coburg Santa Cruz District Schellenberg Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Manú Pamparomas District County of Hainaut Neubrandenburg District Odenwaldkreis Kreis Bergstraße Darmstadt-Dieburg Groß-Gerau Offenbach Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Hochtaunuskreis Chaupimarca District Canada Banten Province Corongo District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Rosenheim Karlovy Vary Region Samuel Pastor District Regen Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region Frankfurt (Oder) San Martín Region Erfurt Lima Region Mittelsachsen Pacasmayo District Cajamarca Swabia Upper Franconia Upper Palatinate Vorpommern-Rügen District Aramango District Enga Province Mecklenburgische Seenplatte District Lower Bavaria Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
610
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity San Marcos District
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:capital_of resource:San_Marcos_District . ?f rdf:type ontology:human_settlement } } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:human_settlement } GROUP BY ?m } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q13220204
USER
Which administrative country subdivisions are partner town of around 3 human settlements ?
(c(Q13220204),P190,c(Q486972))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 3
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?x ) WHERE { ?l property:P190 ?h . ?l rdf:type ontology:Q13220204 . ?h rdf:type ontology:Q486972 } GROUP BY ?l } . FILTER ( ?x = 3 ) }
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?x ) WHERE { ?l property:sister_city ?h . ?l rdf:type ontology:second-level_administrative_country_subdivision . ?h rdf:type ontology:human_settlement } GROUP BY ?l } . FILTER ( ?x = 3 ) }
[]
human settlement second-level administrative country subdivision
Q156739
SYSTEM
Rivne
Q156739
(c(Q13220204),P190,c(Q486972))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 3
[ANSWER] is partner town of around 3 human settlements
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?x ) WHERE { ?l property:P190 ?h . ?l rdf:type ontology:Q13220204 . ?h rdf:type ontology:Q486972 } GROUP BY ?l } . FILTER ( ?x = 3 ) }
Rivne
Rivne is partner town of around 3 human settlements
Rivne
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?x ) WHERE { ?l property:sister_city ?h . ?l rdf:type ontology:second-level_administrative_country_subdivision . ?h rdf:type ontology:human_settlement } GROUP BY ?l } . FILTER ( ?x = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P137
Q2668072
USER
Which collection was managed by Hamburg ?
(c(Q2668072),P137,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P137
type Q2668072
[{'concept': 'Q2668072'}, 'P137', 'Q1055']
SELECT DISTINCT ?a WHERE { ?a property:P137 resource:Q1055 . ?a rdf:type ontology:Q2668072 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Hamburg']
SELECT DISTINCT ?a WHERE { ?a property:operator resource:Hamburg . ?a rdf:type ontology:collection }
[]
collection
Q2324644
SYSTEM
Staats- und Universitätsbibliothek Hamburg
Q2324644
(c(Q2668072),P137,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P137
type Q2668072
[ANSWER] was managed by Hamburg
[{'concept': 'Q2668072'}, 'P137', 'Q1055']
SELECT DISTINCT ?a WHERE { ?a property:P137 resource:Q1055 . ?a rdf:type ontology:Q2668072 }
Staats- und Universitätsbibliothek Hamburg
Staats- und Universitätsbibliothek Hamburg was managed by Hamburg
Staats- und Universitätsbibliothek Hamburg
action filter_type
action find_reverse
entity Hamburg
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Hamburg']
SELECT DISTINCT ?a WHERE { ?a property:operator resource:Hamburg . ?a rdf:type ontology:collection }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Hamburg ?
(Q1055,P1313,c(Q12737077))
action filter_type
action find
entity Q1055
relation P1313
type Q12737077
['Q1055', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1055 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Hamburg
action filter_type
action find
entity Hamburg
relation office held by head of government
type occupation
['Hamburg', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hamburg property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q1362118
SYSTEM
First Mayor of Hamburg
Q1362118
(Q1055,P1313,c(Q12737077))
action filter_type
action find
entity Q1055
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Hamburg
['Q1055', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1055 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
First Mayor of Hamburg
The First Mayor of Hamburg serves as the political office that is fulfilled by the head of the government of Hamburg
First Mayor of Hamburg
action filter_type
action find
entity Hamburg
relation office held by head of government
type occupation
['Hamburg', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hamburg property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1362118
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q1362118)
action filter_type
action find_reverse
entity Q1362118
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1362118']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P39 resource:Q1362118 }
First Mayor of Hamburg
action filter_type
action find_reverse
entity First Mayor of Hamburg
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'First Mayor of Hamburg']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:position_held resource:First_Mayor_of_Hamburg }
[]
common name
Q61053 Q85791
SYSTEM
Olaf Scholz, Peter Schulz
Q61053 Q85791
(c(Q502895),P39,Q1362118)
action filter_type
action find_reverse
entity Q1362118
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q1362118']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P39 resource:Q1362118 }
Olaf Scholz Peter Schulz
Olaf Scholz and Peter Schulz were responsible for occupying the position of that occupation
Olaf Scholz Peter Schulz
action filter_type
action find_reverse
entity First Mayor of Hamburg
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'First Mayor of Hamburg']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:position_held resource:First_Mayor_of_Hamburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1362118
P1001
Q486972
USER
Which human settlement is linked to First Mayor of Hamburg ?
(Q1362118,P1001,c(Q486972))
action filter_type
action find
entity Q1362118
relation P1001
type Q486972
['Q1362118', 'P1001', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { resource:Q1362118 property:P1001 ?u . ?u rdf:type ontology:Q486972 }
First Mayor of Hamburg
action filter_type
action find
entity First Mayor of Hamburg
relation applies to jurisdiction
type human settlement
['First Mayor of Hamburg', 'applies to jurisdiction', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { resource:First_Mayor_of_Hamburg property:applies_to_jurisdiction ?u . ?u rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1362118,P1001,c(Q486972))
action filter_type
action find
entity Q1362118
relation P1001
type Q486972
[ANSWER] is linked to First Mayor of [ANSWER]
['Q1362118', 'P1001', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { resource:Q1362118 property:P1001 ?u . ?u rdf:type ontology:Q486972 }
Hamburg
Hamburg is linked to First Mayor of Hamburg
Hamburg
action filter_type
action find
entity First Mayor of Hamburg
relation applies to jurisdiction
type human settlement
['First Mayor of Hamburg', 'applies to jurisdiction', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { resource:First_Mayor_of_Hamburg property:applies_to_jurisdiction ?u . ?u rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26695586
Q486972
USER
And also tell me about mayor of Puebla de San Medel?
(Q26695586,P1001,c(Q486972))
action filter_type
action find
entity Q26695586
relation P1001
type Q486972
['Q26695586', 'P1001', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q486972 . resource:Q26695586 property:P1001 ?e }
mayor of Puebla de San Medel
action filter_type
action find
entity mayor of Puebla de San Medel
relation applies to jurisdiction
type human settlement
['mayor of Puebla de San Medel', 'applies to jurisdiction', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:human_settlement . resource:mayor_of_Puebla_de_San_Medel property:applies_to_jurisdiction ?e }
[]
human settlement
Q1766974
SYSTEM
Puebla de San Medel
Q1766974
(Q26695586,P1001,c(Q486972))
action filter_type
action find
entity Q26695586
relation P1001
type Q486972
[ANSWER]
['Q26695586', 'P1001', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q486972 . resource:Q26695586 property:P1001 ?e }
Puebla de San Medel
Puebla de San Medel
action filter_type
action find
entity mayor of Puebla de San Medel
relation applies to jurisdiction
type human settlement
['mayor of Puebla de San Medel', 'applies to jurisdiction', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:human_settlement . resource:mayor_of_Puebla_de_San_Medel property:applies_to_jurisdiction ?e }
[]