Simple Question (Direct)
Simple Question
Q20641568
P19
Q56061
USER
Which administrative territory was Amir Tizrou born at ?
(Q20641568,P19,c(Q56061))
action filter_type
action find
entity Q20641568
relation P19
type Q56061
['Q20641568', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q20641568 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Amir Tizrou
action filter_type
action find
entity Amir Tizrou
relation place of birth
type administrative territorial entity
['Amir Tizrou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Amir_Tizrou property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q765771
SYSTEM
Sowme'eh Sara
Q765771
(Q20641568,P19,c(Q56061))
action filter_type
action find
entity Q20641568
relation P19
type Q56061
Amir Tizrou was born in [ANSWER]
['Q20641568', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q20641568 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Sowme'eh Sara
Amir Tizrou was born in Sowme'eh Sara
Sowme'eh Sara
action filter_type
action find
entity Amir Tizrou
relation place of birth
type administrative territorial entity
['Amir Tizrou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Amir_Tizrou property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20641568
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q765771,P106,c(Q12737077))
action filter_type
action find
entity Q20641568
relation P106
type Q12737077
['Q765771', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q20641568 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Amir Tizrou
action filter_type
action find
entity Amir Tizrou
relation occupation
type occupation
["Sowme'eh Sara", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Amir_Tizrou property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q765771,P106,c(Q12737077))
action filter_type
action find
entity Q20641568
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q765771', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q20641568 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Amir Tizrou
relation occupation
type occupation
["Sowme'eh Sara", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Amir_Tizrou property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20641568
P27
Q15617994
USER
Which administrative territory is Amir Tizrou a civilian of ?
(Q20641568,P27,c(Q15617994))
action filter_type
action find
entity Q20641568
relation P27
type Q15617994
['Q20641568', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q20641568 property:P27 ?x }
Amir Tizrou
action filter_type
action find
entity Amir Tizrou
relation country of citizenship
type designation for an administrative territorial entity
['Amir Tizrou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Amir_Tizrou property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q20641568,P27,c(Q15617994))
action filter_type
action find
entity Q20641568
relation P27
type Q15617994
[ANSWER] is Amir Tizrou a civilian of
['Q20641568', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q20641568 property:P27 ?x }
Iran
Iran is Amir Tizrou a civilian of
Iran
action filter_type
action find
entity Amir Tizrou
relation country of citizenship
type designation for an administrative territorial entity
['Amir Tizrou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Amir_Tizrou property:country_of_citizenship ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q794 Q38
P530
Q15617994
USER
Does Italy have diplomatic relationships with that one ?
(Q794,P530,Q38)
action is_in
entity Q38
action find
entity Q794
relation P530
['Q794', 'P530', 'Q38']
ASK WHERE { resource:Q794 property:P530 resource:Q38 }
Iran Italy
action is_in
entity Italy
action find
entity Iran
relation diplomatic relation
['Iran', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Iran property:diplomatic_relation resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q794,P530,Q38)
action is_in
entity Q38
action find
entity Q794
relation P530
[ANSWER]
['Q794', 'P530', 'Q38']
ASK WHERE { resource:Q794 property:P530 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Iran
relation diplomatic relation
['Iran', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Iran property:diplomatic_relation resource:Italy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P941
Q3895768
USER
What was inspired by Iran ?
(c(Q3895768),P941,Q794)
action filter_type
action find_reverse
entity Q794
relation P941
type Q3895768
[{'concept': 'Q3895768'}, 'P941', 'Q794']
SELECT DISTINCT ?v WHERE { ?v property:P941 resource:Q794 . ?v rdf:type ontology:Q3895768 }
Iran
action filter_type
action find_reverse
entity Iran
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', 'Iran']
SELECT DISTINCT ?v WHERE { ?v property:inspired_by resource:Iran . ?v rdf:type ontology:fictional_location }
[]
fictional location
Q20826262
SYSTEM
Iranistan
Q20826262
(c(Q3895768),P941,Q794)
action filter_type
action find_reverse
entity Q794
relation P941
type Q3895768
[ANSWER] was inspired by Iran
[{'concept': 'Q3895768'}, 'P941', 'Q794']
SELECT DISTINCT ?v WHERE { ?v property:P941 resource:Q794 . ?v rdf:type ontology:Q3895768 }
Iranistan
Iranistan was inspired by Iran
Iranistan
action filter_type
action find_reverse
entity Iran
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', 'Iran']
SELECT DISTINCT ?v WHERE { ?v property:inspired_by resource:Iran . ?v rdf:type ontology:fictional_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P163
Q14660
USER
What is associated with Iran ?
(Q794,P163,c(Q14660))
action filter_type
action find
entity Q794
relation P163
type Q14660
['Q794', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q794 property:P163 ?i . ?i rdf:type ontology:Q14660 }
Iran
action filter_type
action find
entity Iran
relation flag
type flag
['Iran', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:Iran property:flag ?i . ?i rdf:type ontology:flag }
[]
flag
Q126622
SYSTEM
Flag of Iran
Q126622
(Q794,P163,c(Q14660))
action filter_type
action find
entity Q794
relation P163
type Q14660
Iran [ANSWER] is associated with Iran
['Q794', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q794 property:P163 ?i . ?i rdf:type ontology:Q14660 }
Flag of Iran
Iran Flag of Iran is associated with Iran
Flag of Iran
action filter_type
action find
entity Iran
relation flag
type flag
['Iran', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:Iran property:flag ?i . ?i rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q115
Q14660
USER
And also tell me about Ethiopia?
(Q115,P163,c(Q14660))
action filter_type
action find
entity Q115
relation P163
type Q14660
['Q115', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q14660 . resource:Q115 property:P163 ?a }
Ethiopia
action filter_type
action find
entity Ethiopia
relation flag
type flag
['Ethiopia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:flag . resource:Ethiopia property:flag ?a }
[]
flag
Q162068
SYSTEM
Flag of Ethiopia
Q162068
(Q115,P163,c(Q14660))
action filter_type
action find
entity Q115
relation P163
type Q14660
[ANSWER]
['Q115', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q14660 . resource:Q115 property:P163 ?a }
Flag of Ethiopia
Flag of Ethiopia
action filter_type
action find
entity Ethiopia
relation flag
type flag
['Ethiopia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:flag . resource:Ethiopia property:flag ?a }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3190248 Q38
P57 P35
Q502895
USER
Which people are the chiefs of state of Italy or directed Blanche Fury ?
OR((Q38,P35,c(Q502895)), (Q3190248,P57,c(Q502895)))
action filter_type
action union
action find
entity Q38
relation P35
action find
entity Q3190248
relation P57
type Q502895
{'OR': [['Q38', 'P35', {'concept': 'Q502895'}], ['Q3190248', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3190248 property:P57 ?d } UNION { resource:Q38 property:P35 ?d } } . ?d rdf:type ontology:Q502895 }
Blanche Fury Italy
action filter_type
action union
action find
entity Italy
relation head of state
action find
entity Blanche Fury
relation director
type common name
{'OR': [['Italy', 'head of state', {'concept': 'common name'}], ['Blanche Fury', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Blanche_Fury property:director ?d } UNION { resource:Italy property:head_of_state ?d } } . ?d rdf:type ontology:common_name }
[]
common name
Q284911 Q1233 Q1220 Q1242 Q3956186 Q1240 Q1228 Q1230 Q1238 Q1241
SYSTEM
Some of them are Marc Allégret, Sandro Pertini, Giorgio Napolitano, Luigi Einaudi, Sergio Mattarella, Antonio Segni, Oscar Luigi Scalfaro, Francesco Cossiga, Giuseppe Saragat, Giovanni Gronchi
Q1233 Q153832 Q1245 Q3956186 Q1241 Q1240 Q284911 Q1238 Q1242 Q1228 Q1230 Q1224 Q1235 Q1220
OR((Q38,P35,c(Q502895)), (Q3190248,P57,c(Q502895)))
action filter_type
action union
action find
entity Q38
relation P35
action find
entity Q3190248
relation P57
type Q502895
[ANSWERS] are the chiefs of state of Italy or directed Blanche Fury
{'OR': [['Q38', 'P35', {'concept': 'Q502895'}], ['Q3190248', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3190248 property:P57 ?d } UNION { resource:Q38 property:P35 ?d } } . ?d rdf:type ontology:Q502895 }
Sandro Pertini Alcide De Gasperi Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Marc Allégret Giuseppe Saragat Luigi Einaudi Oscar Luigi Scalfaro Francesco Cossiga Carlo Azeglio Ciampi Giovanni Leone Giorgio Napolitano
Marc Allégret, Sandro Pertini, Giorgio Napolitano, Luigi Einaudi, Sergio Mattarella, Antonio Segni, Oscar Luigi Scalfaro, Francesco Cossiga, Giuseppe Saragat and Giovanni Gronchi are the chiefs of state of Italy or directed Blanche Fury
Marc Allégret Sandro Pertini Giorgio Napolitano Luigi Einaudi Sergio Mattarella Antonio Segni Oscar Luigi Scalfaro Francesco Cossiga Giuseppe Saragat Giovanni Gronchi
action filter_type
action union
action find
entity Italy
relation head of state
action find
entity Blanche Fury
relation director
type common name
{'OR': [['Italy', 'head of state', {'concept': 'common name'}], ['Blanche Fury', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Blanche_Fury property:director ?d } UNION { resource:Italy property:head_of_state ?d } } . ?d rdf:type ontology:common_name }
[]