Simple Question (Direct)
Simple Question
Q1359560
P20
Q56061
USER
Where did Ernst Munzinger die ?
(Q1359560,P20,c(Q56061))
action filter_type
action find
entity Q1359560
relation P20
type Q56061
['Q1359560', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q1359560 property:P20 ?c }
Ernst Munzinger
action filter_type
action find
entity Ernst Munzinger
relation place of death
type administrative territorial entity
['Ernst Munzinger', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Ernst_Munzinger property:place_of_death ?c }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1359560,P20,c(Q56061))
action filter_type
action find
entity Q1359560
relation P20
type Q56061
Ernst Munzinger died in [ANSWER]
['Q1359560', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q1359560 property:P20 ?c }
Berlin
Ernst Munzinger died in Berlin
Berlin
action filter_type
action find
entity Ernst Munzinger
relation place of death
type administrative territorial entity
['Ernst Munzinger', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Ernst_Munzinger property:place_of_death ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1359560
P607
Q198
USER
Which wars did Ernst Munzinger take part in ?
(Q1359560,P607,c(Q198))
action filter_type
action find
entity Q1359560
relation P607
type Q198
['Q1359560', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q1359560 property:P607 ?c . ?c rdf:type ontology:Q198 }
Ernst Munzinger
action filter_type
action find
entity Ernst Munzinger
relation conflict
type war
['Ernst Munzinger', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Ernst_Munzinger property:conflict ?c . ?c rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q1359560,P607,c(Q198))
action filter_type
action find
entity Q1359560
relation P607
type Q198
Ernst Munzinger took part in [ANSWERS]
['Q1359560', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q1359560 property:P607 ?c . ?c rdf:type ontology:Q198 }
World War II World War I
Ernst Munzinger took part in World War II and World War I
World War II World War I
action filter_type
action find
entity Ernst Munzinger
relation conflict
type war
['Ernst Munzinger', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Ernst_Munzinger property:conflict ?c . ?c rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1359560
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q362,P102,c(Q7210356)) (Q361,P102,c(Q7210356))
action filter_type
action find
entity Q1359560
relation P102
type Q7210356
['Q362', 'P102', {'concept': 'Q7210356'}] ['Q361', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q1359560 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Ernst Munzinger
action filter_type
action find
entity Ernst Munzinger
relation member of political party
type political organization
['World War II', 'member of political party', {'concept': 'political organization'}] ['World War I', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Ernst_Munzinger property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q362,P102,c(Q7210356)) (Q361,P102,c(Q7210356))
action filter_type
action find
entity Q1359560
relation P102
type Q7210356
[ANSWER] is that person a member of
['Q362', 'P102', {'concept': 'Q7210356'}] ['Q361', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q1359560 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Nazi Party
Nazi Party is that person a member of
Nazi Party
action filter_type
action find
entity Ernst Munzinger
relation member of political party
type political organization
['World War II', 'member of political party', {'concept': 'political organization'}] ['World War I', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Ernst_Munzinger property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q2038380 Q1359560
P102
Q7210356
USER
And also Otto Busse
AND((Q1359560,P102,c(Q7210356)), (Q2038380,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q1359560
relation P102
action find
entity Q2038380
relation P102
type Q7210356
{'AND': [['Q1359560', 'P102', {'concept': 'Q7210356'}], ['Q2038380', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { resource:Q2038380 property:P102 ?h . resource:Q1359560 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Otto Busse Ernst Munzinger
action filter_type
action intersection
action find
entity Ernst Munzinger
relation member of political party
action find
entity Otto Busse
relation member of political party
type political organization
{'AND': [['Ernst Munzinger', 'member of political party', {'concept': 'political organization'}], ['Otto Busse', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { resource:Otto_Busse property:member_of_political_party ?h . resource:Ernst_Munzinger property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
AND((Q1359560,P102,c(Q7210356)), (Q2038380,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q1359560
relation P102
action find
entity Q2038380
relation P102
type Q7210356
[ANSWER]
{'AND': [['Q1359560', 'P102', {'concept': 'Q7210356'}], ['Q2038380', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { resource:Q2038380 property:P102 ?h . resource:Q1359560 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Nazi Party
Nazi Party
action filter_type
action intersection
action find
entity Ernst Munzinger
relation member of political party
action find
entity Otto Busse
relation member of political party
type political organization
{'AND': [['Ernst Munzinger', 'member of political party', {'concept': 'political organization'}], ['Otto Busse', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { resource:Otto_Busse property:member_of_political_party ?h . resource:Ernst_Munzinger property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1359560
P19
Q515
USER
Which city was Ernst Munzinger born in ?
(Q1359560,P19,c(Q515))
action filter_type
action find
entity Q1359560
relation P19
type Q515
['Q1359560', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1359560 property:P19 ?u . ?u rdf:type ontology:Q515 }
Ernst Munzinger
action filter_type
action find
entity Ernst Munzinger
relation place of birth
type city
['Ernst Munzinger', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Ernst_Munzinger property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
city
Q1773
SYSTEM
Riga
Q1773
(Q1359560,P19,c(Q515))
action filter_type
action find
entity Q1359560
relation P19
type Q515
Ernst Munzinger was born in [ANSWER]
['Q1359560', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1359560 property:P19 ?u . ?u rdf:type ontology:Q515 }
Riga
Ernst Munzinger was born in Riga
Riga
action filter_type
action find
entity Ernst Munzinger
relation place of birth
type city
['Ernst Munzinger', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Ernst_Munzinger property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1773
P532
Q2235308
USER
Which ship type has its base port as that city ?
(c(Q2235308),P532,Q1773)
action filter_type
action find_reverse
entity Q1773
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q1773']
SELECT DISTINCT ?r WHERE { ?r property:P532 resource:Q1773 . ?r rdf:type ontology:Q2235308 }
Riga
action filter_type
action find_reverse
entity Riga
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Riga']
SELECT DISTINCT ?r WHERE { ?r property:port_of_registry resource:Riga . ?r rdf:type ontology:ship_type }
[]
ship type
Q5416
SYSTEM
MS Isabelle
Q5416
(c(Q2235308),P532,Q1773)
action filter_type
action find_reverse
entity Q1773
relation P532
type Q2235308
[ANSWER] has its base port as that city
[{'concept': 'Q2235308'}, 'P532', 'Q1773']
SELECT DISTINCT ?r WHERE { ?r property:P532 resource:Q1773 . ?r rdf:type ontology:Q2235308 }
MS Isabelle
MS Isabelle has its base port as that city
MS Isabelle
action filter_type
action find_reverse
entity Riga
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Riga']
SELECT DISTINCT ?r WHERE { ?r property:port_of_registry resource:Riga . ?r rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7320
P17
Q1048835
USER
Which political territory does Nazi Party belong to ?
(Q7320,P17,c(Q1048835))
action filter_type
action find
entity Q7320
relation P17
type Q1048835
['Q7320', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q7320 property:P17 ?d }
Nazi Party
action filter_type
action find
entity Nazi Party
relation country
type political territorial entity
['Nazi Party', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Nazi_Party property:country ?d }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q7320,P17,c(Q1048835))
action filter_type
action find
entity Q7320
relation P17
type Q1048835
Nazi Party belongs to Nazi [ANSWER]
['Q7320', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q7320 property:P17 ?d }
Germany
Nazi Party belongs to Nazi Germany
Germany
action filter_type
action find
entity Nazi Party
relation country
type political territorial entity
['Nazi Party', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Nazi_Party property:country ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21915431
Q1048835
USER
And what about Camp Hill?
(Q21915431,P17,c(Q1048835))
action filter_type
action find
entity Q21915431
relation P17
type Q1048835
['Q21915431', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q21915431 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Camp Hill
action filter_type
action find
entity Camp Hill
relation country
type political territorial entity
['Camp Hill', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Camp_Hill property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21915431,P17,c(Q1048835))
action filter_type
action find
entity Q21915431
relation P17
type Q1048835
[ANSWER]
['Q21915431', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q21915431 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Camp Hill
relation country
type political territorial entity
['Camp Hill', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Camp_Hill property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1001
Q14660 Q41487
USER
How many flags and courts preside the jurisdiction over that political territory ?
(c(Q14660),P1001,Q408) (c(Q41487),P1001,Q408) (c(Q14660),P1001,Q408) (c(Q41487),P1001,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q408
relation P1001
type Q41487
[{'concept': 'Q14660'}, 'P1001', 'Q408'] [{'concept': 'Q41487'}, 'P1001', 'Q408'] [{'concept': 'Q14660'}, 'P1001', 'Q408'] [{'concept': 'Q41487'}, 'P1001', 'Q408']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a property:P1001 resource:Q408 . ?a rdf:type ontology:Q14660 } UNION { ?a property:P1001 resource:Q408 . ?a rdf:type ontology:Q41487 } }
action count
action union
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type court
[{'concept': 'flag'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'court'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'court'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a property:applies_to_jurisdiction resource:Australia . ?a rdf:type ontology:flag } UNION { ?a property:applies_to_jurisdiction resource:Australia . ?a rdf:type ontology:court } }
[]
flag court
SYSTEM
1 flags and 1 courts
Q5440284 Q81676
(c(Q14660),P1001,Q408) (c(Q41487),P1001,Q408) (c(Q14660),P1001,Q408) (c(Q41487),P1001,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q408
relation P1001
type Q41487
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', 'Q408'] [{'concept': 'Q41487'}, 'P1001', 'Q408'] [{'concept': 'Q14660'}, 'P1001', 'Q408'] [{'concept': 'Q41487'}, 'P1001', 'Q408']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a property:P1001 resource:Q408 . ?a rdf:type ontology:Q14660 } UNION { ?a property:P1001 resource:Q408 . ?a rdf:type ontology:Q41487 } }
Federal Circuit Court of Australia flag of Australia
1 flags and 1 courts
action count
action union
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type court
[{'concept': 'flag'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'court'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'court'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { ?a property:applies_to_jurisdiction resource:Australia . ?a rdf:type ontology:flag } UNION { ?a property:applies_to_jurisdiction resource:Australia . ?a rdf:type ontology:court } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q717
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with approximately the same number of political territories as Venezuela ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?e ) WHERE { ?m rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?m property:P530 ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q717 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?u ) }
Venezuela
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?e ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?m property:diplomatic_relation ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Venezuela property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?u ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with approximately the same number of political territories as Venezuela
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?e ) WHERE { ?m rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?m property:P530 ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q717 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?u ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, People's Republic of China and Belarus have diplomatic relations with approximately the same number of political territories as Venezuela
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?e ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?m property:diplomatic_relation ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Venezuela property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1027
P530
Q1048835 Q15617994
USER
And what about Mauritius?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1027
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?u property:P530 ?g . ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q1027 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?o ) }
Mauritius
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mauritius
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?u property:diplomatic_relation ?g . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Mauritius property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?o ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1027
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?u property:P530 ?g . ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q1027 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?o ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mauritius
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?b ) WHERE { ?u property:diplomatic_relation ?g . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Mauritius property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?o ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have ambassadorial relations with those administrative territories ?
(Q183,P530,Q55) (Q183,P530,Q148) (Q183,P530,Q184)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q148'] ['Q183', 'P530', 'Q184']
ASK WHERE { resource:Q183 property:P530 ?k . VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', "People's Republic of China"] ['Germany', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Germany property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q55) (Q183,P530,Q148) (Q183,P530,Q184)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q148'] ['Q183', 'P530', 'Q184']
ASK WHERE { resource:Q183 property:P530 ?k . VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', "People's Republic of China"] ['Germany', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Germany property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]