Simple Question (Direct)
Simple Question
Q476441
P734
Q82799
USER
Which name is associated with Seiji Nishimura ?
(Q476441,P734,c(Q82799))
action filter_type
action find
entity Q476441
relation P734
type Q82799
['Q476441', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q476441 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Seiji Nishimura
action filter_type
action find
entity Seiji Nishimura
relation family name
type name
['Seiji Nishimura', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Seiji_Nishimura property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q23301823
SYSTEM
Nishimura
Q23301823
(Q476441,P734,c(Q82799))
action filter_type
action find
entity Q476441
relation P734
type Q82799
Sakura [ANSWER] is associated with Seiji [ANSWER]
['Q476441', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q476441 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Nishimura
Sakura Nishimura is associated with Seiji Nishimura
Nishimura
action filter_type
action find
entity Seiji Nishimura
relation family name
type name
['Seiji Nishimura', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Seiji_Nishimura property:family_name ?e . ?e rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q476441
P27
Q15617994
USER
Which administrative territory does Seiji Nishimura belong to ?
(Q476441,P27,c(Q15617994))
action filter_type
action find
entity Q476441
relation P27
type Q15617994
['Q476441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q476441 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Seiji Nishimura
action filter_type
action find
entity Seiji Nishimura
relation country of citizenship
type designation for an administrative territorial entity
['Seiji Nishimura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Seiji_Nishimura property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q476441,P27,c(Q15617994))
action filter_type
action find
entity Q476441
relation P27
type Q15617994
Seiji Nishimura belongs to [ANSWER]
['Q476441', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q476441 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Japan
Seiji Nishimura belongs to Japan
Japan
action filter_type
action find
entity Seiji Nishimura
relation country of citizenship
type designation for an administrative territorial entity
['Seiji Nishimura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Seiji_Nishimura property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q476441
P106
Q12737077
USER
What does that person do for a living ?
(Q17,P106,c(Q12737077))
action filter_type
action find
entity Q476441
relation P106
type Q12737077
['Q17', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q476441 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Seiji Nishimura
action filter_type
action find
entity Seiji Nishimura
relation occupation
type occupation
['Japan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Seiji_Nishimura property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q9017214
SYSTEM
karateka
Q9017214
(Q17,P106,c(Q12737077))
action filter_type
action find
entity Q476441
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q17', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q476441 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
karateka
Karateka that person does for a living
karateka
action filter_type
action find
entity Seiji Nishimura
relation occupation
type occupation
['Japan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Seiji_Nishimura property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q4192452 Q17
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Japan and are not the countries of citizenship of Nikolai Zlobin ?
AND((Q17,P530,c(Q15617994)), NOT((Q4192452,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q17
relation P530
action find
entity Q4192452
relation P27
type Q15617994
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q4192452', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?y WHERE { resource:Q17 property:P530 ?y . FILTER NOT EXISTS { resource:Q4192452 property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
Nikolai Zlobin Japan
action filter_type
action difference
action find
entity Japan
relation diplomatic relation
action find
entity Nikolai Zlobin
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Nikolai Zlobin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?y WHERE { resource:Japan property:diplomatic_relation ?y . FILTER NOT EXISTS { resource:Nikolai_Zlobin property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q227 Q142 Q711 Q884 Q801 Q145 Q155 Q30 Q869 Q38
SYSTEM
Azerbaijan, France, Mongolia, South Korea, Israel, United Kingdom, Brazil, United States of America, Thailand, Italy
Q227 Q142 Q711 Q884 Q801 Q145 Q155 Q30 Q869 Q38
AND((Q17,P530,c(Q15617994)), NOT((Q4192452,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q17
relation P530
action find
entity Q4192452
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Japan and are not the countries of citizenship of Nikolai Zlobin
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q4192452', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?y WHERE { resource:Q17 property:P530 ?y . FILTER NOT EXISTS { resource:Q4192452 property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
Azerbaijan France Mongolia South Korea Israel United Kingdom Brazil United States of America Thailand Italy
Azerbaijan, France, Mongolia, South Korea, Israel, United Kingdom, Brazil, United States of America, Thailand and Italy have a diplomatic relationship with Japan and are not the countries of citizenship of Nikolai Zlobin
Azerbaijan France Mongolia South Korea Israel United Kingdom Brazil United States of America Thailand Italy
action filter_type
action difference
action find
entity Japan
relation diplomatic relation
action find
entity Nikolai Zlobin
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Nikolai Zlobin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?y WHERE { resource:Japan property:diplomatic_relation ?y . FILTER NOT EXISTS { resource:Nikolai_Zlobin property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q227 Q142 Q711 Q884 Q801 Q145 Q155 Q30 Q869 Q38
P17
Q15617994
USER
Which administrative territories are Azerbaijan, France, Mongolia, South Korea, Israel, United Kingdom, Brazil, United States of America, Thailand and Italy present in ?
(Q227,P17,c(Q15617994)) (Q142,P17,c(Q15617994)) (Q711,P17,c(Q15617994)) (Q884,P17,c(Q15617994)) (Q801,P17,c(Q15617994)) (Q145,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q869,P17,c(Q15617994)) (Q38,P17,c(Q15617994))
action union
action filter_type
action find
entity Q227
relation P17
type Q15617994
action filter_type
action find
entity Q142
relation P17
type Q15617994
action filter_type
action find
entity Q711
relation P17
type Q15617994
action filter_type
action find
entity Q884
relation P17
type Q15617994
action filter_type
action find
entity Q801
relation P17
type Q15617994
action filter_type
action find
entity Q145
relation P17
type Q15617994
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q869
relation P17
type Q15617994
action filter_type
action find
entity Q38
relation P17
type Q15617994
['Q227', 'P17', {'concept': 'Q15617994'}] ['Q142', 'P17', {'concept': 'Q15617994'}] ['Q711', 'P17', {'concept': 'Q15617994'}] ['Q884', 'P17', {'concept': 'Q15617994'}] ['Q801', 'P17', {'concept': 'Q15617994'}] ['Q145', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q869', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q227 property:P17 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q142 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
Azerbaijan France Mongolia South Korea Israel United Kingdom Brazil United States of America Thailand Italy
action union
action filter_type
action find
entity Azerbaijan
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mongolia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity South Korea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Thailand
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
['Azerbaijan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mongolia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['South Korea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Azerbaijan property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:France property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q227 Q142 Q711 Q884 Q801 Q145 Q155 Q30 Q869 Q38
(Q227,P17,c(Q15617994)) (Q142,P17,c(Q15617994)) (Q711,P17,c(Q15617994)) (Q884,P17,c(Q15617994)) (Q801,P17,c(Q15617994)) (Q145,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q869,P17,c(Q15617994)) (Q38,P17,c(Q15617994))
action union
action filter_type
action find
entity Q227
relation P17
type Q15617994
action filter_type
action find
entity Q142
relation P17
type Q15617994
action filter_type
action find
entity Q711
relation P17
type Q15617994
action filter_type
action find
entity Q884
relation P17
type Q15617994
action filter_type
action find
entity Q801
relation P17
type Q15617994
action filter_type
action find
entity Q145
relation P17
type Q15617994
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q869
relation P17
type Q15617994
action filter_type
action find
entity Q38
relation P17
type Q15617994
[ANSWERS] are Azerbaijan, France, Mongolia, South Korea, Israel, United Kingdom, Brazil, United States of America, Thailand and Italy present in
['Q227', 'P17', {'concept': 'Q15617994'}] ['Q142', 'P17', {'concept': 'Q15617994'}] ['Q711', 'P17', {'concept': 'Q15617994'}] ['Q884', 'P17', {'concept': 'Q15617994'}] ['Q801', 'P17', {'concept': 'Q15617994'}] ['Q145', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q869', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q227 property:P17 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q142 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
Azerbaijan France Mongolia South Korea Israel United Kingdom Brazil United States of America Thailand Italy
Italy, Brazil and United States of America are Azerbaijan, France, Mongolia, South Korea, Israel, United Kingdom, Brazil, United States of America, Thailand and Italy present in
Italy Brazil United States of America
action union
action filter_type
action find
entity Azerbaijan
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mongolia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity South Korea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Thailand
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
['Azerbaijan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['France', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mongolia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['South Korea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Azerbaijan property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:France property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P840
Q571
USER
Which book has its narrative set in that administrative territory ?
(c(Q571),P840,Q155)
action filter_type
action find_reverse
entity Q155
relation P840
type Q571
[{'concept': 'Q571'}, 'P840', 'Q155']
SELECT DISTINCT ?v WHERE { ?v property:P840 resource:Q155 . ?v rdf:type ontology:Q571 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Brazil']
SELECT DISTINCT ?v WHERE { ?v property:narrative_location resource:Brazil . ?v rdf:type ontology:book }
[]
book
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q155 Q30
(c(Q571),P840,Q38) (c(Q571),P840,Q155) (c(Q571),P840,Q30)
[ANSWER]
[{'concept': 'Q571'}, 'P840', 'Q38'] [{'concept': 'Q571'}, 'P840', 'Q155'] [{'concept': 'Q571'}, 'P840', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P840 resource:Q155 . ?v rdf:type ontology:Q571 }
Italy Brazil United States of America
Did you mean Italy ?
Italy
[{'concept': 'book'}, 'narrative location', 'Italy'] [{'concept': 'book'}, 'narrative location', 'Brazil'] [{'concept': 'book'}, 'narrative location', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:narrative_location resource:Brazil . ?v rdf:type ontology:book }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q571),P840,Q155)
Q155
[{'concept': 'Q571'}, 'P840', 'Q155']
[{'concept': 'book'}, 'narrative location', 'Brazil']
[]
Q22679831
SYSTEM
Voyages en Afrique, Asie, Indes orientales et occidentales
Q22679831
(c(Q571),P840,Q155)
action filter_type
action find_reverse
entity Q155
relation P840
type Q571
[ANSWER] has its narrative set in that administrative territory
[{'concept': 'Q571'}, 'P840', 'Q155']
SELECT DISTINCT ?v WHERE { ?v property:P840 resource:Q155 . ?v rdf:type ontology:Q571 }
Voyages en Afrique, Asie, Indes orientales et occidentales
Voyages en Afrique, Asie, Indes orientales et occidentales has its narrative set in that administrative territory
Voyages en Afrique, Asie, Indes orientales et occidentales
action filter_type
action find_reverse
entity Brazil
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Brazil']
SELECT DISTINCT ?v WHERE { ?v property:narrative_location resource:Brazil . ?v rdf:type ontology:book }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1912250 Q38
P530 P27
Q1048835
USER
Which political territories have diplomatic relationships with Italy or are Max Bertram a civilian of ?
OR((Q38,P530,c(Q1048835)), (Q1912250,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q1912250
relation P27
type Q1048835
{'OR': [['Q38', 'P530', {'concept': 'Q1048835'}], ['Q1912250', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q38 property:P530 ?a } UNION { resource:Q1912250 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Max Bertram Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Max Bertram
relation country of citizenship
type political territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Max Bertram', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Italy property:diplomatic_relation ?a } UNION { resource:Max_Bertram property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40 Q183 Q408 Q16 Q35 Q664
SYSTEM
Austria, Germany, Australia, Canada, Denmark, New Zealand
Q40 Q183 Q408 Q16 Q35 Q664
OR((Q38,P530,c(Q1048835)), (Q1912250,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q1912250
relation P27
type Q1048835
[ANSWERS] have diplomatic relationships with Italy or are Max Bertram a civilian of
{'OR': [['Q38', 'P530', {'concept': 'Q1048835'}], ['Q1912250', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q38 property:P530 ?a } UNION { resource:Q1912250 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Austria Germany Australia Canada Denmark New Zealand
Austria, Germany, Australia, Canada, Denmark and New Zealand have diplomatic relationships with Italy or are Max Bertram a civilian of
Austria Germany Australia Canada Denmark New Zealand
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Max Bertram
relation country of citizenship
type political territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Max Bertram', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Italy property:diplomatic_relation ?a } UNION { resource:Max_Bertram property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have diplomatic relations with those political territories ?
(Q38,P530,Q40) (Q38,P530,Q183) (Q38,P530,Q408) (Q38,P530,Q16) (Q38,P530,Q35) (Q38,P530,Q664)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q40'] ['Q38', 'P530', 'Q183'] ['Q38', 'P530', 'Q408'] ['Q38', 'P530', 'Q16'] ['Q38', 'P530', 'Q35'] ['Q38', 'P530', 'Q664']
ASK WHERE { VALUES ( ?d ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } . resource:Q38 property:P530 ?d }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Austria'] ['Italy', 'diplomatic relation', 'Germany'] ['Italy', 'diplomatic relation', 'Australia'] ['Italy', 'diplomatic relation', 'Canada'] ['Italy', 'diplomatic relation', 'Denmark'] ['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?d ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } . resource:Italy property:diplomatic_relation ?d }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q40) (Q38,P530,Q183) (Q38,P530,Q408) (Q38,P530,Q16) (Q38,P530,Q35) (Q38,P530,Q664)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q40'] ['Q38', 'P530', 'Q183'] ['Q38', 'P530', 'Q408'] ['Q38', 'P530', 'Q16'] ['Q38', 'P530', 'Q35'] ['Q38', 'P530', 'Q664']
ASK WHERE { VALUES ( ?d ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } . resource:Q38 property:P530 ?d }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Austria'] ['Italy', 'diplomatic relation', 'Germany'] ['Italy', 'diplomatic relation', 'Australia'] ['Italy', 'diplomatic relation', 'Canada'] ['Italy', 'diplomatic relation', 'Denmark'] ['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?d ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } . resource:Italy property:diplomatic_relation ?d }
[]