Simple Question (Direct)
Simple Question
Q1684393
P108
Q3914
USER
Which school does Michael Rische work for ?
(Q1684393,P108,c(Q3914))
action filter_type
action find
entity Q1684393
relation P108
type Q3914
['Q1684393', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { resource:Q1684393 property:P108 ?f . ?f rdf:type ontology:Q3914 }
Michael Rische
action filter_type
action find
entity Michael Rische
relation employer
type school
['Michael Rische', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { resource:Michael_Rische property:employer ?f . ?f rdf:type ontology:school }
[]
school
Q55021
SYSTEM
Hochschule für Musik und Tanz Köln
Q55021
(Q1684393,P108,c(Q3914))
action filter_type
action find
entity Q1684393
relation P108
type Q3914
Michael Rische works at [ANSWER]
['Q1684393', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { resource:Q1684393 property:P108 ?f . ?f rdf:type ontology:Q3914 }
Hochschule für Musik und Tanz Köln
Michael Rische works at Hochschule für Musik und Tanz Köln
Hochschule für Musik und Tanz Köln
action filter_type
action find
entity Michael Rische
relation employer
type school
['Michael Rische', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { resource:Michael_Rische property:employer ?f . ?f rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55021
P17
Q1048835
USER
Which political territory is that school a part of ?
(Q55021,P17,c(Q1048835))
action filter_type
action find
entity Q55021
relation P17
type Q1048835
['Q55021', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q55021 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Hochschule für Musik und Tanz Köln
action filter_type
action find
entity Hochschule für Musik und Tanz Köln
relation country
type political territorial entity
['Hochschule für Musik und Tanz Köln', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hochschule_für_Musik_und_Tanz_Köln property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q55021,P17,c(Q1048835))
action filter_type
action find
entity Q55021
relation P17
type Q1048835
The [ANSWER] is that school a part of
['Q55021', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q55021 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Germany
The Germany is that school a part of
Germany
action filter_type
action find
entity Hochschule für Musik und Tanz Köln
relation country
type political territorial entity
['Hochschule für Musik und Tanz Köln', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hochschule_für_Musik_und_Tanz_Köln property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1879591
Q1048835
USER
And also tell me about Löbauer Berg?
(Q1879591,P17,c(Q1048835))
action filter_type
action find
entity Q1879591
relation P17
type Q1048835
['Q1879591', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1879591 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Löbauer Berg
action filter_type
action find
entity Löbauer Berg
relation country
type political territorial entity
['Löbauer Berg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Löbauer_Berg property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1879591,P17,c(Q1048835))
action filter_type
action find
entity Q1879591
relation P17
type Q1048835
[ANSWER]
['Q1879591', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1879591 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Löbauer Berg
relation country
type political territorial entity
['Löbauer Berg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Löbauer_Berg property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P1001
Q846882 Q1076579
USER
How many sourcess of law or acts of Parliament apply to jurisdiction over Germany ?
(c(Q846882),P1001,Q183) (c(Q1076579),P1001,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1001
type Q846882
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1076579
[{'concept': 'Q846882'}, 'P1001', 'Q183'] [{'concept': 'Q1076579'}, 'P1001', 'Q183']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:Q846882 ) ( ontology:Q1076579 ) } . ?i rdf:type ?a }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type sources of law
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type act of Parliament
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'act of Parliament'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:sources_of_law ) ( ontology:act_of_Parliament ) } . ?i rdf:type ?a }
[]
sources of law act of Parliament
SYSTEM
6
Q1802703 Q314649 Q56045 Q850716 Q1685633 Q314496
(c(Q846882),P1001,Q183) (c(Q1076579),P1001,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1001
type Q846882
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1076579
[ANSWER]
[{'concept': 'Q846882'}, 'P1001', 'Q183'] [{'concept': 'Q1076579'}, 'P1001', 'Q183']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:Q846882 ) ( ontology:Q1076579 ) } . ?i rdf:type ?a }
state constitution Handelsgesetzbuch Basic Law for the Federal Republic of Germany Betäubungsmittelgesetz Gun politics in Germany German Renewable Energy Act
6
action count
action union
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type sources of law
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type act of Parliament
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'act of Parliament'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?a ) { ( ontology:sources_of_law ) ( ontology:act_of_Parliament ) } . ?i rdf:type ?a }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q884
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with approximately the same number of political territories as South Korea ?
(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 Q884
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:P530 ?h . ?w rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q884 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?c ) }
South Korea
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 South Korea
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:diplomatic_relation ?h . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:South_Korea property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?c ) }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q851 Q733 Q734 Q736 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(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 Q884
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with approximately the same number of political territories as South Korea
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:P530 ?h . ?w rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q884 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?c ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
United States of America, Russia and Netherlands are known to have diplomatic connections with approximately the same number of political territories as South Korea
United States of America Russia Netherlands
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 South Korea
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:diplomatic_relation ?h . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:South_Korea property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q712
P530
Q1048835 Q15617994
USER
And also tell me about Fiji?
(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 Q712
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?n ) WHERE { ?w property:P530 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q712 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?c ) }
Fiji
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 Fiji
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?n ) WHERE { ?w property:diplomatic_relation ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Fiji property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?c ) }
[]
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 Q712
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?n ) WHERE { ?w property:P530 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q712 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?c ) }
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 Fiji
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?n ) WHERE { ?w property:diplomatic_relation ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Fiji property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?c ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4336295
P530
Q1048835
USER
Do Orikhovo-Vasylivka have diplomatic relations with those administrative territories ?
(Q4336295,P530,Q55) (Q4336295,P530,Q148) (Q4336295,P530,Q184)
action is_in
entity prev_answer
action find
entity Q4336295
relation P530
['Q4336295', 'P530', 'Q55'] ['Q4336295', 'P530', 'Q148'] ['Q4336295', 'P530', 'Q184']
ASK WHERE { resource:Q4336295 property:P530 ?c . VALUES ( ?c ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Orikhovo-Vasylivka
action is_in
entity prev_answer
action find
entity Orikhovo-Vasylivka
relation diplomatic relation
['Orikhovo-Vasylivka', 'diplomatic relation', 'Netherlands'] ['Orikhovo-Vasylivka', 'diplomatic relation', "People's Republic of China"] ['Orikhovo-Vasylivka', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Orikhovo-Vasylivka property:diplomatic_relation ?c . VALUES ( ?c ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q4336295,P530,Q55) (Q4336295,P530,Q148) (Q4336295,P530,Q184)
action is_in
entity prev_answer
action find
entity Q4336295
relation P530
[ANSWER]
['Q4336295', 'P530', 'Q55'] ['Q4336295', 'P530', 'Q148'] ['Q4336295', 'P530', 'Q184']
ASK WHERE { resource:Q4336295 property:P530 ?c . VALUES ( ?c ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Orikhovo-Vasylivka
relation diplomatic relation
['Orikhovo-Vasylivka', 'diplomatic relation', 'Netherlands'] ['Orikhovo-Vasylivka', 'diplomatic relation', "People's Republic of China"] ['Orikhovo-Vasylivka', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Orikhovo-Vasylivka property:diplomatic_relation ?c . VALUES ( ?c ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q148 Q17410
P6
Q502895
USER
Is Zhou Enlai the head of the government of People's Republic of China ?
(Q148,P6,Q17410)
action is_in
entity Q17410
action find
entity Q148
relation P6
['Q148', 'P6', 'Q17410']
ASK WHERE { resource:Q148 property:P6 resource:Q17410 }
People's Republic of China Zhou Enlai
action is_in
entity Zhou Enlai
action find
entity People's Republic of China
relation head of government
["People's Republic of China", 'head of government', 'Zhou Enlai']
ASK WHERE { resource:People's_Republic_of_China property:head_of_government resource:Zhou_Enlai }
[]
common name
SYSTEM
YES
(Q148,P6,Q17410)
action is_in
entity Q17410
action find
entity Q148
relation P6
[ANSWER]
['Q148', 'P6', 'Q17410']
ASK WHERE { resource:Q148 property:P6 resource:Q17410 }
Yes
action is_in
entity Zhou Enlai
action find
entity People's Republic of China
relation head of government
["People's Republic of China", 'head of government', 'Zhou Enlai']
ASK WHERE { resource:People's_Republic_of_China property:head_of_government resource:Zhou_Enlai }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P1001
Q14660
USER
Which flag presides the jurisdiction over that administrative territory ?
action filter_type
action find_reverse
entity Q148
relation P1001
type Q14660
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q148 . ?h rdf:type ontology:Q14660 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation applies to jurisdiction
type flag
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:People's_Republic_of_China . ?h rdf:type ontology:flag }
[]
flag
Q131147
SYSTEM
Flag of the People's Republic of China
Q131147
action filter_type
action find_reverse
entity Q148
relation P1001
type Q14660
[ANSWER] presides the jurisdiction over that administrative territory
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q148 . ?h rdf:type ontology:Q14660 }
Flag of the People's Republic of China
Flag of the People's Republic of China presides the jurisdiction over that administrative territory
Flag of the People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation applies to jurisdiction
type flag
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:People's_Republic_of_China . ?h rdf:type ontology:flag }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q131147 Q7566251 Q138823
P1001
Q15617994
USER
Does that flag presides the jurisdiction over South Bay and Farnese, Lazio ?
(Q131147,P1001,Q7566251) (Q131147,P1001,Q138823)
action is_in
entity Q131147
action intersection
action find_reverse
entity Q7566251
relation P1001
action find_reverse
entity Q138823
relation P1001
['Q131147', 'P1001', 'Q7566251'] ['Q131147', 'P1001', 'Q138823']
ASK WHERE { resource:Q131147 property:P1001 resource:Q138823 . resource:Q131147 property:P1001 resource:Q7566251 }
Flag of the People's Republic of China South Bay Farnese, Lazio
action is_in
entity Flag of the People's Republic of China
action intersection
action find_reverse
entity South Bay
relation applies to jurisdiction
action find_reverse
entity Farnese, Lazio
relation applies to jurisdiction
["Flag of the People's Republic of China", 'applies to jurisdiction', 'South Bay'] ["Flag of the People's Republic of China", 'applies to jurisdiction', 'Farnese, Lazio']
ASK WHERE { resource:Flag_of_the_People's_Republic_of_China property:applies_to_jurisdiction resource:Farnese,_Lazio . resource:Flag_of_the_People's_Republic_of_China property:applies_to_jurisdiction resource:South_Bay }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q131147,P1001,Q7566251) (Q131147,P1001,Q138823)
action is_in
entity Q131147
action intersection
action find_reverse
entity Q7566251
relation P1001
action find_reverse
entity Q138823
relation P1001
[ANSWER]
['Q131147', 'P1001', 'Q7566251'] ['Q131147', 'P1001', 'Q138823']
ASK WHERE { resource:Q131147 property:P1001 resource:Q138823 . resource:Q131147 property:P1001 resource:Q7566251 }
No
action is_in
entity Flag of the People's Republic of China
action intersection
action find_reverse
entity South Bay
relation applies to jurisdiction
action find_reverse
entity Farnese, Lazio
relation applies to jurisdiction
["Flag of the People's Republic of China", 'applies to jurisdiction', 'South Bay'] ["Flag of the People's Republic of China", 'applies to jurisdiction', 'Farnese, Lazio']
ASK WHERE { resource:Flag_of_the_People's_Republic_of_China property:applies_to_jurisdiction resource:Farnese,_Lazio . resource:Flag_of_the_People's_Republic_of_China property:applies_to_jurisdiction resource:South_Bay }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q25126 Q17410
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Zhou Enlai or share border with Guardabosone ?
OR((Q17410,P27,c(Q15617994)), (Q25126,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q17410
relation P27
action find
entity Q25126
relation P47
type Q15617994
{'OR': [['Q17410', 'P27', {'concept': 'Q15617994'}], ['Q25126', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q17410 property:P27 ?w } UNION { resource:Q25126 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Guardabosone Zhou Enlai
action filter_type
action union
action find
entity Zhou Enlai
relation country of citizenship
action find
entity Guardabosone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Zhou Enlai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Guardabosone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Zhou_Enlai property:country_of_citizenship ?w } UNION { resource:Guardabosone property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q18043 Q25209 Q18057 Q25210 Q25175 Q24901 Q25208 Q18014
SYSTEM
People's Republic of China, Caprile, Scopello, Crevacuore, Serravalle Sesia, Postua, Borgosesia, Scopa, Ailoche
Q148 Q18043 Q25209 Q18057 Q25210 Q25175 Q24901 Q25208 Q18014
OR((Q17410,P27,c(Q15617994)), (Q25126,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q17410
relation P27
action find
entity Q25126
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Zhou Enlai or share border with Guardabosone
{'OR': [['Q17410', 'P27', {'concept': 'Q15617994'}], ['Q25126', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q17410 property:P27 ?w } UNION { resource:Q25126 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
People's Republic of China Caprile Scopello Crevacuore Serravalle Sesia Postua Borgosesia Scopa Ailoche
People's Republic of China, Caprile, Scopello, Crevacuore, Serravalle Sesia, Postua, Borgosesia, Scopa and Ailoche are the countries of citizenship of Zhou Enlai or share border with Guardabosone
People's Republic of China Caprile Scopello Crevacuore Serravalle Sesia Postua Borgosesia Scopa Ailoche
action filter_type
action union
action find
entity Zhou Enlai
relation country of citizenship
action find
entity Guardabosone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Zhou Enlai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Guardabosone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Zhou_Enlai property:country_of_citizenship ?w } UNION { resource:Guardabosone property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]