Simple Question (Direct)
Simple Question
Q6932330
P172
Q151885
USER
Which ethnic group does Muhammad Abdul Bari belong ?
(Q6932330,P172,c(Q151885))
action filter_type
action find
entity Q6932330
relation P172
type Q151885
['Q6932330', 'P172', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q6932330 property:P172 ?w . ?w rdf:type ontology:Q151885 }
Muhammad Abdul Bari
action filter_type
action find
entity Muhammad Abdul Bari
relation ethnic group
type concept
['Muhammad Abdul Bari', 'ethnic group', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Muhammad_Abdul_Bari property:ethnic_group ?w . ?w rdf:type ontology:concept }
[]
concept
Q402913
SYSTEM
Bengali people
Q402913
(Q6932330,P172,c(Q151885))
action filter_type
action find
entity Q6932330
relation P172
type Q151885
Muhammad Abdul Bari belongs to [ANSWER]
['Q6932330', 'P172', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q6932330 property:P172 ?w . ?w rdf:type ontology:Q151885 }
Bengali people
Muhammad Abdul Bari belongs to Bengali people
Bengali people
action filter_type
action find
entity Muhammad Abdul Bari
relation ethnic group
type concept
['Muhammad Abdul Bari', 'ethnic group', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Muhammad_Abdul_Bari property:ethnic_group ?w . ?w rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6932330
P166
Q2003221
USER
What was awarded to that person ?
(Q402913,P166,c(Q2003221))
action filter_type
action find
entity Q6932330
relation P166
type Q2003221
['Q402913', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?r WHERE { resource:Q6932330 property:P166 ?r . ?r rdf:type ontology:Q2003221 }
Muhammad Abdul Bari
action filter_type
action find
entity Muhammad Abdul Bari
relation award received
type chivalric order
['Bengali people', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?r WHERE { resource:Muhammad_Abdul_Bari property:award_received ?r . ?r rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201526
SYSTEM
Member of the Order of the British Empire
Q12201526
(Q402913,P166,c(Q2003221))
action filter_type
action find
entity Q6932330
relation P166
type Q2003221
Who [ANSWER] was awarded to that person
['Q402913', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?r WHERE { resource:Q6932330 property:P166 ?r . ?r rdf:type ontology:Q2003221 }
Member of the Order of the British Empire
Who Member of the Order of the British Empire was awarded to that person
Member of the Order of the British Empire
action filter_type
action find
entity Muhammad Abdul Bari
relation award received
type chivalric order
['Bengali people', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?r WHERE { resource:Muhammad_Abdul_Bari property:award_received ?r . ?r rdf:type ontology:chivalric_order }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12201526 Q14420
P361
Q618779
USER
Is Member of the Order of the British Empire a component of Order of the British Empire ?
(Q12201526,P361,Q14420)
action is_in
entity Q14420
action find
entity Q12201526
relation P361
['Q12201526', 'P361', 'Q14420']
ASK WHERE { resource:Q12201526 property:P361 resource:Q14420 }
Member of the Order of the British Empire Order of the British Empire
action is_in
entity Order of the British Empire
action find
entity Member of the Order of the British Empire
relation part of
['Member of the Order of the British Empire', 'part of', 'Order of the British Empire']
ASK WHERE { resource:Member_of_the_Order_of_the_British_Empire property:part_of resource:Order_of_the_British_Empire }
[]
award
SYSTEM
YES
(Q12201526,P361,Q14420)
action is_in
entity Q14420
action find
entity Q12201526
relation P361
[ANSWER]
['Q12201526', 'P361', 'Q14420']
ASK WHERE { resource:Q12201526 property:P361 resource:Q14420 }
Yes
action is_in
entity Order of the British Empire
action find
entity Member of the Order of the British Empire
relation part of
['Member of the Order of the British Empire', 'part of', 'Order of the British Empire']
ASK WHERE { resource:Member_of_the_Order_of_the_British_Empire property:part_of resource:Order_of_the_British_Empire }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1490240 Q12201526
P27 P17
Q15617994
USER
Which administrative territories are Member of the Order of the British Empire a part of or do Gabriele Ferro belong to ?
OR((Q12201526,P17,c(Q15617994)), (Q1490240,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q12201526
relation P17
action find
entity Q1490240
relation P27
type Q15617994
{'OR': [['Q12201526', 'P17', {'concept': 'Q15617994'}], ['Q1490240', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q12201526 property:P17 ?g } UNION { resource:Q1490240 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Gabriele Ferro Member of the Order of the British Empire
action filter_type
action union
action find
entity Member of the Order of the British Empire
relation country
action find
entity Gabriele Ferro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gabriele Ferro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Member_of_the_Order_of_the_British_Empire property:country ?g } UNION { resource:Gabriele_Ferro property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q12201526,P17,c(Q15617994)), (Q1490240,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q12201526
relation P17
action find
entity Q1490240
relation P27
type Q15617994
[ANSWERS] are Member of the Order of the British Empire a part of or do Gabriele Ferro belong to
{'OR': [['Q12201526', 'P17', {'concept': 'Q15617994'}], ['Q1490240', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q12201526 property:P17 ?g } UNION { resource:Q1490240 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Italy United Kingdom
Italy and United Kingdom are Member of the Order of the British Empire a part of or do Gabriele Ferro belong to
Italy United Kingdom
action filter_type
action union
action find
entity Member of the Order of the British Empire
relation country
action find
entity Gabriele Ferro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gabriele Ferro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Member_of_the_Order_of_the_British_Empire property:country ?g } UNION { resource:Gabriele_Ferro property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1773446 Q12201526
P19 P17
Q15617994
USER
Which administrative territories do Member of the Order of the British Empire belong to or were Wilhelm von Freytag born ?
OR((Q12201526,P17,c(Q15617994)), (Q1773446,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q12201526
relation P17
action find
entity Q1773446
relation P19
type Q15617994
{'OR': [['Q12201526', 'P17', {'concept': 'Q15617994'}], ['Q1773446', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q12201526 property:P17 ?g } UNION { resource:Q1773446 property:P19 ?g } } . ?g rdf:type ontology:Q15617994 }
Wilhelm von Freytag Member of the Order of the British Empire
action filter_type
action union
action find
entity Member of the Order of the British Empire
relation country
action find
entity Wilhelm von Freytag
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wilhelm von Freytag', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Member_of_the_Order_of_the_British_Empire property:country ?g } UNION { resource:Wilhelm_von_Freytag property:place_of_birth ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q568495 Q145
SYSTEM
Estorf, United Kingdom
Q568495 Q145
OR((Q12201526,P17,c(Q15617994)), (Q1773446,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q12201526
relation P17
action find
entity Q1773446
relation P19
type Q15617994
Member of the Order of the British Empire belong to the [ANSWERS]
{'OR': [['Q12201526', 'P17', {'concept': 'Q15617994'}], ['Q1773446', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q12201526 property:P17 ?g } UNION { resource:Q1773446 property:P19 ?g } } . ?g rdf:type ontology:Q15617994 }
Estorf United Kingdom
Member of the Order of the British Empire belong to the Estorf and United Kingdom
Estorf United Kingdom
action filter_type
action union
action find
entity Member of the Order of the British Empire
relation country
action find
entity Wilhelm von Freytag
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wilhelm von Freytag', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Member_of_the_Order_of_the_British_Empire property:country ?g } UNION { resource:Wilhelm_von_Freytag property:place_of_birth ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1049
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with less number of administrative territories than Sudan ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1049
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P530 resource:Q1049 . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?j < ?z ) }
Sudan
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:diplomatic_relation resource:Sudan . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1049
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with less number of administrative territories than Sudan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P530 resource:Q1049 . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?j < ?z ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
Georgia, Netherlands and Belarus have diplomatic relationships with less number of administrative territories than Sudan
Georgia Netherlands Belarus
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:diplomatic_relation resource:Sudan . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j < ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q786
P530
Q15617994 Q15617994
USER
And what about Dominican Republic?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q786
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?y ) WHERE { ?t property:P530 ?w . ?t rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Q786 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?o ) }
Dominican Republic
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Dominican Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?y ) WHERE { ?t property:diplomatic_relation ?w . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q786
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?y ) WHERE { ?t property:P530 ?w . ?t rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Q786 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?o ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Dominican Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?y ) WHERE { ?t property:diplomatic_relation ?w . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?o ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic relationships with that administrative territory ?
(Q929,P530,c(Q1048835)) (Q929,P530,c(Q15617994)) (Q929,P530,c(Q1048835)) (Q929,P530,c(Q15617994)) (Q29999,P530,c(Q1048835)) (Q29999,P530,c(Q15617994)) (Q232,P530,c(Q1048835)) (Q232,P530,c(Q15617994))
['Q929', 'P530', {'concept': 'Q1048835'}] ['Q929', 'P530', {'concept': 'Q15617994'}] ['Q929', 'P530', {'concept': 'Q1048835'}] ['Q929', 'P530', {'concept': 'Q15617994'}] ['Q29999', 'P530', {'concept': 'Q1048835'}] ['Q29999', 'P530', {'concept': 'Q15617994'}] ['Q232', 'P530', {'concept': 'Q1048835'}] ['Q232', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q929 property:P530 ?z } UNION { resource:Q929 property:P530 ?y } UNION { resource:Q929 property:P530 ?z } UNION { resource:Q929 property:P530 ?y } UNION { resource:Q29999 property:P530 ?z } UNION { resource:Q29999 property:P530 ?y } UNION { resource:Q232 property:P530 ?z } UNION { resource:Q232 property:P530 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
['Central African Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Kazakhstan', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Kazakhstan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Central_African_Republic property:diplomatic_relation ?z } UNION { resource:Central_African_Republic property:diplomatic_relation ?y } UNION { resource:Central_African_Republic property:diplomatic_relation ?z } UNION { resource:Central_African_Republic property:diplomatic_relation ?y } UNION { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?z } UNION { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?y } UNION { resource:Kazakhstan property:diplomatic_relation ?z } UNION { resource:Kazakhstan property:diplomatic_relation ?y } } . ?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
Q929
SYSTEM
Did you mean Central African Republic ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q929 property:P530 ?z } UNION { resource:Q929 property:P530 ?y } UNION { resource:Q929 property:P530 ?z } UNION { resource:Q929 property:P530 ?y } UNION { resource:Q29999 property:P530 ?z } UNION { resource:Q29999 property:P530 ?y } UNION { resource:Q232 property:P530 ?z } UNION { resource:Q232 property:P530 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Did you mean Central African Republic ?
Central African Republic
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Central_African_Republic property:diplomatic_relation ?z } UNION { resource:Central_African_Republic property:diplomatic_relation ?y } UNION { resource:Central_African_Republic property:diplomatic_relation ?z } UNION { resource:Central_African_Republic property:diplomatic_relation ?y } UNION { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?z } UNION { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?y } UNION { resource:Kazakhstan property:diplomatic_relation ?z } UNION { resource:Kazakhstan property:diplomatic_relation ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q929,P530,c(Q1048835)) (Q929,P530,c(Q15617994)) (Q929,P530,c(Q1048835)) (Q929,P530,c(Q15617994)) (Q29999,P530,c(Q1048835)) (Q29999,P530,c(Q15617994)) (Q232,P530,c(Q1048835)) (Q232,P530,c(Q15617994))
['Q929', 'P530', {'concept': 'Q1048835'}] ['Q929', 'P530', {'concept': 'Q15617994'}] ['Q929', 'P530', {'concept': 'Q1048835'}] ['Q929', 'P530', {'concept': 'Q15617994'}] ['Q29999', 'P530', {'concept': 'Q1048835'}] ['Q29999', 'P530', {'concept': 'Q15617994'}] ['Q232', 'P530', {'concept': 'Q1048835'}] ['Q232', 'P530', {'concept': 'Q15617994'}]
['Central African Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Kazakhstan', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Kazakhstan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
16
Q142 Q974 Q159 Q1033 Q1009 Q1008 Q183 Q971 Q1028 Q31 Q30 Q657 Q1049 Q79 Q148 Q258
(Q929,P530,c(Q1048835)) (Q929,P530,c(Q15617994)) (Q929,P530,c(Q1048835)) (Q929,P530,c(Q15617994)) (Q29999,P530,c(Q1048835)) (Q29999,P530,c(Q15617994)) (Q232,P530,c(Q1048835)) (Q232,P530,c(Q15617994))
[ANSWER]
['Q929', 'P530', {'concept': 'Q1048835'}] ['Q929', 'P530', {'concept': 'Q15617994'}] ['Q929', 'P530', {'concept': 'Q1048835'}] ['Q929', 'P530', {'concept': 'Q15617994'}] ['Q29999', 'P530', {'concept': 'Q1048835'}] ['Q29999', 'P530', {'concept': 'Q15617994'}] ['Q232', 'P530', {'concept': 'Q1048835'}] ['Q232', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q929 property:P530 ?z } UNION { resource:Q929 property:P530 ?y } UNION { resource:Q929 property:P530 ?z } UNION { resource:Q929 property:P530 ?y } UNION { resource:Q29999 property:P530 ?z } UNION { resource:Q29999 property:P530 ?y } UNION { resource:Q232 property:P530 ?z } UNION { resource:Q232 property:P530 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
France Democratic Republic of the Congo Russia Nigeria Cameroon Côte d'Ivoire Germany Republic of the Congo Morocco Belgium United States of America Chad Sudan Egypt People's Republic of China South Africa
16
['Central African Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Kazakhstan', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Kazakhstan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Central_African_Republic property:diplomatic_relation ?z } UNION { resource:Central_African_Republic property:diplomatic_relation ?y } UNION { resource:Central_African_Republic property:diplomatic_relation ?z } UNION { resource:Central_African_Republic property:diplomatic_relation ?y } UNION { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?z } UNION { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?y } UNION { resource:Kazakhstan property:diplomatic_relation ?z } UNION { resource:Kazakhstan property:diplomatic_relation ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q17386339 Q929
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Central African Republic and are the countries of citizenship of Elvis Mashike Sukisa ?
AND((Q929,P530,c(Q15617994)), (Q17386339,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q929
relation P530
action find
entity Q17386339
relation P27
type Q15617994
{'AND': [['Q929', 'P530', {'concept': 'Q15617994'}], ['Q17386339', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q929 property:P530 ?k . resource:Q17386339 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Elvis Mashike Sukisa Central African Republic
action filter_type
action intersection
action find
entity Central African Republic
relation diplomatic relation
action find
entity Elvis Mashike Sukisa
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Elvis Mashike Sukisa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Central_African_Republic property:diplomatic_relation ?k . resource:Elvis_Mashike_Sukisa property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q974 Q971
SYSTEM
Democratic Republic of the Congo, Republic of the Congo
Q974 Q971
AND((Q929,P530,c(Q15617994)), (Q17386339,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q929
relation P530
action find
entity Q17386339
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with Central African Republic and are the countries of citizenship of Elvis Mashike Sukisa
{'AND': [['Q929', 'P530', {'concept': 'Q15617994'}], ['Q17386339', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q929 property:P530 ?k . resource:Q17386339 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Democratic Republic of the Congo Republic of the Congo
Democratic Republic of the Congo and Republic of the Congo hold diplomatic relationship with Central African Republic and are the countries of citizenship of Elvis Mashike Sukisa
Democratic Republic of the Congo Republic of the Congo
action filter_type
action intersection
action find
entity Central African Republic
relation diplomatic relation
action find
entity Elvis Mashike Sukisa
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Central African Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Elvis Mashike Sukisa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Central_African_Republic property:diplomatic_relation ?k . resource:Elvis_Mashike_Sukisa property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]