Simple Question (Direct)
Simple Question
Q5714625
P106
Q12737077
USER
What is the job of Dag Ericson ?
(Q5714625,P106,c(Q12737077))
action filter_type
action find
entity Q5714625
relation P106
type Q12737077
['Q5714625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5714625 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Dag Ericson
action filter_type
action find
entity Dag Ericson
relation occupation
type occupation
['Dag Ericson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Dag_Ericson property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5714625,P106,c(Q12737077))
action filter_type
action find
entity Q5714625
relation P106
type Q12737077
The job of Dag Ericson is a [ANSWER]
['Q5714625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5714625 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
politician
The job of Dag Ericson is a politician
politician
action filter_type
action find
entity Dag Ericson
relation occupation
type occupation
['Dag Ericson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Dag_Ericson property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5714625
P734
Q82799
USER
Who is associated with Dag Ericson ?
(Q5714625,P734,c(Q82799))
action filter_type
action find
entity Q5714625
relation P734
type Q82799
['Q5714625', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q5714625 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Dag Ericson
action filter_type
action find
entity Dag Ericson
relation family name
type name
['Dag Ericson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Dag_Ericson property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q25253492
SYSTEM
Ericson
Q25253492
(Q5714625,P734,c(Q82799))
action filter_type
action find
entity Q5714625
relation P734
type Q82799
Dag [ANSWER] is associated with Dag [ANSWER]
['Q5714625', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q5714625 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Ericson
Dag Ericson is associated with Dag Ericson
Ericson
action filter_type
action find
entity Dag Ericson
relation family name
type name
['Dag Ericson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Dag_Ericson property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5714625
P39
Q12737077
USER
Which occupation was a position held by Dag Ericson ?
(Q5714625,P39,c(Q12737077))
action filter_type
action find
entity Q5714625
relation P39
type Q12737077
['Q5714625', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5714625 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Dag Ericson
action filter_type
action find
entity Dag Ericson
relation position held
type occupation
['Dag Ericson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Dag_Ericson property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q5714625,P39,c(Q12737077))
action filter_type
action find
entity Q5714625
relation P39
type Q12737077
The [ANSWER] was a position held by Dag Ericson
['Q5714625', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5714625 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Member of the Riksdag
The Member of the Riksdag was a position held by Dag Ericson
Member of the Riksdag
action filter_type
action find
entity Dag Ericson
relation position held
type occupation
['Dag Ericson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Dag_Ericson property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5751131
Q12737077
USER
And also tell me about Carlos Navarrete Merino?
(Q5751131,P39,c(Q12737077))
action filter_type
action find
entity Q5751131
relation P39
type Q12737077
['Q5751131', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5751131 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Carlos Navarrete Merino
action filter_type
action find
entity Carlos Navarrete Merino
relation position held
type occupation
['Carlos Navarrete Merino', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Carlos_Navarrete_Merino property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q18171345
SYSTEM
Member of the Congress of Deputies of Spain
Q18171345
(Q5751131,P39,c(Q12737077))
action filter_type
action find
entity Q5751131
relation P39
type Q12737077
[ANSWER]
['Q5751131', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5751131 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Carlos Navarrete Merino
relation position held
type occupation
['Carlos Navarrete Merino', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Carlos_Navarrete_Merino property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18171345 Q372036 Q524262
P1001
Q15617994
USER
Does Member of the Congress of Deputies of Spain apply to jurisdiction over Neukirch and Bubsheim ?
(Q18171345,P1001,Q372036) (Q18171345,P1001,Q524262)
action is_in
entity Q18171345
action intersection
action find_reverse
entity Q372036
relation P1001
action find_reverse
entity Q524262
relation P1001
['Q18171345', 'P1001', 'Q372036'] ['Q18171345', 'P1001', 'Q524262']
ASK WHERE { resource:Q18171345 property:P1001 resource:Q524262 . resource:Q18171345 property:P1001 resource:Q372036 }
Member of the Congress of Deputies of Spain Neukirch Bubsheim
action is_in
entity Member of the Congress of Deputies of Spain
action intersection
action find_reverse
entity Neukirch
relation applies to jurisdiction
action find_reverse
entity Bubsheim
relation applies to jurisdiction
['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Neukirch'] ['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Bubsheim']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Bubsheim . resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Neukirch }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18171345,P1001,Q372036) (Q18171345,P1001,Q524262)
action is_in
entity Q18171345
action intersection
action find_reverse
entity Q372036
relation P1001
action find_reverse
entity Q524262
relation P1001
[ANSWER]
['Q18171345', 'P1001', 'Q372036'] ['Q18171345', 'P1001', 'Q524262']
ASK WHERE { resource:Q18171345 property:P1001 resource:Q524262 . resource:Q18171345 property:P1001 resource:Q372036 }
No
action is_in
entity Member of the Congress of Deputies of Spain
action intersection
action find_reverse
entity Neukirch
relation applies to jurisdiction
action find_reverse
entity Bubsheim
relation applies to jurisdiction
['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Neukirch'] ['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Bubsheim']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Bubsheim . resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Neukirch }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6908831 Q5751131
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Carlos Navarrete Merino or are Moqdar a part of ?
OR((Q5751131,P27,c(Q15617994)), (Q6908831,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5751131
relation P27
action find
entity Q6908831
relation P17
type Q15617994
{'OR': [['Q5751131', 'P27', {'concept': 'Q15617994'}], ['Q6908831', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q5751131 property:P27 ?b } UNION { resource:Q6908831 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Moqdar Carlos Navarrete Merino
action filter_type
action union
action find
entity Carlos Navarrete Merino
relation country of citizenship
action find
entity Moqdar
relation country
type designation for an administrative territorial entity
{'OR': [['Carlos Navarrete Merino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Moqdar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Carlos_Navarrete_Merino property:country_of_citizenship ?b } UNION { resource:Moqdar property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q794
SYSTEM
Spain, Iran
Q29 Q794
OR((Q5751131,P27,c(Q15617994)), (Q6908831,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5751131
relation P27
action find
entity Q6908831
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Carlos Navarrete Merino or are Moqdar a part of
{'OR': [['Q5751131', 'P27', {'concept': 'Q15617994'}], ['Q6908831', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q5751131 property:P27 ?b } UNION { resource:Q6908831 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Spain Iran
Spain and Iran are the countries of citizenship of Carlos Navarrete Merino or are Moqdar a part of
Spain Iran
action filter_type
action union
action find
entity Carlos Navarrete Merino
relation country of citizenship
action find
entity Moqdar
relation country
type designation for an administrative territorial entity
{'OR': [['Carlos Navarrete Merino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Moqdar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Carlos_Navarrete_Merino property:country_of_citizenship ?b } UNION { resource:Moqdar property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5067568
Q15617994
USER
And how about Chahar Chubeh?
(Q5067568,P17,c(Q15617994))
action filter_type
action find
entity Q5067568
relation P17
type Q15617994
['Q5067568', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5067568 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Chahar Chubeh
action filter_type
action find
entity Chahar Chubeh
relation country
type designation for an administrative territorial entity
['Chahar Chubeh', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Chahar_Chubeh property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q5067568,P17,c(Q15617994))
action filter_type
action find
entity Q5067568
relation P17
type Q15617994
[ANSWER]
['Q5067568', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5067568 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Chahar Chubeh
relation country
type designation for an administrative territorial entity
['Chahar Chubeh', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Chahar_Chubeh property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were greater number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q794
relation P941
type Q15617994
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P941 ?b . ?b rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q3895768 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q794 property:P941 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?s > ?x ) }
action greater
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Iran
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:inspired_by ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:fictional_location } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Iran property:inspired_by ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s > ?x ) }
[]
designation for an administrative territorial entity fictional location
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q794
relation P941
type Q15617994
[ANSWER] was greater number of fictional locations inspired by than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P941 ?b . ?b rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q3895768 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q794 property:P941 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?s > ?x ) }
India
India was greater number of fictional locations inspired by than that administrative territory
India
action greater
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Iran
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:inspired_by ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:fictional_location } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Iran property:inspired_by ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q258
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with lesser number of administrative territories than South Africa ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q258
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P530 resource:Q258 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?v ) }
South Africa
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 South Africa
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:diplomatic_relation resource:South_Africa . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 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 less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q258
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with lesser number of administrative territories than South Africa
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P530 resource:Q258 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?v ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea 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 Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria 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
Georgia, Netherlands and Poland have a diplomatic relationship with lesser number of administrative territories than South Africa
Georgia Netherlands Poland
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 South Africa
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:diplomatic_relation resource:South_Africa . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q228
P530
Q15617994 Q15617994
USER
And what about Andorra?
(c(Q15617994),P530,c(Q15617994))
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P530 resource:Q228 . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?l ) }
Andorra
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:diplomatic_relation resource:Andorra . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
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 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
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P530 resource:Q228 . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?l ) }
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
Georgia Netherlands Belarus
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:diplomatic_relation resource:Andorra . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?l ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230 Q55 Q184
P530
Q15617994
USER
Which administrative territories have diplomatic relations with Georgia, Netherlands and Belarus ?
(Q230,P530,c(Q15617994)) (Q55,P530,c(Q15617994)) (Q184,P530,c(Q15617994))
action union
action filter_type
action find
entity Q230
relation P530
type Q15617994
action filter_type
action find
entity Q55
relation P530
type Q15617994
action filter_type
action find
entity Q184
relation P530
type Q15617994
['Q230', 'P530', {'concept': 'Q15617994'}] ['Q55', 'P530', {'concept': 'Q15617994'}] ['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?b ) { ( resource:Q230 ) ( resource:Q55 ) } . ?b property:P530 ?f }
Georgia Netherlands Belarus
action union
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?b ) { ( resource:Georgia ) ( resource:Netherlands ) } . ?b property:diplomatic_relation ?f }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q805 Q801 Q800 Q668 Q414 Q145 Q262 Q784 Q786 Q710 Q252 Q399 Q398 Q43 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q986 Q822 Q241 Q424 Q921 Q31 Q30 Q37 Q38 Q739 Q423 Q983 Q851 Q734 Q1011 Q736 Q27 Q29 Q819 Q189 Q184 Q32 Q347 Q227 Q225 Q222 Q229 Q228 Q17 Q902 Q1008 Q191 Q965 Q967 Q963 Q115 Q114 Q117 Q750 Q211 Q219 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q970 Q686 Q874 Q79 Q878 Q774 Q810 Q1016 Q1013 Q953 Q38 Q801 Q833 Q843 Q241 Q668 Q227 Q224 Q55 Q262 Q148 Q33 Q874 Q30 Q37 Q36 Q34 Q39 Q38 Q902 Q142 Q1016 Q414 Q298 Q215 Q403 Q230 Q212 Q213 Q211 Q159 Q217 Q214 Q41 Q155 Q233 Q794 Q27
(Q230,P530,c(Q15617994)) (Q55,P530,c(Q15617994)) (Q184,P530,c(Q15617994))
action union
action filter_type
action find
entity Q230
relation P530
type Q15617994
action filter_type
action find
entity Q55
relation P530
type Q15617994
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] have diplomatic relations with Georgia, Netherlands and Belarus
['Q230', 'P530', {'concept': 'Q15617994'}] ['Q55', 'P530', {'concept': 'Q15617994'}] ['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?b ) { ( resource:Q230 ) ( resource:Q55 ) } . ?b property:P530 ?f }
Yemen Israel Costa Rica India Argentina United Kingdom Algeria Dominica Dominican Republic Kiribati Indonesia Armenia Bahrain Turkey Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Eritrea Lebanon Cuba Cambodia Brunei Belgium United States of America Lithuania Italy Colombia North Korea Equatorial Guinea Saudi Arabia Guyana Cape Verde Ecuador Ireland Spain Laos Iceland Belarus Luxembourg Liechtenstein Azerbaijan Bosnia and Herzegovina Albania Cyprus Andorra Japan Bangladesh Côte d'Ivoire Estonia Burkina Faso Burundi Botswana Ethiopia Kenya Ghana Bolivia Latvia Bulgaria Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Comoros Vanuatu Turkmenistan Egypt United Arab Emirates Guatemala Jordan Libya Lesotho Zambia Italy Israel Malaysia Pakistan Cuba India Azerbaijan Croatia Netherlands Algeria People's Republic of China Finland Turkmenistan United States of America Lithuania Poland Sweden Switzerland Italy Bangladesh France Libya Argentina Chile Slovenia Serbia Georgia Ukraine Czech Republic Latvia Russia Republic of Moldova Slovakia Greece Brazil Malta Iran Ireland
Italy, Italy and Italy have diplomatic relations with Georgia, Netherlands and Belarus
Italy Italy Italy
action union
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?b ) { ( resource:Georgia ) ( resource:Netherlands ) } . ?b property:diplomatic_relation ?f }
[]