Simple Question (Direct)
Simple Question
Q1815361
P19
Q56061
USER
Which administrative territory was Junior Durkin born in ?
(Q1815361,P19,c(Q56061))
action filter_type
action find
entity Q1815361
relation P19
type Q56061
['Q1815361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1815361 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Junior Durkin
action filter_type
action find
entity Junior Durkin
relation place of birth
type administrative territorial entity
['Junior Durkin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Junior_Durkin property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1815361,P19,c(Q56061))
action filter_type
action find
entity Q1815361
relation P19
type Q56061
Junior Durkin was born in [ANSWER]
['Q1815361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1815361 property:P19 ?b . ?b rdf:type ontology:Q56061 }
New York City
Junior Durkin was born in New York City
New York City
action filter_type
action find
entity Junior Durkin
relation place of birth
type administrative territorial entity
['Junior Durkin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Junior_Durkin property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1815361
P161
Q838948
USER
Which works of art stars Junior Durkin as actor ?
(c(Q838948),P161,Q1815361)
action filter_type
action find_reverse
entity Q1815361
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1815361']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P161 resource:Q1815361 }
Junior Durkin
action filter_type
action find_reverse
entity Junior Durkin
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Junior Durkin']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:cast_member resource:Junior_Durkin }
[]
work of art
Q2405363 Q3278801 Q7302286
SYSTEM
Tom Sawyer, Huckleberry Finn, Recaptured Love
Q18152050 Q3278801 Q7302286 Q2405363
(c(Q838948),P161,Q1815361)
action filter_type
action find_reverse
entity Q1815361
relation P161
type Q838948
[ANSWERS] star Junior Durkin as actor
[{'concept': 'Q838948'}, 'P161', 'Q1815361']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P161 resource:Q1815361 }
Man Hunt Huckleberry Finn Recaptured Love Tom Sawyer
Tom Sawyer, Huckleberry Finn and Recaptured Love star Junior Durkin as actor
Tom Sawyer Huckleberry Finn Recaptured Love
action filter_type
action find_reverse
entity Junior Durkin
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Junior Durkin']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:cast_member resource:Junior_Durkin }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1815361
P106
Q12737077
USER
What are the job of Junior Durkin ?
(Q1815361,P106,c(Q12737077))
action filter_type
action find
entity Q1815361
relation P106
type Q12737077
['Q1815361', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1815361 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Junior Durkin
action filter_type
action find
entity Junior Durkin
relation occupation
type occupation
['Junior Durkin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Junior_Durkin property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q1815361,P106,c(Q12737077))
action filter_type
action find
entity Q1815361
relation P106
type Q12737077
The job of Junior Durkin are stage [ANSWERS]
['Q1815361', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1815361 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
actor stage actor
The job of Junior Durkin are stage actor and stage actor
actor stage actor
action filter_type
action find
entity Junior Durkin
relation occupation
type occupation
['Junior Durkin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Junior_Durkin property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33999 Q2259451
P425
Q1914636
USER
Who have actor and stage actor as the associated fields of occupation ?
(Q33999,P425,c(Q1914636)) (Q2259451,P425,c(Q1914636))
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q2259451
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q2259451', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Q2259451 ) ( resource:Q33999 ) } . ?w property:P425 ?o }
actor stage actor
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity stage actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['stage actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:stage_actor ) ( resource:actor ) } . ?w property:field_of_this_occupation ?o }
[]
activity
Q222749 Q184485
SYSTEM
acting, performing arts
Q222749 Q184485
(Q33999,P425,c(Q1914636)) (Q2259451,P425,c(Q1914636))
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q2259451
relation P425
type Q1914636
[ANSWERS] have actor and stage actor as the associated fields of occupation
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q2259451', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Q2259451 ) ( resource:Q33999 ) } . ?w property:P425 ?o }
acting performing arts
Acting and performing arts have actor and stage actor as the associated fields of occupation
acting performing arts
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity stage actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['stage actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:stage_actor ) ( resource:actor ) } . ?w property:field_of_this_occupation ?o }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q222749 Q184485
P101
Q502895
USER
Which people have field of work as acting and performing arts ?
(c(Q502895),P101,Q222749) (c(Q502895),P101,Q184485)
action union
action filter_type
action find_reverse
entity Q222749
relation P101
type Q502895
action filter_type
action find_reverse
entity Q184485
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q222749'] [{'concept': 'Q502895'}, 'P101', 'Q184485']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:Q222749 ) ( resource:Q184485 ) } . ?f property:P101 ?l }
acting performing arts
action union
action filter_type
action find_reverse
entity acting
relation field of work
type common name
action filter_type
action find_reverse
entity performing arts
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'acting'] [{'concept': 'common name'}, 'field of work', 'performing arts']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:acting ) ( resource:performing_arts ) } . ?f property:field_of_work ?l }
[]
common name
Q1744 Q4234593 Q264696
SYSTEM
Madonna, Viktor Korshunov, Sofie Gråbøl
Q1785313 Q264696 Q4994477 Q4984538 Q5343276 Q1744 Q4234593
(c(Q502895),P101,Q222749) (c(Q502895),P101,Q184485)
action union
action filter_type
action find_reverse
entity Q222749
relation P101
type Q502895
action filter_type
action find_reverse
entity Q184485
relation P101
type Q502895
[ANSWERS] have field of work as acting and performing arts
[{'concept': 'Q502895'}, 'P101', 'Q222749'] [{'concept': 'Q502895'}, 'P101', 'Q184485']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:Q222749 ) ( resource:Q184485 ) } . ?f property:P101 ?l }
Susse Wold Sofie Gråbøl Emanuel Gregers Marguerite Viby Edward Hall Madonna Viktor Korshunov
Madonna, Viktor Korshunov and Sofie Gråbøl have field of work as acting and performing arts
Madonna Viktor Korshunov Sofie Gråbøl
action union
action filter_type
action find_reverse
entity acting
relation field of work
type common name
action filter_type
action find_reverse
entity performing arts
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'acting'] [{'concept': 'common name'}, 'field of work', 'performing arts']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:acting ) ( resource:performing_arts ) } . ?f property:field_of_work ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q264696
P9
Q502895
USER
Which person had that one as sister ?
(c(Q502895),P9,Q264696)
action filter_type
action find_reverse
entity Q264696
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q264696']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q264696 . ?k rdf:type ontology:Q502895 }
Sofie Gråbøl
action filter_type
action find_reverse
entity Sofie Gråbøl
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Sofie Gråbøl']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Sofie_Gråbøl . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4234593
SYSTEM
Did you mean Viktor Korshunov ?
Q1744 Q4234593 Q264696
(c(Q502895),P9,Q1744) (c(Q502895),P9,Q4234593) (c(Q502895),P9,Q264696)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q1744'] [{'concept': 'Q502895'}, 'P9', 'Q4234593'] [{'concept': 'Q502895'}, 'P9', 'Q264696']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q264696 . ?k rdf:type ontology:Q502895 }
Madonna Viktor Korshunov Sofie Gråbøl
Did you mean Viktor Korshunov ?
Viktor Korshunov
[{'concept': 'common name'}, 'sister', 'Madonna'] [{'concept': 'common name'}, 'sister', 'Viktor Korshunov'] [{'concept': 'common name'}, 'sister', 'Sofie Gråbøl']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Sofie_Gråbøl . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sofie Gråbøl. Could you tell me the answer for that?
(c(Q502895),P9,Q264696)
Q264696
[{'concept': 'Q502895'}, 'P9', 'Q264696']
[{'concept': 'common name'}, 'sister', 'Sofie Gråbøl']
[]
Q3374449
SYSTEM
Niels Gråbøl
Q3374449
(c(Q502895),P9,Q264696)
action filter_type
action find_reverse
entity Q264696
relation P9
type Q502895
[ANSWER] had that one as sister
[{'concept': 'Q502895'}, 'P9', 'Q264696']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q264696 . ?k rdf:type ontology:Q502895 }
Niels Gråbøl
Niels Gråbøl had that one as sister
Niels Gråbøl
action filter_type
action find_reverse
entity Sofie Gråbøl
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Sofie Gråbøl']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Sofie_Gråbøl . ?k rdf:type ontology:common_name }
[]