Simple Question (Direct)
Simple Question
Q4520142
P19
Q56061
USER
Which administrative territory was Eberhard von Schantz born at ?
(Q4520142,P19,c(Q56061))
action filter_type
action find
entity Q4520142
relation P19
type Q56061
['Q4520142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4520142 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Eberhard von Schantz
action filter_type
action find
entity Eberhard von Schantz
relation place of birth
type administrative territorial entity
['Eberhard von Schantz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Eberhard_von_Schantz property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q180233
SYSTEM
Pori
Q180233
(Q4520142,P19,c(Q56061))
action filter_type
action find
entity Q4520142
relation P19
type Q56061
Eberhard von Schantz was born in [ANSWER]
['Q4520142', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4520142 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Pori
Eberhard von Schantz was born in Pori
Pori
action filter_type
action find
entity Eberhard von Schantz
relation place of birth
type administrative territorial entity
['Eberhard von Schantz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Eberhard_von_Schantz property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q180233
P276
Q1792379
USER
Which art genres are located at that administrative territory ?
(c(Q1792379),P276,Q180233)
action filter_type
action find_reverse
entity Q180233
relation P276
type Q1792379
[{'concept': 'Q1792379'}, 'P276', 'Q180233']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q180233 . ?u rdf:type ontology:Q1792379 }
Pori
action filter_type
action find_reverse
entity Pori
relation location
type art genre
[{'concept': 'art genre'}, 'location', 'Pori']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Pori . ?u rdf:type ontology:art_genre }
[]
art genre
Q18661427 Q22677825 Q22579405
SYSTEM
Memorial of the people of Pori, Maire-sculpture, Ukk´ram - Mysterious vessel
Q22677763 Q22677825 Q22677931 Q22677514 Q22575817 Q22915045 Q22579076 Q22579405 Q22670338 Q22575803 Q18661427 Q22575824 Q22575797 Q22670323 Q22670282 Q22677496 Q22677734 Q22677948 Q22575815
(c(Q1792379),P276,Q180233)
action filter_type
action find_reverse
entity Q180233
relation P276
type Q1792379
[ANSWERS] are located at that administrative territory
[{'concept': 'Q1792379'}, 'P276', 'Q180233']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q180233 . ?u rdf:type ontology:Q1792379 }
Statue of Risto Ryti Maire-sculpture Memorial of Elin Danielson-Gambogi Market place parliament Sea gull Zinc sculptures of the Pori town hall Tile sculpture Ukk´ram - Mysterious vessel Gravity Going swimming, from the theme mother and child Memorial of the people of Pori Päivänkierto Ceramic relief JUHANA III - The king of Sweden 1568-1592 -relief Crying girl Väinö Tanner, Statesman. Memorial relief Statue of Duke John The Untold History Polyphony
Memorial of the people of Pori, Maire-sculpture and Ukk´ram - Mysterious vessel are located at that administrative territory
Memorial of the people of Pori Maire-sculpture Ukk´ram - Mysterious vessel
action filter_type
action find_reverse
entity Pori
relation location
type art genre
[{'concept': 'art genre'}, 'location', 'Pori']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Pori . ?u rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180233
P664
Q15275719
USER
What was the recurring event organized by Pori ?
(c(Q15275719),P664,Q180233)
action filter_type
action find_reverse
entity Q180233
relation P664
type Q15275719
[{'concept': 'Q15275719'}, 'P664', 'Q180233']
SELECT DISTINCT ?e WHERE { ?e property:P664 resource:Q180233 . ?e rdf:type ontology:Q15275719 }
Pori
action filter_type
action find_reverse
entity Pori
relation organizer
type recurring event
[{'concept': 'recurring event'}, 'organizer', 'Pori']
SELECT DISTINCT ?e WHERE { ?e property:organizer resource:Pori . ?e rdf:type ontology:recurring_event }
[]
recurring event
Q11895187
SYSTEM
SuomiAreena
Q11895187
(c(Q15275719),P664,Q180233)
action filter_type
action find_reverse
entity Q180233
relation P664
type Q15275719
The recurring event organized by Pori was the [ANSWER]
[{'concept': 'Q15275719'}, 'P664', 'Q180233']
SELECT DISTINCT ?e WHERE { ?e property:P664 resource:Q180233 . ?e rdf:type ontology:Q15275719 }
SuomiAreena
The recurring event organized by Pori was the SuomiAreena
SuomiAreena
action filter_type
action find_reverse
entity Pori
relation organizer
type recurring event
[{'concept': 'recurring event'}, 'organizer', 'Pori']
SELECT DISTINCT ?e WHERE { ?e property:organizer resource:Pori . ?e rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11895187
P17
Q15617994
USER
Which administrative territory is that recurring event situated in ?
(Q11895187,P17,c(Q15617994))
action filter_type
action find
entity Q11895187
relation P17
type Q15617994
['Q11895187', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q11895187 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
SuomiAreena
action filter_type
action find
entity SuomiAreena
relation country
type designation for an administrative territorial entity
['SuomiAreena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:SuomiAreena property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q11895187,P17,c(Q15617994))
action filter_type
action find
entity Q11895187
relation P17
type Q15617994
That recurring event is situated in [ANSWER]
['Q11895187', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q11895187 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Finland
That recurring event is situated in Finland
Finland
action filter_type
action find
entity SuomiAreena
relation country
type designation for an administrative territorial entity
['SuomiAreena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:SuomiAreena property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P194
Q1752346
USER
Which assembly is the legislative body for that administrative territory ?
(Q33,P194,c(Q1752346))
action filter_type
action find
entity Q33
relation P194
type Q1752346
['Q33', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1752346 . resource:Q33 property:P194 ?k }
Finland
action filter_type
action find
entity Finland
relation legislative body
type assembly
['Finland', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:assembly . resource:Finland property:legislative_body ?k }
[]
assembly
Q643412
SYSTEM
Parliament of Finland
Q643412
(Q33,P194,c(Q1752346))
action filter_type
action find
entity Q33
relation P194
type Q1752346
[ANSWER] is the legislative body for that administrative territory
['Q33', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1752346 . resource:Q33 property:P194 ?k }
Parliament of Finland
Parliament of Finland is the legislative body for that administrative territory
Parliament of Finland
action filter_type
action find
entity Finland
relation legislative body
type assembly
['Finland', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:assembly . resource:Finland property:legislative_body ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q783
Q1752346
USER
And also tell me about Honduras?
(Q783,P194,c(Q1752346))
action filter_type
action find
entity Q783
relation P194
type Q1752346
['Q783', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q783 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
Honduras
action filter_type
action find
entity Honduras
relation legislative body
type assembly
['Honduras', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:Honduras property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
assembly
Q1415847
SYSTEM
National Congress of Honduras
Q1415847
(Q783,P194,c(Q1752346))
action filter_type
action find
entity Q783
relation P194
type Q1752346
[ANSWER]
['Q783', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q783 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
National Congress of Honduras
National Congress of Honduras
action filter_type
action find
entity Honduras
relation legislative body
type assembly
['Honduras', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:Honduras property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P805
Q15617994 Q1752346
USER
Which administrative territories are min number of assemblies a subject ?
(c(Q1752346),P805,Q856076)
action argmin
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
[{'concept': 'Q1752346'}, 'P805', 'Q856076']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P805 ?x . ?c rdf:type ontology:Q1752346 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P805 ?g . ?g rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1752346 } GROUP BY ?g } . FILTER ( ?u = ?w ) }
action argmin
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
[{'concept': 'assembly'}, 'subject of', 'municipality of Finland']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:subject_of ?x . ?c rdf:type ontology:assembly . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:subject_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:assembly } GROUP BY ?g } . FILTER ( ?u = ?w ) }
[]
designation for an administrative territorial entity assembly
Q928 Q856076
SYSTEM
Philippines, municipality of Finland
Q928 Q856076
(c(Q1752346),P805,Q856076)
action argmin
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
[ANSWERS] are min number of assemblies a subject
[{'concept': 'Q1752346'}, 'P805', 'Q856076']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P805 ?x . ?c rdf:type ontology:Q1752346 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P805 ?g . ?g rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1752346 } GROUP BY ?g } . FILTER ( ?u = ?w ) }
Philippines municipality of Finland
Philippines and municipality of Finland are min number of assemblies a subject
Philippines municipality of Finland
action argmin
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
[{'concept': 'assembly'}, 'subject of', 'municipality of Finland']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?w ) { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:subject_of ?x . ?c rdf:type ontology:assembly . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:subject_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:assembly } GROUP BY ?g } . FILTER ( ?u = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q1792379 Q2031291 Q838948
USER
How many art genres can be considered as genre of approximately 4889 releases or works of art ?
(c(Q2031291)|c(Q838948),P136,c(Q1792379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q838948
value 4889
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } . ?i rdf:type ?f } GROUP BY ?g } . FILTER ( ?o = 4889 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation genre
type art genre
type release
action find_reverse_tuple_counts
relation genre
type art genre
type work of art
value 4889
[[{'concept': 'release'}, {'concept': 'work of art'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:release ) } . ?i rdf:type ?f } GROUP BY ?g } . FILTER ( ?o = 4889 ) }
[]
art genre release work of art
SYSTEM
3
Q93204 Q200092 Q157443
(c(Q2031291)|c(Q838948),P136,c(Q1792379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q838948
value 4889
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } . ?i rdf:type ?f } GROUP BY ?g } . FILTER ( ?o = 4889 ) }
documentary film horror film comedy film
3
action count
action approx
action union
action find_reverse_tuple_counts
relation genre
type art genre
type release
action find_reverse_tuple_counts
relation genre
type art genre
type work of art
value 4889
[[{'concept': 'release'}, {'concept': 'work of art'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:release ) } . ?i rdf:type ?f } GROUP BY ?g } . FILTER ( ?o = 4889 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with atmost 59 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 59
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?e property:P530 ?o . ?e rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?k <= 59 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?e property:diplomatic_relation ?o . ?e rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?k <= 59 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 59
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?e property:P530 ?o . ?e rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?k <= 59 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?e property:diplomatic_relation ?o . ?e rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?k <= 59 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1965
P36
Q20667921 Q56061 Q15617994
USER
How many administrative territories consists of lesser number of french administrative divisions or administrative territories as their capital than New Brunswick ?
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1965
relation P36
type Q20667921
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q1965 property:P36 ?n . { { ?n rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q20667921 } } } } . FILTER ( ?g < ?z ) }
New Brunswick
action count
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity New Brunswick
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:New_Brunswick property:capital ?n . { { ?n rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?g < ?z ) }
[]
type of french administrative division administrative territorial entity designation for an administrative territorial entity
SYSTEM
125
Q2991354 Q414 Q1111401 Q504637 Q399 Q2466631 Q2527360 Q699731 Q1742192 Q4464924 Q2344966 Q739 Q733 Q736 Q16628524 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q1050 Q12717 Q298 Q115 Q114 Q21296012 Q541589 Q1961264 Q696651 Q948 Q731547 Q1268811 Q702 Q709 Q833 Q2093388 Q290739 Q790 Q598193 Q796 Q794 Q889 Q884 Q1452646 Q881 Q1508919 Q541095 Q5613245 Q280312 Q3118738 Q686312 Q1037 Q1030 Q697 Q2039306 Q662056 Q30831 Q694594 Q874 Q878 Q46130 Q3044714 Q1951 Q2236821 Q4854468 Q492437 Q389004 Q492430 Q9073753 Q711 Q717 Q1090678 Q19786899 Q2348751 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q347 Q580447 Q10957559 Q965 Q962 Q963 Q2344833 Q1008 Q2039314 Q72670 Q568751 Q2150573 Q474421 Q3342 Q842 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q2996404 Q228 Q3462133 Q3846423 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1965
relation P36
type Q20667921
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q1965 property:P36 ?n . { { ?n rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q20667921 } } } } . FILTER ( ?g < ?z ) }
Aquiles Serdán Municipality Argentina Kispest District Alta Verapaz Department Armenia Chiautla de Tapia Municipality Stura Wied King's Lynn and West Norfolk Tugulymsky District Netrokona District Colombia Paraguay Ecuador San Salvador el Verde municipality Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Swaziland Bas-Rhin Chile Ethiopia Kenya Amatitlán Ems-Supérieur Tecámac Municipality Saxe-Eisenach Tunisia Lippe Dyle Federated States of Micronesia Marshall Islands Malaysia Sunamganj District Sesia Haiti Apennins Iraq Iran Afghanistan South Korea Montenotte Vietnam Marengo Rhin-et-Moselle Guadalupe Municipality Principality of Lüneburg Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Jamalpur District Cushamen Department Red Sea Governorate Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Alberta Rhône-et-Loire Bandava Bouches-du-Weser Wallachia Bouches-de-l'Elbe San Vicente Tancuayalab municipality Mongolia Venezuela Sègre Magyaróvár District Kurigram District Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Liechtenstein Duchy of Styria Moldavia Burkina Faso Benin Botswana Kishoreganj District Côte d'Ivoire Sherpur District Batumi Oblast Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Alushta municipality Andorra Saxe-Coburg and Gotha Viesca Municipality Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu
125
action count
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity New Brunswick
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:New_Brunswick property:capital ?n . { { ?n rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?g < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q233
P36
Q20667921 Q56061 Q15617994
USER
And also tell me about Malta?
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q233
relation P36
type Q20667921
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?j ) WHERE { { ?a property:P36 ?o . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q20667921 } UNION { ?a property:P36 ?o . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q56061 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q233 property:P36 ?p . { { ?p rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q20667921 } } } } . FILTER ( ?j < ?v ) }
Malta
action count
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Malta
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?j ) WHERE { { ?a property:capital ?o . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?a property:capital ?o . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Malta property:capital ?p . { { ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?j < ?v ) }
[]
type of french administrative division administrative territorial entity designation for an administrative territorial entity
SYSTEM
125
Q2991354 Q414 Q1111401 Q504637 Q399 Q2466631 Q2527360 Q699731 Q1742192 Q4464924 Q2344966 Q739 Q733 Q736 Q16628524 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q1050 Q12717 Q298 Q115 Q114 Q21296012 Q541589 Q1961264 Q696651 Q948 Q731547 Q1268811 Q702 Q709 Q833 Q2093388 Q290739 Q790 Q598193 Q796 Q794 Q889 Q884 Q1452646 Q881 Q1508919 Q541095 Q5613245 Q280312 Q3118738 Q686312 Q1037 Q1030 Q697 Q2039306 Q662056 Q30831 Q694594 Q874 Q878 Q46130 Q3044714 Q1951 Q2236821 Q4854468 Q492437 Q389004 Q492430 Q9073753 Q711 Q717 Q1090678 Q19786899 Q2348751 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q347 Q580447 Q10957559 Q965 Q962 Q963 Q2344833 Q1008 Q2039314 Q72670 Q568751 Q2150573 Q474421 Q3342 Q842 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q2996404 Q228 Q3462133 Q3846423 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q233
relation P36
type Q20667921
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?j ) WHERE { { ?a property:P36 ?o . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q20667921 } UNION { ?a property:P36 ?o . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q56061 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q233 property:P36 ?p . { { ?p rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q20667921 } } } } . FILTER ( ?j < ?v ) }
Aquiles Serdán Municipality Argentina Kispest District Alta Verapaz Department Armenia Chiautla de Tapia Municipality Stura Wied King's Lynn and West Norfolk Tugulymsky District Netrokona District Colombia Paraguay Ecuador San Salvador el Verde municipality Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Swaziland Bas-Rhin Chile Ethiopia Kenya Amatitlán Ems-Supérieur Tecámac Municipality Saxe-Eisenach Tunisia Lippe Dyle Federated States of Micronesia Marshall Islands Malaysia Sunamganj District Sesia Haiti Apennins Iraq Iran Afghanistan South Korea Montenotte Vietnam Marengo Rhin-et-Moselle Guadalupe Municipality Principality of Lüneburg Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Jamalpur District Cushamen Department Red Sea Governorate Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Alberta Rhône-et-Loire Bandava Bouches-du-Weser Wallachia Bouches-de-l'Elbe San Vicente Tancuayalab municipality Mongolia Venezuela Sègre Magyaróvár District Kurigram District Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Liechtenstein Duchy of Styria Moldavia Burkina Faso Benin Botswana Kishoreganj District Côte d'Ivoire Sherpur District Batumi Oblast Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Alushta municipality Andorra Saxe-Coburg and Gotha Viesca Municipality Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu
125
action count
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Malta
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?j ) WHERE { { ?a property:capital ?o . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?a property:capital ?o . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Malta property:capital ?p . { { ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?j < ?v ) }
[]