Simple Question (Direct)
Simple Question
Q3749471
P1412
Q34770
USER
Which language can Francesca Zanni read ?
(Q3749471,P1412,c(Q34770))
action filter_type
action find
entity Q3749471
relation P1412
type Q34770
['Q3749471', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q3749471 property:P1412 ?r }
Francesca Zanni
action filter_type
action find
entity Francesca Zanni
relation languages spoken, written or signed
type language
['Francesca Zanni', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:Francesca_Zanni property:languages_spoken,_written_or_signed ?r }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3749471,P1412,c(Q34770))
action filter_type
action find
entity Q3749471
relation P1412
type Q34770
Francesca Zanni can read in [ANSWER]
['Q3749471', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q3749471 property:P1412 ?r }
Italian
Francesca Zanni can read in Italian
Italian
action filter_type
action find
entity Francesca Zanni
relation languages spoken, written or signed
type language
['Francesca Zanni', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:Francesca_Zanni property:languages_spoken,_written_or_signed ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3749471
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q652,P27,c(Q15617994))
action filter_type
action find
entity Q3749471
relation P27
type Q15617994
['Q652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3749471 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Francesca Zanni
action filter_type
action find
entity Francesca Zanni
relation country of citizenship
type designation for an administrative territorial entity
['Italian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Francesca_Zanni property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q652,P27,c(Q15617994))
action filter_type
action find
entity Q3749471
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3749471 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Italy
That person belongs to the Italy
Italy
action filter_type
action find
entity Francesca Zanni
relation country of citizenship
type designation for an administrative territorial entity
['Italian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Francesca_Zanni property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3749471
P106
Q151885
USER
Which concept has that person as his/her 's career ?
(Q38,P106,c(Q151885))
action filter_type
action find
entity Q3749471
relation P106
type Q151885
['Q38', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q3749471 property:P106 ?y . ?y rdf:type ontology:Q151885 }
Francesca Zanni
action filter_type
action find
entity Francesca Zanni
relation occupation
type concept
['Italy', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Francesca_Zanni property:occupation ?y . ?y rdf:type ontology:concept }
[]
concept
Q214917
SYSTEM
playwright
Q214917
(Q38,P106,c(Q151885))
action filter_type
action find
entity Q3749471
relation P106
type Q151885
The [ANSWER] has that person as his/her 's career
['Q38', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q3749471 property:P106 ?y . ?y rdf:type ontology:Q151885 }
playwright
The playwright has that person as his/her 's career
playwright
action filter_type
action find
entity Francesca Zanni
relation occupation
type concept
['Italy', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Francesca_Zanni property:occupation ?y . ?y rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q214917 Q17213518
P106
Q502895
USER
Does Tsukuru Midorikawa have the profession as that concept ?
(Q17213518,P106,Q214917)
action is_in
entity Q17213518
action find
entity Q214917
relation P106
['Q17213518', 'P106', 'Q214917']
ASK WHERE { resource:Q214917 property:P106 resource:Q17213518 }
playwright Tsukuru Midorikawa
action is_in
entity Tsukuru Midorikawa
action find
entity playwright
relation occupation
['Tsukuru Midorikawa', 'occupation', 'playwright']
ASK WHERE { resource:playwright property:occupation resource:Tsukuru_Midorikawa }
[]
common name
SYSTEM
NO
(Q17213518,P106,Q214917)
action is_in
entity Q17213518
action find
entity Q214917
relation P106
[ANSWER]
['Q17213518', 'P106', 'Q214917']
ASK WHERE { resource:Q214917 property:P106 resource:Q17213518 }
No
action is_in
entity Tsukuru Midorikawa
action find
entity playwright
relation occupation
['Tsukuru Midorikawa', 'occupation', 'playwright']
ASK WHERE { resource:playwright property:occupation resource:Tsukuru_Midorikawa }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214917
P101
Q502895
USER
Which people have field of work as that concept ?
action filter_type
action find_reverse
entity Q214917
relation P101
type Q502895
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q214917 . ?u rdf:type ontology:Q502895 }
playwright
action filter_type
action find_reverse
entity playwright
relation field of work
type common name
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:playwright . ?u rdf:type ontology:common_name }
[]
common name
Q134942 Q1509409
SYSTEM
William Somerset Maugham, Georgios Chortatzis
Q134942 Q1509409
action filter_type
action find_reverse
entity Q214917
relation P101
type Q502895
[ANSWERS] have field of work as that concept
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q214917 . ?u rdf:type ontology:Q502895 }
William Somerset Maugham Georgios Chortatzis
William Somerset Maugham and Georgios Chortatzis have field of work as that concept
William Somerset Maugham Georgios Chortatzis
action filter_type
action find_reverse
entity playwright
relation field of work
type common name
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:playwright . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q88859 Q1509409
P106 P101
Q151885
USER
Which concepts do Georgios Chortatzis belong to or have Bodo Hell as his/her as a career ?
OR((Q1509409,P101,c(Q151885)), (Q88859,P106,c(Q151885)))
action filter_type
action union
action find
entity Q1509409
relation P101
action find
entity Q88859
relation P106
type Q151885
{'OR': [['Q1509409', 'P101', {'concept': 'Q151885'}], ['Q88859', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q151885 . { { resource:Q1509409 property:P101 ?t } UNION { resource:Q88859 property:P106 ?t } } }
Bodo Hell Georgios Chortatzis
action filter_type
action union
action find
entity Georgios Chortatzis
relation field of work
action find
entity Bodo Hell
relation occupation
type concept
{'OR': [['Georgios Chortatzis', 'field of work', {'concept': 'concept'}], ['Bodo Hell', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:concept . { { resource:Georgios_Chortatzis property:field_of_work ?t } UNION { resource:Bodo_Hell property:occupation ?t } } }
[]
concept
Q482980 Q214917
SYSTEM
author, playwright
Q482980 Q214917
OR((Q1509409,P101,c(Q151885)), (Q88859,P106,c(Q151885)))
action filter_type
action union
action find
entity Q1509409
relation P101
action find
entity Q88859
relation P106
type Q151885
Bodo Georgios Chortatzis belong to [ANSWERS]
{'OR': [['Q1509409', 'P101', {'concept': 'Q151885'}], ['Q88859', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q151885 . { { resource:Q1509409 property:P101 ?t } UNION { resource:Q88859 property:P106 ?t } } }
author playwright
Bodo Georgios Chortatzis belong to author and playwright
author playwright
action filter_type
action union
action find
entity Georgios Chortatzis
relation field of work
action find
entity Bodo Hell
relation occupation
type concept
{'OR': [['Georgios Chortatzis', 'field of work', {'concept': 'concept'}], ['Bodo Hell', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:concept . { { resource:Georgios_Chortatzis property:field_of_work ?t } UNION { resource:Bodo_Hell property:occupation ?t } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3620191
P106
Q502895
USER
Do Antonio Scaglia have the profession of those concepts ?
(Q3620191,P106,Q482980) (Q3620191,P106,Q214917)
action is_in
entity prev_answer
action find
entity Q3620191
relation P106
['Q3620191', 'P106', 'Q482980'] ['Q3620191', 'P106', 'Q214917']
ASK WHERE { resource:Q3620191 property:P106 ?u . VALUES ( ?u ) { ( resource:Q482980 ) ( resource:Q214917 ) } }
Antonio Scaglia
action is_in
entity prev_answer
action find
entity Antonio Scaglia
relation occupation
['Antonio Scaglia', 'occupation', 'author'] ['Antonio Scaglia', 'occupation', 'playwright']
ASK WHERE { resource:Antonio_Scaglia property:occupation ?u . VALUES ( ?u ) { ( resource:author ) ( resource:playwright ) } }
[]
common name
SYSTEM
NO
(Q3620191,P106,Q482980) (Q3620191,P106,Q214917)
action is_in
entity prev_answer
action find
entity Q3620191
relation P106
[ANSWER]
['Q3620191', 'P106', 'Q482980'] ['Q3620191', 'P106', 'Q214917']
ASK WHERE { resource:Q3620191 property:P106 ?u . VALUES ( ?u ) { ( resource:Q482980 ) ( resource:Q214917 ) } }
No
action is_in
entity prev_answer
action find
entity Antonio Scaglia
relation occupation
['Antonio Scaglia', 'occupation', 'author'] ['Antonio Scaglia', 'occupation', 'playwright']
ASK WHERE { resource:Antonio_Scaglia property:occupation ?u . VALUES ( ?u ) { ( resource:author ) ( resource:playwright ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3749471 Q7969681 Q6410407
P19
Q56061
USER
Was Francesca Zanni born at Warneet and Kinassery, Palakkad ?
(Q3749471,P19,Q7969681) (Q3749471,P19,Q6410407)
action is_in
entity Q3749471
action intersection
action find_reverse
entity Q7969681
relation P19
action find_reverse
entity Q6410407
relation P19
['Q3749471', 'P19', 'Q7969681'] ['Q3749471', 'P19', 'Q6410407']
ASK WHERE { resource:Q3749471 property:P19 resource:Q7969681 . resource:Q3749471 property:P19 resource:Q6410407 }
Francesca Zanni Warneet Kinassery, Palakkad
action is_in
entity Francesca Zanni
action intersection
action find_reverse
entity Warneet
relation place of birth
action find_reverse
entity Kinassery, Palakkad
relation place of birth
['Francesca Zanni', 'place of birth', 'Warneet'] ['Francesca Zanni', 'place of birth', 'Kinassery, Palakkad']
ASK WHERE { resource:Francesca_Zanni property:place_of_birth resource:Warneet . resource:Francesca_Zanni property:place_of_birth resource:Kinassery,_Palakkad }
[]
administrative territorial entity
SYSTEM
NO
(Q3749471,P19,Q7969681) (Q3749471,P19,Q6410407)
action is_in
entity Q3749471
action intersection
action find_reverse
entity Q7969681
relation P19
action find_reverse
entity Q6410407
relation P19
[ANSWER]
['Q3749471', 'P19', 'Q7969681'] ['Q3749471', 'P19', 'Q6410407']
ASK WHERE { resource:Q3749471 property:P19 resource:Q7969681 . resource:Q3749471 property:P19 resource:Q6410407 }
No
action is_in
entity Francesca Zanni
action intersection
action find_reverse
entity Warneet
relation place of birth
action find_reverse
entity Kinassery, Palakkad
relation place of birth
['Francesca Zanni', 'place of birth', 'Warneet'] ['Francesca Zanni', 'place of birth', 'Kinassery, Palakkad']
ASK WHERE { resource:Francesca_Zanni property:place_of_birth resource:Warneet . resource:Francesca_Zanni property:place_of_birth resource:Kinassery,_Palakkad }
[]