Simple Question (Direct)
Simple Question
Q316462
P26
Q502895
USER
Which person is the spouse of Marko Mrnjavčević ?
(Q316462,P26,c(Q502895))
action filter_type
action find
entity Q316462
relation P26
type Q502895
['Q316462', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q316462 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Marko Mrnjavčević
action filter_type
action find
entity Marko Mrnjavčević
relation spouse
type common name
['Marko Mrnjavčević', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Marko_Mrnjavčević property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q13622562
SYSTEM
Jelena
Q13622562
(Q316462,P26,c(Q502895))
action filter_type
action find
entity Q316462
relation P26
type Q502895
[ANSWER] is the spouse of Marko Mrnjavčević
['Q316462', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q316462 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Jelena
Jelena is the spouse of Marko Mrnjavčević
Jelena
action filter_type
action find
entity Marko Mrnjavčević
relation spouse
type common name
['Marko Mrnjavčević', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Marko_Mrnjavčević property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13622562
P40
Q502895
USER
Who has that one as an offspring ?
(c(Q502895),P40,Q13622562)
action filter_type
action find_reverse
entity Q13622562
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q13622562']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q13622562 . ?m rdf:type ontology:Q502895 }
Jelena
action filter_type
action find_reverse
entity Jelena
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jelena']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Jelena . ?m rdf:type ontology:common_name }
[]
common name
Q3655392
SYSTEM
Radoslav Hlapen
Q3655392
(c(Q502895),P40,Q13622562)
action filter_type
action find_reverse
entity Q13622562
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q13622562']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q13622562 . ?m rdf:type ontology:Q502895 }
Radoslav Hlapen
Radoslav Hlapen has that one as an offspring
Radoslav Hlapen
action filter_type
action find_reverse
entity Jelena
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jelena']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Jelena . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3655392
P21
Q290
USER
What is the sex of that person ?
(Q3655392,P21,c(Q290))
action filter_type
action find
entity Q3655392
relation P21
type Q290
['Q3655392', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3655392 property:P21 ?g . ?g rdf:type ontology:Q290 }
Radoslav Hlapen
action filter_type
action find
entity Radoslav Hlapen
relation gender
type sex
['Radoslav Hlapen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Radoslav_Hlapen property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3655392,P21,c(Q290))
action filter_type
action find
entity Q3655392
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q3655392', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3655392 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Radoslav Hlapen
relation gender
type sex
['Radoslav Hlapen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Radoslav_Hlapen property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3655392
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3655392
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q3655392 property:P27 ?y }
Radoslav Hlapen
action filter_type
action find
entity Radoslav Hlapen
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Radoslav_Hlapen property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3655392
relation P27
type Q15617994
That person belongs to [ANSWER]
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q3655392 property:P27 ?y }
Serbia
That person belongs to Serbia
Serbia
action filter_type
action find
entity Radoslav Hlapen
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Radoslav_Hlapen property:country_of_citizenship ?y }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2727534 Q3655392
P27 P17
Q15617994
USER
Which administrative territories do Radoslav Hlapen belong to and are Trgovište situated in ?
AND((Q3655392,P27,c(Q15617994)), (Q2727534,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3655392
relation P27
action find
entity Q2727534
relation P17
type Q15617994
{'AND': [['Q3655392', 'P27', {'concept': 'Q15617994'}], ['Q2727534', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q3655392 property:P27 ?b . resource:Q2727534 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Trgovište Radoslav Hlapen
action filter_type
action intersection
action find
entity Radoslav Hlapen
relation country of citizenship
action find
entity Trgovište
relation country
type designation for an administrative territorial entity
{'AND': [['Radoslav Hlapen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Trgovište', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Radoslav_Hlapen property:country_of_citizenship ?b . resource:Trgovište property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
AND((Q3655392,P27,c(Q15617994)), (Q2727534,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3655392
relation P27
action find
entity Q2727534
relation P17
type Q15617994
[ANSWER] do Radoslav Hlapen belong to and are Trgovište situated in
{'AND': [['Q3655392', 'P27', {'concept': 'Q15617994'}], ['Q2727534', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q3655392 property:P27 ?b . resource:Q2727534 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Serbia
Serbia do Radoslav Hlapen belong to and are Trgovište situated in
Serbia
action filter_type
action intersection
action find
entity Radoslav Hlapen
relation country of citizenship
action find
entity Trgovište
relation country
type designation for an administrative territorial entity
{'AND': [['Radoslav Hlapen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Trgovište', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Radoslav_Hlapen property:country_of_citizenship ?b . resource:Trgovište property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q403 Q191759
P530
Q15617994
USER
Does Ventimiglia have a diplomatic relationship with that one ?
(Q403,P530,Q191759)
action is_in
entity Q191759
action find
entity Q403
relation P530
['Q403', 'P530', 'Q191759']
ASK WHERE { resource:Q403 property:P530 resource:Q191759 }
Serbia Ventimiglia
action is_in
entity Ventimiglia
action find
entity Serbia
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Ventimiglia']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Ventimiglia }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q403,P530,Q191759)
action is_in
entity Q191759
action find
entity Q403
relation P530
[ANSWER]
['Q403', 'P530', 'Q191759']
ASK WHERE { resource:Q403 property:P530 resource:Q191759 }
No
action is_in
entity Ventimiglia
action find
entity Serbia
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Ventimiglia']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Ventimiglia }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3655392 Q13622562
P40
Q502895
USER
Is Jelena a successor of that one ?
(Q3655392,P40,Q13622562)
action is_in
entity Q13622562
action find
entity Q3655392
relation P40
['Q3655392', 'P40', 'Q13622562']
ASK WHERE { resource:Q3655392 property:P40 resource:Q13622562 }
Radoslav Hlapen Jelena
action is_in
entity Jelena
action find
entity Radoslav Hlapen
relation child
['Radoslav Hlapen', 'child', 'Jelena']
ASK WHERE { resource:Radoslav_Hlapen property:child resource:Jelena }
[]
common name
SYSTEM
YES
(Q3655392,P40,Q13622562)
action is_in
entity Q13622562
action find
entity Q3655392
relation P40
[ANSWER]
['Q3655392', 'P40', 'Q13622562']
ASK WHERE { resource:Q3655392 property:P40 resource:Q13622562 }
Yes
action is_in
entity Jelena
action find
entity Radoslav Hlapen
relation child
['Radoslav Hlapen', 'child', 'Jelena']
ASK WHERE { resource:Radoslav_Hlapen property:child resource:Jelena }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q3655392
P21 P22
Q502895
USER
Which people have Radoslav Hlapen as a father and are a female ?
AND((c(Q502895),P22,Q3655392), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q3655392
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q3655392'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?l WHERE { ?l property:P22 resource:Q3655392 . ?l property:P21 resource:Q6581072 . ?l rdf:type ontology:Q502895 }
female Radoslav Hlapen
action filter_type
action intersection
action find_reverse
entity Radoslav Hlapen
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Radoslav Hlapen'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?l WHERE { ?l property:father resource:Radoslav_Hlapen . ?l property:gender resource:female . ?l rdf:type ontology:common_name }
[]
common name
Q13622562
SYSTEM
Jelena
Q13622562
AND((c(Q502895),P22,Q3655392), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q3655392
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have Radoslav Hlapen as a father and are a female
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q3655392'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?l WHERE { ?l property:P22 resource:Q3655392 . ?l property:P21 resource:Q6581072 . ?l rdf:type ontology:Q502895 }
Jelena
Jelena have Radoslav Hlapen as a father and are a female
Jelena
action filter_type
action intersection
action find_reverse
entity Radoslav Hlapen
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Radoslav Hlapen'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?l WHERE { ?l property:father resource:Radoslav_Hlapen . ?l property:gender resource:female . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13622562 Q7609821
P26
Q502895
USER
Does Stephen Lovely have that one as spouse ?
(Q7609821,P26,Q13622562)
action is_in
entity Q7609821
action find
entity Q13622562
relation P26
['Q7609821', 'P26', 'Q13622562']
ASK WHERE { resource:Q13622562 property:P26 resource:Q7609821 }
Jelena Stephen Lovely
action is_in
entity Stephen Lovely
action find
entity Jelena
relation spouse
['Stephen Lovely', 'spouse', 'Jelena']
ASK WHERE { resource:Jelena property:spouse resource:Stephen_Lovely }
[]
common name
SYSTEM
NO
(Q7609821,P26,Q13622562)
action is_in
entity Q7609821
action find
entity Q13622562
relation P26
[ANSWER]
['Q7609821', 'P26', 'Q13622562']
ASK WHERE { resource:Q13622562 property:P26 resource:Q7609821 }
No
action is_in
entity Stephen Lovely
action find
entity Jelena
relation spouse
['Stephen Lovely', 'spouse', 'Jelena']
ASK WHERE { resource:Jelena property:spouse resource:Stephen_Lovely }
[]