Simple Question (Direct)
Simple Question
Q6282680
P102
Q7210356
USER
Which party does Joseph Dorsey belong to ?
(Q6282680,P102,c(Q7210356))
action filter_type
action find
entity Q6282680
relation P102
type Q7210356
['Q6282680', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7210356 . resource:Q6282680 property:P102 ?v }
Joseph Dorsey
action filter_type
action find
entity Joseph Dorsey
relation member of political party
type political organization
['Joseph Dorsey', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_organization . resource:Joseph_Dorsey property:member_of_political_party ?v }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q6282680,P102,c(Q7210356))
action filter_type
action find
entity Q6282680
relation P102
type Q7210356
Joseph Dorsey belongs to [ANSWER]
['Q6282680', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7210356 . resource:Q6282680 property:P102 ?v }
Republican Party
Joseph Dorsey belongs to Republican Party
Republican Party
action filter_type
action find
entity Joseph Dorsey
relation member of political party
type political organization
['Joseph Dorsey', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_organization . resource:Joseph_Dorsey property:member_of_political_party ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6282680
P106
Q12737077
USER
What is the profession of Joseph Dorsey ?
(Q6282680,P106,c(Q12737077))
action filter_type
action find
entity Q6282680
relation P106
type Q12737077
['Q6282680', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6282680 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Joseph Dorsey
action filter_type
action find
entity Joseph Dorsey
relation occupation
type occupation
['Joseph Dorsey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Joseph_Dorsey property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6282680,P106,c(Q12737077))
action filter_type
action find
entity Q6282680
relation P106
type Q12737077
The profession of Joseph Dorsey is a [ANSWER]
['Q6282680', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6282680 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
politician
The profession of Joseph Dorsey is a politician
politician
action filter_type
action find
entity Joseph Dorsey
relation occupation
type occupation
['Joseph Dorsey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Joseph_Dorsey property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2278468
Q12737077
USER
And what about Sherwin B. Nuland?
(Q2278468,P106,c(Q12737077))
action filter_type
action find
entity Q2278468
relation P106
type Q12737077
['Q2278468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2278468 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Sherwin B. Nuland
action filter_type
action find
entity Sherwin B. Nuland
relation occupation
type occupation
['Sherwin B. Nuland', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Sherwin_B._Nuland property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q15980158 Q774306 Q36180
SYSTEM
non-fiction writer, surgeon, writer
Q15980158 Q774306 Q36180
(Q2278468,P106,c(Q12737077))
action filter_type
action find
entity Q2278468
relation P106
type Q12737077
[ANSWERS]
['Q2278468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2278468 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
non-fiction writer surgeon writer
non-fiction writer surgeon writer
action filter_type
action find
entity Sherwin B. Nuland
relation occupation
type occupation
['Sherwin B. Nuland', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Sherwin_B._Nuland property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15980158 Q774306 Q36180
P101
Q502895
USER
Which people work in the domain of those occupations ?
(c(Q502895),P101,Q15980158) (c(Q502895),P101,Q774306) (c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q15980158'] [{'concept': 'Q502895'}, 'P101', 'Q774306'] [{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . VALUES ( ?k ) { ( resource:Q15980158 ) ( resource:Q774306 ) ( resource:Q36180 ) } . ?s property:P101 ?k }
non-fiction writer surgeon writer
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'non-fiction writer'] [{'concept': 'common name'}, 'field of work', 'surgeon'] [{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . VALUES ( ?k ) { ( resource:non-fiction_writer ) ( resource:surgeon ) ( resource:writer ) } . ?s property:field_of_work ?k }
[]
common name
Q21030230 Q1942943 Q168569
SYSTEM
Eliška Klimková-Deutschová, Benoît Lengelé, Martin Andersen Nexø
Q21030230 Q1942943 Q168569
(c(Q502895),P101,Q15980158) (c(Q502895),P101,Q774306) (c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those occupations
[{'concept': 'Q502895'}, 'P101', 'Q15980158'] [{'concept': 'Q502895'}, 'P101', 'Q774306'] [{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . VALUES ( ?k ) { ( resource:Q15980158 ) ( resource:Q774306 ) ( resource:Q36180 ) } . ?s property:P101 ?k }
Eliška Klimková-Deutschová Benoît Lengelé Martin Andersen Nexø
Eliška Klimková-Deutschová, Benoît Lengelé and Martin Andersen Nexø work in the domain of those occupations
Eliška Klimková-Deutschová Benoît Lengelé Martin Andersen Nexø
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'non-fiction writer'] [{'concept': 'common name'}, 'field of work', 'surgeon'] [{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . VALUES ( ?k ) { ( resource:non-fiction_writer ) ( resource:surgeon ) ( resource:writer ) } . ?s property:field_of_work ?k }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21030230 Q1942943 Q168569
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q21030230,P106,c(Q12737077)) (Q1942943,P106,c(Q12737077)) (Q168569,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q21030230', 'P106', {'concept': 'Q12737077'}] ['Q1942943', 'P106', {'concept': 'Q12737077'}] ['Q168569', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . ?f property:P106 ?y . VALUES ( ?f ) { ( resource:Q21030230 ) ( resource:Q1942943 ) ( resource:Q168569 ) } }
Eliška Klimková-Deutschová Benoît Lengelé Martin Andersen Nexø
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Eliška Klimková-Deutschová', 'occupation', {'concept': 'occupation'}] ['Benoît Lengelé', 'occupation', {'concept': 'occupation'}] ['Martin Andersen Nexø', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . ?f property:occupation ?y . VALUES ( ?f ) { ( resource:Eliška_Klimková-Deutschová ) ( resource:Benoît_Lengelé ) ( resource:Martin_Andersen_Nexø ) } }
[]
occupation
Q1622272 Q1930187 Q39631
SYSTEM
university teacher, journalist, physician
Q39631 Q1622272 Q39631 Q1930187 Q36180
(Q21030230,P106,c(Q12737077)) (Q1942943,P106,c(Q12737077)) (Q168569,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q21030230', 'P106', {'concept': 'Q12737077'}] ['Q1942943', 'P106', {'concept': 'Q12737077'}] ['Q168569', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . ?f property:P106 ?y . VALUES ( ?f ) { ( resource:Q21030230 ) ( resource:Q1942943 ) ( resource:Q168569 ) } }
physician university teacher physician journalist writer
The professions of those people are university teacher, journalist and physician
university teacher journalist physician
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Eliška Klimková-Deutschová', 'occupation', {'concept': 'occupation'}] ['Benoît Lengelé', 'occupation', {'concept': 'occupation'}] ['Martin Andersen Nexø', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . ?f property:occupation ?y . VALUES ( ?f ) { ( resource:Eliška_Klimková-Deutschová ) ( resource:Benoît_Lengelé ) ( resource:Martin_Andersen_Nexø ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P921
Q838948
USER
Which work of art was mainly based on physician ?
(c(Q838948),P921,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q39631']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q39631 . ?k rdf:type ontology:Q838948 }
physician
action filter_type
action find_reverse
entity physician
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'physician']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:physician . ?k rdf:type ontology:work_of_art }
[]
work of art
Q847709
SYSTEM
Red Beard
Q847709
(c(Q838948),P921,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P921
type Q838948
D [ANSWER] was mainly based on physician
[{'concept': 'Q838948'}, 'P921', 'Q39631']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q39631 . ?k rdf:type ontology:Q838948 }
Red Beard
D Red Beard was mainly based on physician
Red Beard
action filter_type
action find_reverse
entity physician
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'physician']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:physician . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P180
Q838948
USER
Which works of art demonstrate physician ?
(c(Q838948),P180,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q39631']
SELECT DISTINCT ?d WHERE { ?d property:P180 resource:Q39631 . ?d rdf:type ontology:Q838948 }
physician
action filter_type
action find_reverse
entity physician
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'physician']
SELECT DISTINCT ?d WHERE { ?d property:depicts resource:physician . ?d rdf:type ontology:work_of_art }
[]
work of art
Q17023940 Q18917908
SYSTEM
Portrait of Dr. Gachet, The Testament of Eudamidas
Q17023940 Q18917908
(c(Q838948),P180,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P180
type Q838948
The [ANSWERS] demonstrate physician
[{'concept': 'Q838948'}, 'P180', 'Q39631']
SELECT DISTINCT ?d WHERE { ?d property:P180 resource:Q39631 . ?d rdf:type ontology:Q838948 }
Portrait of Dr. Gachet The Testament of Eudamidas
The Portrait of Dr. Gachet and The Testament of Eudamidas demonstrate physician
Portrait of Dr. Gachet The Testament of Eudamidas
action filter_type
action find_reverse
entity physician
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'physician']
SELECT DISTINCT ?d WHERE { ?d property:depicts resource:physician . ?d rdf:type ontology:work_of_art }
[]