Simple Question (Direct)
Simple Question
Q493755
P495
Q15617994
USER
What is the origin of Coming to America ?
(Q493755,P495,c(Q15617994))
action filter_type
action find
entity Q493755
relation P495
type Q15617994
['Q493755', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q493755 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
Coming to America
action filter_type
action find
entity Coming to America
relation country of origin
type designation for an administrative territorial entity
['Coming to America', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Coming_to_America property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q493755,P495,c(Q15617994))
action filter_type
action find
entity Q493755
relation P495
type Q15617994
The origin of Coming to America is the [ANSWER]
['Q493755', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q493755 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
The origin of Coming to America is the United States of America
United States of America
action filter_type
action find
entity Coming to America
relation country of origin
type designation for an administrative territorial entity
['Coming to America', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Coming_to_America property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is used as the currency of that administrative territory ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P38 ?v . ?v rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:currency ?v . ?v rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is used as the currency of that administrative territory
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P38 ?v . ?v rdf:type ontology:Q8142 }
United States dollar
United States dollar is used as the currency of that administrative territory
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:currency ?v . ?v rdf:type ontology:currency }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P38
Q8142 Q13220204 Q1048835
USER
How many currencies are used as the currencies of lesser number of administrative country subdivisions and political territories than that currency ?
(c(Q13220204)|c(Q1048835),P38,c(Q8142))
action count
action less
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q13220204
action find_reverse_tuple_counts
relation P38
type Q8142
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q13220204
type Q1048835
[[{'concept': 'Q13220204'}, {'concept': 'Q1048835'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } . ?l rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P38 resource:Q4917 . { { ?r rdf:type ontology:Q13220204 } UNION { ?r rdf:type ontology:Q1048835 } } } } . FILTER ( ?a < ?o ) }
action count
action less
action union
action find_reverse_tuple_counts
relation currency
type currency
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation currency
type currency
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type second-level administrative country subdivision
type political territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } . ?l rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:currency resource:United_States_dollar . { { ?r rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?r rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?a < ?o ) }
[]
currency second-level administrative country subdivision political territorial entity
SYSTEM
6
Q2472225 Q39099 Q200979 Q522701 Q2423956 Q232270
(c(Q13220204)|c(Q1048835),P38,c(Q8142))
action count
action less
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q13220204
action find_reverse_tuple_counts
relation P38
type Q8142
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q13220204
type Q1048835
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q1048835'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } . ?l rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P38 resource:Q4917 . { { ?r rdf:type ontology:Q13220204 } UNION { ?r rdf:type ontology:Q1048835 } } } } . FILTER ( ?a < ?o ) }
Latvian rublis renminbi Transnistrian ruble Netherlands Antillean guilder Tajikistani ruble Aruban florin
6
action count
action less
action union
action find_reverse_tuple_counts
relation currency
type currency
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation currency
type currency
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type second-level administrative country subdivision
type political territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } . ?l rdf:type ?p } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:currency resource:United_States_dollar . { { ?r rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?r rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?a < ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q43229 Q82799
USER
Which administrative territories are around 1 organizations or names named after ?
(c(Q43229)|c(Q82799),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
value 1
[[{'concept': 'Q43229'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q82799 ) } . ?n rdf:type ?d } GROUP BY ?w } }
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
value 1
[[{'concept': 'organization'}, {'concept': 'name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:organization ) ( ontology:name ) } . ?n rdf:type ?d } GROUP BY ?w } }
[]
designation for an administrative territorial entity organization name
Q1273 Q81729
SYSTEM
Tuscany, Radeberg
Q1273 Q81729
(c(Q43229)|c(Q82799),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
value 1
[ANSWERS] are around 1 organizations or names named after
[[{'concept': 'Q43229'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q82799 ) } . ?n rdf:type ?d } GROUP BY ?w } }
Tuscany Radeberg
Tuscany and Radeberg are around 1 organizations or names named after
Tuscany Radeberg
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
value 1
[[{'concept': 'organization'}, {'concept': 'name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?x = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:organization ) ( ontology:name ) } . ?n rdf:type ?d } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atmost 19 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?e ) WHERE { ?h property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?e <= 19 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?e ) WHERE { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?e <= 19 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?e ) WHERE { ?h property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?e <= 19 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
156
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?e ) WHERE { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?e <= 19 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P915
Q838948 Q15416
USER
How many works of art and television programs were filmed at United States of America ?
(c(Q838948),P915,Q30) (c(Q15416),P915,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
[{'concept': 'Q838948'}, 'P915', 'Q30'] [{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'United States of America'] [{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:television_program ) } }
[]
work of art television program
SYSTEM
3 works of art and 2 television programs
Q1127828 Q19946486 Q23572 Q16251439 Q484825
(c(Q838948),P915,Q30) (c(Q15416),P915,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q30'] [{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } }
Koyaanisqatsi Til Vesterheimen Game of Thrones A Hologram for the King The Lord of the Skies
3 works of art and 2 television programs
action count
action union
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'United States of America'] [{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:television_program ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10925602 Q30
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America or do Voivodeship road 425 belong to ?
OR((Q30,P530,c(Q15617994)), (Q10925602,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q10925602
relation P17
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q10925602', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q30 property:P530 ?e } UNION { resource:Q10925602 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Voivodeship road 425 United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Voivodeship road 425
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Voivodeship road 425', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:United_States_of_America property:diplomatic_relation ?e } UNION { resource:Voivodeship_road_425 property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q222 Q801 Q159 Q17 Q889 Q796 Q805 Q37 Q36
SYSTEM
Some of them are Argentina, Albania, Israel, Russia, Japan, Afghanistan, Iraq, Yemen, Lithuania, Poland
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q36 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q10925602,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q10925602
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with United States of America or do Voivodeship road 425 belong to
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q10925602', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q30 property:P530 ?e } UNION { resource:Q10925602 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Poland Zambia India Serbia Liechtenstein Argentina
Argentina, Albania, Israel, Russia, Japan, Afghanistan, Iraq, Yemen, Lithuania and Poland have diplomatic relationships with United States of America or do Voivodeship road 425 belong to
Argentina Albania Israel Russia Japan Afghanistan Iraq Yemen Lithuania Poland
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Voivodeship road 425
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Voivodeship road 425', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:United_States_of_America property:diplomatic_relation ?e } UNION { resource:Voivodeship_road_425 property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were the sources of inspiration for greater number of fictional locations than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q222
SYSTEM
Did you mean Albania ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Albania ?
Albania
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Russia. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q159
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER] was the sources of inspiration for greater number of fictional locations than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
India was the sources of inspiration for greater number of fictional locations than that administrative territory
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q668 Q7688837
P495
Q838948
USER
Does Taur Mittran Di originate at that administrative territory ?
(Q7688837,P495,Q668)
action is_in
entity Q668
action find
entity Q7688837
relation P495
['Q7688837', 'P495', 'Q668']
ASK WHERE { resource:Q7688837 property:P495 resource:Q668 }
India Taur Mittran Di
action is_in
entity India
action find
entity Taur Mittran Di
relation country of origin
['Taur Mittran Di', 'country of origin', 'India']
ASK WHERE { resource:Taur_Mittran_Di property:country_of_origin resource:India }
[]
work of art
SYSTEM
YES
(Q7688837,P495,Q668)
action is_in
entity Q668
action find
entity Q7688837
relation P495
[ANSWER]
['Q7688837', 'P495', 'Q668']
ASK WHERE { resource:Q7688837 property:P495 resource:Q668 }
Yes
action is_in
entity India
action find
entity Taur Mittran Di
relation country of origin
['Taur Mittran Di', 'country of origin', 'India']
ASK WHERE { resource:Taur_Mittran_Di property:country_of_origin resource:India }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12620
P840
Q15617994 Q2342494 Q838948
USER
Which administrative territories are approximately the same number of collectables and works of art set in as Mayenne ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q12620
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q838948 } UNION { ?p property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q838948 } } . ?h property:P840 resource:Q12620 } } . FILTER ( ?i = ?g ) }
Mayenne
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Mayenne
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:work_of_art } UNION { ?p property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:work_of_art } } . ?h property:narrative_location resource:Mayenne } } . FILTER ( ?i = ?g ) }
[]
designation for an administrative territorial entity collectable work of art
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q12620
relation P840
type Q2342494
type Q838948
[ANSWERS] are approximately the same number of collectables and works of art set in as Mayenne
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q838948 } UNION { ?p property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q838948 } } . ?h property:P840 resource:Q12620 } } . FILTER ( ?i = ?g ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia, Russia and France are approximately the same number of collectables and works of art set in as Mayenne
Georgia Russia France
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Mayenne
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:work_of_art } UNION { ?p property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:work_of_art } } . ?h property:narrative_location resource:Mayenne } } . FILTER ( ?i = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q769680
P840
Q15617994 Q2342494 Q838948
USER
And also tell me about Bornholm?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q769680
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?k rdf:type ?w } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?e rdf:type ?u } . ?e property:P840 resource:Q769680 } } . FILTER ( ?r = ?f ) }
Bornholm
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Bornholm
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?k rdf:type ?w } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?e rdf:type ?u } . ?e property:narrative_location resource:Bornholm } } . FILTER ( ?r = ?f ) }
[]
designation for an administrative territorial entity collectable work of art
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q769680
relation P840
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?k rdf:type ?w } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?e rdf:type ?u } . ?e property:P840 resource:Q769680 } } . FILTER ( ?r = ?f ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Russia France
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Bornholm
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?k rdf:type ?w } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?e rdf:type ?u } . ?e property:narrative_location resource:Bornholm } } . FILTER ( ?r = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q183
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with lesser number of administrative territories than Germany ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:P530 ?u . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q183 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?g ) }
Germany
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
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 ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:diplomatic_relation ?u . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Germany property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?g ) }
[]
political territorial entity designation for an administrative territorial entity
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Germany
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:P530 ?u . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q183 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?g ) }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Australia, Denmark and Canada have diplomatic relations with lesser number of administrative territories than Germany
Australia Denmark Canada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
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 ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?f ) WHERE { ?n property:diplomatic_relation ?u . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Germany property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q769
P530
Q1048835 Q15617994
USER
And also tell me about Grenada?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?e ) WHERE { ?d property:P530 ?w . ?d rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q769 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?e < ?n ) }
Grenada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?e ) WHERE { ?d property:diplomatic_relation ?w . ?d rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Grenada property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?e < ?n ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?e ) WHERE { ?d property:P530 ?w . ?d rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q769 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?e < ?n ) }
Solomon Islands Papua New Guinea
Solomon Islands Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?e ) WHERE { ?d property:diplomatic_relation ?w . ?d rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Grenada property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?e < ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic relations with those ones ?
(Q408,P530,Q685) (Q408,P530,Q691)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q685'] ['Q408', 'P530', 'Q691']
ASK WHERE { resource:Q408 property:P530 ?n . VALUES ( ?n ) { ( resource:Q685 ) ( resource:Q691 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Solomon Islands'] ['Australia', 'diplomatic relation', 'Papua New Guinea']
ASK WHERE { resource:Australia property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q685) (Q408,P530,Q691)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q685'] ['Q408', 'P530', 'Q691']
ASK WHERE { resource:Q408 property:P530 ?n . VALUES ( ?n ) { ( resource:Q685 ) ( resource:Q691 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Solomon Islands'] ['Australia', 'diplomatic relation', 'Papua New Guinea']
ASK WHERE { resource:Australia property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]