Simple Question (Direct)
Simple Question
Q3165197
P27
Q1048835
USER
Which political territory is the country of citizenship of Jean-Claude Robert ?
(Q3165197,P27,c(Q1048835))
action filter_type
action find
entity Q3165197
relation P27
type Q1048835
['Q3165197', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q3165197 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Jean-Claude Robert
action filter_type
action find
entity Jean-Claude Robert
relation country of citizenship
type political territorial entity
['Jean-Claude Robert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Claude_Robert property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3165197,P27,c(Q1048835))
action filter_type
action find
entity Q3165197
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Jean-Claude Robert
['Q3165197', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q3165197 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Canada
Canada is the country of citizenship of Jean-Claude Robert
Canada
action filter_type
action find
entity Jean-Claude Robert
relation country of citizenship
type political territorial entity
['Jean-Claude Robert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Claude_Robert property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P138
Q19832486
USER
Which locomotive class is named after that political territory ?
(c(Q19832486),P138,Q16)
action filter_type
action find_reverse
entity Q16
relation P138
type Q19832486
[{'concept': 'Q19832486'}, 'P138', 'Q16']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q16 . ?d rdf:type ontology:Q19832486 }
Canada
action filter_type
action find_reverse
entity Canada
relation named after
type locomotive class
[{'concept': 'locomotive class'}, 'named after', 'Canada']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Canada . ?d rdf:type ontology:locomotive_class }
[]
locomotive class
Q6459253
SYSTEM
LNER Class A4 4489 Dominion of Canada
Q6459253
(c(Q19832486),P138,Q16)
action filter_type
action find_reverse
entity Q16
relation P138
type Q19832486
[ANSWER] is named after that political territory
[{'concept': 'Q19832486'}, 'P138', 'Q16']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q16 . ?d rdf:type ontology:Q19832486 }
LNER Class A4 4489 Dominion of Canada
LNER Class A4 4489 Dominion of Canada is named after that political territory
LNER Class A4 4489 Dominion of Canada
action filter_type
action find_reverse
entity Canada
relation named after
type locomotive class
[{'concept': 'locomotive class'}, 'named after', 'Canada']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Canada . ?d rdf:type ontology:locomotive_class }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6459253 Q4036547
P137
Q43229
USER
Does Core Magazine operate that locomotive class ?
(Q6459253,P137,Q4036547)
action is_in
entity Q4036547
action find
entity Q6459253
relation P137
['Q6459253', 'P137', 'Q4036547']
ASK WHERE { resource:Q6459253 property:P137 resource:Q4036547 }
LNER Class A4 4489 Dominion of Canada Core Magazine
action is_in
entity Core Magazine
action find
entity LNER Class A4 4489 Dominion of Canada
relation operator
['LNER Class A4 4489 Dominion of Canada', 'operator', 'Core Magazine']
ASK WHERE { resource:LNER_Class_A4_4489_Dominion_of_Canada property:operator resource:Core_Magazine }
[]
organization
SYSTEM
NO
(Q6459253,P137,Q4036547)
action is_in
entity Q4036547
action find
entity Q6459253
relation P137
[ANSWER]
['Q6459253', 'P137', 'Q4036547']
ASK WHERE { resource:Q6459253 property:P137 resource:Q4036547 }
No
action is_in
entity Core Magazine
action find
entity LNER Class A4 4489 Dominion of Canada
relation operator
['LNER Class A4 4489 Dominion of Canada', 'operator', 'Core Magazine']
ASK WHERE { resource:LNER_Class_A4_4489_Dominion_of_Canada property:operator resource:Core_Magazine }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3165197 Q733798
P19
Q56061
USER
Was Jean-Claude Robert born at Iulia Valentia Banasa ?
(Q3165197,P19,Q733798)
action is_in
entity Q733798
action find
entity Q3165197
relation P19
['Q3165197', 'P19', 'Q733798']
ASK WHERE { resource:Q3165197 property:P19 resource:Q733798 }
Jean-Claude Robert Iulia Valentia Banasa
action is_in
entity Iulia Valentia Banasa
action find
entity Jean-Claude Robert
relation place of birth
['Jean-Claude Robert', 'place of birth', 'Iulia Valentia Banasa']
ASK WHERE { resource:Jean-Claude_Robert property:place_of_birth resource:Iulia_Valentia_Banasa }
[]
administrative territorial entity
SYSTEM
NO
(Q3165197,P19,Q733798)
action is_in
entity Q733798
action find
entity Q3165197
relation P19
[ANSWER]
['Q3165197', 'P19', 'Q733798']
ASK WHERE { resource:Q3165197 property:P19 resource:Q733798 }
No
action is_in
entity Iulia Valentia Banasa
action find
entity Jean-Claude Robert
relation place of birth
['Jean-Claude Robert', 'place of birth', 'Iulia Valentia Banasa']
ASK WHERE { resource:Jean-Claude_Robert property:place_of_birth resource:Iulia_Valentia_Banasa }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6459253 Q7437933 Q5330408
P137
Q874405
USER
Does LNER Class A4 4489 Dominion of Canada can be described as facility operator of Scottish Region of British Railways and Eastern Region of British Railways ?
(Q6459253,P137,Q7437933) (Q6459253,P137,Q5330408)
action is_in
entity Q6459253
action intersection
action find_reverse
entity Q7437933
relation P137
action find_reverse
entity Q5330408
relation P137
['Q6459253', 'P137', 'Q7437933'] ['Q6459253', 'P137', 'Q5330408']
ASK WHERE { resource:Q6459253 property:P137 resource:Q7437933 . resource:Q6459253 property:P137 resource:Q5330408 }
LNER Class A4 4489 Dominion of Canada Scottish Region of British Railways Eastern Region of British Railways
action is_in
entity LNER Class A4 4489 Dominion of Canada
action intersection
action find_reverse
entity Scottish Region of British Railways
relation operator
action find_reverse
entity Eastern Region of British Railways
relation operator
['LNER Class A4 4489 Dominion of Canada', 'operator', 'Scottish Region of British Railways'] ['LNER Class A4 4489 Dominion of Canada', 'operator', 'Eastern Region of British Railways']
ASK WHERE { resource:LNER_Class_A4_4489_Dominion_of_Canada property:operator resource:Scottish_Region_of_British_Railways . resource:LNER_Class_A4_4489_Dominion_of_Canada property:operator resource:Eastern_Region_of_British_Railways }
[]
social group
SYSTEM
YES
(Q6459253,P137,Q7437933) (Q6459253,P137,Q5330408)
action is_in
entity Q6459253
action intersection
action find_reverse
entity Q7437933
relation P137
action find_reverse
entity Q5330408
relation P137
[ANSWER]
['Q6459253', 'P137', 'Q7437933'] ['Q6459253', 'P137', 'Q5330408']
ASK WHERE { resource:Q6459253 property:P137 resource:Q7437933 . resource:Q6459253 property:P137 resource:Q5330408 }
Yes
action is_in
entity LNER Class A4 4489 Dominion of Canada
action intersection
action find_reverse
entity Scottish Region of British Railways
relation operator
action find_reverse
entity Eastern Region of British Railways
relation operator
['LNER Class A4 4489 Dominion of Canada', 'operator', 'Scottish Region of British Railways'] ['LNER Class A4 4489 Dominion of Canada', 'operator', 'Eastern Region of British Railways']
ASK WHERE { resource:LNER_Class_A4_4489_Dominion_of_Canada property:operator resource:Scottish_Region_of_British_Railways . resource:LNER_Class_A4_4489_Dominion_of_Canada property:operator resource:Eastern_Region_of_British_Railways }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q711
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with less number of political territories than Mongolia ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?n ) WHERE { ?u property:P530 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q711 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?i ) }
Mongolia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?n ) WHERE { ?u property:diplomatic_relation ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Mongolia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?i ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with less number of political territories than Mongolia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?n ) WHERE { ?u property:P530 ?t . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q711 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?i ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, People's Republic of China and Belarus have diplomatic associations with less number of political territories than Mongolia
Netherlands People's Republic of China Belarus
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?n ) WHERE { ?u property:diplomatic_relation ?t . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Mongolia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q117
P530
Q1048835 Q15617994
USER
And how about Ghana?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q117
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?m } GROUP BY ?t } . FILTER ( ?k < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q117 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } }
Ghana
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ghana
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . FILTER ( ?k < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Ghana property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q117
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?m } GROUP BY ?t } . FILTER ( ?k < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q117 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg Cape Verde Yemen
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ghana
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . FILTER ( ?k < ?w ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Ghana property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q739
P180
Q15617994 Q2342494 Q11060274
USER
Which administrative territories are demonstrated in greater number of collectables or prints than Colombia ?
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q739
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?z WHERE { { ?k property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q11060274 . ?k property:P180 ?z } } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { { ?w rdf:type ontology:Q2342494 } UNION { ?w rdf:type ontology:Q11060274 } } . ?w property:P180 resource:Q739 } } }
Colombia
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
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 Colombia
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?z WHERE { { ?k property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:collectable } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:print . ?k property:depicts ?z } } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { { ?w rdf:type ontology:collectable } UNION { ?w rdf:type ontology:print } } . ?w property:depicts resource:Colombia } } }
[]
designation for an administrative territorial entity collectable print
Q17 Q1011 Q79
SYSTEM
Japan, Cape Verde, Egypt
Q47505 Q131596 Q1028 Q17 Q298 Q13320 Q79 Q1011 Q913434 Q376896 Q34876 Q80591
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q739
relation P180
type Q2342494
type Q11060274
[ANSWERS] are demonstrated in greater number of collectables or prints than Colombia
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?z WHERE { { ?k property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q11060274 . ?k property:P180 ?z } } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { { ?w rdf:type ontology:Q2342494 } UNION { ?w rdf:type ontology:Q11060274 } } . ?w property:P180 resource:Q739 } } }
Dolo farm Morocco Japan Chile Savona Egypt Cape Verde Les Halles Grenelle province Atrani
Japan, Cape Verde and Egypt are demonstrated in greater number of collectables or prints than Colombia
Japan Cape Verde Egypt
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
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 Colombia
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) ?z WHERE { { ?k property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:collectable } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:print . ?k property:depicts ?z } } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { { ?w rdf:type ontology:collectable } UNION { ?w rdf:type ontology:print } } . ?w property:depicts resource:Colombia } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q80563
P180
Q15617994 Q2342494 Q11060274
USER
And what about Amalfi?
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q80563
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?j ) WHERE { { ?u rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2342494 . ?k property:P180 ?u } UNION { ?k property:P180 ?u . ?u rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q11060274 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:P180 resource:Q80563 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q11060274 } } } } . FILTER ( ?j > ?o ) }
Amalfi
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
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 Amalfi
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?j ) WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:collectable . ?k property:depicts ?u } UNION { ?k property:depicts ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:print } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:depicts resource:Amalfi . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:print } } } } . FILTER ( ?j > ?o ) }
[]
designation for an administrative territorial entity collectable print
Q17 Q1011 Q79
SYSTEM
Japan, Cape Verde, Egypt
Q47505 Q131596 Q1028 Q17 Q298 Q13320 Q79 Q1011 Q913434 Q376896 Q34876 Q80591
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q80563
relation P180
type Q2342494
type Q11060274
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?j ) WHERE { { ?u rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2342494 . ?k property:P180 ?u } UNION { ?k property:P180 ?u . ?u rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q11060274 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:P180 resource:Q80563 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q11060274 } } } } . FILTER ( ?j > ?o ) }
Dolo farm Morocco Japan Chile Savona Egypt Cape Verde Les Halles Grenelle province Atrani
Japan Cape Verde Egypt
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
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 Amalfi
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?j ) WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:collectable . ?k property:depicts ?u } UNION { ?k property:depicts ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:print } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:depicts resource:Amalfi . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:print } } } } . FILTER ( ?j > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17
P206
Q1267889 Q355304 Q15617994
USER
How many administrative territories are situated in the neighbourhood of around the same number of waterways and watercourses as Japan ?
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q17
relation P206
type Q1267889
type Q355304
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { { ?g property:P206 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1267889 } UNION { ?g property:P206 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q355304 } } GROUP BY ?g } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q17 property:P206 ?e . { { ?e rdf:type ontology:Q1267889 } UNION { ?e rdf:type ontology:Q355304 } } } } }
Japan
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Japan
relation located next to body of water
type waterway
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { { ?g property:located_next_to_body_of_water ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:waterway } UNION { ?g property:located_next_to_body_of_water ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:watercourse } } GROUP BY ?g } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Japan property:located_next_to_body_of_water ?e . { { ?e rdf:type ontology:waterway } UNION { ?e rdf:type ontology:watercourse } } } } }
[]
waterway watercourse designation for an administrative territorial entity
SYSTEM
121
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q10903 Q11343 Q263451 Q442666 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q516567 Q507258 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q251778 Q895413 Q53742 Q567984 Q1604766 Q7561974 Q948 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q17
relation P206
type Q1267889
type Q355304
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { { ?g property:P206 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1267889 } UNION { ?g property:P206 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q355304 } } GROUP BY ?g } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q17 property:P206 ?e . { { ?e rdf:type ontology:Q1267889 } UNION { ?e rdf:type ontology:Q355304 } } } } }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Kappeln Kipfenberg Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Vohburg Bowen Island Donauwörth Woleai Pisaras Sonning Eye Tunisia British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
121
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Japan
relation located next to body of water
type waterway
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?x ) WHERE { { ?g property:located_next_to_body_of_water ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:waterway } UNION { ?g property:located_next_to_body_of_water ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:watercourse } } GROUP BY ?g } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Japan property:located_next_to_body_of_water ?e . { { ?e rdf:type ontology:waterway } UNION { ?e rdf:type ontology:watercourse } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q31872
P206
Q1267889 Q355304 Q15617994
USER
And what about Moosburg an der Isar?
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q31872
relation P206
type Q1267889
type Q355304
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?r rdf:type ?a } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q31872 property:P206 ?z . { { ?z rdf:type ontology:Q355304 } UNION { ?z rdf:type ontology:Q1267889 } } } } . FILTER ( ?e = ?x ) }
Moosburg an der Isar
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Moosburg an der Isar
relation located next to body of water
type waterway
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?r rdf:type ?a } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Moosburg_an_der_Isar property:located_next_to_body_of_water ?z . { { ?z rdf:type ontology:watercourse } UNION { ?z rdf:type ontology:waterway } } } } . FILTER ( ?e = ?x ) }
[]
waterway watercourse designation for an administrative territorial entity
SYSTEM
128
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q31872
relation P206
type Q1267889
type Q355304
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?r rdf:type ?a } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q31872 property:P206 ?z . { { ?z rdf:type ontology:Q355304 } UNION { ?z rdf:type ontology:Q1267889 } } } } . FILTER ( ?e = ?x ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
128
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Moosburg an der Isar
relation located next to body of water
type waterway
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?r rdf:type ?a } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Moosburg_an_der_Isar property:located_next_to_body_of_water ?z . { { ?z rdf:type ontology:watercourse } UNION { ?z rdf:type ontology:waterway } } } } . FILTER ( ?e = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q214
P206
Q15324 Q337567 Q15617994
USER
Which administrative territories are located in the neighbourhood of more number of bodies of water or still waterss than Slovakia ?
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q214
relation P206
type Q15324
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:P206 ?m . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15324 } UNION { ?s property:P206 ?m . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q337567 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } . resource:Q214 property:P206 ?f } } . FILTER ( ?i > ?z ) }
Slovakia
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Slovakia
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:body_of_water } UNION { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:still_waters } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } . resource:Slovakia property:located_next_to_body_of_water ?f } } . FILTER ( ?i > ?z ) }
[]
body of water still waters designation for an administrative territorial entity
Q38 Q55 Q36
SYSTEM
Italy, Netherlands, Poland
Q21111 Q104577 Q446425 Q55 Q801 Q47585 Q6237 Q568926 Q884 Q664950 Q244095 Q7566251 Q36 Q34 Q38 Q769680 Q104192 Q236 Q681329 Q20 Q690219 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q17 Q1577 Q516567 Q215 Q1009 Q1438 Q20267 Q194136 Q47612
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q214
relation P206
type Q15324
type Q337567
[ANSWERS] are located in the neighbourhood of more number of bodies of water or still waterss than Slovakia
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:P206 ?m . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15324 } UNION { ?s property:P206 ?m . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q337567 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } } . resource:Q214 property:P206 ?f } } . FILTER ( ?i > ?z ) }
Corn Islands Desenzano del Garda Altwarp Netherlands Israel Garda Lecco Maasholm South Korea Loddin Bellagio South Bay Poland Sweden Italy Bornholm Kleinmachnow Montenegro Dümmer Norway Perlin Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Japan Neuwerk Kappeln Slovenia Cameroon Campania Schwarz Riva del Garda Domaso
Italy, Netherlands and Poland are located in the neighbourhood of more number of bodies of water or still waterss than Slovakia
Italy Netherlands Poland
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Slovakia
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:body_of_water } UNION { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:still_waters } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:still_waters ) ( ontology:body_of_water ) } } . resource:Slovakia property:located_next_to_body_of_water ?f } } . FILTER ( ?i > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q507258
P206
Q15324 Q337567 Q15617994
USER
And what about Kipfenberg?
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q507258
relation P206
type Q15324
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?l ) WHERE { { ?n property:P206 ?o . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15324 } UNION { ?n property:P206 ?o . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q337567 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q507258 property:P206 ?x . { { ?x rdf:type ontology:Q15324 } UNION { ?x rdf:type ontology:Q337567 } } } } . FILTER ( ?l > ?w ) }
Kipfenberg
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Kipfenberg
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?l ) WHERE { { ?n property:located_next_to_body_of_water ?o . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:body_of_water } UNION { ?n property:located_next_to_body_of_water ?o . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:still_waters } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Kipfenberg property:located_next_to_body_of_water ?x . { { ?x rdf:type ontology:body_of_water } UNION { ?x rdf:type ontology:still_waters } } } } . FILTER ( ?l > ?w ) }
[]
body of water still waters designation for an administrative territorial entity
Q38 Q55 Q36
SYSTEM
Italy, Netherlands, Poland
Q21111 Q104577 Q446425 Q55 Q801 Q47585 Q6237 Q568926 Q884 Q664950 Q244095 Q7566251 Q36 Q34 Q38 Q769680 Q104192 Q236 Q681329 Q20 Q690219 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q17 Q1577 Q516567 Q215 Q1009 Q1438 Q20267 Q194136 Q47612
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q507258
relation P206
type Q15324
type Q337567
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?l ) WHERE { { ?n property:P206 ?o . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15324 } UNION { ?n property:P206 ?o . ?n rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q337567 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q507258 property:P206 ?x . { { ?x rdf:type ontology:Q15324 } UNION { ?x rdf:type ontology:Q337567 } } } } . FILTER ( ?l > ?w ) }
Corn Islands Desenzano del Garda Altwarp Netherlands Israel Garda Lecco Maasholm South Korea Loddin Bellagio South Bay Poland Sweden Italy Bornholm Kleinmachnow Montenegro Dümmer Norway Perlin Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Japan Neuwerk Kappeln Slovenia Cameroon Campania Schwarz Riva del Garda Domaso
Italy Netherlands Poland
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Kipfenberg
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?l ) WHERE { { ?n property:located_next_to_body_of_water ?o . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:body_of_water } UNION { ?n property:located_next_to_body_of_water ?o . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:still_waters } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Kipfenberg property:located_next_to_body_of_water ?x . { { ?x rdf:type ontology:body_of_water } UNION { ?x rdf:type ontology:still_waters } } } } . FILTER ( ?l > ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories are known to have diplomatic connections with Japan ?
(c(Q15617994),P530,Q17) (c(Q1048835),P530,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q17
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', 'Q17'] [{'concept': 'Q1048835'}, 'P530', 'Q17']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P530 resource:Q17 . ?b rdf:type ontology:Q15617994 } UNION { ?b property:P530 resource:Q17 . ?b rdf:type ontology:Q1048835 } }
Japan
action count
action union
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:diplomatic_relation resource:Japan . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:diplomatic_relation resource:Japan . ?b rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
13
Q227 Q142 Q711 Q884 Q230 Q801 Q155 Q183 Q408 Q30 Q159 Q38 Q858
(c(Q15617994),P530,Q17) (c(Q1048835),P530,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q17
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q17'] [{'concept': 'Q1048835'}, 'P530', 'Q17']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P530 resource:Q17 . ?b rdf:type ontology:Q15617994 } UNION { ?b property:P530 resource:Q17 . ?b rdf:type ontology:Q1048835 } }
Azerbaijan France Mongolia South Korea Georgia Israel Brazil Germany Australia United States of America Russia Italy Syria
13
action count
action union
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:diplomatic_relation resource:Japan . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:diplomatic_relation resource:Japan . ?b rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2023
P36
Q486972 Q20667921 Q15617994
USER
How many administrative territories contain around the same number of human settlements and french administrative divisions as their capital as Nunavut ?
(c(Q15617994),P36,c(Q486972)|c(Q20667921))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q2023
relation P36
type Q486972
type Q20667921
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q2023 property:P36 ?r . { VALUES ( ?s ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?r rdf:type ?s } } } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?q ) WHERE { { ?k property:P36 ?f . ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q486972 } UNION { ?k property:P36 ?f . ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q20667921 } } GROUP BY ?k } }
Nunavut
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Nunavut
relation capital
type human settlement
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Nunavut property:capital ?r . { VALUES ( ?s ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?r rdf:type ?s } } } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?q ) WHERE { { ?k property:capital ?f . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:human_settlement } UNION { ?k property:capital ?f . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?k } }
[]
human settlement type of french administrative division designation for an administrative territorial entity
SYSTEM
505
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q414 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q252 Q399 Q398 Q258 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1742192 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q1280 Q1282 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q815731 Q31074 Q31075 Q96 Q1050 Q12175285 Q2629701 Q311803 Q12717 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q891165 Q1961264 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q3564819 Q3500767 Q731547 Q855327 Q328134 Q1268811 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q833 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q790 Q598193 Q796 Q794 Q174280 Q1232680 Q889 Q884 Q1452646 Q881 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q3118738 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q2039306 Q654849 Q1773268 Q30835 Q30831 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q2001115 Q3044651 Q3044714 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q1951 Q2236821 Q2006764 Q1952 Q4854468 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q9073753 Q2371735 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q2348751 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q1948 Q511365 Q1270568 Q30805 Q311794 Q20 Q27 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q225 Q30650 Q223 Q30656 Q221 Q47261 Q311668 Q229 Q347 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q967 Q962 Q963 Q2921370 Q2344833 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q2039314 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q2662372 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1338277 Q224 Q1447 Q2360428 Q222 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q1984191 Q2996404 Q30797 Q1904 Q228 Q3462133 Q30815 Q17 Q1429761 Q153402 Q3207 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q486972)|c(Q20667921))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q2023
relation P36
type Q486972
type Q20667921
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q2023 property:P36 ?r . { VALUES ( ?s ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?r rdf:type ?s } } } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?q ) WHERE { { ?k property:P36 ?f . ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q486972 } UNION { ?k property:P36 ?f . ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q20667921 } } GROUP BY ?k } }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Argentina Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Indonesia Armenia Bahrain South Africa Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Stura Wied Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Umbria Lazio Abruzzo Molise John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Dhaka District Ems-Oriental Ourthe Calabria Basilicata Principality of Lippe Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Bas-Rhin Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Bojanala Platinum District Municipality Tecámac Municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Hamadoni District Norak District Lippe Kouilou Department 6th of October Governorate Dyle Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Malaysia Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Haiti Apennins Iraq Iran San Juan de Jinotega Ithaque Afghanistan South Korea Montenotte Vietnam Zuyderzée Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle Guadalupe Municipality Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes Guanentá Province Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bremen-Verden Bouches-de-la-Meuse Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Tepic, Nayarit (municipality) Louverture Ouest Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Matrouh Governorate Beni Suef Governorate Alberta Rhône-et-Loire Xhariep District Municipality Nova Scotia Bandava Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud San Vicente Tancuayalab municipality Saky municipality Fiji Mongolia Kiribati Venezuela Nord Somme Shapsugsky National District Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Magyaróvár District Habsburg Empire Principality of Vitebsk Kurigram District Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Manitoba Arvika Municipality Ems Cairo Governorate iLembe District Municipality Norway Ireland Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Duchy of Bavaria UThungulu District Municipality Cyprus Liechtenstein Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Kishoreganj District Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Sègre-Ter Duchy of Zaslawye Campania Vanuatu Giza Governorate Saint Lucia Sherpur District Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand Sylhet District Kafr el-Sheikh Governorate Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Rangpur District Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Principality of Minsk Vose' District Mer-Égée Mymensingh District Principality of Polotsk Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Croatia Apulia Tijuana Municipality Albania Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Ngaka Modiri Molema District Municipality Alushta municipality Luxor Governorate Ontario Andorra Saxe-Coburg and Gotha South Sinai Governorate Japan Patuakhali District Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Quebec Ayn Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Clipperton Island Barbados Khartsyzk Municipality Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
505
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Nunavut
relation capital
type human settlement
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Nunavut property:capital ?r . { VALUES ( ?s ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?r rdf:type ?s } } } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?q ) WHERE { { ?k property:capital ?f . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:human_settlement } UNION { ?k property:capital ?f . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q544712 Q733798
P17
Q15617994
USER
Which administrative territories are Iulia Valentia Banasa or Janova Lehota present in ?
OR((Q733798,P17,c(Q15617994)), (Q544712,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q733798
relation P17
action find
entity Q544712
relation P17
type Q15617994
{'OR': [['Q733798', 'P17', {'concept': 'Q15617994'}], ['Q544712', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q733798 property:P17 ?d } UNION { resource:Q544712 property:P17 ?d } } }
Janova Lehota Iulia Valentia Banasa
action filter_type
action union
action find
entity Iulia Valentia Banasa
relation country
action find
entity Janova Lehota
relation country
type designation for an administrative territorial entity
{'OR': [['Iulia Valentia Banasa', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Janova Lehota', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Iulia_Valentia_Banasa property:country ?d } UNION { resource:Janova_Lehota property:country ?d } } }
[]
designation for an administrative territorial entity
Q1028 Q214
SYSTEM
Morocco, Slovakia
Q1028 Q214
OR((Q733798,P17,c(Q15617994)), (Q544712,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q733798
relation P17
action find
entity Q544712
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q733798', 'P17', {'concept': 'Q15617994'}], ['Q544712', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q733798 property:P17 ?d } UNION { resource:Q544712 property:P17 ?d } } }
Morocco Slovakia
Which administrative territories are Iulia Valentia Banasa or Janova Lehota present in
Morocco Slovakia
action filter_type
action union
action find
entity Iulia Valentia Banasa
relation country
action find
entity Janova Lehota
relation country
type designation for an administrative territorial entity
{'OR': [['Iulia Valentia Banasa', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Janova Lehota', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Iulia_Valentia_Banasa property:country ?d } UNION { resource:Janova_Lehota property:country ?d } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1028 Q214
P463
Q874405
USER
Which social groups were Morocco and Slovakia a member of ?
(Q1028,P463,c(Q874405)) (Q214,P463,c(Q874405))
action union
action filter_type
action find
entity Q1028
relation P463
type Q874405
action filter_type
action find
entity Q214
relation P463
type Q874405
['Q1028', 'P463', {'concept': 'Q874405'}] ['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { { resource:Q1028 property:P463 ?d . ?d rdf:type ontology:Q874405 } UNION { resource:Q214 property:P463 ?d . ?d rdf:type ontology:Q874405 } }
Morocco Slovakia
action union
action filter_type
action find
entity Morocco
relation member of
type social group
action filter_type
action find
entity Slovakia
relation member of
type social group
['Morocco', 'member of', {'concept': 'social group'}] ['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { { resource:Morocco property:member_of ?d . ?d rdf:type ontology:social_group } UNION { resource:Slovakia property:member_of ?d . ?d rdf:type ontology:social_group } }
[]
social group
Q47543 Q782942
SYSTEM
Organisation of Islamic Cooperation, Australia Group
Q47543 Q782942
(Q1028,P463,c(Q874405)) (Q214,P463,c(Q874405))
action union
action filter_type
action find
entity Q1028
relation P463
type Q874405
action filter_type
action find
entity Q214
relation P463
type Q874405
[ANSWERS] were Morocco and Slovakia a member of
['Q1028', 'P463', {'concept': 'Q874405'}] ['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { { resource:Q1028 property:P463 ?d . ?d rdf:type ontology:Q874405 } UNION { resource:Q214 property:P463 ?d . ?d rdf:type ontology:Q874405 } }
Organisation of Islamic Cooperation Australia Group
Organisation of Islamic Cooperation and Australia Group were Morocco and Slovakia a member of
Organisation of Islamic Cooperation Australia Group
action union
action filter_type
action find
entity Morocco
relation member of
type social group
action filter_type
action find
entity Slovakia
relation member of
type social group
['Morocco', 'member of', {'concept': 'social group'}] ['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { { resource:Morocco property:member_of ?d . ?d rdf:type ontology:social_group } UNION { resource:Slovakia property:member_of ?d . ?d rdf:type ontology:social_group } }
[]