Simple Question (Direct)
Simple Question
Q16934
P47
Q15617994
USER
Who share the border with Duino-Aurisina ?
(Q16934,P47,c(Q15617994))
action filter_type
action find
entity Q16934
relation P47
type Q15617994
['Q16934', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16934 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Duino-Aurisina
action filter_type
action find
entity Duino-Aurisina
relation shares border with
type designation for an administrative territorial entity
['Duino-Aurisina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Duino-Aurisina property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53133 Q53125 Q16939
SYSTEM
Monfalcone, Doberdò del Lago, Sgonico
Q53133 Q53125 Q16939
(Q16934,P47,c(Q15617994))
action filter_type
action find
entity Q16934
relation P47
type Q15617994
[ANSWERS] share the border with Duino-Aurisina
['Q16934', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16934 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Monfalcone Doberdò del Lago Sgonico
Monfalcone, Doberdò del Lago and Sgonico share the border with Duino-Aurisina
Monfalcone Doberdò del Lago Sgonico
action filter_type
action find
entity Duino-Aurisina
relation shares border with
type designation for an administrative territorial entity
['Duino-Aurisina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Duino-Aurisina property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q53133 Q53125 Q16939
P47
Q15617994
USER
Which administrative territories have an adjacent border with Monfalcone, Doberdò del Lago and Sgonico ?
(c(Q15617994),P47,Q53133) (c(Q15617994),P47,Q53125) (c(Q15617994),P47,Q16939)
action union
action filter_type
action find
entity Q53133
relation P47
type Q15617994
action filter_type
action find
entity Q53125
relation P47
type Q15617994
action filter_type
action find
entity Q16939
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q53133'] [{'concept': 'Q15617994'}, 'P47', 'Q53125'] [{'concept': 'Q15617994'}, 'P47', 'Q16939']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:Q15617994 . resource:Q53125 property:P47 ?p } UNION { resource:Q53133 property:P47 ?p . ?p rdf:type ontology:Q15617994 } }
Monfalcone Doberdò del Lago Sgonico
action union
action filter_type
action find
entity Monfalcone
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Doberdò del Lago
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sgonico
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Monfalcone'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Doberdò del Lago'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sgonico']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Doberdò_del_Lago property:shares_border_with ?p } UNION { resource:Monfalcone property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q16934 Q16934 Q16934
SYSTEM
Duino-Aurisina
Q53145 Q53125 Q53137 Q16934 Q53144 Q53128 Q53138 Q53133 Q53137 Q16934 Q16934
(c(Q15617994),P47,Q53133) (c(Q15617994),P47,Q53125) (c(Q15617994),P47,Q16939)
action union
action filter_type
action find
entity Q53133
relation P47
type Q15617994
action filter_type
action find
entity Q53125
relation P47
type Q15617994
action filter_type
action find
entity Q16939
relation P47
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] have an adjacent border with Monfalcone, Doberdò del Lago and Sgonico
[{'concept': 'Q15617994'}, 'P47', 'Q53133'] [{'concept': 'Q15617994'}, 'P47', 'Q53125'] [{'concept': 'Q15617994'}, 'P47', 'Q16939']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:Q15617994 . resource:Q53125 property:P47 ?p } UNION { resource:Q53133 property:P47 ?p . ?p rdf:type ontology:Q15617994 } }
Staranzano Doberdò del Lago Ronchi dei Legionari Duino-Aurisina Savogna d'Isonzo Fogliano Redipuglia Sagrado Monfalcone Ronchi dei Legionari Duino-Aurisina Duino-Aurisina
Duino-Aurisina, Duino-Aurisina and Duino-Aurisina have an adjacent border with Monfalcone, Doberdò del Lago and Sgonico
Duino-Aurisina Duino-Aurisina Duino-Aurisina
action union
action filter_type
action find
entity Monfalcone
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Doberdò del Lago
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sgonico
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Monfalcone'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Doberdò del Lago'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sgonico']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Doberdò_del_Lago property:shares_border_with ?p } UNION { resource:Monfalcone property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53133
P190
Q15617994
USER
Which administrative territories are sister towns of Monfalcone ?
(Q53133,P190,c(Q15617994))
action filter_type
action find
entity Q53133
relation P190
type Q15617994
['Q53133', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q53133 property:P190 ?h . ?h rdf:type ontology:Q15617994 }
Monfalcone
action filter_type
action find
entity Monfalcone
relation sister city
type designation for an administrative territorial entity
['Monfalcone', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Monfalcone property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52143 Q688865
SYSTEM
Gallipoli, Apulia, Neumarkt in Steiermark
Q52143 Q688865
(Q53133,P190,c(Q15617994))
action filter_type
action find
entity Q53133
relation P190
type Q15617994
[ANSWERS] are sister towns of Monfalcone
['Q53133', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q53133 property:P190 ?h . ?h rdf:type ontology:Q15617994 }
Gallipoli, Apulia Neumarkt in Steiermark
Gallipoli, Apulia and Neumarkt in Steiermark are sister towns of Monfalcone
Gallipoli, Apulia Neumarkt in Steiermark
action filter_type
action find
entity Monfalcone
relation sister city
type designation for an administrative territorial entity
['Monfalcone', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Monfalcone property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q291575
Q15617994
USER
And also tell me about Évron?
(Q291575,P190,c(Q15617994))
action filter_type
action find
entity Q291575
relation P190
type Q15617994
['Q291575', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q291575 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Évron
action filter_type
action find
entity Évron
relation sister city
type designation for an administrative territorial entity
['Évron', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Évron property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q501626
SYSTEM
Wildeshausen
Q501626
(Q291575,P190,c(Q15617994))
action filter_type
action find
entity Q291575
relation P190
type Q15617994
[ANSWER]
['Q291575', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q291575 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Wildeshausen
Wildeshausen
action filter_type
action find
entity Évron
relation sister city
type designation for an administrative territorial entity
['Évron', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Évron property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q155019
P138
Q15617994 Q83620 Q56061
USER
How many administrative territories are lesser number of thoroughfares and administrative territories named after than Duchy of Lorraine ?
(c(Q83620)|c(Q56061),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q155019
relation P138
type Q83620
type Q56061
[[{'concept': 'Q83620'}, {'concept': 'Q56061'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q83620 . ?l property:P138 ?i } UNION { ?l property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q56061 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P138 resource:Q155019 . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q83620 ) ( ontology:Q56061 ) } } } } . FILTER ( ?b < ?c ) }
Duchy of Lorraine
action count
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Duchy of Lorraine
relation named after
type thoroughfare
type administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:thoroughfare . ?l property:named_after ?i } UNION { ?l property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:named_after resource:Duchy_of_Lorraine . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:thoroughfare ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?b < ?c ) }
[]
designation for an administrative territorial entity thoroughfare administrative territorial entity
SYSTEM
371
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 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 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 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 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 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 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 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 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(Q83620)|c(Q56061),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q155019
relation P138
type Q83620
type Q56061
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q56061'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q83620 . ?l property:P138 ?i } UNION { ?l property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q56061 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P138 resource:Q155019 . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q83620 ) ( ontology:Q56061 ) } } } } . FILTER ( ?b < ?c ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen 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 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 Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio 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 Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg 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 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 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 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 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
371
action count
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Duchy of Lorraine
relation named after
type thoroughfare
type administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:thoroughfare . ?l property:named_after ?i } UNION { ?l property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:named_after resource:Duchy_of_Lorraine . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:thoroughfare ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?b < ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q236
P138
Q15617994 Q83620 Q56061
USER
And how about Montenegro?
(c(Q83620)|c(Q56061),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q236
relation P138
type Q83620
type Q56061
[[{'concept': 'Q83620'}, {'concept': 'Q56061'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { VALUES ( ?s ) { ( ontology:Q83620 ) ( ontology:Q56061 ) } . ?o rdf:type ?s } GROUP BY ?k } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P138 resource:Q236 . { { ?e rdf:type ontology:Q83620 } UNION { ?e rdf:type ontology:Q56061 } } } } }
Montenegro
action count
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Montenegro
relation named after
type thoroughfare
type administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { VALUES ( ?s ) { ( ontology:thoroughfare ) ( ontology:administrative_territorial_entity ) } . ?o rdf:type ?s } GROUP BY ?k } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:named_after resource:Montenegro . { { ?e rdf:type ontology:thoroughfare } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } }
[]
designation for an administrative territorial entity thoroughfare administrative territorial entity
SYSTEM
371
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 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 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 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 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 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 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 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 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(Q83620)|c(Q56061),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q236
relation P138
type Q83620
type Q56061
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q56061'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { VALUES ( ?s ) { ( ontology:Q83620 ) ( ontology:Q56061 ) } . ?o rdf:type ?s } GROUP BY ?k } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P138 resource:Q236 . { { ?e rdf:type ontology:Q83620 } UNION { ?e rdf:type ontology:Q56061 } } } } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen 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 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 Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio 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 Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg 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 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 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 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 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
371
action count
action less
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Montenegro
relation named after
type thoroughfare
type administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'administrative territorial entity'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?l ) WHERE { VALUES ( ?s ) { ( ontology:thoroughfare ) ( ontology:administrative_territorial_entity ) } . ?o rdf:type ?s } GROUP BY ?k } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:named_after resource:Montenegro . { { ?e rdf:type ontology:thoroughfare } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q236
P530 P421
Q15617994
USER
Which administrative territories have diplomatic relations with Montenegro and have UTC+01:00 as their time zone ?
AND((c(Q15617994),P530,Q236), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q236
relation P530
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P530', 'Q236'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . ?c property:P421 resource:Q6655 . ?c property:P530 resource:Q236 }
UTC+01:00 Montenegro
action filter_type
action intersection
action find_reverse
entity Montenegro
relation diplomatic relation
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Montenegro'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:located_in_time_zone resource:UTC+01:00 . ?c property:diplomatic_relation resource:Montenegro }
[]
designation for an administrative territorial entity
Q225 Q38
SYSTEM
Bosnia and Herzegovina, Italy
Q225 Q38
AND((c(Q15617994),P530,Q236), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q236
relation P530
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWERS] have diplomatic relations with Montenegro and have UTC+01:00 as their time zone
{'AND': [[{'concept': 'Q15617994'}, 'P530', 'Q236'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . ?c property:P421 resource:Q6655 . ?c property:P530 resource:Q236 }
Bosnia and Herzegovina Italy
Bosnia and Herzegovina and Italy have diplomatic relations with Montenegro and have UTC+01:00 as their time zone
Bosnia and Herzegovina Italy
action filter_type
action intersection
action find_reverse
entity Montenegro
relation diplomatic relation
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Montenegro'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:located_in_time_zone resource:UTC+01:00 . ?c property:diplomatic_relation resource:Montenegro }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q845235
P495
Q838948
USER
Does No Man's Land originate at those administrative territories ?
(Q845235,P495,Q225) (Q845235,P495,Q38)
action is_in
entity prev_answer
action find
entity Q845235
relation P495
['Q845235', 'P495', 'Q225'] ['Q845235', 'P495', 'Q38']
ASK WHERE { resource:Q845235 property:P495 ?f . VALUES ( ?f ) { ( resource:Q225 ) ( resource:Q38 ) } }
No Man's Land
action is_in
entity prev_answer
action find
entity No Man's Land
relation country of origin
["No Man's Land", 'country of origin', 'Bosnia and Herzegovina'] ["No Man's Land", 'country of origin', 'Italy']
ASK WHERE { resource:No_Man's_Land property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Bosnia_and_Herzegovina ) ( resource:Italy ) } }
[]
work of art
SYSTEM
YES
(Q845235,P495,Q225) (Q845235,P495,Q38)
action is_in
entity prev_answer
action find
entity Q845235
relation P495
[ANSWER]
['Q845235', 'P495', 'Q225'] ['Q845235', 'P495', 'Q38']
ASK WHERE { resource:Q845235 property:P495 ?f . VALUES ( ?f ) { ( resource:Q225 ) ( resource:Q38 ) } }
Yes
action is_in
entity prev_answer
action find
entity No Man's Land
relation country of origin
["No Man's Land", 'country of origin', 'Bosnia and Herzegovina'] ["No Man's Land", 'country of origin', 'Italy']
ASK WHERE { resource:No_Man's_Land property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Bosnia_and_Herzegovina ) ( resource:Italy ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16934 Q2514025 Q38
P17
Q15617994
USER
Is Duino-Aurisina located in Posyolok and Italy ?
(Q16934,P17,Q2514025) (Q16934,P17,Q38)
action is_in
entity Q16934
action intersection
action find_reverse
entity Q2514025
relation P17
action find_reverse
entity Q38
relation P17
['Q16934', 'P17', 'Q2514025'] ['Q16934', 'P17', 'Q38']
ASK WHERE { resource:Q16934 property:P17 resource:Q2514025 . resource:Q16934 property:P17 resource:Q38 }
Duino-Aurisina Posyolok Italy
action is_in
entity Duino-Aurisina
action intersection
action find_reverse
entity Posyolok
relation country
action find_reverse
entity Italy
relation country
['Duino-Aurisina', 'country', 'Posyolok'] ['Duino-Aurisina', 'country', 'Italy']
ASK WHERE { resource:Duino-Aurisina property:country resource:Posyolok . resource:Duino-Aurisina property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q16934,P17,Q2514025) (Q16934,P17,Q38)
action is_in
entity Q16934
action intersection
action find_reverse
entity Q2514025
relation P17
action find_reverse
entity Q38
relation P17
[ANSWER]
['Q16934', 'P17', 'Q2514025'] ['Q16934', 'P17', 'Q38']
ASK WHERE { resource:Q16934 property:P17 resource:Q2514025 . resource:Q16934 property:P17 resource:Q38 }
NO and YES respectively
action is_in
entity Duino-Aurisina
action intersection
action find_reverse
entity Posyolok
relation country
action find_reverse
entity Italy
relation country
['Duino-Aurisina', 'country', 'Posyolok'] ['Duino-Aurisina', 'country', 'Italy']
ASK WHERE { resource:Duino-Aurisina property:country resource:Posyolok . resource:Duino-Aurisina property:country resource:Italy }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3286
P138
Q14524493 Q271669 Q15617994
USER
How many administrative territories are the eponym of greater number of terrains or landforms than Cher ?
(c(Q15617994),P138,c(Q14524493)|c(Q271669))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q14524493
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q3286
relation P138
type Q14524493
type Q271669
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q3286 property:P138 ?x . { VALUES ( ?h ) { ( ontology:Q14524493 ) ( ontology:Q271669 ) } . ?x rdf:type ?h } } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?l WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:Q14524493 ) ( ontology:Q271669 ) } } GROUP BY ?l } }
Cher
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type terrain
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Cher
relation named after
type terrain
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'terrain'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Cher property:named_after ?x . { VALUES ( ?h ) { ( ontology:terrain ) ( ontology:landform ) } . ?x rdf:type ?h } } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?l WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:terrain ) ( ontology:landform ) } } GROUP BY ?l } }
[]
terrain landform designation for an administrative territorial entity
SYSTEM
17
Q1027 Q1090684 Q568751 Q1979 Q691890 Q1232680 Q3259 Q12694 Q691265 Q12580 Q1029 Q3120 Q2921370 Q754 Q27 Q3105 Q2528268
(c(Q15617994),P138,c(Q14524493)|c(Q271669))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q14524493
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q3286
relation P138
type Q14524493
type Q271669
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q3286 property:P138 ?x . { VALUES ( ?h ) { ( ontology:Q14524493 ) ( ontology:Q271669 ) } . ?x rdf:type ?h } } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?l WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:Q14524493 ) ( ontology:Q271669 ) } } GROUP BY ?l } }
Mauritius Montserrat Mont-Tonnerre Prince Edward Island Corcyre Ithaque Cantal Puy-de-Dôme Mont-Terrible Lozère Mozambique Jura Bouches-de-l'Èbre-Montserrat Trinidad and Tobago Ireland Vosges Mont-Blanc
17
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type terrain
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Cher
relation named after
type terrain
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'terrain'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Cher property:named_after ?x . { VALUES ( ?h ) { ( ontology:terrain ) ( ontology:landform ) } . ?x rdf:type ?h } } } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?l WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:terrain ) ( ontology:landform ) } } GROUP BY ?l } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q566032
P138
Q14524493 Q271669 Q15617994
USER
And also tell me about Rheinbreitbach?
(c(Q15617994),P138,c(Q14524493)|c(Q271669))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q14524493
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q566032
relation P138
type Q14524493
type Q271669
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q271669 ) ( ontology:Q14524493 ) } } . resource:Q566032 property:P138 ?d } } . FILTER ( ?y > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?p WHERE { { ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q14524493 . ?p property:P138 ?f } UNION { ?f rdf:type ontology:Q271669 . ?p rdf:type ontology:Q15617994 . ?p property:P138 ?f } } GROUP BY ?p } }
Rheinbreitbach
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type terrain
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Rheinbreitbach
relation named after
type terrain
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'terrain'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:landform ) ( ontology:terrain ) } } . resource:Rheinbreitbach property:named_after ?d } } . FILTER ( ?y > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?p WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:terrain . ?p property:named_after ?f } UNION { ?f rdf:type ontology:landform . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:named_after ?f } } GROUP BY ?p } }
[]
terrain landform designation for an administrative territorial entity
SYSTEM
17
Q1027 Q1090684 Q568751 Q1979 Q691890 Q1232680 Q3259 Q12694 Q691265 Q12580 Q1029 Q3120 Q2921370 Q754 Q27 Q3105 Q2528268
(c(Q15617994),P138,c(Q14524493)|c(Q271669))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q14524493
action find_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find
entity Q566032
relation P138
type Q14524493
type Q271669
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q271669 ) ( ontology:Q14524493 ) } } . resource:Q566032 property:P138 ?d } } . FILTER ( ?y > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?p WHERE { { ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q14524493 . ?p property:P138 ?f } UNION { ?f rdf:type ontology:Q271669 . ?p rdf:type ontology:Q15617994 . ?p property:P138 ?f } } GROUP BY ?p } }
Mauritius Montserrat Mont-Tonnerre Prince Edward Island Corcyre Ithaque Cantal Puy-de-Dôme Mont-Terrible Lozère Mozambique Jura Bouches-de-l'Èbre-Montserrat Trinidad and Tobago Ireland Vosges Mont-Blanc
17
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type terrain
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find
entity Rheinbreitbach
relation named after
type terrain
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'terrain'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:landform ) ( ontology:terrain ) } } . resource:Rheinbreitbach property:named_after ?d } } . FILTER ( ?y > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?p WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:terrain . ?p property:named_after ?f } UNION { ?f rdf:type ontology:landform . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:named_after ?f } } GROUP BY ?p } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q213 Q1428
P463
Q43229
USER
How many organizations had Czech Republic and Georgia as their member ?
(Q213,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q213
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
['Q213', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q213 property:P463 ?t . ?t rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?t . ?t rdf:type ontology:Q43229 }
Czech Republic Georgia
action count
action intersection
action filter_type
action find
entity Czech Republic
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Czech Republic', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Czech_Republic property:member_of ?t . ?t rdf:type ontology:organization . resource:Georgia property:member_of ?t . ?t rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q191384 Q899770 Q656801 Q827525
(Q213,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q213
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
[ANSWER]
['Q213', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q213 property:P463 ?t . ?t rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?t . ?t rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation International Development Association
4
action count
action intersection
action filter_type
action find
entity Czech Republic
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Czech Republic', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Czech_Republic property:member_of ?t . ?t rdf:type ontology:organization . resource:Georgia property:member_of ?t . ?t rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q21
P740
Q215380
USER
How many bands originated at Italy or England ?
(c(Q215380),P740,Q38) (c(Q215380),P740,Q21)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P740
type Q215380
action filter_type
action find_reverse
entity Q21
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q38'] [{'concept': 'Q215380'}, 'P740', 'Q21']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P740 resource:Q21 . ?n rdf:type ontology:Q215380 } UNION { ?n rdf:type ontology:Q215380 . ?n property:P740 resource:Q38 } }
Italy England
action count
action union
action filter_type
action find_reverse
entity Italy
relation location of formation
type band
action filter_type
action find_reverse
entity England
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Italy'] [{'concept': 'band'}, 'location of formation', 'England']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:location_of_formation resource:England . ?n rdf:type ontology:band } UNION { ?n rdf:type ontology:band . ?n property:location_of_formation resource:Italy } }
[]
band
SYSTEM
7
Q5888130 Q1138767 Q3862968 Q926799 Q2517322 Q7271227 Q938323
(c(Q215380),P740,Q38) (c(Q215380),P740,Q21)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P740
type Q215380
action filter_type
action find_reverse
entity Q21
relation P740
type Q215380
[ANSWER]
[{'concept': 'Q215380'}, 'P740', 'Q38'] [{'concept': 'Q215380'}, 'P740', 'Q21']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P740 resource:Q21 . ?n rdf:type ontology:Q215380 } UNION { ?n rdf:type ontology:Q215380 . ?n property:P740 resource:Q38 } }
Home Samson Morgan Strawbs Peach Quench The Firm
7
action count
action union
action filter_type
action find_reverse
entity Italy
relation location of formation
type band
action filter_type
action find_reverse
entity England
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Italy'] [{'concept': 'band'}, 'location of formation', 'England']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:location_of_formation resource:England . ?n rdf:type ontology:band } UNION { ?n rdf:type ontology:band . ?n property:location_of_formation resource:Italy } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P1001
Q14660 Q1292279
USER
How many flags or political borders have jurisdiction over Italy ?
(c(Q14660),P1001,Q38) (c(Q1292279),P1001,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q38
relation P1001
type Q1292279
[{'concept': 'Q14660'}, 'P1001', 'Q38'] [{'concept': 'Q1292279'}, 'P1001', 'Q38']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { ?p property:P1001 resource:Q38 . ?p rdf:type ontology:Q1292279 } UNION { ?p rdf:type ontology:Q14660 . ?p property:P1001 resource:Q38 } }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type political border
[{'concept': 'flag'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { ?p property:applies_to_jurisdiction resource:Italy . ?p rdf:type ontology:political_border } UNION { ?p rdf:type ontology:flag . ?p property:applies_to_jurisdiction resource:Italy } }
[]
flag political border
SYSTEM
16
Q42876 Q1991956 Q17351788 Q664063 Q572463 Q17351785 Q17351786 Q17351787 Q1991288 Q17351733 Q1991264 Q2457562 Q17351761 Q17351692 Q17351789 Q17351688
(c(Q14660),P1001,Q38) (c(Q1292279),P1001,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q38
relation P1001
type Q1292279
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', 'Q38'] [{'concept': 'Q1292279'}, 'P1001', 'Q38']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { ?p property:P1001 resource:Q38 . ?p rdf:type ontology:Q1292279 } UNION { ?p rdf:type ontology:Q14660 . ?p property:P1001 resource:Q38 } }
Flag of Italy Austria–Italy border Italy–Spain border Italy–Switzerland border Italy–Slovenia border Italy–Libya border Italy–Malta border Italy–Montenegro border France–Italy border Croatia–Italy border Italy–San Marino border Italy–Vatican City border Greece–Italy border Algeria–Italy border Italy–Tunisia border Albania–Italy border
16
action count
action union
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type political border
[{'concept': 'flag'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { ?p property:applies_to_jurisdiction resource:Italy . ?p rdf:type ontology:political_border } UNION { ?p rdf:type ontology:flag . ?p property:applies_to_jurisdiction resource:Italy } }
[]