Simple Question (Direct)
Simple Question
Q4984043
P166
Q618779
USER
Which awards were received by Mirja Unge ?
(Q4984043,P166,c(Q618779))
action filter_type
action find
entity Q4984043
relation P166
type Q618779
['Q4984043', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q4984043 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Mirja Unge
action filter_type
action find
entity Mirja Unge
relation award received
type award
['Mirja Unge', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Mirja_Unge property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q1233326 Q2684629
SYSTEM
Dobloug Prize, Aftonbladet Literary Award
Q1233326 Q2684629
(Q4984043,P166,c(Q618779))
action filter_type
action find
entity Q4984043
relation P166
type Q618779
[ANSWERS] were received by Mirja Unge
['Q4984043', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q4984043 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Dobloug Prize Aftonbladet Literary Award
Dobloug Prize and Aftonbladet Literary Award were received by Mirja Unge
Dobloug Prize Aftonbladet Literary Award
action filter_type
action find
entity Mirja Unge
relation award received
type award
['Mirja Unge', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Mirja_Unge property:award_received ?j . ?j rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2684629
P793
Q11060274
USER
Which print is that award a key event of ?
(c(Q11060274),P793,Q2684629)
action filter_type
action find_reverse
entity Q2684629
relation P793
type Q11060274
[{'concept': 'Q11060274'}, 'P793', 'Q2684629']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q11060274 . ?w property:P793 resource:Q2684629 }
Aftonbladet Literary Award
action filter_type
action find_reverse
entity Aftonbladet Literary Award
relation significant event
type print
[{'concept': 'print'}, 'significant event', 'Aftonbladet Literary Award']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:print . ?w property:significant_event resource:Aftonbladet_Literary_Award }
[]
print
Clarification for simple ques.
Q2684629
SYSTEM
Did you mean Aftonbladet Literary Award ?
Q1233326 Q2684629
(c(Q11060274),P793,Q1233326) (c(Q11060274),P793,Q2684629)
[ANSWER]
[{'concept': 'Q11060274'}, 'P793', 'Q1233326'] [{'concept': 'Q11060274'}, 'P793', 'Q2684629']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q11060274 . ?w property:P793 resource:Q2684629 }
Dobloug Prize Aftonbladet Literary Award
Did you mean Aftonbladet Literary Award ?
Aftonbladet Literary Award
[{'concept': 'print'}, 'significant event', 'Dobloug Prize'] [{'concept': 'print'}, 'significant event', 'Aftonbladet Literary Award']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:print . ?w property:significant_event resource:Aftonbladet_Literary_Award }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q11060274),P793,Q2684629)
[{'concept': 'Q11060274'}, 'P793', 'Q2684629']
[{'concept': 'print'}, 'significant event', 'Aftonbladet Literary Award']
[]
Q389458
SYSTEM
Aftonbladet
Q389458
(c(Q11060274),P793,Q2684629)
action filter_type
action find_reverse
entity Q2684629
relation P793
type Q11060274
[ANSWER] is that award a key event of
[{'concept': 'Q11060274'}, 'P793', 'Q2684629']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q11060274 . ?w property:P793 resource:Q2684629 }
Aftonbladet
Aftonbladet is that award a key event of
Aftonbladet
action filter_type
action find_reverse
entity Aftonbladet Literary Award
relation significant event
type print
[{'concept': 'print'}, 'significant event', 'Aftonbladet Literary Award']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:print . ?w property:significant_event resource:Aftonbladet_Literary_Award }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q389458 Q6197751 Q21524758
P1037
Q502895
USER
Is that print managed by Per Erik Svedbom and Roger Allen Hornsby ?
(Q389458,P1037,Q6197751) (Q389458,P1037,Q21524758)
action is_in
entity Q389458
action intersection
action find_reverse
entity Q6197751
relation P1037
action find_reverse
entity Q21524758
relation P1037
['Q389458', 'P1037', 'Q6197751'] ['Q389458', 'P1037', 'Q21524758']
ASK WHERE { resource:Q389458 property:P1037 resource:Q6197751 . resource:Q389458 property:P1037 resource:Q21524758 }
Aftonbladet Per Erik Svedbom Roger Allen Hornsby
action is_in
entity Aftonbladet
action intersection
action find_reverse
entity Per Erik Svedbom
relation manager/director
action find_reverse
entity Roger Allen Hornsby
relation manager/director
['Aftonbladet', 'manager/director', 'Per Erik Svedbom'] ['Aftonbladet', 'manager/director', 'Roger Allen Hornsby']
ASK WHERE { resource:Aftonbladet property:manager/director resource:Per_Erik_Svedbom . resource:Aftonbladet property:manager/director resource:Roger_Allen_Hornsby }
[]
common name
SYSTEM
YES and NO respectively
(Q389458,P1037,Q6197751) (Q389458,P1037,Q21524758)
action is_in
entity Q389458
action intersection
action find_reverse
entity Q6197751
relation P1037
action find_reverse
entity Q21524758
relation P1037
[ANSWER]
['Q389458', 'P1037', 'Q6197751'] ['Q389458', 'P1037', 'Q21524758']
ASK WHERE { resource:Q389458 property:P1037 resource:Q6197751 . resource:Q389458 property:P1037 resource:Q21524758 }
YES and NO respectively
action is_in
entity Aftonbladet
action intersection
action find_reverse
entity Per Erik Svedbom
relation manager/director
action find_reverse
entity Roger Allen Hornsby
relation manager/director
['Aftonbladet', 'manager/director', 'Per Erik Svedbom'] ['Aftonbladet', 'manager/director', 'Roger Allen Hornsby']
ASK WHERE { resource:Aftonbladet property:manager/director resource:Per_Erik_Svedbom . resource:Aftonbladet property:manager/director resource:Roger_Allen_Hornsby }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q333634 Q2684629
P106 P166
Q502895
USER
Which people won Aftonbladet Literary Award and have the profession as translator ?
AND((c(Q502895),P166,Q2684629), (c(Q502895),P106,Q333634))
action filter_type
action intersection
action find_reverse
entity Q2684629
relation P166
action find_reverse
entity Q333634
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q2684629'], [{'concept': 'Q502895'}, 'P106', 'Q333634']]}
SELECT DISTINCT ?b WHERE { ?b property:P166 resource:Q2684629 . ?b property:P106 resource:Q333634 . ?b rdf:type ontology:Q502895 }
translator Aftonbladet Literary Award
action filter_type
action intersection
action find_reverse
entity Aftonbladet Literary Award
relation award received
action find_reverse
entity translator
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Aftonbladet Literary Award'], [{'concept': 'common name'}, 'occupation', 'translator']]}
SELECT DISTINCT ?b WHERE { ?b property:award_received resource:Aftonbladet_Literary_Award . ?b property:occupation resource:translator . ?b rdf:type ontology:common_name }
[]
common name
Q4532457 Q5779335 Q728626 Q372210 Q42122 Q263017
SYSTEM
Helena Eriksson, Ulf Gyllenhak, Göran Sonnevi, Lars Gustafsson, Tomas Tranströmer, Sara Stridsberg
Q4532457 Q5779335 Q728626 Q372210 Q42122 Q263017
AND((c(Q502895),P166,Q2684629), (c(Q502895),P106,Q333634))
action filter_type
action intersection
action find_reverse
entity Q2684629
relation P166
action find_reverse
entity Q333634
relation P106
type Q502895
[ANSWERS] won Aftonbladet Literary Award and have the profession as translator
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q2684629'], [{'concept': 'Q502895'}, 'P106', 'Q333634']]}
SELECT DISTINCT ?b WHERE { ?b property:P166 resource:Q2684629 . ?b property:P106 resource:Q333634 . ?b rdf:type ontology:Q502895 }
Helena Eriksson Ulf Gyllenhak Göran Sonnevi Lars Gustafsson Tomas Tranströmer Sara Stridsberg
Helena Eriksson, Ulf Gyllenhak, Göran Sonnevi, Lars Gustafsson, Tomas Tranströmer and Sara Stridsberg won Aftonbladet Literary Award and have the profession as translator
Helena Eriksson Ulf Gyllenhak Göran Sonnevi Lars Gustafsson Tomas Tranströmer Sara Stridsberg
action filter_type
action intersection
action find_reverse
entity Aftonbladet Literary Award
relation award received
action find_reverse
entity translator
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Aftonbladet Literary Award'], [{'concept': 'common name'}, 'occupation', 'translator']]}
SELECT DISTINCT ?b WHERE { ?b property:award_received resource:Aftonbladet_Literary_Award . ?b property:occupation resource:translator . ?b rdf:type ontology:common_name }
[]