Simple Question (Direct)
Simple Question
Q2298007
P27
Q15617994
USER
Which administrative territory is Mats van Huijgevoort a civilian of ?
(Q2298007,P27,c(Q15617994))
action filter_type
action find
entity Q2298007
relation P27
type Q15617994
['Q2298007', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2298007 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Mats van Huijgevoort
action filter_type
action find
entity Mats van Huijgevoort
relation country of citizenship
type designation for an administrative territorial entity
['Mats van Huijgevoort', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Mats_van_Huijgevoort property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2298007,P27,c(Q15617994))
action filter_type
action find
entity Q2298007
relation P27
type Q15617994
The [ANSWER] is Mats van Huijgevoort a civilian of
['Q2298007', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2298007 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
The Kingdom of the Netherlands is Mats van Huijgevoort a civilian of
Kingdom of the Netherlands
action filter_type
action find
entity Mats van Huijgevoort
relation country of citizenship
type designation for an administrative territorial entity
['Mats van Huijgevoort', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Mats_van_Huijgevoort property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2298007
P641
Q349
USER
Which sport was that person a part of ?
(Q29999,P641,c(Q349))
action filter_type
action find
entity Q2298007
relation P641
type Q349
['Q29999', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q2298007 property:P641 ?p . ?p rdf:type ontology:Q349 }
Mats van Huijgevoort
action filter_type
action find
entity Mats van Huijgevoort
relation sport
type sport
['Kingdom of the Netherlands', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Mats_van_Huijgevoort property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q29999,P641,c(Q349))
action filter_type
action find
entity Q2298007
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q29999', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q2298007 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Mats van Huijgevoort
relation sport
type sport
['Kingdom of the Netherlands', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Mats_van_Huijgevoort property:sport ?p . ?p rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29999
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories share border with Kingdom of the Netherlands ?
(Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q29999
relation P47
type Q15617994
action filter_type
action find
entity Q29999
relation P47
type Q1048835
['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Kingdom of the Netherlands
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
4
Q142 Q31 Q717 Q183
(Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q29999
relation P47
type Q15617994
action filter_type
action find
entity Q29999
relation P47
type Q1048835
[ANSWER]
['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
France Belgium Venezuela Germany
4
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q488513
P138
Q15617994 Q83620 Q151885
USER
How many administrative territories are the etymology of around the same number of thoroughfares or concepts as Anklam ?
(c(Q83620)|c(Q151885),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q488513
relation P138
type Q83620
type Q151885
[[{'concept': 'Q83620'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?v WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q83620 ) ( ontology:Q151885 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P138 resource:Q488513 . { VALUES ( ?b ) { ( ontology:Q83620 ) ( ontology:Q151885 ) } . ?i rdf:type ?b } } } . FILTER ( ?h = ?n ) }
Anklam
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Anklam
relation named after
type thoroughfare
type concept
[[{'concept': 'thoroughfare'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?v WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:thoroughfare ) ( ontology:concept ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:named_after resource:Anklam . { VALUES ( ?b ) { ( ontology:thoroughfare ) ( ontology:concept ) } . ?i rdf:type ?b } } } . FILTER ( ?h = ?n ) }
[]
designation for an administrative territorial entity thoroughfare concept
SYSTEM
372
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 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 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 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 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 Q232 Q129003 Q81729 Q1101 Q1206596 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 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 Q6986 Q258974 Q1527970 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 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 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 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q83620)|c(Q151885),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q488513
relation P138
type Q83620
type Q151885
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?v WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q83620 ) ( ontology:Q151885 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P138 resource:Q488513 . { VALUES ( ?b ) { ( ontology:Q83620 ) ( ontology:Q151885 ) } . ?i rdf:type ?b } } } . FILTER ( ?h = ?n ) }
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 Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant 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 Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate 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 Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes 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 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 Gotha Bitburg Ober-Roden 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 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 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 Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
372
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Anklam
relation named after
type thoroughfare
type concept
[[{'concept': 'thoroughfare'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?v WHERE { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:thoroughfare ) ( ontology:concept ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:named_after resource:Anklam . { VALUES ( ?b ) { ( ontology:thoroughfare ) ( ontology:concept ) } . ?i rdf:type ?b } } } . FILTER ( ?h = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11340
P138
Q15617994 Q83620 Q151885
USER
And also tell me about Sprockhövel?
(c(Q83620)|c(Q151885),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q11340
relation P138
type Q83620
type Q151885
[[{'concept': 'Q83620'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:P138 ?e . ?e rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q83620 } UNION { ?k property:P138 ?e . ?e rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q151885 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P138 resource:Q11340 . { { ?q rdf:type ontology:Q151885 } UNION { ?q rdf:type ontology:Q83620 } } } } . FILTER ( ?y = ?t ) }
Sprockhövel
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Sprockhövel
relation named after
type thoroughfare
type concept
[[{'concept': 'thoroughfare'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:named_after ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:thoroughfare } UNION { ?k property:named_after ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:concept } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:named_after resource:Sprockhövel . { { ?q rdf:type ontology:concept } UNION { ?q rdf:type ontology:thoroughfare } } } } . FILTER ( ?y = ?t ) }
[]
designation for an administrative territorial entity thoroughfare concept
SYSTEM
372
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 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 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 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 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 Q232 Q129003 Q81729 Q1101 Q1206596 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 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 Q6986 Q258974 Q1527970 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 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 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 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q83620)|c(Q151885),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q11340
relation P138
type Q83620
type Q151885
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q151885'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:P138 ?e . ?e rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q83620 } UNION { ?k property:P138 ?e . ?e rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q151885 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P138 resource:Q11340 . { { ?q rdf:type ontology:Q151885 } UNION { ?q rdf:type ontology:Q83620 } } } } . FILTER ( ?y = ?t ) }
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 Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant 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 Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate 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 Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes 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 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 Gotha Bitburg Ober-Roden 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 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 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 Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
372
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action count
action filter_multi_types
action find_reverse
entity Sprockhövel
relation named after
type thoroughfare
type concept
[[{'concept': 'thoroughfare'}, {'concept': 'concept'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:named_after ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:thoroughfare } UNION { ?k property:named_after ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:concept } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:named_after resource:Sprockhövel . { { ?q rdf:type ontology:concept } UNION { ?q rdf:type ontology:thoroughfare } } } } . FILTER ( ?y = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29999
P27
Q4164871 Q43229
USER
How many positions or organizations are a native of Kingdom of the Netherlands ?
(c(Q4164871),P27,Q29999) (c(Q43229),P27,Q29999)
action count
action union
action filter_type
action find_reverse
entity Q29999
relation P27
type Q4164871
action filter_type
action find_reverse
entity Q29999
relation P27
type Q43229
[{'concept': 'Q4164871'}, 'P27', 'Q29999'] [{'concept': 'Q43229'}, 'P27', 'Q29999']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:Q4164871 ) ( ontology:Q43229 ) } . ?c rdf:type ?p }
Kingdom of the Netherlands
action count
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type position
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type organization
[{'concept': 'position'}, 'country of citizenship', 'Kingdom of the Netherlands'] [{'concept': 'organization'}, 'country of citizenship', 'Kingdom of the Netherlands']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:position ) ( ontology:organization ) } . ?c rdf:type ?p }
[]
position organization
SYSTEM
2
Q1926163 Q1911054
(c(Q4164871),P27,Q29999) (c(Q43229),P27,Q29999)
action count
action union
action filter_type
action find_reverse
entity Q29999
relation P27
type Q4164871
action filter_type
action find_reverse
entity Q29999
relation P27
type Q43229
[ANSWER]
[{'concept': 'Q4164871'}, 'P27', 'Q29999'] [{'concept': 'Q43229'}, 'P27', 'Q29999']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:Q4164871 ) ( ontology:Q43229 ) } . ?c rdf:type ?p }
Mevis & Van Deursen Gerrit van Poelje
2
action count
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type position
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type organization
[{'concept': 'position'}, 'country of citizenship', 'Kingdom of the Netherlands'] [{'concept': 'organization'}, 'country of citizenship', 'Kingdom of the Netherlands']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:position ) ( ontology:organization ) } . ?c rdf:type ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q40
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with less number of administrative territories than Austria ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?w property:P530 ?p . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q40 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?a ) }
Austria
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?w property:diplomatic_relation ?p . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Austria property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?a ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q664 Q1000
SYSTEM
Denmark, New Zealand, Gabon
Q1000 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with less number of administrative territories than Austria
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?w property:P530 ?p . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q40 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?a ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, New Zealand and Gabon have diplomatic relations with less number of administrative territories than Austria
Denmark New Zealand Gabon
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?u ) WHERE { ?w property:diplomatic_relation ?p . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Austria property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2298007
P19
Q56061
USER
Which administrative territory is the place of birth of Mats van Huijgevoort ?
(Q2298007,P19,c(Q56061))
action filter_type
action find
entity Q2298007
relation P19
type Q56061
['Q2298007', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2298007 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Mats van Huijgevoort
action filter_type
action find
entity Mats van Huijgevoort
relation place of birth
type administrative territorial entity
['Mats van Huijgevoort', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Mats_van_Huijgevoort property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9871
SYSTEM
Tilburg
Q9871
(Q2298007,P19,c(Q56061))
action filter_type
action find
entity Q2298007
relation P19
type Q56061
[ANSWER] is the place of birth of Mats van Huijgevoort
['Q2298007', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2298007 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Tilburg
Tilburg is the place of birth of Mats van Huijgevoort
Tilburg
action filter_type
action find
entity Mats van Huijgevoort
relation place of birth
type administrative territorial entity
['Mats van Huijgevoort', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Mats_van_Huijgevoort property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9871
P190
Q486972
USER
Which human settlement is the sister city of that administrative territory ?
(Q9871,P190,c(Q486972))
action filter_type
action find
entity Q9871
relation P190
type Q486972
['Q9871', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { resource:Q9871 property:P190 ?h . ?h rdf:type ontology:Q486972 }
Tilburg
action filter_type
action find
entity Tilburg
relation sister city
type human settlement
['Tilburg', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { resource:Tilburg property:sister_city ?h . ?h rdf:type ontology:human_settlement }
[]
human settlement
Q37333
SYSTEM
Lublin
Q37333
(Q9871,P190,c(Q486972))
action filter_type
action find
entity Q9871
relation P190
type Q486972
[ANSWER] is the sister city of that administrative territory
['Q9871', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { resource:Q9871 property:P190 ?h . ?h rdf:type ontology:Q486972 }
Lublin
Lublin is the sister city of that administrative territory
Lublin
action filter_type
action find
entity Tilburg
relation sister city
type human settlement
['Tilburg', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { resource:Tilburg property:sister_city ?h . ?h rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q515 Q13220204
USER
How many cities or administrative country subdivisions are partner towns of that human settlement ?
(Q37333,P190,c(Q515)) (Q37333,P190,c(Q13220204)) (Q37333,P190,c(Q515)) (Q37333,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q37333
relation P190
type Q515
action filter_type
action find
entity Q37333
relation P190
type Q13220204
['Q37333', 'P190', {'concept': 'Q515'}] ['Q37333', 'P190', {'concept': 'Q13220204'}] ['Q37333', 'P190', {'concept': 'Q515'}] ['Q37333', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { resource:Q37333 property:P190 ?c . ?c rdf:type ontology:Q515 } UNION { resource:Q37333 property:P190 ?c . ?c rdf:type ontology:Q13220204 } }
action count
action union
action filter_type
action find
entity Lublin
relation sister city
type city
action filter_type
action find
entity Lublin
relation sister city
type second-level administrative country subdivision
['Lublin', 'sister city', {'concept': 'city'}] ['Lublin', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Lublin', 'sister city', {'concept': 'city'}] ['Lublin', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { resource:Lublin property:sister_city ?c . ?c rdf:type ontology:city } UNION { resource:Lublin property:sister_city ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision } }
[]
city second-level administrative country subdivision
SYSTEM
5
Q404429 Q1719466 Q117676 Q157144 Q156739
(Q37333,P190,c(Q515)) (Q37333,P190,c(Q13220204)) (Q37333,P190,c(Q515)) (Q37333,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q37333
relation P190
type Q515
action filter_type
action find
entity Q37333
relation P190
type Q13220204
[ANSWER]
['Q37333', 'P190', {'concept': 'Q515'}] ['Q37333', 'P190', {'concept': 'Q13220204'}] ['Q37333', 'P190', {'concept': 'Q515'}] ['Q37333', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { resource:Q37333 property:P190 ?c . ?c rdf:type ontology:Q515 } UNION { resource:Q37333 property:P190 ?c . ?c rdf:type ontology:Q13220204 } }
Jiaozuo Panevėžys Viseu Vinnytsia Rivne
5
action count
action union
action filter_type
action find
entity Lublin
relation sister city
type city
action filter_type
action find
entity Lublin
relation sister city
type second-level administrative country subdivision
['Lublin', 'sister city', {'concept': 'city'}] ['Lublin', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Lublin', 'sister city', {'concept': 'city'}] ['Lublin', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { resource:Lublin property:sister_city ?c . ?c rdf:type ontology:city } UNION { resource:Lublin property:sister_city ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q811979 Q502895 Q486972
USER
How many human settlements have around 1 architectural structures or people as their toponym ?
(c(Q486972),P138,c(Q811979)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q486972
type Q811979
action find_tuple_counts
relation P138
type Q486972
type Q502895
value 1
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q811979'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?f WHERE { { ?f property:P138 ?m . ?f rdf:type ontology:Q486972 . ?m rdf:type ontology:Q811979 } UNION { ?f property:P138 ?m . ?f rdf:type ontology:Q486972 . ?m rdf:type ontology:Q502895 } } GROUP BY ?f } . FILTER ( ?s = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type human settlement
type architectural structure
action find_tuple_counts
relation named after
type human settlement
type common name
value 1
[{'concept': 'human settlement'}, 'named after', [{'concept': 'architectural structure'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?f WHERE { { ?f property:named_after ?m . ?f rdf:type ontology:human_settlement . ?m rdf:type ontology:architectural_structure } UNION { ?f property:named_after ?m . ?f rdf:type ontology:human_settlement . ?m rdf:type ontology:common_name } } GROUP BY ?f } . FILTER ( ?s = 1 ) }
[]
architectural structure common name human settlement
SYSTEM
66
Q17149400 Q7598636 Q5763347 Q1683228 Q1510158 Q1256512 Q2792890 Q1033949 Q16131638 Q735912 Q783854 Q14345064 Q18388510 Q1250716 Q7971580 Q6928093 Q6504819 Q983650 Q48256 Q2991444 Q290356 Q976539 Q1742210 Q3593074 Q2935221 Q14914641 Q1888614 Q861363 Q5055608 Q1087169 Q3558487 Q6667162 Q7996570 Q4283923 Q967732 Q2416235 Q19904243 Q86768 Q6914022 Q925544 Q981354 Q2069816 Q7926541 Q3375567 Q2175554 Q3306374 Q1299923 Q76937 Q5750556 Q5487991 Q3462814 Q981934 Q10987378 Q9009279 Q2121780 Q4570781 Q27622959 Q24190423 Q1847830 Q7971406 Q6118795 Q2029443 Q12426646 Q2185534 Q4335 Q3172802
(c(Q486972),P138,c(Q811979)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q486972
type Q811979
action find_tuple_counts
relation P138
type Q486972
type Q502895
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q811979'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?f WHERE { { ?f property:P138 ?m . ?f rdf:type ontology:Q486972 . ?m rdf:type ontology:Q811979 } UNION { ?f property:P138 ?m . ?f rdf:type ontology:Q486972 . ?m rdf:type ontology:Q502895 } } GROUP BY ?f } . FILTER ( ?s = 1 ) }
Sant'Antonio d'Adda Standish Hillman City Röntgental Tokeland Stuwerviertel Muir Beach Cantwell Givat Olga Nellis Air Force Base Fort Hood Sint-Anna Ramat Elchanan Westfalenhalle Washington's Landing Mościce Lawrenceville Fort Knox Dnipro Abasolo San Pedro Fort Davis Kinkerbuurt île Feydeau Camp Lemonnier Mahatma Gandhi District Roeterseiland Christianshavn Cagaloglu Fort Dix Villa Castelli Logan Square Whitley Heights Ataliva Roca Belltown Quintino Bocaiúva Dumontwijk Bel Air Morrison Hill Kungens Kurva Bigfoot Per-Albin-Hansson-Siedlung Victoria Perrache Logan Circle Mercier Ehrenberg Willemstad, North Brabant Hiawatha Frank Lloyd Wright-Prairie School of Architecture Historic District Kalininskaya, Krasnodar Krai Gail Lindenhof Ireneo Portela Sint-Anna Lincoln University Davy Brown Campground Lamington Pacaltsdorp Waser San Francisco de Olivenza Ordzhonikidzevskaya Chirag Delhi Willemspark Pointe-au-Père, Quebec Jean Jaurès-Petit-Banque
66
action count
action approx
action union
action find_tuple_counts
relation named after
type human settlement
type architectural structure
action find_tuple_counts
relation named after
type human settlement
type common name
value 1
[{'concept': 'human settlement'}, 'named after', [{'concept': 'architectural structure'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?f WHERE { { ?f property:named_after ?m . ?f rdf:type ontology:human_settlement . ?m rdf:type ontology:architectural_structure } UNION { ?f property:named_after ?m . ?f rdf:type ontology:human_settlement . ?m rdf:type ontology:common_name } } GROUP BY ?f } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q35 Q458
P530
Q15617994
USER
How many administrative territories have diplomatic associations with Denmark and European Union ?
(c(Q15617994),P530,Q35) (c(Q15617994),P530,Q458)
action count
action intersection
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q458
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q35'] [{'concept': 'Q15617994'}, 'P530', 'Q458']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P530 resource:Q35 . ?a rdf:type ontology:Q15617994 . ?a property:P530 resource:Q458 . ?a rdf:type ontology:Q15617994 }
Denmark European Union
action count
action intersection
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'European Union']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:diplomatic_relation resource:Denmark . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation resource:European_Union . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q184
(c(Q15617994),P530,Q35) (c(Q15617994),P530,Q458)
action count
action intersection
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q458
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q35'] [{'concept': 'Q15617994'}, 'P530', 'Q458']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P530 resource:Q35 . ?a rdf:type ontology:Q15617994 . ?a property:P530 resource:Q458 . ?a rdf:type ontology:Q15617994 }
Brazil Belarus
2
action count
action intersection
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'European Union']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:diplomatic_relation resource:Denmark . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation resource:European_Union . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q801
P206
Q337567 Q15324 Q15617994
USER
How many administrative territories are located nearby lesser number of still waterss or bodies of water than Israel ?
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q801
relation P206
type Q337567
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?f WHERE { { ?j rdf:type ontology:Q337567 . ?f rdf:type ontology:Q15617994 . ?f property:P206 ?j } UNION { ?j rdf:type ontology:Q15324 . ?f rdf:type ontology:Q15617994 . ?f property:P206 ?j } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?p ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?k rdf:type ?p } . resource:Q801 property:P206 ?k } } . FILTER ( ?b < ?x ) }
Israel
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Israel
relation located next to body of water
type still waters
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?f WHERE { { ?j rdf:type ontology:still_waters . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:located_next_to_body_of_water ?j } UNION { ?j rdf:type ontology:body_of_water . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:located_next_to_body_of_water ?j } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?p ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?k rdf:type ?p } . resource:Israel property:located_next_to_body_of_water ?k } } . FILTER ( ?b < ?x ) }
[]
still waters body of water designation for an administrative territorial entity
SYSTEM
132
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q36 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q28 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q213 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q801
relation P206
type Q337567
type Q15324
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?f WHERE { { ?j rdf:type ontology:Q337567 . ?f rdf:type ontology:Q15617994 . ?f property:P206 ?j } UNION { ?j rdf:type ontology:Q15324 . ?f rdf:type ontology:Q15617994 . ?f property:P206 ?j } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?p ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?k rdf:type ?p } . resource:Q801 property:P206 ?k } } . FILTER ( ?b < ?x ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Poland Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Hungary Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Czech Republic Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
132
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Israel
relation located next to body of water
type still waters
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?f WHERE { { ?j rdf:type ontology:still_waters . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:located_next_to_body_of_water ?j } UNION { ?j rdf:type ontology:body_of_water . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:located_next_to_body_of_water ?j } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?p ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?k rdf:type ?p } . resource:Israel property:located_next_to_body_of_water ?k } } . FILTER ( ?b < ?x ) }
[]