Simple Question (Direct)
Simple Question
Q4845596
P19
Q56061
USER
Where was Eder Luís de Carvalho born ?
(Q4845596,P19,c(Q56061))
action filter_type
action find
entity Q4845596
relation P19
type Q56061
['Q4845596', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q4845596 property:P19 ?r }
Eder Luís de Carvalho
action filter_type
action find
entity Eder Luís de Carvalho
relation place of birth
type administrative territorial entity
['Eder Luís de Carvalho', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Eder_Luís_de_Carvalho property:place_of_birth ?r }
[]
administrative territorial entity
Q626835
SYSTEM
Araçatuba
Q626835
(Q4845596,P19,c(Q56061))
action filter_type
action find
entity Q4845596
relation P19
type Q56061
Eder Luís de Carvalho was born in [ANSWER]
['Q4845596', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q4845596 property:P19 ?r }
Araçatuba
Eder Luís de Carvalho was born in Araçatuba
Araçatuba
action filter_type
action find
entity Eder Luís de Carvalho
relation place of birth
type administrative territorial entity
['Eder Luís de Carvalho', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Eder_Luís_de_Carvalho property:place_of_birth ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4845596
P21
Q290
USER
What is the sex of Eder Luís de Carvalho ?
(Q4845596,P21,c(Q290))
action filter_type
action find
entity Q4845596
relation P21
type Q290
['Q4845596', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q4845596 property:P21 ?s . ?s rdf:type ontology:Q290 }
Eder Luís de Carvalho
action filter_type
action find
entity Eder Luís de Carvalho
relation gender
type sex
['Eder Luís de Carvalho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Eder_Luís_de_Carvalho property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4845596,P21,c(Q290))
action filter_type
action find
entity Q4845596
relation P21
type Q290
The sex of Eder Luís de Carvalho is the [ANSWER]
['Q4845596', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q4845596 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Eder Luís de Carvalho is the male
male
action filter_type
action find
entity Eder Luís de Carvalho
relation gender
type sex
['Eder Luís de Carvalho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Eder_Luís_de_Carvalho property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q626835
P17
Q15617994
USER
Which administrative territory is Araçatuba present in ?
(Q626835,P17,c(Q15617994))
action filter_type
action find
entity Q626835
relation P17
type Q15617994
['Q626835', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q626835 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Araçatuba
action filter_type
action find
entity Araçatuba
relation country
type designation for an administrative territorial entity
['Araçatuba', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Araçatuba property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q626835,P17,c(Q15617994))
action filter_type
action find
entity Q626835
relation P17
type Q15617994
Which administrative territory is Araçatuba present in
['Q626835', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q626835 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Brazil
Which administrative territory is Araçatuba present in
Brazil
action filter_type
action find
entity Araçatuba
relation country
type designation for an administrative territorial entity
['Araçatuba', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Araçatuba property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6973737
Q15617994
USER
And what about National Institute of Technology Meghalaya?
(Q6973737,P17,c(Q15617994))
action filter_type
action find
entity Q6973737
relation P17
type Q15617994
['Q6973737', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q6973737 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
National Institute of Technology Meghalaya
action filter_type
action find
entity National Institute of Technology Meghalaya
relation country
type designation for an administrative territorial entity
['National Institute of Technology Meghalaya', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:National_Institute_of_Technology_Meghalaya property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q6973737,P17,c(Q15617994))
action filter_type
action find
entity Q6973737
relation P17
type Q15617994
[ANSWER]
['Q6973737', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q6973737 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
India
India
action filter_type
action find
entity National Institute of Technology Meghalaya
relation country
type designation for an administrative territorial entity
['National Institute of Technology Meghalaya', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:National_Institute_of_Technology_Meghalaya property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P137
Q3084961 Q15056995
USER
How many product linings and aircraft models are the administrator of Brazil ?
(c(Q3084961),P137,Q155) (c(Q15056995),P137,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P137
type Q3084961
action filter_type
action find_reverse
entity Q155
relation P137
type Q15056995
[{'concept': 'Q3084961'}, 'P137', 'Q155'] [{'concept': 'Q15056995'}, 'P137', 'Q155']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P137 resource:Q155 . ?j rdf:type ontology:Q3084961 } UNION { ?j property:P137 resource:Q155 . ?j rdf:type ontology:Q15056995 } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation operator
type product lining
action filter_type
action find_reverse
entity Brazil
relation operator
type aircraft model
[{'concept': 'product lining'}, 'operator', 'Brazil'] [{'concept': 'aircraft model'}, 'operator', 'Brazil']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:operator resource:Brazil . ?j rdf:type ontology:product_lining } UNION { ?j property:operator resource:Brazil . ?j rdf:type ontology:aircraft_model } }
[]
product lining aircraft model
SYSTEM
12 product linings and 3 aircraft models
Q18011062 Q949427 Q381153 Q17504960 Q200038 Q1867545 Q18193433 Q308940 Q933767 Q18169150 Q17504959 Q295466 Q182027 Q18011069 Q18011068
(c(Q3084961),P137,Q155) (c(Q15056995),P137,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P137
type Q3084961
action filter_type
action find_reverse
entity Q155
relation P137
type Q15056995
[ANSWER]
[{'concept': 'Q3084961'}, 'P137', 'Q155'] [{'concept': 'Q15056995'}, 'P137', 'Q155']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P137 resource:Q155 . ?j rdf:type ontology:Q3084961 } UNION { ?j property:P137 resource:Q155 . ?j rdf:type ontology:Q15056995 } }
EMB 326 Xavante EMB 314 Super Tucano MB-326 F-5 Tiger II Mirage 2000 KC-130 Hercules P-36 Hawk F-5 Hawk 75 T-28R-1 Nomair I F-5 Freedom Fighter AMX C-130 Hercules Impala Mk II MB-326K Veltro
12 product linings and 3 aircraft models
action count
action union
action filter_type
action find_reverse
entity Brazil
relation operator
type product lining
action filter_type
action find_reverse
entity Brazil
relation operator
type aircraft model
[{'concept': 'product lining'}, 'operator', 'Brazil'] [{'concept': 'aircraft model'}, 'operator', 'Brazil']
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:operator resource:Brazil . ?j rdf:type ontology:product_lining } UNION { ?j property:operator resource:Brazil . ?j rdf:type ontology:aircraft_model } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P47
Q15617994
USER
Which administrative territories share border with that one ?
action filter_type
action find
entity Q155
relation P47
type Q15617994
SELECT DISTINCT ?v WHERE { resource:Q155 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Brazil
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:Brazil property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q414 Q739
SYSTEM
France, Argentina, Colombia
Q739 Q142 Q717 Q730 Q733 Q734 Q419 Q77 Q414 Q750
action filter_type
action find
entity Q155
relation P47
type Q15617994
[ANSWERS] share border with that one
SELECT DISTINCT ?v WHERE { resource:Q155 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Colombia France Venezuela Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia
France, Argentina and Colombia share border with that one
France Argentina Colombia
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:Brazil property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P551
Q5073797
USER
Who lives in that administrative territory ?
(c(Q5073797),P551,Q142)
action filter_type
action find_reverse
entity Q142
relation P551
type Q5073797
[{'concept': 'Q5073797'}, 'P551', 'Q142']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q142 . ?b rdf:type ontology:Q5073797 }
France
action filter_type
action find_reverse
entity France
relation residence
type Characters in Disney's Beauty and the Beast
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:France . ?b rdf:type ontology:Characters_in_Disney's_Beauty_and_the_Beast }
[]
Characters in Disney's Beauty and the Beast
Clarification for simple ques.
Q414
SYSTEM
Did you mean Argentina ?
Q142 Q414 Q739
(c(Q5073797),P551,Q142) (c(Q5073797),P551,Q414) (c(Q5073797),P551,Q739)
[ANSWER]
[{'concept': 'Q5073797'}, 'P551', 'Q142'] [{'concept': 'Q5073797'}, 'P551', 'Q414'] [{'concept': 'Q5073797'}, 'P551', 'Q739']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q142 . ?b rdf:type ontology:Q5073797 }
France Argentina Colombia
Did you mean Argentina ?
Argentina
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'Argentina'] [{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'Colombia']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:France . ?b rdf:type ontology:Characters_in_Disney's_Beauty_and_the_Beast }
[]
Simple Question (Coreferenced)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q5073797),P551,Q142)
Q142
[{'concept': 'Q5073797'}, 'P551', 'Q142']
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France']
[]
Q2269136
SYSTEM
Gaston
Q2269136
(c(Q5073797),P551,Q142)
action filter_type
action find_reverse
entity Q142
relation P551
type Q5073797
[ANSWER] lives in that administrative territory
[{'concept': 'Q5073797'}, 'P551', 'Q142']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q142 . ?b rdf:type ontology:Q5073797 }
Gaston
Gaston lives in that administrative territory
Gaston
action filter_type
action find_reverse
entity France
relation residence
type Characters in Disney's Beauty and the Beast
[{'concept': "Characters in Disney's Beauty and the Beast"}, 'residence', 'France']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:France . ?b rdf:type ontology:Characters_in_Disney's_Beauty_and_the_Beast }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q5962346 Q15617994
USER
How many administrative territories are approximately 1 languages and classification schemes the official language of ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?q WHERE { { ?q property:P37 ?e . ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q34770 } UNION { ?q property:P37 ?e . ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q5962346 } } GROUP BY ?q } . FILTER ( ?g = 1 ) }
action count
action approx
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
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?q WHERE { { ?q property:official_language ?e . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:language } UNION { ?q property:official_language ?e . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:classification_scheme } } GROUP BY ?q } . FILTER ( ?g = 1 ) }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
84
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?q WHERE { { ?q property:P37 ?e . ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q34770 } UNION { ?q property:P37 ?e . ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q5962346 } } GROUP BY ?q } . FILTER ( ?g = 1 ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
84
action count
action approx
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
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?q WHERE { { ?q property:official_language ?e . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:language } UNION { ?q property:official_language ?e . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:classification_scheme } } GROUP BY ?q } . FILTER ( ?g = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q917
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with approximately the same number of administrative territories as Bhutan ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?j property:P530 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q917 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } }
Bhutan
action approx
action find_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
entity Bhutan
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?j property:diplomatic_relation ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Bhutan property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 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 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with approximately the same number of administrative territories as Bhutan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?j property:P530 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q917 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines 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 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic associations with approximately the same number of administrative territories as Bhutan
Netherlands Poland People's Republic of China
action approx
action find_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
entity Bhutan
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?j property:diplomatic_relation ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?r = ?d ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Bhutan property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q37
P530
Q15617994 Q15617994
USER
And what about Lithuania?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?w = ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q37 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y property:P530 ?k . ?y rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?y } }
Lithuania
action approx
action find_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
entity Lithuania
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 ?y WHERE { FILTER ( ?w = ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Lithuania property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y property:diplomatic_relation ?k . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 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 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?w = ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q37 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y property:P530 ?k . ?y rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?y } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines 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 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
action find_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
entity Lithuania
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 ?y WHERE { FILTER ( ?w = ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Lithuania property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y property:diplomatic_relation ?k . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2269136
P551
Q15617994
USER
Where did Gaston reside ?
(Q2269136,P551,c(Q15617994))
action filter_type
action find
entity Q2269136
relation P551
type Q15617994
['Q2269136', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2269136 property:P551 ?o . ?o rdf:type ontology:Q15617994 }
Gaston
action filter_type
action find
entity Gaston
relation residence
type designation for an administrative territorial entity
['Gaston', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Gaston property:residence ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2269136,P551,c(Q15617994))
action filter_type
action find
entity Q2269136
relation P551
type Q15617994
Gaston resided in [ANSWER]
['Q2269136', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2269136 property:P551 ?o . ?o rdf:type ontology:Q15617994 }
France
Gaston resided in France
France
action filter_type
action find
entity Gaston
relation residence
type designation for an administrative territorial entity
['Gaston', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Gaston property:residence ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q515 Q20667921
USER
Which administrative territories have exactly 1 cities and french administrative divisions have their first city ?
(c(Q515)|c(Q20667921),P1376,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { { ?e property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q515 } UNION { ?e property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { { ?e property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:city } UNION { ?e property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
[]
designation for an administrative territorial entity city type of french administrative division
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q12631 Q414 Q3368 Q3044731 Q399 Q258 Q155 Q12689 Q3377 Q3372 Q3093 Q2528268 Q12594 Q736 Q12574 Q12792 Q843 Q2007 Q12700 Q12709 Q1050 Q298 Q115 Q114 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q696651 Q3286 Q948 Q3266 Q3105 Q639100 Q33788 Q702 Q12740 Q12745 Q12779 Q833 Q12607 Q790 Q796 Q794 Q889 Q884 Q881 Q2281221 Q12694 Q12515 Q12517 Q3364 Q541095 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q1037 Q1033 Q1030 Q750 Q12736 Q12657 Q12652 Q30831 Q12556 Q878 Q46130 Q3044714 Q12816 Q1951 Q3353 Q3357 Q3184 Q711 Q717 Q2900529 Q1999970 Q155019 Q107426 Q1948 Q12661 Q27 Q225 Q222 Q47261 Q1270623 Q228 Q963 Q3125 Q3120 Q1008 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q72670 Q12563 Q426025 Q568751 Q2150573 Q12536 Q3342 Q842 Q3349 Q3083 Q3249 Q12761 Q12765 Q4712 Q924 Q928 Q851 Q12717 Q3334 Q12572 Q12576 Q12578 Q347 Q3462133 Q12679 Q17 Q3207 Q212 Q211 Q218 Q974 Q3113 Q1019 Q1011 Q12758 Q12753 Q12751 Q12564
(c(Q515)|c(Q20667921),P1376,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[ANSWERS] have exactly 1 cities and french administrative divisions have their first city
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { { ?e property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q515 } UNION { ?e property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
Meuse Argentina Essonne Guyane Armenia South Africa Brazil Pas-de-Calais Eure-et-Loir Eure Aisne Mont-Blanc Marne Ecuador Loiret Vaucluse Pakistan Northwest Territories Hautes-Pyrénées Pyrénées-Orientales Swaziland Chile Ethiopia Kenya Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Saxe-Eisenach Cher Tunisia Charente Vosges Principality of Reuss-Gera New Caledonia Federated States of Micronesia Sarthe Savoie Tarn-et-Garonne Malaysia Haute-Marne Haiti Iraq Iran Afghanistan South Korea Vietnam Principality of Orange Puy-de-Dôme Gard Gers Drôme Rhin-et-Moselle Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Rwanda Nigeria Namibia Bolivia Saône-et-Loire Nièvre Moselle Red Sea Governorate Indre-et-Loire United Arab Emirates Rhône Ouest Yonne Alberta Creuse Dordogne Ariège Mongolia Venezuela Bezirk Lothringen Upper Alsace Duchy of Lorraine Anjou Manitoba Nord Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Meurthe Andorra Botswana Hautes-Alpes Jura Côte d'Ivoire Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Batumi Oblast Landes Duchy of Savoy Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Côtes-d'Armor Ain Calvados Seine-Saint-Denis Deux-Sèvres Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Haute-Corse Haute-Loire Lot Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Allier Madagascar Cape Verde Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Brazil, Japan and Liechtenstein have exactly 1 cities and french administrative divisions have their first city
Brazil Japan Liechtenstein
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { { ?e property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:city } UNION { ?e property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q490412
P530
Q15617994
USER
Do Priolo Gargallo have ambassadorial relations with those ones ?
(Q490412,P530,Q155) (Q490412,P530,Q17) (Q490412,P530,Q347)
action is_in
entity prev_answer
action find
entity Q490412
relation P530
['Q490412', 'P530', 'Q155'] ['Q490412', 'P530', 'Q17'] ['Q490412', 'P530', 'Q347']
ASK WHERE { VALUES ( ?t ) { ( resource:Q12631 ) ( resource:Q414 ) ( resource:Q3368 ) } . resource:Q490412 property:P530 ?t }
Priolo Gargallo
action is_in
entity prev_answer
action find
entity Priolo Gargallo
relation diplomatic relation
['Priolo Gargallo', 'diplomatic relation', 'Brazil'] ['Priolo Gargallo', 'diplomatic relation', 'Japan'] ['Priolo Gargallo', 'diplomatic relation', 'Liechtenstein']
ASK WHERE { VALUES ( ?t ) { ( resource:Meuse ) ( resource:Argentina ) ( resource:Essonne ) } . resource:Priolo_Gargallo property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q490412,P530,Q155) (Q490412,P530,Q17) (Q490412,P530,Q347)
action is_in
entity prev_answer
action find
entity Q490412
relation P530
[ANSWER]
['Q490412', 'P530', 'Q155'] ['Q490412', 'P530', 'Q17'] ['Q490412', 'P530', 'Q347']
ASK WHERE { VALUES ( ?t ) { ( resource:Q12631 ) ( resource:Q414 ) ( resource:Q3368 ) } . resource:Q490412 property:P530 ?t }
No
action is_in
entity prev_answer
action find
entity Priolo Gargallo
relation diplomatic relation
['Priolo Gargallo', 'diplomatic relation', 'Brazil'] ['Priolo Gargallo', 'diplomatic relation', 'Japan'] ['Priolo Gargallo', 'diplomatic relation', 'Liechtenstein']
ASK WHERE { VALUES ( ?t ) { ( resource:Meuse ) ( resource:Argentina ) ( resource:Essonne ) } . resource:Priolo_Gargallo property:diplomatic_relation ?t }
[]