Simple Question (Direct)
Simple Question
Q10513654
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Ron Foster ?
(Q10513654,P27,c(Q15617994))
action filter_type
action find
entity Q10513654
relation P27
type Q15617994
['Q10513654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10513654 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Ron Foster
action filter_type
action find
entity Ron Foster
relation country of citizenship
type designation for an administrative territorial entity
['Ron Foster', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ron_Foster property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q10513654,P27,c(Q15617994))
action filter_type
action find
entity Q10513654
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Ron Foster
['Q10513654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10513654 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Ron Foster
United Kingdom
action filter_type
action find
entity Ron Foster
relation country of citizenship
type designation for an administrative territorial entity
['Ron Foster', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ron_Foster property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10513654
P21
Q290
USER
Which sex does Ron Foster possess ?
(Q10513654,P21,c(Q290))
action filter_type
action find
entity Q10513654
relation P21
type Q290
['Q10513654', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q10513654 property:P21 ?f . ?f rdf:type ontology:Q290 }
Ron Foster
action filter_type
action find
entity Ron Foster
relation gender
type sex
['Ron Foster', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Ron_Foster property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10513654,P21,c(Q290))
action filter_type
action find
entity Q10513654
relation P21
type Q290
Ron Foster possesses [ANSWER]
['Q10513654', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q10513654 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Ron Foster possesses male
male
action filter_type
action find
entity Ron Foster
relation gender
type sex
['Ron Foster', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Ron_Foster property:gender ?f . ?f rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q1307214 Q15617994 Q15617994
USER
Which administrative territories have min number of forms of government or administrative territories as government ?
(c(Q15617994),P122,c(Q1307214)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { { ?g property:P122 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } UNION { ?g property:P122 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1307214 } } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1307214 ) ( ontology:Q15617994 ) } } GROUP BY ?j } . FILTER ( ?m = ?v ) }
action argmin
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { { ?g property:basic_form_of_government ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:basic_form_of_government ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:form_of_government } } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:form_of_government ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?j } . FILTER ( ?m = ?v ) }
[]
form of government designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q1307214)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
[ANSWERS] have min number of forms of government or administrative territories as government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { { ?g property:P122 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } UNION { ?g property:P122 ?q . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1307214 } } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1307214 ) ( ontology:Q15617994 ) } } GROUP BY ?j } . FILTER ( ?m = ?v ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have min number of forms of government or administrative territories as government
Italy Brazil United States of America
action argmin
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?e ) WHERE { { ?g property:basic_form_of_government ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:basic_form_of_government ?q . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:form_of_government } } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:form_of_government ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?j } . FILTER ( ?m = ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?o ) WHERE { ?s property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?o = ?d ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?d ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?r property:P530 ?b . ?r rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?r } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?o ) WHERE { ?s property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?o = ?d ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?d ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?r property:diplomatic_relation ?b . ?r rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?o ) WHERE { ?s property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?o = ?d ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?d ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?r property:P530 ?b . ?r rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?r } } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?o ) WHERE { ?s property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?o = ?d ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?d ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?r property:diplomatic_relation ?b . ?r rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P921
Q15416
USER
Which television programs have United States of America as their main topic ?
(c(Q15416),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q30']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q30 . ?s rdf:type ontology:Q15416 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'United States of America']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:United_States_of_America . ?s rdf:type ontology:television_program }
[]
television program
Q5286383 Q7897156 Q4691839
SYSTEM
Do You Speak American?, Unnatural Causes: Is Inequality Making Us Sick?, Age 7 in America
Q5286383 Q7897156 Q4691839
(c(Q15416),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q15416
[ANSWERS]
[{'concept': 'Q15416'}, 'P921', 'Q30']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q30 . ?s rdf:type ontology:Q15416 }
Do You Speak American? Unnatural Causes: Is Inequality Making Us Sick? Age 7 in America
Do You Speak American, Unnatural Causes: Is Inequality Making Us Sick and Age 7 in America have United States of America as their main topic
Do You Speak American? Unnatural Causes: Is Inequality Making Us Sick? Age 7 in America
action filter_type
action find_reverse
entity United States of America
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'United States of America']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:United_States_of_America . ?s rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1313
Q895526
USER
What is the authority organ held by United Kingdom ?
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?h WHERE { resource:Q145 property:P1313 ?h . ?h rdf:type ontology:Q895526 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?h WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?h . ?h rdf:type ontology:authority_organ }
[]
authority organ
Q14211
SYSTEM
Prime Minister of the United Kingdom
Q14211
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
The authority organ held by United Kingdom is the [ANSWER]
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?h WHERE { resource:Q145 property:P1313 ?h . ?h rdf:type ontology:Q895526 }
Prime Minister of the United Kingdom
The authority organ held by United Kingdom is the Prime Minister of the United Kingdom
Prime Minister of the United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?h WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?h . ?h rdf:type ontology:authority_organ }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1376
Q56061
USER
Which administrative territory is the county seat for United Kingdom ?
(c(Q56061),P1376,Q145)
action filter_type
action find_reverse
entity Q145
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q145']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . ?u property:P1376 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?u property:capital_of resource:United_Kingdom }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(c(Q56061),P1376,Q145)
action filter_type
action find_reverse
entity Q145
relation P1376
type Q56061
In [ANSWER] is the county seat for United Kingdom
[{'concept': 'Q56061'}, 'P1376', 'Q145']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . ?u property:P1376 resource:Q145 }
London
In London is the county seat for United Kingdom
London
action filter_type
action find_reverse
entity United Kingdom
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United Kingdom']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?u property:capital_of resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P163
Q14660
USER
What is the name of flag associated with United Kingdom ?
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q14660 . resource:Q145 property:P163 ?y }
United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:flag . resource:United_Kingdom property:flag ?y }
[]
flag
Q83278
SYSTEM
flag of the United Kingdom
Q83278
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
The name of flag associated with United Kingdom is the [ANSWER]
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q14660 . resource:Q145 property:P163 ?y }
flag of the United Kingdom
The name of flag associated with United Kingdom is the flag of the United Kingdom
flag of the United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:flag . resource:United_Kingdom property:flag ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q83278 Q145 Q684432
P1001
Q15617994
USER
Does that flag applies to jurisdiction over United Kingdom and Breitenbach, Rhineland-Palatinate ?
(Q83278,P1001,Q145) (Q83278,P1001,Q684432)
action is_in
entity Q83278
action intersection
action find_reverse
entity Q145
relation P1001
action find_reverse
entity Q684432
relation P1001
['Q83278', 'P1001', 'Q145'] ['Q83278', 'P1001', 'Q684432']
ASK WHERE { resource:Q83278 property:P1001 resource:Q145 . resource:Q83278 property:P1001 resource:Q684432 }
flag of the United Kingdom United Kingdom Breitenbach, Rhineland-Palatinate
action is_in
entity flag of the United Kingdom
action intersection
action find_reverse
entity United Kingdom
relation applies to jurisdiction
action find_reverse
entity Breitenbach, Rhineland-Palatinate
relation applies to jurisdiction
['flag of the United Kingdom', 'applies to jurisdiction', 'United Kingdom'] ['flag of the United Kingdom', 'applies to jurisdiction', 'Breitenbach, Rhineland-Palatinate']
ASK WHERE { resource:flag_of_the_United_Kingdom property:applies_to_jurisdiction resource:United_Kingdom . resource:flag_of_the_United_Kingdom property:applies_to_jurisdiction resource:Breitenbach,_Rhineland-Palatinate }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q83278,P1001,Q145) (Q83278,P1001,Q684432)
action is_in
entity Q83278
action intersection
action find_reverse
entity Q145
relation P1001
action find_reverse
entity Q684432
relation P1001
[ANSWER]
['Q83278', 'P1001', 'Q145'] ['Q83278', 'P1001', 'Q684432']
ASK WHERE { resource:Q83278 property:P1001 resource:Q145 . resource:Q83278 property:P1001 resource:Q684432 }
YES and NO respectively
action is_in
entity flag of the United Kingdom
action intersection
action find_reverse
entity United Kingdom
relation applies to jurisdiction
action find_reverse
entity Breitenbach, Rhineland-Palatinate
relation applies to jurisdiction
['flag of the United Kingdom', 'applies to jurisdiction', 'United Kingdom'] ['flag of the United Kingdom', 'applies to jurisdiction', 'Breitenbach, Rhineland-Palatinate']
ASK WHERE { resource:flag_of_the_United_Kingdom property:applies_to_jurisdiction resource:United_Kingdom . resource:flag_of_the_United_Kingdom property:applies_to_jurisdiction resource:Breitenbach,_Rhineland-Palatinate }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6297212 Q38
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy and are not French Renaissance architecture present in ?
AND((Q38,P530,c(Q15617994)), NOT((Q6297212,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q6297212
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q6297212', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q38 property:P530 ?c . MINUS { resource:Q6297212 property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
French Renaissance architecture Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity French Renaissance architecture
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['French Renaissance architecture', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Italy property:diplomatic_relation ?c . MINUS { resource:French_Renaissance_architecture property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q805 Q298 Q1045 Q155 Q28 Q30 Q215 Q217 Q928 Q419
SYSTEM
Some of them are Yemen, Chile, Somalia, Brazil, Hungary, United States of America, Slovenia, Republic of Moldova, Philippines, Peru
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q227 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
AND((Q38,P530,c(Q15617994)), NOT((Q6297212,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q6297212
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Italy and are not French Renaissance architecture present in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q6297212', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q38 property:P530 ?c . MINUS { resource:Q6297212 property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina Azerbaijan Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Yemen, Chile, Somalia, Brazil, Hungary, United States of America, Slovenia, Republic of Moldova, Philippines and Peru hold diplomatic relationship with Italy and are not French Renaissance architecture present in
Yemen Chile Somalia Brazil Hungary United States of America Slovenia Republic of Moldova Philippines Peru
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity French Renaissance architecture
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['French Renaissance architecture', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Italy property:diplomatic_relation ?c . MINUS { resource:French_Renaissance_architecture property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q244384
P530
Q15617994
USER
Do Castiglione d'Intelvi have tactful political relations with those ones ?
(Q244384,P530,Q805) (Q244384,P530,Q298) (Q244384,P530,Q1045) (Q244384,P530,Q155) (Q244384,P530,Q28) (Q244384,P530,Q30) (Q244384,P530,Q215) (Q244384,P530,Q217) (Q244384,P530,Q928) (Q244384,P530,Q419)
action is_in
entity prev_answer
action find
entity Q244384
relation P530
['Q244384', 'P530', 'Q805'] ['Q244384', 'P530', 'Q298'] ['Q244384', 'P530', 'Q1045'] ['Q244384', 'P530', 'Q155'] ['Q244384', 'P530', 'Q28'] ['Q244384', 'P530', 'Q30'] ['Q244384', 'P530', 'Q215'] ['Q244384', 'P530', 'Q217'] ['Q244384', 'P530', 'Q928'] ['Q244384', 'P530', 'Q419']
ASK WHERE { VALUES ( ?x ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q244384 property:P530 ?x }
Castiglione d'Intelvi
action is_in
entity prev_answer
action find
entity Castiglione d'Intelvi
relation diplomatic relation
["Castiglione d'Intelvi", 'diplomatic relation', 'Yemen'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Chile'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Somalia'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Brazil'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Hungary'] ["Castiglione d'Intelvi", 'diplomatic relation', 'United States of America'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Slovenia'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Republic of Moldova'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Philippines'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Peru']
ASK WHERE { VALUES ( ?x ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Castiglione_d'Intelvi property:diplomatic_relation ?x }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q244384,P530,Q805) (Q244384,P530,Q298) (Q244384,P530,Q1045) (Q244384,P530,Q155) (Q244384,P530,Q28) (Q244384,P530,Q30) (Q244384,P530,Q215) (Q244384,P530,Q217) (Q244384,P530,Q928) (Q244384,P530,Q419)
action is_in
entity prev_answer
action find
entity Q244384
relation P530
[ANSWER]
['Q244384', 'P530', 'Q805'] ['Q244384', 'P530', 'Q298'] ['Q244384', 'P530', 'Q1045'] ['Q244384', 'P530', 'Q155'] ['Q244384', 'P530', 'Q28'] ['Q244384', 'P530', 'Q30'] ['Q244384', 'P530', 'Q215'] ['Q244384', 'P530', 'Q217'] ['Q244384', 'P530', 'Q928'] ['Q244384', 'P530', 'Q419']
ASK WHERE { VALUES ( ?x ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q244384 property:P530 ?x }
No
action is_in
entity prev_answer
action find
entity Castiglione d'Intelvi
relation diplomatic relation
["Castiglione d'Intelvi", 'diplomatic relation', 'Yemen'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Chile'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Somalia'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Brazil'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Hungary'] ["Castiglione d'Intelvi", 'diplomatic relation', 'United States of America'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Slovenia'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Republic of Moldova'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Philippines'] ["Castiglione d'Intelvi", 'diplomatic relation', 'Peru']
ASK WHERE { VALUES ( ?x ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Castiglione_d'Intelvi property:diplomatic_relation ?x }
[]