Simple Question (Direct)
Simple Question
Q2159576
P19
Q15617994
USER
Which administrative territory was Roberto Peccei born at ?
(Q2159576,P19,c(Q15617994))
action filter_type
action find
entity Q2159576
relation P19
type Q15617994
['Q2159576', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2159576 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Roberto Peccei
action filter_type
action find
entity Roberto Peccei
relation place of birth
type designation for an administrative territorial entity
['Roberto Peccei', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Roberto_Peccei property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q2159576,P19,c(Q15617994))
action filter_type
action find
entity Q2159576
relation P19
type Q15617994
Roberto Peccei was born in [ANSWER]
['Q2159576', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2159576 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Italy
Roberto Peccei was born in Italy
Italy
action filter_type
action find
entity Roberto Peccei
relation place of birth
type designation for an administrative territorial entity
['Roberto Peccei', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Roberto_Peccei property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2159576
P184
Q502895
USER
Who has Roberto Peccei as doctor supervisor ?
(c(Q502895),P184,Q2159576)
action filter_type
action find_reverse
entity Q2159576
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q2159576']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P184 resource:Q2159576 }
Roberto Peccei
action filter_type
action find_reverse
entity Roberto Peccei
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Roberto Peccei']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:doctoral_advisor resource:Roberto_Peccei }
[]
common name
Q16194470
SYSTEM
Marcela Carena
Q16194470
(c(Q502895),P184,Q2159576)
action filter_type
action find_reverse
entity Q2159576
relation P184
type Q502895
[ANSWER] has Roberto Peccei as doctor supervisor
[{'concept': 'Q502895'}, 'P184', 'Q2159576']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P184 resource:Q2159576 }
Marcela Carena
Marcela Carena has Roberto Peccei as doctor supervisor
Marcela Carena
action filter_type
action find_reverse
entity Roberto Peccei
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Roberto Peccei']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:doctoral_advisor resource:Roberto_Peccei }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16194470
P21
Q290
USER
Which sex does that person possess ?
(Q16194470,P21,c(Q290))
action filter_type
action find
entity Q16194470
relation P21
type Q290
['Q16194470', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q16194470 property:P21 ?m }
Marcela Carena
action filter_type
action find
entity Marcela Carena
relation gender
type sex
['Marcela Carena', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Marcela_Carena property:gender ?m }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16194470,P21,c(Q290))
action filter_type
action find
entity Q16194470
relation P21
type Q290
That person possesses the [ANSWER]
['Q16194470', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q16194470 property:P21 ?m }
female
That person possesses the female
female
action filter_type
action find
entity Marcela Carena
relation gender
type sex
['Marcela Carena', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Marcela_Carena property:gender ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q1273733
P21
Q502895
USER
Does Elisabeth Kuhlmann have that sex as the sex ?
(Q1273733,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q1273733
relation P21
['Q1273733', 'P21', 'Q6581072']
ASK WHERE { resource:Q1273733 property:P21 resource:Q6581072 }
female Elisabeth Kuhlmann
action is_in
entity female
action find
entity Elisabeth Kuhlmann
relation gender
['Elisabeth Kuhlmann', 'gender', 'female']
ASK WHERE { resource:Elisabeth_Kuhlmann property:gender resource:female }
[]
common name
SYSTEM
YES
(Q1273733,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q1273733
relation P21
[ANSWER]
['Q1273733', 'P21', 'Q6581072']
ASK WHERE { resource:Q1273733 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Elisabeth Kuhlmann
relation gender
['Elisabeth Kuhlmann', 'gender', 'female']
ASK WHERE { resource:Elisabeth_Kuhlmann property:gender resource:female }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2159576 Q71030 Q38
P27
Q15617994
USER
Is Roberto Peccei a citizen of Ostrau and Italy ?
(Q2159576,P27,Q71030) (Q2159576,P27,Q38)
action is_in
entity Q2159576
action intersection
action find_reverse
entity Q71030
relation P27
action find_reverse
entity Q38
relation P27
['Q2159576', 'P27', 'Q71030'] ['Q2159576', 'P27', 'Q38']
ASK WHERE { resource:Q2159576 property:P27 resource:Q71030 . resource:Q2159576 property:P27 resource:Q38 }
Roberto Peccei Ostrau Italy
action is_in
entity Roberto Peccei
action intersection
action find_reverse
entity Ostrau
relation country of citizenship
action find_reverse
entity Italy
relation country of citizenship
['Roberto Peccei', 'country of citizenship', 'Ostrau'] ['Roberto Peccei', 'country of citizenship', 'Italy']
ASK WHERE { resource:Roberto_Peccei property:country_of_citizenship resource:Ostrau . resource:Roberto_Peccei property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2159576,P27,Q71030) (Q2159576,P27,Q38)
action is_in
entity Q2159576
action intersection
action find_reverse
entity Q71030
relation P27
action find_reverse
entity Q38
relation P27
[ANSWER]
['Q2159576', 'P27', 'Q71030'] ['Q2159576', 'P27', 'Q38']
ASK WHERE { resource:Q2159576 property:P27 resource:Q71030 . resource:Q2159576 property:P27 resource:Q38 }
NO and YES respectively
action is_in
entity Roberto Peccei
action intersection
action find_reverse
entity Ostrau
relation country of citizenship
action find_reverse
entity Italy
relation country of citizenship
['Roberto Peccei', 'country of citizenship', 'Ostrau'] ['Roberto Peccei', 'country of citizenship', 'Italy']
ASK WHERE { resource:Roberto_Peccei property:country_of_citizenship resource:Ostrau . resource:Roberto_Peccei property:country_of_citizenship resource:Italy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q205662
P35
Q502895
USER
How many people are the chiefs of state of Italy or Tokugawa shogunate ?
(Q38,P35,c(Q502895)) (Q205662,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q38
relation P35
type Q502895
action filter_type
action find
entity Q205662
relation P35
type Q502895
['Q38', 'P35', {'concept': 'Q502895'}] ['Q205662', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?u property:P35 ?m . VALUES ( ?u ) { ( resource:Q38 ) ( resource:Q205662 ) } }
Italy Tokugawa shogunate
action count
action union
action filter_type
action find
entity Italy
relation head of state
type common name
action filter_type
action find
entity Tokugawa shogunate
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}] ['Tokugawa shogunate', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?u property:head_of_state ?m . VALUES ( ?u ) { ( resource:Italy ) ( resource:Tokugawa_shogunate ) } }
[]
common name
SYSTEM
15
Q1233 Q1245 Q314464 Q3956186 Q1241 Q1240 Q171977 Q1242 Q1238 Q153832 Q1228 Q1230 Q1224 Q1235 Q1220
(Q38,P35,c(Q502895)) (Q205662,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q38
relation P35
type Q502895
action filter_type
action find
entity Q205662
relation P35
type Q502895
[ANSWER]
['Q38', 'P35', {'concept': 'Q502895'}] ['Q205662', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?u property:P35 ?m . VALUES ( ?u ) { ( resource:Q38 ) ( resource:Q205662 ) } }
Sandro Pertini Enrico De Nicola Tokugawa Hidetada Sergio Mattarella Giovanni Gronchi Antonio Segni Tokugawa Ieyasu Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Carlo Azeglio Ciampi Giovanni Leone Giorgio Napolitano
15
action count
action union
action filter_type
action find
entity Italy
relation head of state
type common name
action filter_type
action find
entity Tokugawa shogunate
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}] ['Tokugawa shogunate', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?u property:head_of_state ?m . VALUES ( ?u ) { ( resource:Italy ) ( resource:Tokugawa_shogunate ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q18611757 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy and are not the countries of citizenship of Achille Grospierre ?
AND((Q38,P530,c(Q15617994)), NOT((Q18611757,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q18611757
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q18611757', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?v WHERE { resource:Q38 property:P530 ?v . MINUS { resource:Q18611757 property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Achille Grospierre Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Achille Grospierre
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Achille Grospierre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?v WHERE { resource:Italy property:diplomatic_relation ?v . MINUS { resource:Achille_Grospierre property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q347 Q224 Q79 Q212 Q822 Q96 Q191 Q948 Q45 Q222
SYSTEM
Some of them are Liechtenstein, Croatia, Egypt, Ukraine, Lebanon, Mexico, Estonia, Tunisia, Portugal, Albania
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
AND((Q38,P530,c(Q15617994)), NOT((Q18611757,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q18611757
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Italy and are not the countries of citizenship of Achille Grospierre
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q18611757', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?v WHERE { resource:Q38 property:P530 ?v . MINUS { resource:Q18611757 property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Liechtenstein, Croatia, Egypt, Ukraine, Lebanon, Mexico, Estonia, Tunisia, Portugal and Albania have diplomatic relationships with Italy and are not the countries of citizenship of Achille Grospierre
Liechtenstein Croatia Egypt Ukraine Lebanon Mexico Estonia Tunisia Portugal Albania
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Achille Grospierre
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Achille Grospierre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?v WHERE { resource:Italy property:diplomatic_relation ?v . MINUS { resource:Achille_Grospierre property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have tactful political relations with those ones ?
(Q38,P530,Q347) (Q38,P530,Q224) (Q38,P530,Q79) (Q38,P530,Q212) (Q38,P530,Q822) (Q38,P530,Q96) (Q38,P530,Q191) (Q38,P530,Q948) (Q38,P530,Q45) (Q38,P530,Q222)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q347'] ['Q38', 'P530', 'Q224'] ['Q38', 'P530', 'Q79'] ['Q38', 'P530', 'Q212'] ['Q38', 'P530', 'Q822'] ['Q38', 'P530', 'Q96'] ['Q38', 'P530', 'Q191'] ['Q38', 'P530', 'Q948'] ['Q38', 'P530', 'Q45'] ['Q38', 'P530', 'Q222']
ASK WHERE { VALUES ( ?l ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q38 property:P530 ?l }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Liechtenstein'] ['Italy', 'diplomatic relation', 'Croatia'] ['Italy', 'diplomatic relation', 'Egypt'] ['Italy', 'diplomatic relation', 'Ukraine'] ['Italy', 'diplomatic relation', 'Lebanon'] ['Italy', 'diplomatic relation', 'Mexico'] ['Italy', 'diplomatic relation', 'Estonia'] ['Italy', 'diplomatic relation', 'Tunisia'] ['Italy', 'diplomatic relation', 'Portugal'] ['Italy', 'diplomatic relation', 'Albania']
ASK WHERE { VALUES ( ?l ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Italy property:diplomatic_relation ?l }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q347) (Q38,P530,Q224) (Q38,P530,Q79) (Q38,P530,Q212) (Q38,P530,Q822) (Q38,P530,Q96) (Q38,P530,Q191) (Q38,P530,Q948) (Q38,P530,Q45) (Q38,P530,Q222)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q347'] ['Q38', 'P530', 'Q224'] ['Q38', 'P530', 'Q79'] ['Q38', 'P530', 'Q212'] ['Q38', 'P530', 'Q822'] ['Q38', 'P530', 'Q96'] ['Q38', 'P530', 'Q191'] ['Q38', 'P530', 'Q948'] ['Q38', 'P530', 'Q45'] ['Q38', 'P530', 'Q222']
ASK WHERE { VALUES ( ?l ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q38 property:P530 ?l }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Liechtenstein'] ['Italy', 'diplomatic relation', 'Croatia'] ['Italy', 'diplomatic relation', 'Egypt'] ['Italy', 'diplomatic relation', 'Ukraine'] ['Italy', 'diplomatic relation', 'Lebanon'] ['Italy', 'diplomatic relation', 'Mexico'] ['Italy', 'diplomatic relation', 'Estonia'] ['Italy', 'diplomatic relation', 'Tunisia'] ['Italy', 'diplomatic relation', 'Portugal'] ['Italy', 'diplomatic relation', 'Albania']
ASK WHERE { VALUES ( ?l ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Italy property:diplomatic_relation ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18611757
P106
Q151885
USER
Which concept has Achille Grospierre as his/her 's career ?
(Q18611757,P106,c(Q151885))
action filter_type
action find
entity Q18611757
relation P106
type Q151885
['Q18611757', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q18611757 property:P106 ?l . ?l rdf:type ontology:Q151885 }
Achille Grospierre
action filter_type
action find
entity Achille Grospierre
relation occupation
type concept
['Achille Grospierre', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Achille_Grospierre property:occupation ?l . ?l rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q18611757,P106,c(Q151885))
action filter_type
action find
entity Q18611757
relation P106
type Q151885
Ist [ANSWER] has Achille Grospierre as his/her 's career
['Q18611757', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q18611757 property:P106 ?l . ?l rdf:type ontology:Q151885 }
trade unionist
Ist trade unionist has Achille Grospierre as his/her 's career
trade unionist
action filter_type
action find
entity Achille Grospierre
relation occupation
type concept
['Achille Grospierre', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Achille_Grospierre property:occupation ?l . ?l rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q18611757
Q12737077
USER
And which occupation?
(Q18611757,P106,c(Q12737077))
action filter_type
action find
entity Q18611757
relation P106
type Q12737077
['Q18611757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q18611757 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Achille Grospierre
action filter_type
action find
entity Achille Grospierre
relation occupation
type occupation
['Achille Grospierre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Achille_Grospierre property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955 Q157798
SYSTEM
politician, watchmaker
Q82955 Q157798
(Q18611757,P106,c(Q12737077))
action filter_type
action find
entity Q18611757
relation P106
type Q12737077
[ANSWERS]
['Q18611757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q18611757 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician watchmaker
politician watchmaker
action filter_type
action find
entity Achille Grospierre
relation occupation
type occupation
['Achille Grospierre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Achille_Grospierre property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q157798
P39
Q502895
USER
Which person was responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q157798)
action filter_type
action find_reverse
entity Q157798
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q157798']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q157798 . ?u rdf:type ontology:Q502895 }
watchmaker
action filter_type
action find_reverse
entity watchmaker
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'watchmaker']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:watchmaker . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q157798
SYSTEM
Did you mean watchmaker ?
Q82955 Q157798
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q157798)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q157798']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q157798 . ?u rdf:type ontology:Q502895 }
politician watchmaker
Did you mean watchmaker ?
watchmaker
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'watchmaker']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:watchmaker . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P39,Q157798)
[{'concept': 'Q502895'}, 'P39', 'Q157798']
[{'concept': 'common name'}, 'position held', 'watchmaker']
[]
Q123683
SYSTEM
Pierre Jaquet-Droz
Q123683
(c(Q502895),P39,Q157798)
action filter_type
action find_reverse
entity Q157798
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q157798']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q157798 . ?u rdf:type ontology:Q502895 }
Pierre Jaquet-Droz
Pierre Jaquet-Droz was responsible for occupying the position of that occupation
Pierre Jaquet-Droz
action filter_type
action find_reverse
entity watchmaker
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'watchmaker']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:watchmaker . ?u rdf:type ontology:common_name }
[]