Simple Question (Direct)
Simple Question
Q930755
P106
Q12737077
USER
What are the professions of Edward O. Thorp ?
(Q930755,P106,c(Q12737077))
action filter_type
action find
entity Q930755
relation P106
type Q12737077
['Q930755', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q930755 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Edward O. Thorp
action filter_type
action find
entity Edward O. Thorp
relation occupation
type occupation
['Edward O. Thorp', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Edward_O._Thorp property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q36180 Q170790 Q1622272
SYSTEM
writer, mathematician, university teacher
Q36180 Q170790 Q1622272
(Q930755,P106,c(Q12737077))
action filter_type
action find
entity Q930755
relation P106
type Q12737077
The professions of Edward O. Thorp are [ANSWERS]
['Q930755', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q930755 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
writer mathematician university teacher
The professions of Edward O. Thorp are writer, mathematician and university teacher
writer mathematician university teacher
action filter_type
action find
entity Edward O. Thorp
relation occupation
type occupation
['Edward O. Thorp', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Edward_O._Thorp property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q36180 Q170790 Q1622272
P101
Q502895
USER
Which people have his/her area as writer, mathematician and university teacher ?
(c(Q502895),P101,Q36180) (c(Q502895),P101,Q170790) (c(Q502895),P101,Q1622272)
action union
action filter_type
action find_reverse
entity Q36180
relation P101
type Q502895
action filter_type
action find_reverse
entity Q170790
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q36180'] [{'concept': 'Q502895'}, 'P101', 'Q170790'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?h WHERE { ?h property:P101 ?s . VALUES ( ?s ) { ( resource:Q170790 ) ( resource:Q36180 ) } }
writer mathematician university teacher
action union
action filter_type
action find_reverse
entity writer
relation field of work
type common name
action filter_type
action find_reverse
entity mathematician
relation field of work
type common name
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'writer'] [{'concept': 'common name'}, 'field of work', 'mathematician'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work ?s . VALUES ( ?s ) { ( resource:mathematician ) ( resource:writer ) } }
[]
common name
Q21030230 Q168569 Q34943
SYSTEM
Eliška Klimková-Deutschová, Martin Andersen Nexø, Ptolemy
Q168569 Q34943 Q60677 Q5938836 Q21030230
(c(Q502895),P101,Q36180) (c(Q502895),P101,Q170790) (c(Q502895),P101,Q1622272)
action union
action filter_type
action find_reverse
entity Q36180
relation P101
type Q502895
action filter_type
action find_reverse
entity Q170790
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[ANSWERS] have his/her area as writer, mathematician and university teacher
[{'concept': 'Q502895'}, 'P101', 'Q36180'] [{'concept': 'Q502895'}, 'P101', 'Q170790'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?h WHERE { ?h property:P101 ?s . VALUES ( ?s ) { ( resource:Q170790 ) ( resource:Q36180 ) } }
Martin Andersen Nexø Ptolemy Charles Proteus Steinmetz José Carrillo Menéndez Eliška Klimková-Deutschová
Eliška Klimková-Deutschová, Martin Andersen Nexø and Ptolemy have his/her area as writer, mathematician and university teacher
Eliška Klimková-Deutschová Martin Andersen Nexø Ptolemy
action union
action filter_type
action find_reverse
entity writer
relation field of work
type common name
action filter_type
action find_reverse
entity mathematician
relation field of work
type common name
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'writer'] [{'concept': 'common name'}, 'field of work', 'mathematician'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work ?s . VALUES ( ?s ) { ( resource:mathematician ) ( resource:writer ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21030230 Q168569 Q34943
P101
Q12737077
USER
Which occupations are the field of work of those people ?
(Q21030230,P101,c(Q12737077)) (Q168569,P101,c(Q12737077)) (Q34943,P101,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P101
type Q12737077
['Q21030230', 'P101', {'concept': 'Q12737077'}] ['Q168569', 'P101', {'concept': 'Q12737077'}] ['Q34943', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . VALUES ( ?a ) { ( resource:Q168569 ) ( resource:Q34943 ) ( resource:Q60677 ) } . ?a property:P101 ?g }
Eliška Klimková-Deutschová Martin Andersen Nexø Ptolemy
action filter_type
action find
entity prev_answer
relation field of work
type occupation
['Eliška Klimková-Deutschová', 'field of work', {'concept': 'occupation'}] ['Martin Andersen Nexø', 'field of work', {'concept': 'occupation'}] ['Ptolemy', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . VALUES ( ?a ) { ( resource:Martin_Andersen_Nexø ) ( resource:Ptolemy ) ( resource:Charles_Proteus_Steinmetz ) } . ?a property:field_of_work ?g }
[]
occupation
Q1622272 Q15980158 Q783906
SYSTEM
university teacher, non-fiction writer, neurologist
Q15980158 Q783906 Q1622272 Q36180 Q170790
(Q21030230,P101,c(Q12737077)) (Q168569,P101,c(Q12737077)) (Q34943,P101,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P101
type Q12737077
[ANSWERS] are the field of work of those people
['Q21030230', 'P101', {'concept': 'Q12737077'}] ['Q168569', 'P101', {'concept': 'Q12737077'}] ['Q34943', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . VALUES ( ?a ) { ( resource:Q168569 ) ( resource:Q34943 ) ( resource:Q60677 ) } . ?a property:P101 ?g }
non-fiction writer neurologist university teacher writer mathematician
University teacher, non-fiction writer and neurologist are the field of work of those people
university teacher non-fiction writer neurologist
action filter_type
action find
entity prev_answer
relation field of work
type occupation
['Eliška Klimková-Deutschová', 'field of work', {'concept': 'occupation'}] ['Martin Andersen Nexø', 'field of work', {'concept': 'occupation'}] ['Ptolemy', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . VALUES ( ?a ) { ( resource:Martin_Andersen_Nexø ) ( resource:Ptolemy ) ( resource:Charles_Proteus_Steinmetz ) } . ?a property:field_of_work ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21030230
P19
Q515
USER
Which city is the birthplace of that person ?
(Q21030230,P19,c(Q515))
action filter_type
action find
entity Q21030230
relation P19
type Q515
['Q21030230', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q21030230 property:P19 ?g . ?g rdf:type ontology:Q515 }
Eliška Klimková-Deutschová
action filter_type
action find
entity Eliška Klimková-Deutschová
relation place of birth
type city
['Eliška Klimková-Deutschová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Eliška_Klimková-Deutschová property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q21030230
SYSTEM
Did you mean Eliška Klimková-Deutschová ?
Q1622272 Q15980158 Q783906
(Q1622272,P19,c(Q515)) (Q15980158,P19,c(Q515)) (Q783906,P19,c(Q515))
[ANSWER]
['Q1622272', 'P19', {'concept': 'Q515'}] ['Q15980158', 'P19', {'concept': 'Q515'}] ['Q783906', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q21030230 property:P19 ?g . ?g rdf:type ontology:Q515 }
university teacher non-fiction writer neurologist
Did you mean Eliška Klimková-Deutschová ?
Eliška Klimková-Deutschová
['university teacher', 'place of birth', {'concept': 'city'}] ['non-fiction writer', 'place of birth', {'concept': 'city'}] ['neurologist', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Eliška_Klimková-Deutschová property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21030230,P19,c(Q515))
['Q21030230', 'P19', {'concept': 'Q515'}]
['Eliška Klimková-Deutschová', 'place of birth', {'concept': 'city'}]
[]
Q722732
SYSTEM
Litomyšl
Q722732
(Q21030230,P19,c(Q515))
action filter_type
action find
entity Q21030230
relation P19
type Q515
[ANSWER] is the birthplace of that person
['Q21030230', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q21030230 property:P19 ?g . ?g rdf:type ontology:Q515 }
Litomyšl
Litomyšl is the birthplace of that person
Litomyšl
action filter_type
action find
entity Eliška Klimková-Deutschová
relation place of birth
type city
['Eliška Klimková-Deutschová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Eliška_Klimková-Deutschová property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q722732 Q10755817
P17
Q15617994
USER
Is that city present in Dionysos, Greece ?
(Q722732,P17,Q10755817)
action is_in
entity Q10755817
action find
entity Q722732
relation P17
['Q722732', 'P17', 'Q10755817']
ASK WHERE { resource:Q722732 property:P17 resource:Q10755817 }
Litomyšl Dionysos, Greece
action is_in
entity Dionysos, Greece
action find
entity Litomyšl
relation country
['Litomyšl', 'country', 'Dionysos, Greece']
ASK WHERE { resource:Litomyšl property:country resource:Dionysos,_Greece }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q722732,P17,Q10755817)
action is_in
entity Q10755817
action find
entity Q722732
relation P17
[ANSWER]
['Q722732', 'P17', 'Q10755817']
ASK WHERE { resource:Q722732 property:P17 resource:Q10755817 }
No
action is_in
entity Dionysos, Greece
action find
entity Litomyšl
relation country
['Litomyšl', 'country', 'Dionysos, Greece']
ASK WHERE { resource:Litomyšl property:country resource:Dionysos,_Greece }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168569
P1411
Q618779
USER
Which award did Martin Andersen Nexø receive ?
(Q168569,P1411,c(Q618779))
action filter_type
action find
entity Q168569
relation P1411
type Q618779
['Q168569', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q168569 property:P1411 ?f . ?f rdf:type ontology:Q618779 }
Martin Andersen Nexø
action filter_type
action find
entity Martin Andersen Nexø
relation nominated for
type award
['Martin Andersen Nexø', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Martin_Andersen_Nexø property:nominated_for ?f . ?f rdf:type ontology:award }
[]
award
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(Q168569,P1411,c(Q618779))
action filter_type
action find
entity Q168569
relation P1411
type Q618779
Martin Andersen Nexø received the [ANSWER]
['Q168569', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q168569 property:P1411 ?f . ?f rdf:type ontology:Q618779 }
Nobel Prize in Literature
Martin Andersen Nexø received the Nobel Prize in Literature
Nobel Prize in Literature
action filter_type
action find
entity Martin Andersen Nexø
relation nominated for
type award
['Martin Andersen Nexø', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Martin_Andersen_Nexø property:nominated_for ?f . ?f rdf:type ontology:award }
[]