Simple Question (Direct)
Simple Question
Q2292685
P19
Q56061
USER
Where was Gintaras Juodeikis born ?
(Q2292685,P19,c(Q56061))
action filter_type
action find
entity Q2292685
relation P19
type Q56061
['Q2292685', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q2292685 property:P19 ?o }
Gintaras Juodeikis
action filter_type
action find
entity Gintaras Juodeikis
relation place of birth
type administrative territorial entity
['Gintaras Juodeikis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Gintaras_Juodeikis property:place_of_birth ?o }
[]
administrative territorial entity
Q776965
SYSTEM
Klaipėda
Q776965
(Q2292685,P19,c(Q56061))
action filter_type
action find
entity Q2292685
relation P19
type Q56061
Gintaras Juodeikis was born in [ANSWER]
['Q2292685', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q2292685 property:P19 ?o }
Klaipėda
Gintaras Juodeikis was born in Klaipėda
Klaipėda
action filter_type
action find
entity Gintaras Juodeikis
relation place of birth
type administrative territorial entity
['Gintaras Juodeikis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Gintaras_Juodeikis property:place_of_birth ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2292685
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Gintaras Juodeikis ?
(Q2292685,P27,c(Q15617994))
action filter_type
action find
entity Q2292685
relation P27
type Q15617994
['Q2292685', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q2292685 property:P27 ?g }
Gintaras Juodeikis
action filter_type
action find
entity Gintaras Juodeikis
relation country of citizenship
type designation for an administrative territorial entity
['Gintaras Juodeikis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gintaras_Juodeikis property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q2292685,P27,c(Q15617994))
action filter_type
action find
entity Q2292685
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Gintaras Juodeikis
['Q2292685', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q2292685 property:P27 ?g }
Lithuania
Lithuania is the country of citizenship of Gintaras Juodeikis
Lithuania
action filter_type
action find
entity Gintaras Juodeikis
relation country of citizenship
type designation for an administrative territorial entity
['Gintaras Juodeikis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gintaras_Juodeikis property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of that administrative territory ?
(c(Q12737077),P1001,Q37)
action filter_type
action find_reverse
entity Q37
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q37']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q37 . ?x rdf:type ontology:Q12737077 }
Lithuania
action filter_type
action find_reverse
entity Lithuania
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lithuania']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Lithuania . ?x rdf:type ontology:occupation }
[]
occupation
Q845439 Q878222 Q18507240
SYSTEM
Prime Minister of Lithuania, President of the Republic of Lithuania, Member of the Seimas
Q845439 Q878222 Q18507240
(c(Q12737077),P1001,Q37)
action filter_type
action find_reverse
entity Q37
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q37']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q37 . ?x rdf:type ontology:Q12737077 }
Prime Minister of Lithuania President of the Republic of Lithuania Member of the Seimas
Prime Minister of Lithuania, President of the Republic of Lithuania and Member of the Seimas have control over the jurisdiction of that administrative territory
Prime Minister of Lithuania President of the Republic of Lithuania Member of the Seimas
action filter_type
action find_reverse
entity Lithuania
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lithuania']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Lithuania . ?x rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18507240
P361
Q11204
USER
What is that occupation a portion of ?
(Q18507240,P361,c(Q11204))
action filter_type
action find
entity Q18507240
relation P361
type Q11204
['Q18507240', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?l WHERE { resource:Q18507240 property:P361 ?l . ?l rdf:type ontology:Q11204 }
Member of the Seimas
action filter_type
action find
entity Member of the Seimas
relation part of
type legislature
['Member of the Seimas', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_the_Seimas property:part_of ?l . ?l rdf:type ontology:legislature }
[]
legislature
Clarification for simple ques.
Q878222
SYSTEM
Did you mean President of the Republic of Lithuania ?
Q845439 Q878222 Q18507240
(Q845439,P361,c(Q11204)) (Q878222,P361,c(Q11204)) (Q18507240,P361,c(Q11204))
[ANSWER]
['Q845439', 'P361', {'concept': 'Q11204'}] ['Q878222', 'P361', {'concept': 'Q11204'}] ['Q18507240', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?l WHERE { resource:Q18507240 property:P361 ?l . ?l rdf:type ontology:Q11204 }
Prime Minister of Lithuania President of the Republic of Lithuania Member of the Seimas
Did you mean President of the Republic of Lithuania ?
President of the Republic of Lithuania
['Prime Minister of Lithuania', 'part of', {'concept': 'legislature'}] ['President of the Republic of Lithuania', 'part of', {'concept': 'legislature'}] ['Member of the Seimas', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_the_Seimas property:part_of ?l . ?l rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
USER
No, I meant Member of the Seimas. Could you tell me the answer for that?
(Q18507240,P361,c(Q11204))
Q18507240
['Q18507240', 'P361', {'concept': 'Q11204'}]
['Member of the Seimas', 'part of', {'concept': 'legislature'}]
[]
Q374152
SYSTEM
Seimas
Q374152
(Q18507240,P361,c(Q11204))
action filter_type
action find
entity Q18507240
relation P361
type Q11204
That occupation a portion of is in [ANSWER]
['Q18507240', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?l WHERE { resource:Q18507240 property:P361 ?l . ?l rdf:type ontology:Q11204 }
Seimas
That occupation a portion of is in Seimas
Seimas
action filter_type
action find
entity Member of the Seimas
relation part of
type legislature
['Member of the Seimas', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_the_Seimas property:part_of ?l . ?l rdf:type ontology:legislature }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q374152 Q617868 Q37
P17
Q15617994
USER
Is that legislature located in Aruküla and Lithuania ?
(Q374152,P17,Q617868) (Q374152,P17,Q37)
action is_in
entity Q374152
action intersection
action find_reverse
entity Q617868
relation P17
action find_reverse
entity Q37
relation P17
['Q374152', 'P17', 'Q617868'] ['Q374152', 'P17', 'Q37']
ASK WHERE { resource:Q374152 property:P17 resource:Q37 . resource:Q374152 property:P17 resource:Q617868 }
Seimas Aruküla Lithuania
action is_in
entity Seimas
action intersection
action find_reverse
entity Aruküla
relation country
action find_reverse
entity Lithuania
relation country
['Seimas', 'country', 'Aruküla'] ['Seimas', 'country', 'Lithuania']
ASK WHERE { resource:Seimas property:country resource:Lithuania . resource:Seimas property:country resource:Aruküla }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q374152,P17,Q617868) (Q374152,P17,Q37)
action is_in
entity Q374152
action intersection
action find_reverse
entity Q617868
relation P17
action find_reverse
entity Q37
relation P17
[ANSWER]
['Q374152', 'P17', 'Q617868'] ['Q374152', 'P17', 'Q37']
ASK WHERE { resource:Q374152 property:P17 resource:Q37 . resource:Q374152 property:P17 resource:Q617868 }
NO and YES respectively
action is_in
entity Seimas
action intersection
action find_reverse
entity Aruküla
relation country
action find_reverse
entity Lithuania
relation country
['Seimas', 'country', 'Aruküla'] ['Seimas', 'country', 'Lithuania']
ASK WHERE { resource:Seimas property:country resource:Lithuania . resource:Seimas property:country resource:Aruküla }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q374152
P112
Q484652
USER
Which international organization was started by that legislature ?
action filter_type
action find_reverse
entity Q374152
relation P112
type Q484652
SELECT DISTINCT ?b WHERE { ?b property:P112 resource:Q374152 . ?b rdf:type ontology:Q484652 }
Seimas
action filter_type
action find_reverse
entity Seimas
relation founder
type international organization
SELECT DISTINCT ?b WHERE { ?b property:founder resource:Seimas . ?b rdf:type ontology:international_organization }
[]
international organization
Q15837827
SYSTEM
Baltic Sea Parliamentary Conference
Q15837827
action filter_type
action find_reverse
entity Q374152
relation P112
type Q484652
The [ANSWER] was started by that legislature
SELECT DISTINCT ?b WHERE { ?b property:P112 resource:Q374152 . ?b rdf:type ontology:Q484652 }
Baltic Sea Parliamentary Conference
The Baltic Sea Parliamentary Conference was started by that legislature
Baltic Sea Parliamentary Conference
action filter_type
action find_reverse
entity Seimas
relation founder
type international organization
SELECT DISTINCT ?b WHERE { ?b property:founder resource:Seimas . ?b rdf:type ontology:international_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q337567 Q15700808
USER
Which administrative territories are the origin of exactly 1 still waterss or urban unit definitions ?
(c(Q337567)|c(Q15700808),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15700808
value 1
[[{'concept': 'Q337567'}, {'concept': 'Q15700808'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?p WHERE { { ?j property:P138 ?p . ?j rdf:type ontology:Q337567 . ?p rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q15700808 . ?p rdf:type ontology:Q15617994 . ?j property:P138 ?p } } GROUP BY ?p } . FILTER ( ?o = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type urban unit definition
value 1
[[{'concept': 'still waters'}, {'concept': 'urban unit definition'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?p WHERE { { ?j property:named_after ?p . ?j rdf:type ontology:still_waters . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:urban_unit_definition . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:named_after ?p } } GROUP BY ?p } . FILTER ( ?o = 1 ) }
[]
designation for an administrative territorial entity still waters urban unit definition
Q1630 Q519157 Q681329
SYSTEM
Altona, Templin, Dümmer
Q519157 Q1630 Q681329 Q631654
(c(Q337567)|c(Q15700808),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15700808
value 1
[ANSWERS] are the origin of exactly 1 still waterss or urban unit definitions
[[{'concept': 'Q337567'}, {'concept': 'Q15700808'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?p WHERE { { ?j property:P138 ?p . ?j rdf:type ontology:Q337567 . ?p rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q15700808 . ?p rdf:type ontology:Q15617994 . ?j property:P138 ?p } } GROUP BY ?p } . FILTER ( ?o = 1 ) }
Templin Altona Dümmer Selent
Altona, Templin and Dümmer are the origin of exactly 1 still waterss or urban unit definitions
Altona Templin Dümmer
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type urban unit definition
value 1
[[{'concept': 'still waters'}, {'concept': 'urban unit definition'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?p WHERE { { ?j property:named_after ?p . ?j rdf:type ontology:still_waters . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:urban_unit_definition . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:named_after ?p } } GROUP BY ?p } . FILTER ( ?o = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6649483 Q18507240
P1001 P17
Q15617994
USER
Which administrative territories belong to jurisdiction of Member of the Seimas or are Little Cedar River a part of ?
OR((Q18507240,P1001,c(Q15617994)), (Q6649483,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18507240
relation P1001
action find
entity Q6649483
relation P17
type Q15617994
{'OR': [['Q18507240', 'P1001', {'concept': 'Q15617994'}], ['Q6649483', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q18507240 property:P1001 ?t } UNION { resource:Q6649483 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Little Cedar River Member of the Seimas
action filter_type
action union
action find
entity Member of the Seimas
relation applies to jurisdiction
action find
entity Little Cedar River
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Seimas', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Little Cedar River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Member_of_the_Seimas property:applies_to_jurisdiction ?t } UNION { resource:Little_Cedar_River property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q37
SYSTEM
United States of America, Lithuania
Q30 Q37
OR((Q18507240,P1001,c(Q15617994)), (Q6649483,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18507240
relation P1001
action find
entity Q6649483
relation P17
type Q15617994
[ANSWERS] belong to jurisdiction of Member of the Seimas or are Little Cedar River a part of
{'OR': [['Q18507240', 'P1001', {'concept': 'Q15617994'}], ['Q6649483', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q18507240 property:P1001 ?t } UNION { resource:Q6649483 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
United States of America Lithuania
United States of America and Lithuania belong to jurisdiction of Member of the Seimas or are Little Cedar River a part of
United States of America Lithuania
action filter_type
action union
action find
entity Member of the Seimas
relation applies to jurisdiction
action find
entity Little Cedar River
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Seimas', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Little Cedar River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Member_of_the_Seimas property:applies_to_jurisdiction ?t } UNION { resource:Little_Cedar_River property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q228
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with less number of administrative territories than Andorra ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q228
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?d property:P530 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P530 resource:Q228 . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?q ) }
Andorra
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Andorra
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:diplomatic_relation resource:Andorra . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
103
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q228
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?d property:P530 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P530 resource:Q228 . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?q ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
103
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Andorra
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:diplomatic_relation resource:Andorra . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q32
P530
Q15617994 Q15617994
USER
And also tell me about Luxembourg?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q32
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P530 resource:Q32 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?z ) }
Luxembourg
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:diplomatic_relation resource:Luxembourg . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
123
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q928 Q929 Q39 Q739 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q32
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P530 resource:Q32 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?z ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Philippines Central African Republic Switzerland Colombia Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
123
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:diplomatic_relation resource:Luxembourg . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?z ) }
[]