Simple Question (Direct)
Simple Question
Q3898075
P21
Q290
USER
Which sex does Paul Hauman possess ?
(Q3898075,P21,c(Q290))
action filter_type
action find
entity Q3898075
relation P21
type Q290
['Q3898075', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3898075 property:P21 ?t . ?t rdf:type ontology:Q290 }
Paul Hauman
action filter_type
action find
entity Paul Hauman
relation gender
type sex
['Paul Hauman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Paul_Hauman property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3898075,P21,c(Q290))
action filter_type
action find
entity Q3898075
relation P21
type Q290
Paul Hauman possesses un [ANSWER]
['Q3898075', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3898075 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Paul Hauman possesses un male
male
action filter_type
action find
entity Paul Hauman
relation gender
type sex
['Paul Hauman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Paul_Hauman property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3898075
P27
Q15617994
USER
Which administrative territories are the native countriesof Paul Hauman ?
(Q3898075,P27,c(Q15617994))
action filter_type
action find
entity Q3898075
relation P27
type Q15617994
['Q3898075', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q3898075 property:P27 ?r }
Paul Hauman
action filter_type
action find
entity Paul Hauman
relation country of citizenship
type designation for an administrative territorial entity
['Paul Hauman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Hauman property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q20 Q31
SYSTEM
Norway, Belgium
Q20 Q31
(Q3898075,P27,c(Q15617994))
action filter_type
action find
entity Q3898075
relation P27
type Q15617994
[ANSWERS]
['Q3898075', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q3898075 property:P27 ?r }
Norway Belgium
Norway Belgium
action filter_type
action find
entity Paul Hauman
relation country of citizenship
type designation for an administrative territorial entity
['Paul Hauman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Hauman property:country_of_citizenship ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q264654
Q15617994
USER
And also tell me about April Matson?
(Q264654,P27,c(Q15617994))
action filter_type
action find
entity Q264654
relation P27
type Q15617994
['Q264654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q264654 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
April Matson
action filter_type
action find
entity April Matson
relation country of citizenship
type designation for an administrative territorial entity
['April Matson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:April_Matson property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q264654,P27,c(Q15617994))
action filter_type
action find
entity Q264654
relation P27
type Q15617994
[ANSWER]
['Q264654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q264654 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity April Matson
relation country of citizenship
type designation for an administrative territorial entity
['April Matson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:April_Matson property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with around 43 administrative territories or political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 43
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?p = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?x WHERE { { ?x property:P530 ?r . ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 . ?x property:P530 ?r } } GROUP BY ?x } }
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?p = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?x WHERE { { ?x property:diplomatic_relation ?r . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?r } } GROUP BY ?x } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 43
[ANSWER] is known to have diplomatic connections with around 43 administrative territories or political territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?p = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?x WHERE { { ?x property:P530 ?r . ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } UNION { ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 . ?x property:P530 ?r } } GROUP BY ?x } }
Belarus
Belarus is known to have diplomatic connections with around 43 administrative territories or political territories
Belarus
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?p = 43 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?x WHERE { { ?x property:diplomatic_relation ?r . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?r } } GROUP BY ?x } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q184 Q696414 Q665086
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Jagerberg and Gablitz ?
(Q184,P530,Q696414) (Q184,P530,Q665086)
action is_in
entity Q184
action intersection
action find_reverse
entity Q696414
relation P530
action find_reverse
entity Q665086
relation P530
['Q184', 'P530', 'Q696414'] ['Q184', 'P530', 'Q665086']
ASK WHERE { resource:Q184 property:P530 resource:Q665086 . resource:Q184 property:P530 resource:Q696414 }
Belarus Jagerberg Gablitz
action is_in
entity Belarus
action intersection
action find_reverse
entity Jagerberg
relation diplomatic relation
action find_reverse
entity Gablitz
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Jagerberg'] ['Belarus', 'diplomatic relation', 'Gablitz']
ASK WHERE { resource:Belarus property:diplomatic_relation resource:Gablitz . resource:Belarus property:diplomatic_relation resource:Jagerberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q184,P530,Q696414) (Q184,P530,Q665086)
action is_in
entity Q184
action intersection
action find_reverse
entity Q696414
relation P530
action find_reverse
entity Q665086
relation P530
[ANSWER]
['Q184', 'P530', 'Q696414'] ['Q184', 'P530', 'Q665086']
ASK WHERE { resource:Q184 property:P530 resource:Q665086 . resource:Q184 property:P530 resource:Q696414 }
No
action is_in
entity Belarus
action intersection
action find_reverse
entity Jagerberg
relation diplomatic relation
action find_reverse
entity Gablitz
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Jagerberg'] ['Belarus', 'diplomatic relation', 'Gablitz']
ASK WHERE { resource:Belarus property:diplomatic_relation resource:Gablitz . resource:Belarus property:diplomatic_relation resource:Jagerberg }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20 Q38
P530
Q15617994
USER
Does Italy have diplomatic relations with Norway ?
(Q20,P530,Q38)
action is_in
entity Q38
action find
entity Q20
relation P530
['Q20', 'P530', 'Q38']
ASK WHERE { resource:Q20 property:P530 resource:Q38 }
Norway Italy
action is_in
entity Italy
action find
entity Norway
relation diplomatic relation
['Norway', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Norway property:diplomatic_relation resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q20,P530,Q38)
action is_in
entity Q38
action find
entity Q20
relation P530
[ANSWER]
['Q20', 'P530', 'Q38']
ASK WHERE { resource:Q20 property:P530 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Norway
relation diplomatic relation
['Norway', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Norway property:diplomatic_relation resource:Italy }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q2342494
USER
Which administrative territories are approximately 281 works of art or collectables set in ?
(c(Q838948)|c(Q2342494),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 281
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 281 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q838948 . ?z property:P840 ?k } UNION { ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 . ?z property:P840 ?k } } GROUP BY ?k } }
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 281
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 281 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:work_of_art . ?z property:narrative_location ?k } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable . ?z property:narrative_location ?k } } GROUP BY ?k } }
[]
designation for an administrative territorial entity work of art collectable
Q668 Q43 Q38
SYSTEM
India, Turkey, Italy
Q668 Q43 Q38
(c(Q838948)|c(Q2342494),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 281
[ANSWERS] are approximately 281 works of art or collectables set in
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 281 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q838948 . ?z property:P840 ?k } UNION { ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 . ?z property:P840 ?k } } GROUP BY ?k } }
India Turkey Italy
India, Turkey and Italy are approximately 281 works of art or collectables set in
India Turkey Italy
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 281
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 281 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:work_of_art . ?z property:narrative_location ?k } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable . ?z property:narrative_location ?k } } GROUP BY ?k } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1766460
P530
Q1048835
USER
Do San Miguel de la Ribera have tactful political relations with those administrative territories ?
(Q1766460,P530,Q668) (Q1766460,P530,Q43) (Q1766460,P530,Q38)
action is_in
entity prev_answer
action find
entity Q1766460
relation P530
['Q1766460', 'P530', 'Q668'] ['Q1766460', 'P530', 'Q43'] ['Q1766460', 'P530', 'Q38']
ASK WHERE { VALUES ( ?k ) { ( resource:Q668 ) ( resource:Q43 ) ( resource:Q38 ) } . resource:Q1766460 property:P530 ?k }
San Miguel de la Ribera
action is_in
entity prev_answer
action find
entity San Miguel de la Ribera
relation diplomatic relation
['San Miguel de la Ribera', 'diplomatic relation', 'India'] ['San Miguel de la Ribera', 'diplomatic relation', 'Turkey'] ['San Miguel de la Ribera', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?k ) { ( resource:India ) ( resource:Turkey ) ( resource:Italy ) } . resource:San_Miguel_de_la_Ribera property:diplomatic_relation ?k }
[]
political territorial entity
SYSTEM
NO
(Q1766460,P530,Q668) (Q1766460,P530,Q43) (Q1766460,P530,Q38)
action is_in
entity prev_answer
action find
entity Q1766460
relation P530
[ANSWER]
['Q1766460', 'P530', 'Q668'] ['Q1766460', 'P530', 'Q43'] ['Q1766460', 'P530', 'Q38']
ASK WHERE { VALUES ( ?k ) { ( resource:Q668 ) ( resource:Q43 ) ( resource:Q38 ) } . resource:Q1766460 property:P530 ?k }
No
action is_in
entity prev_answer
action find
entity San Miguel de la Ribera
relation diplomatic relation
['San Miguel de la Ribera', 'diplomatic relation', 'India'] ['San Miguel de la Ribera', 'diplomatic relation', 'Turkey'] ['San Miguel de la Ribera', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?k ) { ( resource:India ) ( resource:Turkey ) ( resource:Italy ) } . resource:San_Miguel_de_la_Ribera property:diplomatic_relation ?k }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5816877 Q38
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy or are Meshkin located in ?
OR((Q38,P530,c(Q15617994)), (Q5816877,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q5816877
relation P17
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q5816877', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q38 property:P530 ?k } UNION { resource:Q5816877 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Meshkin Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Meshkin
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Meshkin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Italy property:diplomatic_relation ?k } UNION { resource:Meshkin property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q36 Q221 Q948 Q347 Q414 Q45 Q37 Q55 Q298
SYSTEM
Some of them are Finland, Poland, Republic of Macedonia, Tunisia, Liechtenstein, Argentina, Portugal, Lithuania, Netherlands, Chile
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 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
OR((Q38,P530,c(Q15617994)), (Q5816877,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q5816877
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with Italy or are Meshkin located in
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q5816877', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q38 property:P530 ?k } UNION { resource:Q5816877 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France 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 Azerbaijan 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
Finland, Poland, Republic of Macedonia, Tunisia, Liechtenstein, Argentina, Portugal, Lithuania, Netherlands and Chile have a diplomatic relationship with Italy or are Meshkin located in
Finland Poland Republic of Macedonia Tunisia Liechtenstein Argentina Portugal Lithuania Netherlands Chile
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Meshkin
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Meshkin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Italy property:diplomatic_relation ?k } UNION { resource:Meshkin property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q19473801 Q38
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy and are not Ripperdaweg present in ?
AND((Q38,P530,c(Q15617994)), NOT((Q19473801,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q19473801
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q19473801', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Q38 property:P530 ?l . FILTER NOT EXISTS { resource:Q19473801 property:P17 ?l } . ?l rdf:type ontology:Q15617994 }
Ripperdaweg Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Ripperdaweg
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Ripperdaweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Italy property:diplomatic_relation ?l . FILTER NOT EXISTS { resource:Ripperdaweg property:country ?l } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q224 Q399 Q36 Q28 Q228 Q423 Q191 Q215 Q31
SYSTEM
Some of them are South Korea, Croatia, Armenia, Poland, Hungary, Andorra, North Korea, Estonia, Slovenia, Belgium
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 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((Q19473801,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q19473801
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Italy and are not Ripperdaweg present in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q19473801', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Q38 property:P530 ?l . FILTER NOT EXISTS { resource:Q19473801 property:P17 ?l } . ?l rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia 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 Azerbaijan 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
South Korea, Croatia, Armenia, Poland, Hungary, Andorra, North Korea, Estonia, Slovenia and Belgium hold diplomatic relationship with Italy and are not Ripperdaweg present in
South Korea Croatia Armenia Poland Hungary Andorra North Korea Estonia Slovenia Belgium
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Ripperdaweg
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Ripperdaweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Italy property:diplomatic_relation ?l . FILTER NOT EXISTS { resource:Ripperdaweg property:country ?l } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q499889
P530
Q15617994
USER
Do Albersdorf have diplomatic associations with those ones ?
(Q499889,P530,Q884) (Q499889,P530,Q224) (Q499889,P530,Q399) (Q499889,P530,Q36) (Q499889,P530,Q28) (Q499889,P530,Q228) (Q499889,P530,Q423) (Q499889,P530,Q191) (Q499889,P530,Q215) (Q499889,P530,Q31)
action is_in
entity prev_answer
action find
entity Q499889
relation P530
['Q499889', 'P530', 'Q884'] ['Q499889', 'P530', 'Q224'] ['Q499889', 'P530', 'Q399'] ['Q499889', 'P530', 'Q36'] ['Q499889', 'P530', 'Q28'] ['Q499889', 'P530', 'Q228'] ['Q499889', 'P530', 'Q423'] ['Q499889', 'P530', 'Q191'] ['Q499889', 'P530', 'Q215'] ['Q499889', 'P530', 'Q31']
ASK WHERE { resource:Q499889 property:P530 ?a . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } }
Albersdorf
action is_in
entity prev_answer
action find
entity Albersdorf
relation diplomatic relation
['Albersdorf', 'diplomatic relation', 'South Korea'] ['Albersdorf', 'diplomatic relation', 'Croatia'] ['Albersdorf', 'diplomatic relation', 'Armenia'] ['Albersdorf', 'diplomatic relation', 'Poland'] ['Albersdorf', 'diplomatic relation', 'Hungary'] ['Albersdorf', 'diplomatic relation', 'Andorra'] ['Albersdorf', 'diplomatic relation', 'North Korea'] ['Albersdorf', 'diplomatic relation', 'Estonia'] ['Albersdorf', 'diplomatic relation', 'Slovenia'] ['Albersdorf', 'diplomatic relation', 'Belgium']
ASK WHERE { resource:Albersdorf property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q499889,P530,Q884) (Q499889,P530,Q224) (Q499889,P530,Q399) (Q499889,P530,Q36) (Q499889,P530,Q28) (Q499889,P530,Q228) (Q499889,P530,Q423) (Q499889,P530,Q191) (Q499889,P530,Q215) (Q499889,P530,Q31)
action is_in
entity prev_answer
action find
entity Q499889
relation P530
[ANSWER]
['Q499889', 'P530', 'Q884'] ['Q499889', 'P530', 'Q224'] ['Q499889', 'P530', 'Q399'] ['Q499889', 'P530', 'Q36'] ['Q499889', 'P530', 'Q28'] ['Q499889', 'P530', 'Q228'] ['Q499889', 'P530', 'Q423'] ['Q499889', 'P530', 'Q191'] ['Q499889', 'P530', 'Q215'] ['Q499889', 'P530', 'Q31']
ASK WHERE { resource:Q499889 property:P530 ?a . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } }
No
action is_in
entity prev_answer
action find
entity Albersdorf
relation diplomatic relation
['Albersdorf', 'diplomatic relation', 'South Korea'] ['Albersdorf', 'diplomatic relation', 'Croatia'] ['Albersdorf', 'diplomatic relation', 'Armenia'] ['Albersdorf', 'diplomatic relation', 'Poland'] ['Albersdorf', 'diplomatic relation', 'Hungary'] ['Albersdorf', 'diplomatic relation', 'Andorra'] ['Albersdorf', 'diplomatic relation', 'North Korea'] ['Albersdorf', 'diplomatic relation', 'Estonia'] ['Albersdorf', 'diplomatic relation', 'Slovenia'] ['Albersdorf', 'diplomatic relation', 'Belgium']
ASK WHERE { resource:Albersdorf property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } }
[]