Simple Question (Direct)
Simple Question
Q3591196
P19
Q20667921
USER
Which french administrative division was Éric Judor born at ?
(Q3591196,P19,c(Q20667921))
action filter_type
action find
entity Q3591196
relation P19
type Q20667921
['Q3591196', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q20667921 . resource:Q3591196 property:P19 ?k }
Éric Judor
action filter_type
action find
entity Éric Judor
relation place of birth
type type of french administrative division
['Éric Judor', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:type_of_french_administrative_division . resource:Éric_Judor property:place_of_birth ?k }
[]
type of french administrative division
Q207620
SYSTEM
Meaux
Q207620
(Q3591196,P19,c(Q20667921))
action filter_type
action find
entity Q3591196
relation P19
type Q20667921
Éric Judor was born in [ANSWER]
['Q3591196', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q20667921 . resource:Q3591196 property:P19 ?k }
Meaux
Éric Judor was born in Meaux
Meaux
action filter_type
action find
entity Éric Judor
relation place of birth
type type of french administrative division
['Éric Judor', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:type_of_french_administrative_division . resource:Éric_Judor property:place_of_birth ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207620
P1376
Q13220204
USER
What has that french administrative division as its capital ?
(Q207620,P1376,c(Q13220204))
action filter_type
action find
entity Q207620
relation P1376
type Q13220204
['Q207620', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?p WHERE { resource:Q207620 property:P1376 ?p . ?p rdf:type ontology:Q13220204 }
Meaux
action filter_type
action find
entity Meaux
relation capital of
type second-level administrative country subdivision
['Meaux', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { resource:Meaux property:capital_of ?p . ?p rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q642854
SYSTEM
arrondissement of Meaux
Q642854
(Q207620,P1376,c(Q13220204))
action filter_type
action find
entity Q207620
relation P1376
type Q13220204
The [ANSWER] has that french administrative division as its capital
['Q207620', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?p WHERE { resource:Q207620 property:P1376 ?p . ?p rdf:type ontology:Q13220204 }
arrondissement of Meaux
The arrondissement of Meaux has that french administrative division as its capital
arrondissement of Meaux
action filter_type
action find
entity Meaux
relation capital of
type second-level administrative country subdivision
['Meaux', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { resource:Meaux property:capital_of ?p . ?p rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q642854 Q218027
P17
Q15617994
USER
Is that administrative country subdivision situated in Zoagli ?
(Q642854,P17,Q218027)
action is_in
entity Q218027
action find
entity Q642854
relation P17
['Q642854', 'P17', 'Q218027']
ASK WHERE { resource:Q642854 property:P17 resource:Q218027 }
arrondissement of Meaux Zoagli
action is_in
entity Zoagli
action find
entity arrondissement of Meaux
relation country
['arrondissement of Meaux', 'country', 'Zoagli']
ASK WHERE { resource:arrondissement_of_Meaux property:country resource:Zoagli }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q642854,P17,Q218027)
action is_in
entity Q218027
action find
entity Q642854
relation P17
[ANSWER]
['Q642854', 'P17', 'Q218027']
ASK WHERE { resource:Q642854 property:P17 resource:Q218027 }
No
action is_in
entity Zoagli
action find
entity arrondissement of Meaux
relation country
['arrondissement of Meaux', 'country', 'Zoagli']
ASK WHERE { resource:arrondissement_of_Meaux property:country resource:Zoagli }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3591196 Q142
P27
Q15617994
USER
Is that person a civilian of France ?
(Q3591196,P27,Q142)
action is_in
entity Q142
action find
entity Q3591196
relation P27
['Q3591196', 'P27', 'Q142']
ASK WHERE { resource:Q3591196 property:P27 resource:Q142 }
Éric Judor France
action is_in
entity France
action find
entity Éric Judor
relation country of citizenship
['Éric Judor', 'country of citizenship', 'France']
ASK WHERE { resource:Éric_Judor property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3591196,P27,Q142)
action is_in
entity Q142
action find
entity Q3591196
relation P27
[ANSWER]
['Q3591196', 'P27', 'Q142']
ASK WHERE { resource:Q3591196 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Éric Judor
relation country of citizenship
['Éric Judor', 'country of citizenship', 'France']
ASK WHERE { resource:Éric_Judor property:country_of_citizenship resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q642854 Q142
P17
Q15617994
USER
Is arrondissement of Meaux situated in France ?
(Q642854,P17,Q142)
action is_in
entity Q142
action find
entity Q642854
relation P17
['Q642854', 'P17', 'Q142']
ASK WHERE { resource:Q642854 property:P17 resource:Q142 }
arrondissement of Meaux France
action is_in
entity France
action find
entity arrondissement of Meaux
relation country
['arrondissement of Meaux', 'country', 'France']
ASK WHERE { resource:arrondissement_of_Meaux property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q642854,P17,Q142)
action is_in
entity Q142
action find
entity Q642854
relation P17
[ANSWER]
['Q642854', 'P17', 'Q142']
ASK WHERE { resource:Q642854 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity arrondissement of Meaux
relation country
['arrondissement of Meaux', 'country', 'France']
ASK WHERE { resource:arrondissement_of_Meaux property:country resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q271669 Q13220204
USER
How many landforms are atleast 1 administrative country subdivision named after ?
(c(Q13220204),P138,c(Q271669))
action count
action atleast
action find_reverse_tuple_counts
relation P138
type Q271669
type Q13220204
value 1
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?m rdf:type ontology:Q271669 . ?c rdf:type ontology:Q13220204 . ?c property:P138 ?m } GROUP BY ?m } . FILTER ( ?y >= 1 ) }
action count
action atleast
action find_reverse_tuple_counts
relation named after
type landform
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?m rdf:type ontology:landform . ?c rdf:type ontology:second-level_administrative_country_subdivision . ?c property:named_after ?m } GROUP BY ?m } . FILTER ( ?y >= 1 ) }
[]
landform second-level administrative country subdivision
SYSTEM
2
Q270375 Q1069922
(c(Q13220204),P138,c(Q271669))
action count
action atleast
action find_reverse_tuple_counts
relation P138
type Q271669
type Q13220204
value 1
[ANSWER]
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?m rdf:type ontology:Q271669 . ?c rdf:type ontology:Q13220204 . ?c property:P138 ?m } GROUP BY ?m } . FILTER ( ?y >= 1 ) }
Ko Samui Ko Pha Ngan
2
action count
action atleast
action find_reverse_tuple_counts
relation named after
type landform
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?m rdf:type ontology:landform . ?c rdf:type ontology:second-level_administrative_country_subdivision . ?c property:named_after ?m } GROUP BY ?m } . FILTER ( ?y >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q796
P138
Q15617994 Q13220204
USER
Which administrative territories are the origin of around the same number of administrative country subdivisions as Iraq ?
(c(Q13220204),P138,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_type
action find
entity Q796
relation P138
type Q15617994
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q13220204 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q796 property:P138 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?v ) }
Iraq
action approx
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_type
action find
entity Iraq
relation named after
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Iraq property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?v ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q13220204),P138,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_type
action find
entity Q796
relation P138
type Q15617994
[ANSWERS] are the origin of around the same number of administrative country subdivisions as Iraq
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q13220204 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q796 property:P138 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?v ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy, Brazil and United States of America are the origin of around the same number of administrative country subdivisions as Iraq
Italy Brazil United States of America
action approx
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_type
action find
entity Iraq
relation named after
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Iraq property:named_after ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3697039
P138
Q15617994 Q13220204
USER
And also tell me about Crescenzago?
(c(Q13220204),P138,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_type
action find
entity Q3697039
relation P138
type Q15617994
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P138 ?r . ?r rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q13220204 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q3697039 property:P138 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?p ) }
Crescenzago
action approx
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_type
action find
entity Crescenzago
relation named after
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:named_after ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Crescenzago property:named_after ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?p ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q13220204),P138,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_type
action find
entity Q3697039
relation P138
type Q15617994
[ANSWERS]
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P138 ?r . ?r rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q13220204 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q3697039 property:P138 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?p ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy Brazil United States of America
action approx
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_type
action find
entity Crescenzago
relation named after
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:named_after ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Crescenzago property:named_after ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P1376
Q56061 Q515
USER
How many administrative territories or cities are the capital of Brazil ?
(c(Q56061),P1376,Q155) (c(Q515),P1376,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q155
relation P1376
type Q515
[{'concept': 'Q56061'}, 'P1376', 'Q155'] [{'concept': 'Q515'}, 'P1376', 'Q155']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?n rdf:type ?k }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity Brazil
relation capital of
type city
[{'concept': 'administrative territorial entity'}, 'capital of', 'Brazil'] [{'concept': 'city'}, 'capital of', 'Brazil']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?n rdf:type ?k }
[]
administrative territorial entity city
SYSTEM
2
Q8678 Q2844
(c(Q56061),P1376,Q155) (c(Q515),P1376,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q155
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q155'] [{'concept': 'Q515'}, 'P1376', 'Q155']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?n rdf:type ?k }
Rio de Janeiro Brasília
2
action count
action union
action filter_type
action find_reverse
entity Brazil
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity Brazil
relation capital of
type city
[{'concept': 'administrative territorial entity'}, 'capital of', 'Brazil'] [{'concept': 'city'}, 'capital of', 'Brazil']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { VALUES ( ?k ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?n rdf:type ?k }
[]