Simple Question (Direct)
Simple Question
Q10505399
P735
Q82799
USER
What is forename of Sina Ashouri ?
(Q10505399,P735,c(Q82799))
action filter_type
action find
entity Q10505399
relation P735
type Q82799
['Q10505399', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q10505399 property:P735 ?p . ?p rdf:type ontology:Q82799 }
Sina Ashouri
action filter_type
action find
entity Sina Ashouri
relation given name
type name
['Sina Ashouri', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Sina_Ashouri property:given_name ?p . ?p rdf:type ontology:name }
[]
name
Q15847639
SYSTEM
Sina
Q15847639
(Q10505399,P735,c(Q82799))
action filter_type
action find
entity Q10505399
relation P735
type Q82799
Forename of [ANSWER] Ashouri is of [ANSWER]
['Q10505399', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q10505399 property:P735 ?p . ?p rdf:type ontology:Q82799 }
Sina
Forename of Sina Ashouri is of Sina
Sina
action filter_type
action find
entity Sina Ashouri
relation given name
type name
['Sina Ashouri', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Sina_Ashouri property:given_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10505399
P106
Q12737077
USER
What is the profession of that person ?
(Q15847639,P106,c(Q12737077))
action filter_type
action find
entity Q10505399
relation P106
type Q12737077
['Q15847639', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q10505399 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Sina Ashouri
action filter_type
action find
entity Sina Ashouri
relation occupation
type occupation
['Sina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Sina_Ashouri property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15847639,P106,c(Q12737077))
action filter_type
action find
entity Q10505399
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q15847639', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q10505399 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Sina Ashouri
relation occupation
type occupation
['Sina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Sina_Ashouri property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10505399
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q10505399
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10505399 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Sina Ashouri
action filter_type
action find
entity Sina Ashouri
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sina_Ashouri property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q10505399
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10505399 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Iran
Iran is that person an inhabitant of
Iran
action filter_type
action find
entity Sina Ashouri
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sina_Ashouri property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q794
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Iran ?
(Q794,P530,c(Q15617994))
action count
action filter_type
action find
entity Q794
relation P530
type Q15617994
['Q794', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q794 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Iran
action count
action filter_type
action find
entity Iran
relation diplomatic relation
type designation for an administrative territorial entity
['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Iran property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q805 Q801 Q155 Q38
(Q794,P530,c(Q15617994))
action count
action filter_type
action find
entity Q794
relation P530
type Q15617994
[ANSWER]
['Q794', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q794 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Yemen Israel Brazil Italy
4
action count
action filter_type
action find
entity Iran
relation diplomatic relation
type designation for an administrative territorial entity
['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Iran property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with atmost 9 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?q ) WHERE { ?z property:P530 ?j . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?q <= 9 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?q ) WHERE { ?z property:diplomatic_relation ?j . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?q <= 9 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q145
SYSTEM
Netherlands, Poland, United Kingdom
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 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 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 atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[ANSWERS] have ambassadorial relations with atmost 9 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?q ) WHERE { ?z property:P530 ?j . ?z rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?q <= 9 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria 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 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 United Kingdom have ambassadorial relations with atmost 9 administrative territories
Netherlands Poland United Kingdom
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?q ) WHERE { ?z property:diplomatic_relation ?j . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?q <= 9 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories are known to have diplomatic connections with that administrative territory ?
(c(Q1048835),P530,Q55) (c(Q15617994),P530,Q55) (c(Q1048835),P530,Q55) (c(Q15617994),P530,Q55) (c(Q1048835),P530,Q36) (c(Q15617994),P530,Q36) (c(Q1048835),P530,Q145) (c(Q15617994),P530,Q145)
[{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q15617994'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q15617994'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q36'] [{'concept': 'Q15617994'}, 'P530', 'Q36'] [{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P530 resource:Q22442862 } UNION { ?y property:P530 resource:Q22442862 } UNION { ?z property:P530 resource:Q22442862 } UNION { ?y property:P530 resource:Q22442862 } UNION { ?z property:P530 resource:Q7208890 } UNION { ?y property:P530 resource:Q7208890 } UNION { ?z property:P530 resource:Q225249 } UNION { ?y property:P530 resource:Q225249 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:diplomatic_relation resource:Netherlands } UNION { ?y property:diplomatic_relation resource:Netherlands } UNION { ?z property:diplomatic_relation resource:Netherlands } UNION { ?y property:diplomatic_relation resource:Netherlands } UNION { ?z property:diplomatic_relation resource:Poland } UNION { ?y property:diplomatic_relation resource:Poland } UNION { ?z property:diplomatic_relation resource:United_Kingdom } UNION { ?y property:diplomatic_relation resource:United_Kingdom } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
political territorial entity designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q36
SYSTEM
Did you mean Poland ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P530 resource:Q22442862 } UNION { ?y property:P530 resource:Q22442862 } UNION { ?z property:P530 resource:Q22442862 } UNION { ?y property:P530 resource:Q22442862 } UNION { ?z property:P530 resource:Q7208890 } UNION { ?y property:P530 resource:Q7208890 } UNION { ?z property:P530 resource:Q225249 } UNION { ?y property:P530 resource:Q225249 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Did you mean Poland ?
Poland
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:diplomatic_relation resource:Netherlands } UNION { ?y property:diplomatic_relation resource:Netherlands } UNION { ?z property:diplomatic_relation resource:Netherlands } UNION { ?y property:diplomatic_relation resource:Netherlands } UNION { ?z property:diplomatic_relation resource:Poland } UNION { ?y property:diplomatic_relation resource:Poland } UNION { ?z property:diplomatic_relation resource:United_Kingdom } UNION { ?y property:diplomatic_relation resource:United_Kingdom } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(c(Q1048835),P530,Q55) (c(Q15617994),P530,Q55) (c(Q1048835),P530,Q55) (c(Q15617994),P530,Q55) (c(Q1048835),P530,Q36) (c(Q15617994),P530,Q36) (c(Q1048835),P530,Q145) (c(Q15617994),P530,Q145)
Q55
[{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q15617994'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q15617994'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q36'] [{'concept': 'Q15617994'}, 'P530', 'Q36'] [{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q145']
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']
[]
SYSTEM
2 political territories and 2 administrative territories
Q184 Q408 Q38 Q183
(c(Q1048835),P530,Q55) (c(Q15617994),P530,Q55) (c(Q1048835),P530,Q55) (c(Q15617994),P530,Q55) (c(Q1048835),P530,Q36) (c(Q15617994),P530,Q36) (c(Q1048835),P530,Q145) (c(Q15617994),P530,Q145)
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q15617994'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q15617994'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q36'] [{'concept': 'Q15617994'}, 'P530', 'Q36'] [{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q15617994'}, 'P530', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P530 resource:Q22442862 } UNION { ?y property:P530 resource:Q22442862 } UNION { ?z property:P530 resource:Q22442862 } UNION { ?y property:P530 resource:Q22442862 } UNION { ?z property:P530 resource:Q7208890 } UNION { ?y property:P530 resource:Q7208890 } UNION { ?z property:P530 resource:Q225249 } UNION { ?y property:P530 resource:Q225249 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Belarus Australia Italy Germany
2 political territories and 2 administrative territories
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Poland'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:diplomatic_relation resource:Netherlands } UNION { ?y property:diplomatic_relation resource:Netherlands } UNION { ?z property:diplomatic_relation resource:Netherlands } UNION { ?y property:diplomatic_relation resource:Netherlands } UNION { ?z property:diplomatic_relation resource:Poland } UNION { ?y property:diplomatic_relation resource:Poland } UNION { ?z property:diplomatic_relation resource:United_Kingdom } UNION { ?y property:diplomatic_relation resource:United_Kingdom } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q31
P530
Q15617994 Q15617994 Q1048835
USER
How many administrative territories have diplomatic relations with greater number of administrative territories and political territories than Belgium ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q31
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?o WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P530 resource:Q31 . { { ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q1048835 } } } } . FILTER ( ?t > ?w ) }
Belgium
action count
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Belgium
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?o WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:diplomatic_relation resource:Belgium . { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?t > ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
24
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q796 Q794 Q30 Q38 Q347 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q31
relation P530
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?o WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P530 resource:Q31 . { { ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q1048835 } } } } . FILTER ( ?t > ?w ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Iraq Iran United States of America Italy Liechtenstein Japan Egypt Libya Cape Verde Zambia
24
action count
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Belgium
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) ?o WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:diplomatic_relation resource:Belgium . { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?t > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1008
P530
Q15617994 Q15617994 Q1048835
USER
And how about Côte d'Ivoire?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q1008
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 . ?y property:P530 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P530 resource:Q1008 . { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?t rdf:type ?p } } } . FILTER ( ?v > ?i ) }
Côte d'Ivoire
action count
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:diplomatic_relation resource:Côte_d'Ivoire . { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?t rdf:type ?p } } } . FILTER ( ?v > ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
88
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q27 Q1049 Q843 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q1008
relation P530
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 . ?y property:P530 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P530 resource:Q1008 . { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?t rdf:type ?p } } } . FILTER ( ?v > ?i ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Ireland Sudan Pakistan Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
88
action count
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Côte d'Ivoire
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:diplomatic_relation resource:Côte_d'Ivoire . { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?t rdf:type ?p } } } . FILTER ( ?v > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q215
P37
Q5962346 Q34770 Q15617994
USER
Which administrative territories are approximately the same number of classification schemes and languages associated to as the official language as Slovenia ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q215
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?q rdf:type ?g } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q215 property:P37 ?d . { { ?d rdf:type ontology:Q5962346 } UNION { ?d rdf:type ontology:Q34770 } } } } . FILTER ( ?r = ?y ) }
Slovenia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Slovenia
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?q rdf:type ?g } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Slovenia property:official_language ?d . { { ?d rdf:type ontology:classification_scheme } UNION { ?d rdf:type ontology:language } } } } . FILTER ( ?r = ?y ) }
[]
classification scheme language 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(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q215
relation P37
type Q5962346
type Q34770
[ANSWERS] are approximately the same number of classification schemes and languages associated to as the official language as Slovenia
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?q rdf:type ?g } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q215 property:P37 ?d . { { ?d rdf:type ontology:Q5962346 } UNION { ?d rdf:type ontology:Q34770 } } } } . FILTER ( ?r = ?y ) }
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 are approximately the same number of classification schemes and languages associated to as the official language as Slovenia
Brazil United States of America Georgia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Slovenia
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?q rdf:type ?g } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Slovenia property:official_language ?d . { { ?d rdf:type ontology:classification_scheme } UNION { ?d rdf:type ontology:language } } } } . FILTER ( ?r = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1011
P37
Q5962346 Q34770 Q15617994
USER
And also tell me about Cape Verde?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q1011
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?f WHERE { VALUES ( ?y ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?k rdf:type ?y } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q1011 property:P37 ?u . { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } } } . FILTER ( ?d = ?t ) }
Cape Verde
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Cape Verde
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?f WHERE { VALUES ( ?y ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?k rdf:type ?y } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Cape_Verde property:official_language ?u . { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:classification_scheme ) ( ontology:language ) } } } } . FILTER ( ?d = ?t ) }
[]
classification scheme language 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(Q5962346)|c(Q34770))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q1011
relation P37
type Q5962346
type Q34770
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?f WHERE { VALUES ( ?y ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?k rdf:type ?y } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q1011 property:P37 ?u . { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } } } . FILTER ( ?d = ?t ) }
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 Georgia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Cape Verde
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?f WHERE { VALUES ( ?y ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?k rdf:type ?y } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Cape_Verde property:official_language ?u . { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:classification_scheme ) ( ontology:language ) } } } } . FILTER ( ?d = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36 Q1032
P463
Q484652
USER
How many international organizations were Poland and Niger a member of ?
(Q36,P463,c(Q484652)) (Q1032,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q36
relation P463
type Q484652
action filter_type
action find
entity Q1032
relation P463
type Q484652
['Q36', 'P463', {'concept': 'Q484652'}] ['Q1032', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q36 property:P463 ?g . ?g rdf:type ontology:Q484652 . ?g rdf:type ontology:Q484652 . resource:Q1032 property:P463 ?g }
Poland Niger
action count
action intersection
action filter_type
action find
entity Poland
relation member of
type international organization
action filter_type
action find
entity Niger
relation member of
type international organization
['Poland', 'member of', {'concept': 'international organization'}] ['Niger', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Poland property:member_of ?g . ?g rdf:type ontology:international_organization . ?g rdf:type ontology:international_organization . resource:Niger property:member_of ?g }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q36,P463,c(Q484652)) (Q1032,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q36
relation P463
type Q484652
action filter_type
action find
entity Q1032
relation P463
type Q484652
[ANSWER]
['Q36', 'P463', {'concept': 'Q484652'}] ['Q1032', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q36 property:P463 ?g . ?g rdf:type ontology:Q484652 . ?g rdf:type ontology:Q484652 . resource:Q1032 property:P463 ?g }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Poland
relation member of
type international organization
action filter_type
action find
entity Niger
relation member of
type international organization
['Poland', 'member of', {'concept': 'international organization'}] ['Niger', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Poland property:member_of ?g . ?g rdf:type ontology:international_organization . ?g rdf:type ontology:international_organization . resource:Niger property:member_of ?g }
[]