Simple Question (Direct)
Simple Question
Q6829074
P937
Q56061
USER
What is the location where Michael Camera worked ?
(Q6829074,P937,c(Q56061))
action filter_type
action find
entity Q6829074
relation P937
type Q56061
['Q6829074', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q6829074 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Michael Camera
action filter_type
action find
entity Michael Camera
relation work location
type administrative territorial entity
['Michael Camera', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Michael_Camera property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16567
SYSTEM
Columbus
Q16567
(Q6829074,P937,c(Q56061))
action filter_type
action find
entity Q6829074
relation P937
type Q56061
The location Michael Camera worked is in [ANSWER]
['Q6829074', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q6829074 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Columbus
The location Michael Camera worked is in Columbus
Columbus
action filter_type
action find
entity Michael Camera
relation work location
type administrative territorial entity
['Michael Camera', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Michael_Camera property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16567
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q16567,P17,c(Q15617994))
action filter_type
action find
entity Q16567
relation P17
type Q15617994
['Q16567', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q16567 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Columbus
action filter_type
action find
entity Columbus
relation country
type designation for an administrative territorial entity
['Columbus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Columbus property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16567,P17,c(Q15617994))
action filter_type
action find
entity Q16567
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q16567', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q16567 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
That administrative territory belongs to United States of America
United States of America
action filter_type
action find
entity Columbus
relation country
type designation for an administrative territorial entity
['Columbus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Columbus property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q19270792 Q16567
P17
Q15617994
USER
Or Industrieweg?
OR((Q16567,P17,c(Q15617994)), (Q19270792,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16567
relation P17
action find
entity Q19270792
relation P17
type Q15617994
{'OR': [['Q16567', 'P17', {'concept': 'Q15617994'}], ['Q19270792', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q16567 ) ( resource:Q19270792 ) } . ?w property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Industrieweg Columbus
action filter_type
action union
action find
entity Columbus
relation country
action find
entity Industrieweg
relation country
type designation for an administrative territorial entity
{'OR': [['Columbus', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Industrieweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Columbus ) ( resource:Industrieweg ) } . ?w property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55
SYSTEM
United States of America, Netherlands
Q30 Q55
OR((Q16567,P17,c(Q15617994)), (Q19270792,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16567
relation P17
action find
entity Q19270792
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q16567', 'P17', {'concept': 'Q15617994'}], ['Q19270792', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q16567 ) ( resource:Q19270792 ) } . ?w property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
United States of America Netherlands
United States of America Netherlands
action filter_type
action union
action find
entity Columbus
relation country
action find
entity Industrieweg
relation country
type designation for an administrative territorial entity
{'OR': [['Columbus', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Industrieweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Columbus ) ( resource:Industrieweg ) } . ?w property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1952
P37
Q5962346 Q34770 Q15617994
USER
Which administrative territories designates approximately the same number of classification schemes or languages as their official language as Nova Scotia ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q1952
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?s WHERE { { ?s property:P37 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q5962346 } UNION { ?s property:P37 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 } } GROUP BY ?s } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { VALUES ( ?g ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?h rdf:type ?g } . resource:Q1952 property:P37 ?h } } }
Nova Scotia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Nova Scotia
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?s WHERE { { ?s property:official_language ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:classification_scheme } UNION { ?s property:official_language ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language } } GROUP BY ?s } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { VALUES ( ?g ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?h rdf:type ?g } . resource:Nova_Scotia property:official_language ?h } } }
[]
classification scheme language designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q1952
relation P37
type Q5962346
type Q34770
[ANSWERS] designate approximately the same number of classification schemes or languages as their official language as Nova Scotia
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?s WHERE { { ?s property:P37 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q5962346 } UNION { ?s property:P37 ?c . ?s rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 } } GROUP BY ?s } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { VALUES ( ?g ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?h rdf:type ?g } . resource:Q1952 property:P37 ?h } } }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy, Netherlands and Zambia designate approximately the same number of classification schemes or languages as their official language as Nova Scotia
Italy Netherlands Zambia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Nova Scotia
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?s WHERE { { ?s property:official_language ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:classification_scheme } UNION { ?s property:official_language ?c . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language } } GROUP BY ?s } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { VALUES ( ?g ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?h rdf:type ?g } . resource:Nova_Scotia property:official_language ?h } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q229
P37
Q5962346 Q34770 Q15617994
USER
And also tell me about Cyprus?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q229
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?j ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?r rdf:type ?j } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q229 property:P37 ?l . { { ?l rdf:type ontology:Q34770 } UNION { ?l rdf:type ontology:Q5962346 } } } } . FILTER ( ?e = ?f ) }
Cyprus
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Cyprus
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?j ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?r rdf:type ?j } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Cyprus property:official_language ?l . { { ?l rdf:type ontology:language } UNION { ?l rdf:type ontology:classification_scheme } } } } . FILTER ( ?e = ?f ) }
[]
classification scheme language designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q229
relation P37
type Q5962346
type Q34770
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?j ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?r rdf:type ?j } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q229 property:P37 ?l . { { ?l rdf:type ontology:Q34770 } UNION { ?l rdf:type ontology:Q5962346 } } } } . FILTER ( ?e = ?f ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil United States of America Georgia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Cyprus
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?j ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?r rdf:type ?j } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Cyprus property:official_language ?l . { { ?l rdf:type ontology:language } UNION { ?l rdf:type ontology:classification_scheme } } } } . FILTER ( ?e = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q38
P180
Q15617994 Q340169 Q11060274
USER
Which administrative territories are expressed in approximately the same number of medias or prints as Italy ?
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q38
relation P180
type Q340169
type Q11060274
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P180 resource:Q38 . { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?f rdf:type ?w } } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:P180 ?g . ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q11060274 . ?i property:P180 ?g } } GROUP BY ?g } }
Italy
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Italy
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:depicts resource:Italy . { VALUES ( ?w ) { ( ontology:media ) ( ontology:print ) } . ?f rdf:type ?w } } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:depicts ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:media } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:print . ?i property:depicts ?g } } GROUP BY ?g } }
[]
designation for an administrative territorial entity media print
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q38
relation P180
type Q340169
type Q11060274
[ANSWERS] are expressed in approximately the same number of medias or prints as Italy
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P180 resource:Q38 . { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?f rdf:type ?w } } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:P180 ?g . ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q11060274 . ?i property:P180 ?g } } GROUP BY ?g } }
Catanzaro Liguria Sardinia Ariccia India France Netherlands People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy, Brazil and Russia are expressed in approximately the same number of medias or prints as Italy
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Italy
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:depicts resource:Italy . { VALUES ( ?w ) { ( ontology:media ) ( ontology:print ) } . ?f rdf:type ?w } } } . FILTER ( ?k = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:depicts ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:media } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:print . ?i property:depicts ?g } } GROUP BY ?g } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q27
P180
Q15617994 Q340169 Q11060274
USER
And what about Ireland?
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q27
relation P180
type Q340169
type Q11060274
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P180 ?w . ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11060274 } UNION { ?q property:P180 ?w . ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q340169 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } } . ?m property:P180 resource:Q27 } } . FILTER ( ?n = ?j ) }
Ireland
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Ireland
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:depicts ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:print } UNION { ?q property:depicts ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:media } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:media ) ( ontology:print ) } } . ?m property:depicts resource:Ireland } } . FILTER ( ?n = ?j ) }
[]
designation for an administrative territorial entity media print
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q27
relation P180
type Q340169
type Q11060274
[ANSWERS]
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P180 ?w . ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11060274 } UNION { ?q property:P180 ?w . ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q340169 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } } . ?m property:P180 resource:Q27 } } . FILTER ( ?n = ?j ) }
Catanzaro Liguria Sardinia Ariccia India France Netherlands People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Ireland
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:depicts ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:print } UNION { ?q property:depicts ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:media } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:media ) ( ontology:print ) } } . ?m property:depicts resource:Ireland } } . FILTER ( ?n = ?j ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q838948
USER
How many administrative territories are the origins of less number of releases and works of art than that administrative territory ?
(c(Q2031291)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:P495 ?y } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:country_of_origin ?y } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
designation for an administrative territorial entity release work of art
Comparative|Count over More/Less|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q2031291)|c(Q838948),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:P495 ?y } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Did you mean Italy ?
Italy
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:country_of_origin ?y } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
164
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291)|c(Q838948),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
164
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with atleast 44 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 44
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:P530 ?s . ?j rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?d >= 44 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:diplomatic_relation ?s . ?j rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?d >= 44 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 44
[ANSWERS] have ambassadorial relations with atleast 44 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:P530 ?s . ?j rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?d >= 44 ) }
Germany Australia
Germany and Australia have ambassadorial relations with atleast 44 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:diplomatic_relation ?s . ?j rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?d >= 44 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q702
P1001
Q15617994 Q11204 Q1292279
USER
How many administrative territories belong to jurisdiction of greater number of legislatures or political borders than Federated States of Micronesia ?
(c(Q11204)|c(Q1292279),P1001,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q702
relation P1001
type Q11204
type Q1292279
[[{'concept': 'Q11204'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1292279 ) ( ontology:Q11204 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:Q11204 ) ( ontology:Q1292279 ) } . ?v rdf:type ?c } . ?v property:P1001 resource:Q702 } } . FILTER ( ?s > ?y ) }
Federated States of Micronesia
action count
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Federated States of Micronesia
relation applies to jurisdiction
type legislature
type political border
[[{'concept': 'legislature'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:political_border ) ( ontology:legislature ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:legislature ) ( ontology:political_border ) } . ?v rdf:type ?c } . ?v property:applies_to_jurisdiction resource:Federated_States_of_Micronesia } } . FILTER ( ?s > ?y ) }
[]
designation for an administrative territorial entity legislature political border
SYSTEM
98
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q262 Q148 Q31 Q265 Q842 Q37 Q712 Q710 Q717 Q252 Q403 Q657 Q258 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q958 Q881 Q739 Q241 Q218 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q986 Q851 Q29999 Q734 Q819 Q236 Q232 Q20 Q1042 Q1041 Q28 Q1049 Q1025 Q783 Q843 Q184 Q1029 Q786 Q227 Q224 Q222 Q221 Q96 Q229 Q17 Q1036 Q974 Q1032 Q1033 Q191 Q965 Q115 Q114 Q754 Q750 Q212 Q211 Q214 Q219 Q912 Q916 Q1006 Q833 Q1009 Q1008 Q971 Q970 Q836 Q29 Q79 Q858 Q774 Q810 Q1016 Q678 Q929 Q869 Q953
(c(Q11204)|c(Q1292279),P1001,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q702
relation P1001
type Q11204
type Q1292279
[ANSWER]
[[{'concept': 'Q11204'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1292279 ) ( ontology:Q11204 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:Q11204 ) ( ontology:Q1292279 ) } . ?v rdf:type ?c } . ?v property:P1001 resource:Q702 } } . FILTER ( ?s > ?y ) }
Israel Yemen Peru India Argentina France United Kingdom Algeria People's Republic of China Belgium Uzbekistan Oman Lithuania Fiji Kiribati Venezuela Indonesia Serbia Chad South Africa Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan South Sudan Vietnam Colombia Cuba Romania United States of America Tanzania Poland Sweden Philippines Switzerland Italy Eritrea Saudi Arabia Kingdom of the Netherlands Guyana Laos Montenegro Kazakhstan Norway Seychelles Senegal Hungary Sudan Mauritania Honduras Pakistan Belarus Mozambique Dominican Republic Azerbaijan Croatia Albania Republic of Macedonia Mexico Cyprus Japan Uganda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Ethiopia Kenya Trinidad and Tobago Bolivia Ukraine Latvia Slovakia Bulgaria Mali Angola Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Myanmar Spain Egypt Syria Guatemala Jordan Libya Tonga Central African Republic Thailand Zambia
98
action count
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Federated States of Micronesia
relation applies to jurisdiction
type legislature
type political border
[[{'concept': 'legislature'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?e WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:political_border ) ( ontology:legislature ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:legislature ) ( ontology:political_border ) } . ?v rdf:type ?c } . ?v property:applies_to_jurisdiction resource:Federated_States_of_Micronesia } } . FILTER ( ?s > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q929
P1001
Q15617994 Q11204 Q1292279
USER
And how about Central African Republic?
(c(Q11204)|c(Q1292279),P1001,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q929
relation P1001
type Q11204
type Q1292279
[[{'concept': 'Q11204'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?z WHERE { VALUES ( ?i ) { ( ontology:Q11204 ) ( ontology:Q1292279 ) } . ?l rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P1001 resource:Q929 . { { ?e rdf:type ontology:Q11204 } UNION { ?e rdf:type ontology:Q1292279 } } } } . FILTER ( ?s > ?g ) }
Central African Republic
action count
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Central African Republic
relation applies to jurisdiction
type legislature
type political border
[[{'concept': 'legislature'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?z WHERE { VALUES ( ?i ) { ( ontology:legislature ) ( ontology:political_border ) } . ?l rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:applies_to_jurisdiction resource:Central_African_Republic . { { ?e rdf:type ontology:legislature } UNION { ?e rdf:type ontology:political_border } } } } . FILTER ( ?s > ?g ) }
[]
designation for an administrative territorial entity legislature political border
SYSTEM
36
Q668 Q142 Q145 Q262 Q148 Q710 Q717 Q252 Q403 Q159 Q43 Q41 Q155 Q794 Q739 Q241 Q30 Q924 Q36 Q34 Q38 Q851 Q28 Q1049 Q783 Q1029 Q786 Q974 Q1032 Q212 Q912 Q29 Q79 Q1016 Q869 Q953
(c(Q11204)|c(Q1292279),P1001,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q929
relation P1001
type Q11204
type Q1292279
[ANSWER]
[[{'concept': 'Q11204'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?z WHERE { VALUES ( ?i ) { ( ontology:Q11204 ) ( ontology:Q1292279 ) } . ?l rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P1001 resource:Q929 . { { ?e rdf:type ontology:Q11204 } UNION { ?e rdf:type ontology:Q1292279 } } } } . FILTER ( ?s > ?g ) }
India France United Kingdom Algeria People's Republic of China Kiribati Venezuela Indonesia Serbia Russia Turkey Greece Brazil Iran Colombia Cuba United States of America Tanzania Poland Sweden Italy Saudi Arabia Hungary Sudan Honduras Mozambique Dominican Republic Democratic Republic of the Congo Niger Ukraine Mali Spain Egypt Libya Thailand Zambia
36
action count
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Central African Republic
relation applies to jurisdiction
type legislature
type political border
[[{'concept': 'legislature'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?z WHERE { VALUES ( ?i ) { ( ontology:legislature ) ( ontology:political_border ) } . ?l rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:applies_to_jurisdiction resource:Central_African_Republic . { { ?e rdf:type ontology:legislature } UNION { ?e rdf:type ontology:political_border } } } } . FILTER ( ?s > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P463
Q874405
USER
What social groups were Brazil a member of ?
(Q155,P463,c(Q874405))
action filter_type
action find
entity Q155
relation P463
type Q874405
['Q155', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q874405 . resource:Q155 property:P463 ?w }
Brazil
action filter_type
action find
entity Brazil
relation member of
type social group
['Brazil', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:social_group . resource:Brazil property:member_of ?w }
[]
social group
Q7817 Q47539 Q1484463
SYSTEM
World Health Organization, South Atlantic Peace and Cooperation Zone, G8+5
Q47539 Q1484463 Q7817 Q602399
(Q155,P463,c(Q874405))
action filter_type
action find
entity Q155
relation P463
type Q874405
Brazil were the [ANSWERS]
['Q155', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q874405 . resource:Q155 property:P463 ?w }
South Atlantic Peace and Cooperation Zone G8+5 World Health Organization Amazon Cooperation Treaty Organization
Brazil were the World Health Organization, South Atlantic Peace and Cooperation Zone and G8+5
World Health Organization South Atlantic Peace and Cooperation Zone G8+5
action filter_type
action find
entity Brazil
relation member of
type social group
['Brazil', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:social_group . resource:Brazil property:member_of ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q737762
Q874405
USER
And what about Nelson Pereira dos Santos?
(Q737762,P463,c(Q874405))
action filter_type
action find
entity Q737762
relation P463
type Q874405
['Q737762', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q737762 property:P463 ?g . ?g rdf:type ontology:Q874405 }
Nelson Pereira dos Santos
action filter_type
action find
entity Nelson Pereira dos Santos
relation member of
type social group
['Nelson Pereira dos Santos', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Nelson_Pereira_dos_Santos property:member_of ?g . ?g rdf:type ontology:social_group }
[]
social group
Q337224
SYSTEM
Academia Brasileira de Letras
Q337224
(Q737762,P463,c(Q874405))
action filter_type
action find
entity Q737762
relation P463
type Q874405
[ANSWER]
['Q737762', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q737762 property:P463 ?g . ?g rdf:type ontology:Q874405 }
Academia Brasileira de Letras
Academia Brasileira de Letras
action filter_type
action find
entity Nelson Pereira dos Santos
relation member of
type social group
['Nelson Pereira dos Santos', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Nelson_Pereira_dos_Santos property:member_of ?g . ?g rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q174307
P206
Q355304 Q15324 Q15617994
USER
Which administrative territories are situated close to less number of watercourses and bodies of water than Essing ?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q174307
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?t ) WHERE { { ?a property:P206 ?m . ?a rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q355304 } UNION { ?a property:P206 ?m . ?m rdf:type ontology:Q15324 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q174307 property:P206 ?h . { { ?h rdf:type ontology:Q355304 } UNION { ?h rdf:type ontology:Q15324 } } } } . FILTER ( ?t < ?o ) }
Essing
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
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 Essing
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?t ) WHERE { { ?a property:located_next_to_body_of_water ?m . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:watercourse } UNION { ?a property:located_next_to_body_of_water ?m . ?m rdf:type ontology:body_of_water . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Essing property:located_next_to_body_of_water ?h . { { ?h rdf:type ontology:watercourse } UNION { ?h rdf:type ontology:body_of_water } } } } . FILTER ( ?t < ?o ) }
[]
watercourse body of water designation for an administrative territorial entity
Q29 Q668 Q948
SYSTEM
Spain, India, Tunisia
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q174307
relation P206
type Q355304
type Q15324
[ANSWERS] are situated close to less number of watercourses and bodies of water than Essing
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?t ) WHERE { { ?a property:P206 ?m . ?a rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q355304 } UNION { ?a property:P206 ?m . ?m rdf:type ontology:Q15324 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q174307 property:P206 ?h . { { ?h rdf:type ontology:Q355304 } UNION { ?h rdf:type ontology:Q15324 } } } } . FILTER ( ?t < ?o ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
Spain, India and Tunisia are situated close to less number of watercourses and bodies of water than Essing
Spain India Tunisia
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
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 Essing
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?t ) WHERE { { ?a property:located_next_to_body_of_water ?m . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:watercourse } UNION { ?a property:located_next_to_body_of_water ?m . ?m rdf:type ontology:body_of_water . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Essing property:located_next_to_body_of_water ?h . { { ?h rdf:type ontology:watercourse } UNION { ?h rdf:type ontology:body_of_water } } } } . FILTER ( ?t < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20
P206
Q355304 Q15324 Q15617994
USER
And how about Norway?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q20
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q20 property:P206 ?w . { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } } } . FILTER ( ?m < ?z ) }
Norway
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
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 Norway
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Norway property:located_next_to_body_of_water ?w . { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } } } . FILTER ( ?m < ?z ) }
[]
watercourse body of water designation for an administrative territorial entity
Q29 Q668 Q948
SYSTEM
Spain, India, Tunisia
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q20
relation P206
type Q355304
type Q15324
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q20 property:P206 ?w . { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } } } . FILTER ( ?m < ?z ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
Spain India Tunisia
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
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 Norway
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Norway property:located_next_to_body_of_water ?w . { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } } } . FILTER ( ?m < ?z ) }
[]