Simple Question (Direct)
Simple Question
Q4681586
P19
Q15617994
USER
Where was Adel Sedra born ?
(Q4681586,P19,c(Q15617994))
action filter_type
action find
entity Q4681586
relation P19
type Q15617994
['Q4681586', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q4681586 property:P19 ?t . ?t rdf:type ontology:Q15617994 }
Adel Sedra
action filter_type
action find
entity Adel Sedra
relation place of birth
type designation for an administrative territorial entity
['Adel Sedra', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Adel_Sedra property:place_of_birth ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79
SYSTEM
Egypt
Q79
(Q4681586,P19,c(Q15617994))
action filter_type
action find
entity Q4681586
relation P19
type Q15617994
Adel Sedra was born in [ANSWER]
['Q4681586', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q4681586 property:P19 ?t . ?t rdf:type ontology:Q15617994 }
Egypt
Adel Sedra was born in Egypt
Egypt
action filter_type
action find
entity Adel Sedra
relation place of birth
type designation for an administrative territorial entity
['Adel Sedra', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Adel_Sedra property:place_of_birth ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79
P921
Q191067
USER
Which article has that administrative territory as its main topic ?
(c(Q191067),P921,Q79)
action filter_type
action find_reverse
entity Q79
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q79']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q79 . ?y rdf:type ontology:Q191067 }
Egypt
action filter_type
action find_reverse
entity Egypt
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Egypt']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Egypt . ?y rdf:type ontology:article }
[]
article
Q22022851
SYSTEM
CE / Egypt
Q22022851
(c(Q191067),P921,Q79)
action filter_type
action find_reverse
entity Q79
relation P921
type Q191067
[ANSWER] has that administrative territory as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q79']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q79 . ?y rdf:type ontology:Q191067 }
CE / Egypt
CE / Egypt has that administrative territory as its main topic
CE / Egypt
action filter_type
action find_reverse
entity Egypt
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Egypt']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Egypt . ?y rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79
P189
Q234460
USER
Which texts were discovered at Egypt ?
(c(Q234460),P189,Q79)
action filter_type
action find_reverse
entity Q79
relation P189
type Q234460
[{'concept': 'Q234460'}, 'P189', 'Q79']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q234460 . ?g property:P189 resource:Q79 }
Egypt
action filter_type
action find_reverse
entity Egypt
relation location of discovery
type text
[{'concept': 'text'}, 'location of discovery', 'Egypt']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:text . ?g property:location_of_discovery resource:Egypt }
[]
text
Q530835 Q670775 Q2003273
SYSTEM
Papyrus 10, Papyrus 8, Papyrus 2
Q2003273 Q1688452 Q530835 Q676349 Q670775
(c(Q234460),P189,Q79)
action filter_type
action find_reverse
entity Q79
relation P189
type Q234460
[ANSWERS] were discovered at Egypt
[{'concept': 'Q234460'}, 'P189', 'Q79']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q234460 . ?g property:P189 resource:Q79 }
Papyrus 2 Papyrus 11 Papyrus 10 Papyrus 34 Papyrus 8
Papyrus 10, Papyrus 8 and Papyrus 2 were discovered at Egypt
Papyrus 10 Papyrus 8 Papyrus 2
action filter_type
action find_reverse
entity Egypt
relation location of discovery
type text
[{'concept': 'text'}, 'location of discovery', 'Egypt']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:text . ?g property:location_of_discovery resource:Egypt }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q530835 Q670775 Q2003273
P189
Q15617994
USER
Where were those texts discovered ?
(Q530835,P189,c(Q15617994)) (Q670775,P189,c(Q15617994)) (Q2003273,P189,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P189
type Q15617994
['Q530835', 'P189', {'concept': 'Q15617994'}] ['Q670775', 'P189', {'concept': 'Q15617994'}] ['Q2003273', 'P189', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Q2003273 ) ( resource:Q1688452 ) ( resource:Q530835 ) } . ?i property:P189 ?s . ?s rdf:type ontology:Q15617994 }
Papyrus 10 Papyrus 8 Papyrus 2
action filter_type
action find
entity prev_answer
relation location of discovery
type designation for an administrative territorial entity
['Papyrus 10', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}] ['Papyrus 8', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}] ['Papyrus 2', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Papyrus_2 ) ( resource:Papyrus_11 ) ( resource:Papyrus_10 ) } . ?i property:location_of_discovery ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79 Q79 Q79
SYSTEM
Egypt
Q79 Q79 Q79
(Q530835,P189,c(Q15617994)) (Q670775,P189,c(Q15617994)) (Q2003273,P189,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P189
type Q15617994
Those texts were discovered in [ANSWER], [ANSWER] and [ANSWER]
['Q530835', 'P189', {'concept': 'Q15617994'}] ['Q670775', 'P189', {'concept': 'Q15617994'}] ['Q2003273', 'P189', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Q2003273 ) ( resource:Q1688452 ) ( resource:Q530835 ) } . ?i property:P189 ?s . ?s rdf:type ontology:Q15617994 }
Egypt Egypt Egypt
Those texts were discovered in Egypt, Egypt and Egypt
Egypt Egypt Egypt
action filter_type
action find
entity prev_answer
relation location of discovery
type designation for an administrative territorial entity
['Papyrus 10', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}] ['Papyrus 8', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}] ['Papyrus 2', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Papyrus_2 ) ( resource:Papyrus_11 ) ( resource:Papyrus_10 ) } . ?i property:location_of_discovery ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79
P1532
Q1194951
USER
Whose national sports team is that administrative territory ?
(c(Q1194951),P1532,Q79) (c(Q1194951),P1532,Q79) (c(Q1194951),P1532,Q79)
action filter_type
action find_reverse
entity Q79
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q79'] [{'concept': 'Q1194951'}, 'P1532', 'Q79'] [{'concept': 'Q1194951'}, 'P1532', 'Q79']
SELECT DISTINCT ?d WHERE { ?d property:P1532 resource:Q79 . ?d rdf:type ontology:Q1194951 }
Egypt
action filter_type
action find_reverse
entity Egypt
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Egypt'] [{'concept': 'national sports team'}, 'country for sport', 'Egypt'] [{'concept': 'national sports team'}, 'country for sport', 'Egypt']
SELECT DISTINCT ?d WHERE { ?d property:country_for_sport resource:Egypt . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q15729175
SYSTEM
Egypt military national football team
Q15729175
(c(Q1194951),P1532,Q79) (c(Q1194951),P1532,Q79) (c(Q1194951),P1532,Q79)
action filter_type
action find_reverse
entity Q79
relation P1532
type Q1194951
[ANSWER] is that administrative territory
[{'concept': 'Q1194951'}, 'P1532', 'Q79'] [{'concept': 'Q1194951'}, 'P1532', 'Q79'] [{'concept': 'Q1194951'}, 'P1532', 'Q79']
SELECT DISTINCT ?d WHERE { ?d property:P1532 resource:Q79 . ?d rdf:type ontology:Q1194951 }
Egypt military national football team
Egypt military national football team is that administrative territory
Egypt military national football team
action filter_type
action find_reverse
entity Egypt
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Egypt'] [{'concept': 'national sports team'}, 'country for sport', 'Egypt'] [{'concept': 'national sports team'}, 'country for sport', 'Egypt']
SELECT DISTINCT ?d WHERE { ?d property:country_for_sport resource:Egypt . ?d rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q89207 Q79
P530 P27
Q1048835
USER
Which political territories have diplomatic relations with Egypt or are the native countriesof Leo Gabriel ?
OR((Q79,P530,c(Q1048835)), (Q89207,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q79
relation P530
action find
entity Q89207
relation P27
type Q1048835
{'OR': [['Q79', 'P530', {'concept': 'Q1048835'}], ['Q89207', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q79 property:P530 ?c } UNION { resource:Q89207 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Leo Gabriel Egypt
action filter_type
action union
action find
entity Egypt
relation diplomatic relation
action find
entity Leo Gabriel
relation country of citizenship
type political territorial entity
{'OR': [['Egypt', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Leo Gabriel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Egypt property:diplomatic_relation ?c } UNION { resource:Leo_Gabriel property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16 Q183 Q40
SYSTEM
Australia, Canada, Germany, Austria
Q408 Q16 Q183 Q40
OR((Q79,P530,c(Q1048835)), (Q89207,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q79
relation P530
action find
entity Q89207
relation P27
type Q1048835
[ANSWERS] have diplomatic relations with Egypt or are the native countriesof Leo Gabriel
{'OR': [['Q79', 'P530', {'concept': 'Q1048835'}], ['Q89207', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q79 property:P530 ?c } UNION { resource:Q89207 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Australia Canada Germany Austria
Australia, Canada, Germany and Austria have diplomatic relations with Egypt or are the native countriesof Leo Gabriel
Australia Canada Germany Austria
action filter_type
action union
action find
entity Egypt
relation diplomatic relation
action find
entity Leo Gabriel
relation country of citizenship
type political territorial entity
{'OR': [['Egypt', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Leo Gabriel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Egypt property:diplomatic_relation ?c } UNION { resource:Leo_Gabriel property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20122
P530
Q15617994
USER
Do Lisio have tactful political relations with those political territories ?
(Q20122,P530,Q408) (Q20122,P530,Q16) (Q20122,P530,Q183) (Q20122,P530,Q40)
action is_in
entity prev_answer
action find
entity Q20122
relation P530
['Q20122', 'P530', 'Q408'] ['Q20122', 'P530', 'Q16'] ['Q20122', 'P530', 'Q183'] ['Q20122', 'P530', 'Q40']
ASK WHERE { VALUES ( ?w ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } . resource:Q20122 property:P530 ?w }
Lisio
action is_in
entity prev_answer
action find
entity Lisio
relation diplomatic relation
['Lisio', 'diplomatic relation', 'Australia'] ['Lisio', 'diplomatic relation', 'Canada'] ['Lisio', 'diplomatic relation', 'Germany'] ['Lisio', 'diplomatic relation', 'Austria']
ASK WHERE { VALUES ( ?w ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } . resource:Lisio property:diplomatic_relation ?w }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q20122,P530,Q408) (Q20122,P530,Q16) (Q20122,P530,Q183) (Q20122,P530,Q40)
action is_in
entity prev_answer
action find
entity Q20122
relation P530
[ANSWER]
['Q20122', 'P530', 'Q408'] ['Q20122', 'P530', 'Q16'] ['Q20122', 'P530', 'Q183'] ['Q20122', 'P530', 'Q40']
ASK WHERE { VALUES ( ?w ) { ( resource:Q408 ) ( resource:Q16 ) ( resource:Q183 ) } . resource:Q20122 property:P530 ?w }
No
action is_in
entity prev_answer
action find
entity Lisio
relation diplomatic relation
['Lisio', 'diplomatic relation', 'Australia'] ['Lisio', 'diplomatic relation', 'Canada'] ['Lisio', 'diplomatic relation', 'Germany'] ['Lisio', 'diplomatic relation', 'Austria']
ASK WHERE { VALUES ( ?w ) { ( resource:Australia ) ( resource:Canada ) ( resource:Germany ) } . resource:Lisio property:diplomatic_relation ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2003273 Q2044
P276
Q56061
USER
Is Florence the location of Papyrus 2 ?
(Q2003273,P276,Q2044)
action is_in
entity Q2044
action find
entity Q2003273
relation P276
['Q2003273', 'P276', 'Q2044']
ASK WHERE { resource:Q2003273 property:P276 resource:Q2044 }
Papyrus 2 Florence
action is_in
entity Florence
action find
entity Papyrus 2
relation location
['Papyrus 2', 'location', 'Florence']
ASK WHERE { resource:Papyrus_2 property:location resource:Florence }
[]
administrative territorial entity
SYSTEM
YES
(Q2003273,P276,Q2044)
action is_in
entity Q2044
action find
entity Q2003273
relation P276
[ANSWER]
['Q2003273', 'P276', 'Q2044']
ASK WHERE { resource:Q2003273 property:P276 resource:Q2044 }
Yes
action is_in
entity Florence
action find
entity Papyrus 2
relation location
['Papyrus 2', 'location', 'Florence']
ASK WHERE { resource:Papyrus_2 property:location resource:Florence }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q183 Q79
P27
Q502895
USER
Which people are a citizen of Egypt and Germany ?
AND((c(Q502895),P27,Q79), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q79
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q79'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q79 . ?g property:P27 resource:Q183 . ?g rdf:type ontology:Q502895 }
Germany Egypt
action filter_type
action intersection
action find_reverse
entity Egypt
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Egypt'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Egypt . ?g property:country_of_citizenship resource:Germany . ?g rdf:type ontology:common_name }
[]
common name
Q96316 Q2136109 Q76866 Q3978225 Q2361636 Q48559 Q326035
SYSTEM
Mido Hamada, Reda Seyam, Mohamed Zidan, Susan Hefuna, Ṣubḥī Labīb, Hamed Abdel-Samad, Hani Azer
Q96316 Q2136109 Q76866 Q3978225 Q2361636 Q48559 Q326035
AND((c(Q502895),P27,Q79), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q79
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWERS] are a citizen of Egypt and Germany
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q79'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q79 . ?g property:P27 resource:Q183 . ?g rdf:type ontology:Q502895 }
Mido Hamada Reda Seyam Mohamed Zidan Susan Hefuna Ṣubḥī Labīb Hamed Abdel-Samad Hani Azer
Mido Hamada, Reda Seyam, Mohamed Zidan, Susan Hefuna, Ṣubḥī Labīb, Hamed Abdel-Samad and Hani Azer are a citizen of Egypt and Germany
Mido Hamada Reda Seyam Mohamed Zidan Susan Hefuna Ṣubḥī Labīb Hamed Abdel-Samad Hani Azer
action filter_type
action intersection
action find_reverse
entity Egypt
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Egypt'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Egypt . ?g property:country_of_citizenship resource:Germany . ?g rdf:type ontology:common_name }
[]