Simple Question (Direct)
Simple Question
Q5340321
P106
Q12737077
USER
What does Edson Luiz de Carvalho do for a living ?
(Q5340321,P106,c(Q12737077))
action filter_type
action find
entity Q5340321
relation P106
type Q12737077
['Q5340321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5340321 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Edson Luiz de Carvalho
action filter_type
action find
entity Edson Luiz de Carvalho
relation occupation
type occupation
['Edson Luiz de Carvalho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Edson_Luiz_de_Carvalho property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5340321,P106,c(Q12737077))
action filter_type
action find
entity Q5340321
relation P106
type Q12737077
Edson Luiz de Carvalho does for a living an [ANSWER]
['Q5340321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5340321 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
Edson Luiz de Carvalho does for a living an association football player
association football player
action filter_type
action find
entity Edson Luiz de Carvalho
relation occupation
type occupation
['Edson Luiz de Carvalho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Edson_Luiz_de_Carvalho property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5340321
P21
Q290
USER
Which sex does Edson Luiz de Carvalho have ?
(Q5340321,P21,c(Q290))
action filter_type
action find
entity Q5340321
relation P21
type Q290
['Q5340321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5340321 property:P21 ?j . ?j rdf:type ontology:Q290 }
Edson Luiz de Carvalho
action filter_type
action find
entity Edson Luiz de Carvalho
relation gender
type sex
['Edson Luiz de Carvalho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Edson_Luiz_de_Carvalho property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5340321,P21,c(Q290))
action filter_type
action find
entity Q5340321
relation P21
type Q290
Edson Luiz de Carvalho has a [ANSWER]
['Q5340321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5340321 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Edson Luiz de Carvalho has a male
male
action filter_type
action find
entity Edson Luiz de Carvalho
relation gender
type sex
['Edson Luiz de Carvalho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Edson_Luiz_de_Carvalho property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5340321
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5340321
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q5340321 property:P27 ?w }
Edson Luiz de Carvalho
action filter_type
action find
entity Edson Luiz de Carvalho
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Edson_Luiz_de_Carvalho property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5340321
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q5340321 property:P27 ?w }
Brazil
Brazil is the country of citizenship of that person
Brazil
action filter_type
action find
entity Edson Luiz de Carvalho
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Edson_Luiz_de_Carvalho property:country_of_citizenship ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5340321
P19
Q1048835
USER
Which political territory is the place of birth of that person ?
(Q155,P19,c(Q1048835))
action filter_type
action find
entity Q5340321
relation P19
type Q1048835
['Q155', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q5340321 property:P19 ?t . ?t rdf:type ontology:Q1048835 }
Edson Luiz de Carvalho
action filter_type
action find
entity Edson Luiz de Carvalho
relation place of birth
type political territorial entity
['Brazil', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Edson_Luiz_de_Carvalho property:place_of_birth ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q737667
SYSTEM
Tarumirim
Q737667
(Q155,P19,c(Q1048835))
action filter_type
action find
entity Q5340321
relation P19
type Q1048835
[ANSWER] is the place of birth of that person
['Q155', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q5340321 property:P19 ?t . ?t rdf:type ontology:Q1048835 }
Tarumirim
Tarumirim is the place of birth of that person
Tarumirim
action filter_type
action find
entity Edson Luiz de Carvalho
relation place of birth
type political territorial entity
['Brazil', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Edson_Luiz_de_Carvalho property:place_of_birth ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q737667 Q81588 Q155
P17
Q15617994
USER
Is Tarumirim located in San Rufo and Brazil ?
(Q737667,P17,Q81588) (Q737667,P17,Q155)
action is_in
entity Q737667
action intersection
action find_reverse
entity Q81588
relation P17
action find_reverse
entity Q155
relation P17
['Q737667', 'P17', 'Q81588'] ['Q737667', 'P17', 'Q155']
ASK WHERE { resource:Q737667 property:P17 resource:Q81588 . resource:Q737667 property:P17 resource:Q155 }
Tarumirim San Rufo Brazil
action is_in
entity Tarumirim
action intersection
action find_reverse
entity San Rufo
relation country
action find_reverse
entity Brazil
relation country
['Tarumirim', 'country', 'San Rufo'] ['Tarumirim', 'country', 'Brazil']
ASK WHERE { resource:Tarumirim property:country resource:San_Rufo . resource:Tarumirim property:country resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q737667,P17,Q81588) (Q737667,P17,Q155)
action is_in
entity Q737667
action intersection
action find_reverse
entity Q81588
relation P17
action find_reverse
entity Q155
relation P17
[ANSWER]
['Q737667', 'P17', 'Q81588'] ['Q737667', 'P17', 'Q155']
ASK WHERE { resource:Q737667 property:P17 resource:Q81588 . resource:Q737667 property:P17 resource:Q155 }
NO and YES respectively
action is_in
entity Tarumirim
action intersection
action find_reverse
entity San Rufo
relation country
action find_reverse
entity Brazil
relation country
['Tarumirim', 'country', 'San Rufo'] ['Tarumirim', 'country', 'Brazil']
ASK WHERE { resource:Tarumirim property:country resource:San_Rufo . resource:Tarumirim property:country resource:Brazil }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q154547
P1001
Q15617994 Q14660 Q820655
USER
Which administrative territories apply to jurisdiction of approximately the same number of flags or statutes as duchy ?
(c(Q14660)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q154547
relation P1001
type Q14660
type Q820655
[[{'concept': 'Q14660'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?v WHERE { { ?q property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q14660 } UNION { ?q property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q820655 } } GROUP BY ?v } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P1001 resource:Q154547 . { { ?x rdf:type ontology:Q14660 } UNION { ?x rdf:type ontology:Q820655 } } } } }
duchy
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity duchy
relation applies to jurisdiction
type flag
type statute
[[{'concept': 'flag'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?v WHERE { { ?q property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag } UNION { ?q property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:statute } } GROUP BY ?v } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:applies_to_jurisdiction resource:duchy . { { ?x rdf:type ontology:flag } UNION { ?x rdf:type ontology:statute } } } } }
[]
designation for an administrative territorial entity flag statute
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q145 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q14660)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q154547
relation P1001
type Q14660
type Q820655
[ANSWERS] apply to jurisdiction of approximately the same number of flags or statutes as duchy
[[{'concept': 'Q14660'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?v WHERE { { ?q property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q14660 } UNION { ?q property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q820655 } } GROUP BY ?v } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P1001 resource:Q154547 . { { ?x rdf:type ontology:Q14660 } UNION { ?x rdf:type ontology:Q820655 } } } } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen United Kingdom Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy, Brazil and Georgia apply to jurisdiction of approximately the same number of flags or statutes as duchy
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity duchy
relation applies to jurisdiction
type flag
type statute
[[{'concept': 'flag'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?v WHERE { { ?q property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag } UNION { ?q property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:statute } } GROUP BY ?v } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:applies_to_jurisdiction resource:duchy . { { ?x rdf:type ontology:flag } UNION { ?x rdf:type ontology:statute } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q712
P1001
Q15617994 Q14660 Q820655
USER
And also tell me about Fiji?
(c(Q14660)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q712
relation P1001
type Q14660
type Q820655
[[{'concept': 'Q14660'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q14660 . ?s property:P1001 ?k } UNION { ?s property:P1001 ?k . ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q820655 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P1001 resource:Q712 . { { ?b rdf:type ontology:Q14660 } UNION { ?b rdf:type ontology:Q820655 } } } } . FILTER ( ?o = ?a ) }
Fiji
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Fiji
relation applies to jurisdiction
type flag
type statute
[[{'concept': 'flag'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:flag . ?s property:applies_to_jurisdiction ?k } UNION { ?s property:applies_to_jurisdiction ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:statute } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:applies_to_jurisdiction resource:Fiji . { { ?b rdf:type ontology:flag } UNION { ?b rdf:type ontology:statute } } } } . FILTER ( ?o = ?a ) }
[]
designation for an administrative territorial entity flag statute
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q145 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q14660)|c(Q820655),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q712
relation P1001
type Q14660
type Q820655
[ANSWERS]
[[{'concept': 'Q14660'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q14660 . ?s property:P1001 ?k } UNION { ?s property:P1001 ?k . ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q820655 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P1001 resource:Q712 . { { ?b rdf:type ontology:Q14660 } UNION { ?b rdf:type ontology:Q820655 } } } } . FILTER ( ?o = ?a ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina France Duchy of Nemours Netherlands Hagen United Kingdom Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Fiji
relation applies to jurisdiction
type flag
type statute
[[{'concept': 'flag'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:flag . ?s property:applies_to_jurisdiction ?k } UNION { ?s property:applies_to_jurisdiction ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:statute } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:applies_to_jurisdiction resource:Fiji . { { ?b rdf:type ontology:flag } UNION { ?b rdf:type ontology:statute } } } } . FILTER ( ?o = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q863
P37
Q34770 Q5962346 Q15617994
USER
How many administrative territories are known to have approximately the same number of languages and classification schemes as their official language as Tajikistan ?
(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
action count
action filter_multi_types
action find
entity Q863
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { { ?n rdf:type ontology:Q34770 } UNION { ?n rdf:type ontology:Q5962346 } } . resource:Q863 property:P37 ?n } } . FILTER ( ?v = ?z ) }
Tajikistan
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
action count
action filter_multi_types
action find
entity Tajikistan
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:language ) ( ontology:classification_scheme ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { { ?n rdf:type ontology:language } UNION { ?n rdf:type ontology:classification_scheme } } . resource:Tajikistan property:official_language ?n } } . FILTER ( ?v = ?z ) }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
130
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 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
action count
action filter_multi_types
action find
entity Q863
relation P37
type Q34770
type Q5962346
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { { ?n rdf:type ontology:Q34770 } UNION { ?n rdf:type ontology:Q5962346 } } . resource:Q863 property:P37 ?n } } . FILTER ( ?v = ?z ) }
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
130
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
action count
action filter_multi_types
action find
entity Tajikistan
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:language ) ( ontology:classification_scheme ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { { ?n rdf:type ontology:language } UNION { ?n rdf:type ontology:classification_scheme } } . resource:Tajikistan property:official_language ?n } } . FILTER ( ?v = ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q794
P37
Q34770 Q5962346 Q15617994
USER
And what about Iran?
(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
action count
action filter_multi_types
action find
entity Q794
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q794 property:P37 ?p . { { ?p rdf:type ontology:Q34770 } UNION { ?p rdf:type ontology:Q5962346 } } } } . FILTER ( ?d = ?a ) }
Iran
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
action count
action filter_multi_types
action find
entity Iran
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:language ) ( ontology:classification_scheme ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Iran property:official_language ?p . { { ?p rdf:type ontology:language } UNION { ?p rdf:type ontology:classification_scheme } } } } . FILTER ( ?d = ?a ) }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
130
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 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
action count
action filter_multi_types
action find
entity Q794
relation P37
type Q34770
type Q5962346
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q794 property:P37 ?p . { { ?p rdf:type ontology:Q34770 } UNION { ?p rdf:type ontology:Q5962346 } } } } . FILTER ( ?d = ?a ) }
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
130
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
action count
action filter_multi_types
action find
entity Iran
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?s . VALUES ( ?s ) { ( ontology:language ) ( ontology:classification_scheme ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Iran property:official_language ?p . { { ?p rdf:type ontology:language } UNION { ?p rdf:type ontology:classification_scheme } } } } . FILTER ( ?d = ?a ) }
[]