Simple Question (Direct)
Simple Question
Q333704
P102
Q7210356
USER
Which party is Donnie Munro affiliated with ?
(Q333704,P102,c(Q7210356))
action filter_type
action find
entity Q333704
relation P102
type Q7210356
['Q333704', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q333704 property:P102 ?x }
Donnie Munro
action filter_type
action find
entity Donnie Munro
relation member of political party
type political organization
['Donnie Munro', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Donnie_Munro property:member_of_political_party ?x }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q333704,P102,c(Q7210356))
action filter_type
action find
entity Q333704
relation P102
type Q7210356
Donnie Munro is affiliated with [ANSWER]
['Q333704', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q333704 property:P102 ?x }
Labour Party
Donnie Munro is affiliated with Labour Party
Labour Party
action filter_type
action find
entity Donnie Munro
relation member of political party
type political organization
['Donnie Munro', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Donnie_Munro property:member_of_political_party ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P108
Q502895
USER
Which people work for that political organization ?
(c(Q502895),P108,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q9630']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q9630 . ?o rdf:type ontology:Q502895 }
Labour Party
action filter_type
action find_reverse
entity Labour Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Labour Party']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Labour_Party . ?o rdf:type ontology:common_name }
[]
common name
Q8064075 Q2086183 Q7782897
SYSTEM
Zack Exley, Philip Gould, Baron Gould of Brookwood, Theresa Stewart
Q8064075 Q2086183 Q7782897
(c(Q502895),P108,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P108
type Q502895
[ANSWERS] work for that political organization
[{'concept': 'Q502895'}, 'P108', 'Q9630']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q9630 . ?o rdf:type ontology:Q502895 }
Zack Exley Philip Gould, Baron Gould of Brookwood Theresa Stewart
Zack Exley, Philip Gould, Baron Gould of Brookwood and Theresa Stewart work for that political organization
Zack Exley Philip Gould, Baron Gould of Brookwood Theresa Stewart
action filter_type
action find_reverse
entity Labour Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Labour Party']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Labour_Party . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P488
Q502895
USER
Who chaired that political organization ?
(Q8064075,P488,c(Q502895)) (Q2086183,P488,c(Q502895)) (Q7782897,P488,c(Q502895))
action filter_type
action find
entity Q9630
relation P488
type Q502895
['Q8064075', 'P488', {'concept': 'Q502895'}] ['Q2086183', 'P488', {'concept': 'Q502895'}] ['Q7782897', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q9630 property:P488 ?o }
Labour Party
action filter_type
action find
entity Labour Party
relation chairperson
type common name
['Zack Exley', 'chairperson', {'concept': 'common name'}] ['Philip Gould, Baron Gould of Brookwood', 'chairperson', {'concept': 'common name'}] ['Theresa Stewart', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Labour_Party property:chairperson ?o }
[]
common name
Q216594
SYSTEM
Ed Miliband
Q216594
(Q8064075,P488,c(Q502895)) (Q2086183,P488,c(Q502895)) (Q7782897,P488,c(Q502895))
action filter_type
action find
entity Q9630
relation P488
type Q502895
[ANSWER] chaired that political organization
['Q8064075', 'P488', {'concept': 'Q502895'}] ['Q2086183', 'P488', {'concept': 'Q502895'}] ['Q7782897', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q9630 property:P488 ?o }
Ed Miliband
Ed Miliband chaired that political organization
Ed Miliband
action filter_type
action find
entity Labour Party
relation chairperson
type common name
['Zack Exley', 'chairperson', {'concept': 'common name'}] ['Philip Gould, Baron Gould of Brookwood', 'chairperson', {'concept': 'common name'}] ['Theresa Stewart', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Labour_Party property:chairperson ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q216594 Q1922711
P937
Q56061
USER
Is Calumet the work location of Ed Miliband ?
(Q216594,P937,Q1922711)
action is_in
entity Q1922711
action find
entity Q216594
relation P937
['Q216594', 'P937', 'Q1922711']
ASK WHERE { resource:Q216594 property:P937 resource:Q1922711 }
Ed Miliband Calumet
action is_in
entity Calumet
action find
entity Ed Miliband
relation work location
['Ed Miliband', 'work location', 'Calumet']
ASK WHERE { resource:Ed_Miliband property:work_location resource:Calumet }
[]
administrative territorial entity
SYSTEM
NO
(Q216594,P937,Q1922711)
action is_in
entity Q1922711
action find
entity Q216594
relation P937
[ANSWER]
['Q216594', 'P937', 'Q1922711']
ASK WHERE { resource:Q216594 property:P937 resource:Q1922711 }
No
action is_in
entity Calumet
action find
entity Ed Miliband
relation work location
['Ed Miliband', 'work location', 'Calumet']
ASK WHERE { resource:Ed_Miliband property:work_location resource:Calumet }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12812242 Q1922711
P495 P17
Q15617994
USER
Which administrative territories are Calumet present in or are the countries of origin of torpedo dessert ?
OR((Q1922711,P17,c(Q15617994)), (Q12812242,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1922711
relation P17
action find
entity Q12812242
relation P495
type Q15617994
{'OR': [['Q1922711', 'P17', {'concept': 'Q15617994'}], ['Q12812242', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q1922711 property:P17 ?s } UNION { resource:Q12812242 property:P495 ?s } } }
torpedo dessert Calumet
action filter_type
action union
action find
entity Calumet
relation country
action find
entity torpedo dessert
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Calumet', 'country', {'concept': 'designation for an administrative territorial entity'}], ['torpedo dessert', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Calumet property:country ?s } UNION { resource:torpedo_dessert property:country_of_origin ?s } } }
[]
designation for an administrative territorial entity
Q219 Q30 Q43
SYSTEM
Bulgaria, United States of America, Turkey
Q219 Q30 Q43
OR((Q1922711,P17,c(Q15617994)), (Q12812242,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1922711
relation P17
action find
entity Q12812242
relation P495
type Q15617994
Or are the countries of origin of torpedo dessert in Calumet are in [ANSWERS]
{'OR': [['Q1922711', 'P17', {'concept': 'Q15617994'}], ['Q12812242', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q1922711 property:P17 ?s } UNION { resource:Q12812242 property:P495 ?s } } }
Bulgaria United States of America Turkey
Or are the countries of origin of torpedo dessert in Calumet are in Bulgaria, United States of America and Turkey
Bulgaria United States of America Turkey
action filter_type
action union
action find
entity Calumet
relation country
action find
entity torpedo dessert
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Calumet', 'country', {'concept': 'designation for an administrative territorial entity'}], ['torpedo dessert', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Calumet property:country ?s } UNION { resource:torpedo_dessert property:country_of_origin ?s } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q408
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with lesser number of administrative territories than Australia ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { ?j property:P530 ?v . ?j rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q408 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?g ) }
Australia
action count
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 Australia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { ?j property:diplomatic_relation ?v . ?j rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Australia property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?g ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { ?j property:P530 ?v . ?j rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q408 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?g ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
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 Australia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { ?j property:diplomatic_relation ?v . ?j rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Australia property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q35
P27
Q502895
USER
How many people are a native of United States of America and Denmark ?
(c(Q502895),P27,Q30) (c(Q502895),P27,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P27
type Q502895
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q30'] [{'concept': 'Q502895'}, 'P27', 'Q35']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P27 resource:Q30 . ?d rdf:type ontology:Q502895 . ?d rdf:type ontology:Q502895 . ?d property:P27 resource:Q35 }
United States of America Denmark
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United States of America'] [{'concept': 'common name'}, 'country of citizenship', 'Denmark']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:country_of_citizenship resource:United_States_of_America . ?d rdf:type ontology:common_name . ?d rdf:type ontology:common_name . ?d property:country_of_citizenship resource:Denmark }
[]
common name
SYSTEM
53
Q7031474 Q5739918 Q5608267 Q562164 Q2081055 Q12332166 Q2391399 Q7341515 Q15649065 Q7031517 Q12329089 Q12338763 Q508704 Q12308710 Q19562556 Q3512248 Q12324160 Q20891815 Q20261278 Q285346 Q6794853 Q171363 Q12336457 Q251417 Q4894149 Q12340358 Q7176194 Q7176859 Q15635668 Q363046 Q6215655 Q4310494 Q5773765 Q1796930 Q286922 Q15944103 Q1230296 Q3150911 Q183192 Q722425 Q5597804 Q918353 Q359251 Q57960 Q16065278 Q214160 Q6759483 Q12318996 Q1605553 Q5083277 Q434113 Q4820667 Q10262016
(c(Q502895),P27,Q30) (c(Q502895),P27,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P27
type Q502895
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q30'] [{'concept': 'Q502895'}, 'P27', 'Q35']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P27 resource:Q30 . ?d rdf:type ontology:Q502895 . ?d rdf:type ontology:Q502895 . ?d property:P27 resource:Q35 }
Niels Drustrup Herman Kalckar Christian Thomsen Christensen Holger Thiele Petrus de Scotia Poul Harboe-Christensen Tambi Larsen Robert Anderson Edvard Bech Niels Juul Noa Redington Tamra Rosanes Max Rée Ditlev Laub Søren Hess-Olesen Christian Febiger Leif Glensgaard Knud Merrild Liv Hansen Ray Pitts Max Henius Viggo Mortensen Sophie Oxholm Victor Borge Bernhard Arp Sindberg Uwe Jensen Peter O. Hansen Peter Sekaer Johanne Louise Heiberg Christian Mortensen Johann Berthelsen Christian Mørk Frederik Lange Grundtvig Olaf Henriksen Erik Christian Clemmensen Knute Hansen Ditlev Thaanum Inga Arvad Max Heindel Harald T. Friis Folmar Blangsted Karl Dane Jean Hersholt Christian Heinrich Friedrich Peters Valdemar Kaave Theodor Olshausen Margaret Hamerik James Sampson Henning Schellerup Charles W. Woodman Bengt Strömgren August Busck Crystal Storm
53
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United States of America'] [{'concept': 'common name'}, 'country of citizenship', 'Denmark']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:country_of_citizenship resource:United_States_of_America . ?d rdf:type ontology:common_name . ?d rdf:type ontology:common_name . ?d property:country_of_citizenship resource:Denmark }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q736
P37
Q34770 Q5962346 Q15617994
USER
Which administrative territories have their official language as lesser number of languages and classification schemes than Ecuador ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q736
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q34770 . ?h property:P37 ?u } UNION { ?h property:P37 ?u . ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q5962346 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?z rdf:type ?i } . resource:Q736 property:P37 ?z } } . FILTER ( ?q < ?r ) }
Ecuador
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Ecuador
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:language . ?h property:official_language ?u } UNION { ?h property:official_language ?u . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:classification_scheme } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?z rdf:type ?i } . resource:Ecuador property:official_language ?z } } . FILTER ( ?q < ?r ) }
[]
language classification scheme designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q736
relation P37
type Q34770
type Q5962346
[ANSWERS] have their official language as lesser number of languages and classification schemes than Ecuador
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q34770 . ?h property:P37 ?u } UNION { ?h property:P37 ?u . ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q5962346 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?z rdf:type ?i } . resource:Q736 property:P37 ?z } } . FILTER ( ?q < ?r ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil, United States of America and Georgia have their official language as lesser number of languages and classification schemes than Ecuador
Brazil United States of America Georgia
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Ecuador
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:language . ?h property:official_language ?u } UNION { ?h property:official_language ?u . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:classification_scheme } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?z rdf:type ?i } . resource:Ecuador property:official_language ?z } } . FILTER ( ?q < ?r ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have ambassadorial relations with those ones ?
(Q184,P530,Q155) (Q184,P530,Q30) (Q184,P530,Q230)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q30'] ['Q184', 'P530', 'Q230']
ASK WHERE { resource:Q184 property:P530 ?r . VALUES ( ?r ) { ( resource:Q805 ) ( resource:Q801 ) ( resource:Q473259 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'United States of America'] ['Belarus', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Belarus property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Yemen ) ( resource:Israel ) ( resource:Ammerthal ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q155) (Q184,P530,Q30) (Q184,P530,Q230)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q30'] ['Q184', 'P530', 'Q230']
ASK WHERE { resource:Q184 property:P530 ?r . VALUES ( ?r ) { ( resource:Q805 ) ( resource:Q801 ) ( resource:Q473259 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'United States of America'] ['Belarus', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Belarus property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Yemen ) ( resource:Israel ) ( resource:Ammerthal ) } }
[]