Simple Question (Direct)
Simple Question
Q15853405
P21
Q290
USER
What is the sex of Waldemar Eisenbraun ?
(Q15853405,P21,c(Q290))
action filter_type
action find
entity Q15853405
relation P21
type Q290
['Q15853405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q15853405 property:P21 ?p . ?p rdf:type ontology:Q290 }
Waldemar Eisenbraun
action filter_type
action find
entity Waldemar Eisenbraun
relation gender
type sex
['Waldemar Eisenbraun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Waldemar_Eisenbraun property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15853405,P21,c(Q290))
action filter_type
action find
entity Q15853405
relation P21
type Q290
The sex of Waldemar Eisenbraun is the [ANSWER]
['Q15853405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q15853405 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Waldemar Eisenbraun is the male
male
action filter_type
action find
entity Waldemar Eisenbraun
relation gender
type sex
['Waldemar Eisenbraun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Waldemar_Eisenbraun property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15853405
P172
Q2472587
USER
Which people does Waldemar Eisenbraun have as his/her race ?
(Q15853405,P172,c(Q2472587))
action filter_type
action find
entity Q15853405
relation P172
type Q2472587
['Q15853405', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2472587 . resource:Q15853405 property:P172 ?l }
Waldemar Eisenbraun
action filter_type
action find
entity Waldemar Eisenbraun
relation ethnic group
type people
['Waldemar Eisenbraun', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:people . resource:Waldemar_Eisenbraun property:ethnic_group ?l }
[]
people
Q702193
SYSTEM
German-Russians
Q702193
(Q15853405,P172,c(Q2472587))
action filter_type
action find
entity Q15853405
relation P172
type Q2472587
Waldemar Eisenbraun has adopted [ANSWER] as his / her race
['Q15853405', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2472587 . resource:Q15853405 property:P172 ?l }
German-Russians
Waldemar Eisenbraun has adopted German-Russians as his / her race
German-Russians
action filter_type
action find
entity Waldemar Eisenbraun
relation ethnic group
type people
['Waldemar Eisenbraun', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:people . resource:Waldemar_Eisenbraun property:ethnic_group ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3407238
Q2472587
USER
And what about Theodosius of Skopje?
(Q3407238,P172,c(Q2472587))
action filter_type
action find
entity Q3407238
relation P172
type Q2472587
['Q3407238', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?j WHERE { resource:Q3407238 property:P172 ?j . ?j rdf:type ontology:Q2472587 }
Theodosius of Skopje
action filter_type
action find
entity Theodosius of Skopje
relation ethnic group
type people
['Theodosius of Skopje', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?j WHERE { resource:Theodosius_of_Skopje property:ethnic_group ?j . ?j rdf:type ontology:people }
[]
people
Q2436423
SYSTEM
Macedonians
Q2436423
(Q3407238,P172,c(Q2472587))
action filter_type
action find
entity Q3407238
relation P172
type Q2472587
[ANSWER]
['Q3407238', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?j WHERE { resource:Q3407238 property:P172 ?j . ?j rdf:type ontology:Q2472587 }
Macedonians
Macedonians
action filter_type
action find
entity Theodosius of Skopje
relation ethnic group
type people
['Theodosius of Skopje', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?j WHERE { resource:Theodosius_of_Skopje property:ethnic_group ?j . ?j rdf:type ontology:people }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18389188 Q3407238
P27
Q15617994
USER
Which administrative territories are the native countriesof Theodosius of Skopje or Martin Aliker ?
OR((Q3407238,P27,c(Q15617994)), (Q18389188,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3407238
relation P27
action find
entity Q18389188
relation P27
type Q15617994
{'OR': [['Q3407238', 'P27', {'concept': 'Q15617994'}], ['Q18389188', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q18389188 property:P27 ?f } UNION { resource:Q3407238 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Martin Aliker Theodosius of Skopje
action filter_type
action union
action find
entity Theodosius of Skopje
relation country of citizenship
action find
entity Martin Aliker
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Theodosius of Skopje', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Martin Aliker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Martin_Aliker property:country_of_citizenship ?f } UNION { resource:Theodosius_of_Skopje property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q221
SYSTEM
Uganda, Republic of Macedonia
Q1036 Q221
OR((Q3407238,P27,c(Q15617994)), (Q18389188,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3407238
relation P27
action find
entity Q18389188
relation P27
type Q15617994
[ANSWERS] are the native countriesof Theodosius of Skopje or Martin Aliker
{'OR': [['Q3407238', 'P27', {'concept': 'Q15617994'}], ['Q18389188', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q18389188 property:P27 ?f } UNION { resource:Q3407238 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Uganda Republic of Macedonia
Uganda and Republic of Macedonia are the native countriesof Theodosius of Skopje or Martin Aliker
Uganda Republic of Macedonia
action filter_type
action union
action find
entity Theodosius of Skopje
relation country of citizenship
action find
entity Martin Aliker
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Theodosius of Skopje', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Martin Aliker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Martin_Aliker property:country_of_citizenship ?f } UNION { resource:Theodosius_of_Skopje property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2008521
P530
Q1048835
USER
Do Quatipuru have diplomatic relations with those administrative territories ?
(Q2008521,P530,Q1036) (Q2008521,P530,Q221)
action is_in
entity prev_answer
action find
entity Q2008521
relation P530
['Q2008521', 'P530', 'Q1036'] ['Q2008521', 'P530', 'Q221']
ASK WHERE { resource:Q2008521 property:P530 ?w . VALUES ( ?w ) { ( resource:Q1036 ) ( resource:Q221 ) } }
Quatipuru
action is_in
entity prev_answer
action find
entity Quatipuru
relation diplomatic relation
['Quatipuru', 'diplomatic relation', 'Uganda'] ['Quatipuru', 'diplomatic relation', 'Republic of Macedonia']
ASK WHERE { resource:Quatipuru property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Uganda ) ( resource:Republic_of_Macedonia ) } }
[]
political territorial entity
SYSTEM
NO
(Q2008521,P530,Q1036) (Q2008521,P530,Q221)
action is_in
entity prev_answer
action find
entity Q2008521
relation P530
[ANSWER]
['Q2008521', 'P530', 'Q1036'] ['Q2008521', 'P530', 'Q221']
ASK WHERE { resource:Q2008521 property:P530 ?w . VALUES ( ?w ) { ( resource:Q1036 ) ( resource:Q221 ) } }
No
action is_in
entity prev_answer
action find
entity Quatipuru
relation diplomatic relation
['Quatipuru', 'diplomatic relation', 'Uganda'] ['Quatipuru', 'diplomatic relation', 'Republic of Macedonia']
ASK WHERE { resource:Quatipuru property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Uganda ) ( resource:Republic_of_Macedonia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q15617994 Q1048835
USER
How many administrative territories have diplomatic relations with exactly 8 administrative territories or political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 8
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?f } UNION { ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 . ?j property:P530 ?f } } GROUP BY ?f } . FILTER ( ?u = 8 ) }
action count
action equal
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
value 8
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity . ?j property:diplomatic_relation ?f } } GROUP BY ?f } . FILTER ( ?u = 8 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
8
Q414 Q711 Q252 Q258 Q796 Q794 Q347 Q1016
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 8
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?f } UNION { ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 . ?j property:P530 ?f } } GROUP BY ?f } . FILTER ( ?u = 8 ) }
Argentina Mongolia Indonesia South Africa Iraq Iran Liechtenstein Libya
8
action count
action equal
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
value 8
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity . ?j property:diplomatic_relation ?f } } GROUP BY ?f } . FILTER ( ?u = 8 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q221 Q81931
P1001
Q17335294
USER
How many coats of arms have jurisdiction over Republic of Macedonia or Confederate States of America ?
(c(Q17335294),P1001,Q221) (c(Q17335294),P1001,Q81931)
action count
action union
action filter_type
action find_reverse
entity Q221
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q221'] [{'concept': 'Q17335294'}, 'P1001', 'Q81931']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z rdf:type ontology:Q17335294 . ?z property:P1001 resource:Q221 } UNION { ?z property:P1001 resource:Q81931 . ?z rdf:type ontology:Q17335294 } }
Republic of Macedonia Confederate States of America
action count
action union
action filter_type
action find_reverse
entity Republic of Macedonia
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Republic of Macedonia'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Confederate States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z rdf:type ontology:flag_or_coat_of_arms . ?z property:applies_to_jurisdiction resource:Republic_of_Macedonia } UNION { ?z property:applies_to_jurisdiction resource:Confederate_States_of_America . ?z rdf:type ontology:flag_or_coat_of_arms } }
[]
flag or coat of arms
SYSTEM
2
Q2361008 Q913583
(c(Q17335294),P1001,Q221) (c(Q17335294),P1001,Q81931)
action count
action union
action filter_type
action find_reverse
entity Q221
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q17335294
[ANSWER]
[{'concept': 'Q17335294'}, 'P1001', 'Q221'] [{'concept': 'Q17335294'}, 'P1001', 'Q81931']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z rdf:type ontology:Q17335294 . ?z property:P1001 resource:Q221 } UNION { ?z property:P1001 resource:Q81931 . ?z rdf:type ontology:Q17335294 } }
Bonnie Blue Flag Flags of the Confederate States of America
2
action count
action union
action filter_type
action find_reverse
entity Republic of Macedonia
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Republic of Macedonia'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Confederate States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z rdf:type ontology:flag_or_coat_of_arms . ?z property:applies_to_jurisdiction resource:Republic_of_Macedonia } UNION { ?z property:applies_to_jurisdiction resource:Confederate_States_of_America . ?z rdf:type ontology:flag_or_coat_of_arms } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q786
P530
Q1048835 Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of political territories and administrative territories as Dominican Republic ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q786
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?w property:P530 ?a } UNION { ?w property:P530 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . resource:Q786 property:P530 ?i } } . FILTER ( ?v = ?n ) }
Dominican Republic
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?a } UNION { ?w property:diplomatic_relation ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:Dominican_Republic property:diplomatic_relation ?i } } . FILTER ( ?v = ?n ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
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(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q786
relation P530
type Q1048835
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?w property:P530 ?a } UNION { ?w property:P530 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . resource:Q786 property:P530 ?i } } . FILTER ( ?v = ?n ) }
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
148
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?a } UNION { ?w property:diplomatic_relation ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:Dominican_Republic property:diplomatic_relation ?i } } . FILTER ( ?v = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q298
P530
Q1048835 Q15617994 Q15617994
USER
And also tell me about Chile?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q298
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?k WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?a rdf:type ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q298 property:P530 ?p . { { ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q1048835 } } } } . FILTER ( ?g = ?y ) }
Chile
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Chile
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?k WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?a rdf:type ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Chile property:diplomatic_relation ?p . { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?g = ?y ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
149
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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q298
relation P530
type Q1048835
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?k WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?a rdf:type ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q298 property:P530 ?p . { { ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q1048835 } } } } . FILTER ( ?g = ?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 Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
149
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Chile
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?k WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?a rdf:type ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Chile property:diplomatic_relation ?p . { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?g = ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2258453 Q18389188
P27
Q15617994
USER
Which administrative territories do Martin Aliker or Anne Jannes Elsinga belong to ?
OR((Q18389188,P27,c(Q15617994)), (Q2258453,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18389188
relation P27
action find
entity Q2258453
relation P27
type Q15617994
{'OR': [['Q18389188', 'P27', {'concept': 'Q15617994'}], ['Q2258453', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2258453 property:P27 ?b } UNION { resource:Q18389188 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Anne Jannes Elsinga Martin Aliker
action filter_type
action union
action find
entity Martin Aliker
relation country of citizenship
action find
entity Anne Jannes Elsinga
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Martin Aliker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Anne Jannes Elsinga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Anne_Jannes_Elsinga property:country_of_citizenship ?b } UNION { resource:Martin_Aliker property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q29999
SYSTEM
Uganda, Kingdom of the Netherlands
Q1036 Q29999
OR((Q18389188,P27,c(Q15617994)), (Q2258453,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18389188
relation P27
action find
entity Q2258453
relation P27
type Q15617994
Martin Aliker or Anne Jannes Elsinga belong to [ANSWERS]
{'OR': [['Q18389188', 'P27', {'concept': 'Q15617994'}], ['Q2258453', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2258453 property:P27 ?b } UNION { resource:Q18389188 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Uganda Kingdom of the Netherlands
Martin Aliker or Anne Jannes Elsinga belong to Uganda and Kingdom of the Netherlands
Uganda Kingdom of the Netherlands
action filter_type
action union
action find
entity Martin Aliker
relation country of citizenship
action find
entity Anne Jannes Elsinga
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Martin Aliker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Anne Jannes Elsinga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Anne_Jannes_Elsinga property:country_of_citizenship ?b } UNION { resource:Martin_Aliker property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1036 Q29999
P463
Q43229
USER
What organizations had those administrative territories as their member ?
(Q1036,P463,c(Q43229)) (Q29999,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q1036', 'P463', {'concept': 'Q43229'}] ['Q29999', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { ?z property:P463 ?i . ?i rdf:type ontology:Q43229 . VALUES ( ?z ) { ( resource:Q1036 ) ( resource:Q29999 ) } }
Uganda Kingdom of the Netherlands
action filter_type
action find
entity prev_answer
relation member of
type organization
['Uganda', 'member of', {'concept': 'organization'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { ?z property:member_of ?i . ?i rdf:type ontology:organization . VALUES ( ?z ) { ( resource:Uganda ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
organization
Q7825 Q7825 Q191384
SYSTEM
World Trade Organization for 1st, 2nd, International Bank for Reconstruction and Development for 3rd
Q340195 Q191384 Q899770 Q656801 Q7825 Q827525 Q340195 Q191384 Q899770 Q656801 Q7825 Q827525
(Q1036,P463,c(Q43229)) (Q29999,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q1036', 'P463', {'concept': 'Q43229'}] ['Q29999', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { ?z property:P463 ?i . ?i rdf:type ontology:Q43229 . VALUES ( ?z ) { ( resource:Q1036 ) ( resource:Q29999 ) } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
World Trade Organization, World Trade Organization and International Bank for Reconstruction and Development had those administrative territories as their member
World Trade Organization World Trade Organization International Bank for Reconstruction and Development
action filter_type
action find
entity prev_answer
relation member of
type organization
['Uganda', 'member of', {'concept': 'organization'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { ?z property:member_of ?i . ?i rdf:type ontology:organization . VALUES ( ?z ) { ( resource:Uganda ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036
P1532
Q1194951
USER
Which national sports team represents Uganda ?
(c(Q1194951),P1532,Q1036)
action filter_type
action find_reverse
entity Q1036
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q1036']
SELECT DISTINCT ?f WHERE { ?f property:P1532 resource:Q1036 . ?f rdf:type ontology:Q1194951 }
Uganda
action filter_type
action find_reverse
entity Uganda
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Uganda']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport resource:Uganda . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q242845
SYSTEM
Uganda national football team
Q242845
(c(Q1194951),P1532,Q1036)
action filter_type
action find_reverse
entity Q1036
relation P1532
type Q1194951
And [ANSWER] represents Uganda
[{'concept': 'Q1194951'}, 'P1532', 'Q1036']
SELECT DISTINCT ?f WHERE { ?f property:P1532 resource:Q1036 . ?f rdf:type ontology:Q1194951 }
Uganda national football team
And Uganda national football team represents Uganda
Uganda national football team
action filter_type
action find_reverse
entity Uganda
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Uganda']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport resource:Uganda . ?f rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036
P37
Q34770
USER
What is recognized as the official language of Uganda ?
(Q1036,P37,c(Q34770))
action filter_type
action find
entity Q1036
relation P37
type Q34770
['Q1036', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q1036 property:P37 ?s . ?s rdf:type ontology:Q34770 }
Uganda
action filter_type
action find
entity Uganda
relation official language
type language
['Uganda', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Uganda property:official_language ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1036,P37,c(Q34770))
action filter_type
action find
entity Q1036
relation P37
type Q34770
Uganda [ANSWER] is recognized as the official language of Uganda
['Q1036', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q1036 property:P37 ?s . ?s rdf:type ontology:Q34770 }
English
Uganda English is recognized as the official language of Uganda
English
action filter_type
action find
entity Uganda
relation official language
type language
['Uganda', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Uganda property:official_language ?s . ?s rdf:type ontology:language }
[]