Simple Question (Direct)
Simple Question
Q14321627
P54
Q12973014
USER
What is Saša Čađo a member of ?
(Q14321627,P54,c(Q12973014))
action filter_type
action find
entity Q14321627
relation P54
type Q12973014
['Q14321627', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12973014 . resource:Q14321627 property:P54 ?z }
Saša Čađo
action filter_type
action find
entity Saša Čađo
relation member of sports team
type sports team
['Saša Čađo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sports_team . resource:Saša_Čađo property:member_of_sports_team ?z }
[]
sports team
Q16999476
SYSTEM
ŽKK Mladi Krajišnik
Q16999476
(Q14321627,P54,c(Q12973014))
action filter_type
action find
entity Q14321627
relation P54
type Q12973014
Saša Čađo a member of is [ANSWER]
['Q14321627', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12973014 . resource:Q14321627 property:P54 ?z }
ŽKK Mladi Krajišnik
Saša Čađo a member of is ŽKK Mladi Krajišnik
ŽKK Mladi Krajišnik
action filter_type
action find
entity Saša Čađo
relation member of sports team
type sports team
['Saša Čađo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sports_team . resource:Saša_Čađo property:member_of_sports_team ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14321627
P106
Q12737077
USER
What is the profession of Saša Čađo ?
(Q14321627,P106,c(Q12737077))
action filter_type
action find
entity Q14321627
relation P106
type Q12737077
['Q14321627', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q14321627 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Saša Čađo
action filter_type
action find
entity Saša Čađo
relation occupation
type occupation
['Saša Čađo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Saša_Čađo property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q14321627,P106,c(Q12737077))
action filter_type
action find
entity Q14321627
relation P106
type Q12737077
The profession of Saša Čađo is a [ANSWER]
['Q14321627', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q14321627 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
basketball player
The profession of Saša Čađo is a basketball player
basketball player
action filter_type
action find
entity Saša Čađo
relation occupation
type occupation
['Saša Čađo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Saša_Čađo property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16231714
Q12737077
USER
And what about Borkung Hrangkhawl?
(Q16231714,P106,c(Q12737077))
action filter_type
action find
entity Q16231714
relation P106
type Q12737077
['Q16231714', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q16231714 property:P106 ?m }
Borkung Hrangkhawl
action filter_type
action find
entity Borkung Hrangkhawl
relation occupation
type occupation
['Borkung Hrangkhawl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Borkung_Hrangkhawl property:occupation ?m }
[]
occupation
Q639669 Q753110
SYSTEM
musician, songwriter
Q639669 Q753110
(Q16231714,P106,c(Q12737077))
action filter_type
action find
entity Q16231714
relation P106
type Q12737077
[ANSWERS]
['Q16231714', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q16231714 property:P106 ?m }
musician songwriter
musician songwriter
action filter_type
action find
entity Borkung Hrangkhawl
relation occupation
type occupation
['Borkung Hrangkhawl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Borkung_Hrangkhawl property:occupation ?m }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21455931
P106
Q502895
USER
Do Alston Emerson F. Emery have a job as those occupations ?
(Q21455931,P106,Q639669) (Q21455931,P106,Q753110)
action is_in
entity prev_answer
action find
entity Q21455931
relation P106
['Q21455931', 'P106', 'Q639669'] ['Q21455931', 'P106', 'Q753110']
ASK WHERE { VALUES ( ?s ) { ( resource:Q639669 ) ( resource:Q753110 ) } . resource:Q21455931 property:P106 ?s }
Alston Emerson F. Emery
action is_in
entity prev_answer
action find
entity Alston Emerson F. Emery
relation occupation
['Alston Emerson F. Emery', 'occupation', 'musician'] ['Alston Emerson F. Emery', 'occupation', 'songwriter']
ASK WHERE { VALUES ( ?s ) { ( resource:musician ) ( resource:songwriter ) } . resource:Alston_Emerson_F._Emery property:occupation ?s }
[]
common name
SYSTEM
NO
(Q21455931,P106,Q639669) (Q21455931,P106,Q753110)
action is_in
entity prev_answer
action find
entity Q21455931
relation P106
[ANSWER]
['Q21455931', 'P106', 'Q639669'] ['Q21455931', 'P106', 'Q753110']
ASK WHERE { VALUES ( ?s ) { ( resource:Q639669 ) ( resource:Q753110 ) } . resource:Q21455931 property:P106 ?s }
No
action is_in
entity prev_answer
action find
entity Alston Emerson F. Emery
relation occupation
['Alston Emerson F. Emery', 'occupation', 'musician'] ['Alston Emerson F. Emery', 'occupation', 'songwriter']
ASK WHERE { VALUES ( ?s ) { ( resource:musician ) ( resource:songwriter ) } . resource:Alston_Emerson_F._Emery property:occupation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q639669
P180
Q340169
USER
Which medias depict musician ?
(c(Q340169),P180,Q639669)
action filter_type
action find_reverse
entity Q639669
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q639669']
SELECT DISTINCT ?z WHERE { ?z property:P180 resource:Q639669 . ?z rdf:type ontology:Q340169 }
musician
action filter_type
action find_reverse
entity musician
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'musician']
SELECT DISTINCT ?z WHERE { ?z property:depicts resource:musician . ?z rdf:type ontology:media }
[]
media
Q18341251 Q2956370
SYSTEM
Angel playing the lute, Chanteur florentin du XVe siècle
Q18341251 Q2956370
(c(Q340169),P180,Q639669)
action filter_type
action find_reverse
entity Q639669
relation P180
type Q340169
[ANSWERS] depict musician
[{'concept': 'Q340169'}, 'P180', 'Q639669']
SELECT DISTINCT ?z WHERE { ?z property:P180 resource:Q639669 . ?z rdf:type ontology:Q340169 }
Angel playing the lute Chanteur florentin du XVe siècle
Angel playing the lute and Chanteur florentin du XVe siècle depict musician
Angel playing the lute Chanteur florentin du XVe siècle
action filter_type
action find_reverse
entity musician
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'musician']
SELECT DISTINCT ?z WHERE { ?z property:depicts resource:musician . ?z rdf:type ontology:media }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18341251 Q2956370
P180
Q12737077
USER
Which occupations are depicted in Angel playing the lute and Chanteur florentin du XVe siècle ?
(Q18341251,P180,c(Q12737077)) (Q2956370,P180,c(Q12737077))
action union
action filter_type
action find
entity Q18341251
relation P180
type Q12737077
action filter_type
action find
entity Q2956370
relation P180
type Q12737077
['Q18341251', 'P180', {'concept': 'Q12737077'}] ['Q2956370', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { resource:Q18341251 property:P180 ?x . ?x rdf:type ontology:Q12737077 } UNION { resource:Q2956370 property:P180 ?x . ?x rdf:type ontology:Q12737077 } }
Angel playing the lute Chanteur florentin du XVe siècle
action union
action filter_type
action find
entity Angel playing the lute
relation depicts
type occupation
action filter_type
action find
entity Chanteur florentin du XVe siècle
relation depicts
type occupation
['Angel playing the lute', 'depicts', {'concept': 'occupation'}] ['Chanteur florentin du XVe siècle', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { resource:Angel_playing_the_lute property:depicts ?x . ?x rdf:type ontology:occupation } UNION { resource:Chanteur_florentin_du_XVe_siècle property:depicts ?x . ?x rdf:type ontology:occupation } }
[]
occupation
Q639669 Q177220 Q639669
SYSTEM
musician for 1st, 3rd, singer for 2nd
Q639669 Q177220 Q639669
(Q18341251,P180,c(Q12737077)) (Q2956370,P180,c(Q12737077))
action union
action filter_type
action find
entity Q18341251
relation P180
type Q12737077
action filter_type
action find
entity Q2956370
relation P180
type Q12737077
[ANSWERS]
['Q18341251', 'P180', {'concept': 'Q12737077'}] ['Q2956370', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { resource:Q18341251 property:P180 ?x . ?x rdf:type ontology:Q12737077 } UNION { resource:Q2956370 property:P180 ?x . ?x rdf:type ontology:Q12737077 } }
musician singer musician
The musician, singer and musician are depicted in Angel playing the lute and Chanteur florentin du XVe siècle
musician singer musician
action union
action filter_type
action find
entity Angel playing the lute
relation depicts
type occupation
action filter_type
action find
entity Chanteur florentin du XVe siècle
relation depicts
type occupation
['Angel playing the lute', 'depicts', {'concept': 'occupation'}] ['Chanteur florentin du XVe siècle', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { resource:Angel_playing_the_lute property:depicts ?x . ?x rdf:type ontology:occupation } UNION { resource:Chanteur_florentin_du_XVe_siècle property:depicts ?x . ?x rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18341251
P170
Q502895
USER
Who created that media ?
(Q18341251,P170,c(Q502895))
action filter_type
action find
entity Q18341251
relation P170
type Q502895
['Q18341251', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q18341251 property:P170 ?m . ?m rdf:type ontology:Q502895 }
Angel playing the lute
action filter_type
action find
entity Angel playing the lute
relation creator
type common name
['Angel playing the lute', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Angel_playing_the_lute property:creator ?m . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q18341251
SYSTEM
Did you mean Angel playing the lute ?
Q639669 Q177220 Q639669
(Q639669,P170,c(Q502895)) (Q177220,P170,c(Q502895)) (Q639669,P170,c(Q502895))
[ANSWER]
['Q639669', 'P170', {'concept': 'Q502895'}] ['Q177220', 'P170', {'concept': 'Q502895'}] ['Q639669', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q18341251 property:P170 ?m . ?m rdf:type ontology:Q502895 }
musician singer musician
Did you mean Angel playing the lute ?
Angel playing the lute
['musician', 'creator', {'concept': 'common name'}] ['singer', 'creator', {'concept': 'common name'}] ['musician', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Angel_playing_the_lute property:creator ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18341251,P170,c(Q502895))
['Q18341251', 'P170', {'concept': 'Q502895'}]
['Angel playing the lute', 'creator', {'concept': 'common name'}]
[]
Q5580
SYSTEM
Albrecht Dürer
Q5580
(Q18341251,P170,c(Q502895))
action filter_type
action find
entity Q18341251
relation P170
type Q502895
[ANSWER] created that media
['Q18341251', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q18341251 property:P170 ?m . ?m rdf:type ontology:Q502895 }
Albrecht Dürer
Albrecht Dürer created that media
Albrecht Dürer
action filter_type
action find
entity Angel playing the lute
relation creator
type common name
['Angel playing the lute', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Angel_playing_the_lute property:creator ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5580 Q18339689
P170
Q11060274
USER
Was Coat of arms of the House of Dürer created by that person ?
(Q18339689,P170,Q5580)
action is_in
entity Q5580
action find
entity Q18339689
relation P170
['Q18339689', 'P170', 'Q5580']
ASK WHERE { resource:Q18339689 property:P170 resource:Q5580 }
Albrecht Dürer Coat of arms of the House of Dürer
action is_in
entity Albrecht Dürer
action find
entity Coat of arms of the House of Dürer
relation creator
['Coat of arms of the House of Dürer', 'creator', 'Albrecht Dürer']
ASK WHERE { resource:Coat_of_arms_of_the_House_of_Dürer property:creator resource:Albrecht_Dürer }
[]
print
SYSTEM
YES
(Q18339689,P170,Q5580)
action is_in
entity Q5580
action find
entity Q18339689
relation P170
[ANSWER]
['Q18339689', 'P170', 'Q5580']
ASK WHERE { resource:Q18339689 property:P170 resource:Q5580 }
Yes
action is_in
entity Albrecht Dürer
action find
entity Coat of arms of the House of Dürer
relation creator
['Coat of arms of the House of Dürer', 'creator', 'Albrecht Dürer']
ASK WHERE { resource:Coat_of_arms_of_the_House_of_Dürer property:creator resource:Albrecht_Dürer }
[]