Simple Question (Direct)
Simple Question
Q277171
P25
Q502895
USER
Which female person has a child named Iemasa Tokugawa ?
(Q277171,P25,c(Q502895))
action filter_type
action find
entity Q277171
relation P25
type Q502895
['Q277171', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q277171 property:P25 ?h . ?h rdf:type ontology:Q502895 }
Iemasa Tokugawa
action filter_type
action find
entity Iemasa Tokugawa
relation mother
type common name
['Iemasa Tokugawa', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Iemasa_Tokugawa property:mother ?h . ?h rdf:type ontology:common_name }
[]
common name
Q7004830
SYSTEM
Tokugawa Hiroko
Q7004830
(Q277171,P25,c(Q502895))
action filter_type
action find
entity Q277171
relation P25
type Q502895
His [ANSWER] has a child named Iemasa Tokugawa
['Q277171', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q277171 property:P25 ?h . ?h rdf:type ontology:Q502895 }
Tokugawa Hiroko
His Tokugawa Hiroko has a child named Iemasa Tokugawa
Tokugawa Hiroko
action filter_type
action find
entity Iemasa Tokugawa
relation mother
type common name
['Iemasa Tokugawa', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Iemasa_Tokugawa property:mother ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q277171
P40
Q502895
USER
Whose child are Iemasa Tokugawa ?
(c(Q502895),P40,Q277171)
action filter_type
action find_reverse
entity Q277171
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q277171']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q277171 . ?h rdf:type ontology:Q502895 }
Iemasa Tokugawa
action filter_type
action find_reverse
entity Iemasa Tokugawa
relation child
type common name
[{'concept': 'common name'}, 'child', 'Iemasa Tokugawa']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Iemasa_Tokugawa . ?h rdf:type ontology:common_name }
[]
common name
Q7004830 Q672741
SYSTEM
Tokugawa Hiroko, Tokugawa Iesato
Q7004830 Q672741
(c(Q502895),P40,Q277171)
action filter_type
action find_reverse
entity Q277171
relation P40
type Q502895
[ANSWERS] are Iemasa Tokugawa
[{'concept': 'Q502895'}, 'P40', 'Q277171']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q277171 . ?h rdf:type ontology:Q502895 }
Tokugawa Hiroko Tokugawa Iesato
Tokugawa Hiroko and Tokugawa Iesato are Iemasa Tokugawa
Tokugawa Hiroko Tokugawa Iesato
action filter_type
action find_reverse
entity Iemasa Tokugawa
relation child
type common name
[{'concept': 'common name'}, 'child', 'Iemasa Tokugawa']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Iemasa_Tokugawa . ?h rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q672741
P69
Q3914
USER
Which school is the alma mater of that person ?
(Q672741,P69,c(Q3914))
action filter_type
action find
entity Q672741
relation P69
type Q3914
['Q672741', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3914 . resource:Q672741 property:P69 ?g }
Tokugawa Iesato
action filter_type
action find
entity Tokugawa Iesato
relation educated at
type school
['Tokugawa Iesato', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:school . resource:Tokugawa_Iesato property:educated_at ?g }
[]
school
Clarification for simple ques.
Q7004830
SYSTEM
Did you mean Tokugawa Hiroko ?
Q7004830 Q672741
(Q7004830,P69,c(Q3914)) (Q672741,P69,c(Q3914))
[ANSWER]
['Q7004830', 'P69', {'concept': 'Q3914'}] ['Q672741', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3914 . resource:Q672741 property:P69 ?g }
Tokugawa Hiroko Tokugawa Iesato
Did you mean Tokugawa Hiroko ?
Tokugawa Hiroko
['Tokugawa Hiroko', 'educated at', {'concept': 'school'}] ['Tokugawa Iesato', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:school . resource:Tokugawa_Iesato property:educated_at ?g }
[]
Simple Question (Coreferenced)
USER
No, I meant Tokugawa Iesato. Could you tell me the answer for that?
(Q672741,P69,c(Q3914))
Q672741
['Q672741', 'P69', {'concept': 'Q3914'}]
['Tokugawa Iesato', 'educated at', {'concept': 'school'}]
[]
Q192088
SYSTEM
Eton College
Q192088
(Q672741,P69,c(Q3914))
action filter_type
action find
entity Q672741
relation P69
type Q3914
[ANSWER] is the alma mater of that person
['Q672741', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3914 . resource:Q672741 property:P69 ?g }
Eton College
Eton College is the alma mater of that person
Eton College
action filter_type
action find
entity Tokugawa Iesato
relation educated at
type school
['Tokugawa Iesato', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:school . resource:Tokugawa_Iesato property:educated_at ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2069101
P69
Q502895
USER
Who are an alumni of Gustav Adolf Grammar School ?
(c(Q502895),P69,Q2069101)
action filter_type
action find_reverse
entity Q2069101
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q2069101']
SELECT DISTINCT ?m WHERE { ?m property:P69 resource:Q2069101 . ?m rdf:type ontology:Q502895 }
Gustav Adolf Grammar School
action filter_type
action find_reverse
entity Gustav Adolf Grammar School
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Gustav Adolf Grammar School']
SELECT DISTINCT ?m WHERE { ?m property:educated_at resource:Gustav_Adolf_Grammar_School . ?m rdf:type ontology:common_name }
[]
common name
Q450523 Q1149033 Q710956
SYSTEM
Eiki Nestor, Tõnis Lukas, Jaan Tõnisson
Q16407359 Q4894231 Q16403356 Q16407208 Q1676750 Q4699359 Q16407203 Q4535073 Q17447027 Q7346851 Q6776952 Q12372215 Q439073 Q12378879 Q17439640 Q12359528 Q318126 Q63217 Q18625031 Q12369536 Q1223780 Q18625369 Q696443 Q16324020 Q12372058 Q687320 Q450523 Q312894 Q12371373 Q12378692 Q893708 Q5073854 Q14920499 Q3025652 Q11887057 Q12373519 Q4820842 Q12363137 Q17361908 Q5648861 Q12368624 Q17446721 Q16407994 Q12364659 Q109748 Q16408243 Q16408244 Q327185 Q16407396 Q16403543 Q16408397 Q20528623 Q12362025 Q16407925 Q6371492 Q6777333 Q12368566 Q1149033 Q2069109 Q16407367 Q16405198 Q17447378 Q12365449 Q3440340 Q15309596 Q3742935 Q17362523 Q3742726 Q12365527 Q17446930 Q705843 Q3156998 Q12359689 Q1260281 Q2424764 Q12363780 Q12366475 Q12374133 Q16405125 Q710956 Q16407893 Q16404630 Q241324 Q12362468 Q16406461 Q3737792
(c(Q502895),P69,Q2069101)
action filter_type
action find_reverse
entity Q2069101
relation P69
type Q502895
An alumni of Gustav Adolf Grammar School are [ANSWERS]
[{'concept': 'Q502895'}, 'P69', 'Q2069101']
SELECT DISTINCT ?m WHERE { ?m property:P69 resource:Q2069101 . ?m rdf:type ontology:Q502895 }
Rudolf Troost Bernhard Saarsoo Lennart Maurer Heinrich Arved Rosenstein Jaak Tamm Aivar Kisel Harald Lutterus Faime Jürno Tenno Vironi Robert Lepikson Martin Zobel Peeter Olesk Jane Trepp Voldemar Vaga Ilmar Öpik Argo Unnuk Ernst Öpik Georg Wilhelm Richmann Lauri Leppik Mait Agu Dietrich Heinrich Jürgenson Sten Schwede Arnold Veimer Hans Jürman Paul Keerdo Armin Öpik Eiki Nestor Juhan Parts Olaf Kuuli Villem Lüüs Boris Kumm Aleksander Margiste Endel Innos Deyvid Oprja Peeter Tarvel Ralf Luther August Vaga Gustav Carlblom Vello Kangro Hannah Ild Leopold Friedrich Meder Johann Wilcken Ferdinand Ludwig Hörschelmann Isaac Gustav Gerth Max Bock August Anton Kettler Valter Rand Thomas Johann Seebeck Artur Tuldava Richard Kleis Henri Käsper Mirt Gramann Elvia Sõber Monika Oit Karl-Martin Rammo Martti Soosaar Leo Kalmet Tõnis Lukas Harry Männil Juhan Trump Anton Hermann Haller Katrin Õunap Joosep Saat Hugo Bernhard Rahamägi Voldemar Rõks Tõnis Erm Kaili Viidas Edmund S. Valtman Juhan Vilbaste Kuno Veeber Ferdinand Johann Wiedemann Jaan Tallinn Artur Luha Johann Christian Luther Thomas Hippius Helmut Roman Karl Särgava Robert Rebas Juhan Habicht Jaan Tõnisson Madis Norvik Triin Narva Paul Ariste Eva Saks Anti Ingel Gavriil Tanfiljev
An alumni of Gustav Adolf Grammar School are Eiki Nestor, Tõnis Lukas and Jaan Tõnisson
Eiki Nestor Tõnis Lukas Jaan Tõnisson
action filter_type
action find_reverse
entity Gustav Adolf Grammar School
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Gustav Adolf Grammar School']
SELECT DISTINCT ?m WHERE { ?m property:educated_at resource:Gustav_Adolf_Grammar_School . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q710956
P39
Q12737077
USER
What were the positions held by that person ?
(Q710956,P39,c(Q12737077))
action filter_type
action find
entity Q710956
relation P39
type Q12737077
['Q710956', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q710956 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Jaan Tõnisson
action filter_type
action find
entity Jaan Tõnisson
relation position held
type occupation
['Jaan Tõnisson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jaan_Tõnisson property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q710956
SYSTEM
Did you mean Jaan Tõnisson ?
Q450523 Q1149033 Q710956
(Q450523,P39,c(Q12737077)) (Q1149033,P39,c(Q12737077)) (Q710956,P39,c(Q12737077))
[ANSWER]
['Q450523', 'P39', {'concept': 'Q12737077'}] ['Q1149033', 'P39', {'concept': 'Q12737077'}] ['Q710956', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q710956 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Eiki Nestor Tõnis Lukas Jaan Tõnisson
Did you mean Jaan Tõnisson ?
Jaan Tõnisson
['Eiki Nestor', 'position held', {'concept': 'occupation'}] ['Tõnis Lukas', 'position held', {'concept': 'occupation'}] ['Jaan Tõnisson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jaan_Tõnisson property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q710956,P39,c(Q12737077))
['Q710956', 'P39', {'concept': 'Q12737077'}]
['Jaan Tõnisson', 'position held', {'concept': 'occupation'}]
[]
Q1760777 Q737115
SYSTEM
Minister of Foreign Affairs, Prime Minister of Estonia
Q1760777 Q737115
(Q710956,P39,c(Q12737077))
action filter_type
action find
entity Q710956
relation P39
type Q12737077
The positions held by that person were Prime [ANSWERS]
['Q710956', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q710956 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Minister of Foreign Affairs Prime Minister of Estonia
The positions held by that person were Prime Minister of Foreign Affairs and Prime Minister of Estonia
Minister of Foreign Affairs Prime Minister of Estonia
action filter_type
action find
entity Jaan Tõnisson
relation position held
type occupation
['Jaan Tõnisson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Jaan_Tõnisson property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6773557
P39
Q502895
USER
Were Marshall E. Cusic Jr. responsible for occupying the position of those occupations ?
(Q6773557,P39,Q1760777) (Q6773557,P39,Q737115)
action is_in
entity prev_answer
action find
entity Q6773557
relation P39
['Q6773557', 'P39', 'Q1760777'] ['Q6773557', 'P39', 'Q737115']
ASK WHERE { VALUES ( ?v ) { ( resource:Q1760777 ) ( resource:Q737115 ) } . resource:Q6773557 property:P39 ?v }
Marshall E. Cusic Jr.
action is_in
entity prev_answer
action find
entity Marshall E. Cusic Jr.
relation position held
['Marshall E. Cusic Jr.', 'position held', 'Minister of Foreign Affairs'] ['Marshall E. Cusic Jr.', 'position held', 'Prime Minister of Estonia']
ASK WHERE { VALUES ( ?v ) { ( resource:Minister_of_Foreign_Affairs ) ( resource:Prime_Minister_of_Estonia ) } . resource:Marshall_E._Cusic_Jr. property:position_held ?v }
[]
common name
SYSTEM
NO
(Q6773557,P39,Q1760777) (Q6773557,P39,Q737115)
action is_in
entity prev_answer
action find
entity Q6773557
relation P39
[ANSWER]
['Q6773557', 'P39', 'Q1760777'] ['Q6773557', 'P39', 'Q737115']
ASK WHERE { VALUES ( ?v ) { ( resource:Q1760777 ) ( resource:Q737115 ) } . resource:Q6773557 property:P39 ?v }
No
action is_in
entity prev_answer
action find
entity Marshall E. Cusic Jr.
relation position held
['Marshall E. Cusic Jr.', 'position held', 'Minister of Foreign Affairs'] ['Marshall E. Cusic Jr.', 'position held', 'Prime Minister of Estonia']
ASK WHERE { VALUES ( ?v ) { ( resource:Minister_of_Foreign_Affairs ) ( resource:Prime_Minister_of_Estonia ) } . resource:Marshall_E._Cusic_Jr. property:position_held ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q450523
P106
Q151885 Q12737077
USER
How many concepts or occupations have Eiki Nestor as his/her as a career ?
(Q450523,P106,c(Q151885)) (Q450523,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q450523
relation P106
type Q151885
action filter_type
action find
entity Q450523
relation P106
type Q12737077
['Q450523', 'P106', {'concept': 'Q151885'}] ['Q450523', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { resource:Q450523 property:P106 ?e . ?e rdf:type ontology:Q151885 } UNION { resource:Q450523 property:P106 ?e . ?e rdf:type ontology:Q12737077 } }
Eiki Nestor
action count
action union
action filter_type
action find
entity Eiki Nestor
relation occupation
type concept
action filter_type
action find
entity Eiki Nestor
relation occupation
type occupation
['Eiki Nestor', 'occupation', {'concept': 'concept'}] ['Eiki Nestor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { resource:Eiki_Nestor property:occupation ?e . ?e rdf:type ontology:concept } UNION { resource:Eiki_Nestor property:occupation ?e . ?e rdf:type ontology:occupation } }
[]
concept occupation
SYSTEM
2
Q15627169 Q82955
(Q450523,P106,c(Q151885)) (Q450523,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q450523
relation P106
type Q151885
action filter_type
action find
entity Q450523
relation P106
type Q12737077
[ANSWER]
['Q450523', 'P106', {'concept': 'Q151885'}] ['Q450523', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { resource:Q450523 property:P106 ?e . ?e rdf:type ontology:Q151885 } UNION { resource:Q450523 property:P106 ?e . ?e rdf:type ontology:Q12737077 } }
trade unionist politician
2
action count
action union
action filter_type
action find
entity Eiki Nestor
relation occupation
type concept
action filter_type
action find
entity Eiki Nestor
relation occupation
type occupation
['Eiki Nestor', 'occupation', {'concept': 'concept'}] ['Eiki Nestor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { resource:Eiki_Nestor property:occupation ?e . ?e rdf:type ontology:concept } UNION { resource:Eiki_Nestor property:occupation ?e . ?e rdf:type ontology:occupation } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q11060274 Q15709879
USER
Which occupations are depicted in around 1 prints or artwork series ?
(c(Q11060274)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P180 ?b . ?n rdf:type ontology:Q15709879 . ?b rdf:type ontology:Q12737077 } UNION { ?n property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q11060274 } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:depicts ?b . ?n rdf:type ontology:artwork_series . ?b rdf:type ontology:occupation } UNION { ?n property:depicts ?b . ?b rdf:type ontology:occupation . ?n rdf:type ontology:print } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
occupation print artwork series
Q131512 Q47064 Q805221
SYSTEM
farmer, military personnel, ballet dancer
Q2486919 Q131512 Q47064 Q805221 Q12059906 Q622630 Q376924 Q848466 Q20489032 Q1509714 Q11063 Q2251335 Q639669 Q39631
(c(Q11060274)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
The [ANSWERS] are depicted in around 1 prints or artwork series
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P180 ?b . ?n rdf:type ontology:Q15709879 . ?b rdf:type ontology:Q12737077 } UNION { ?n property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q11060274 } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
standard-bearer farmer military personnel ballet dancer herder odalisque courtesan courier salt pan worker porter astronomer school teacher musician physician
The farmer, military personnel and ballet dancer are depicted in around 1 prints or artwork series
farmer military personnel ballet dancer
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:depicts ?b . ?n rdf:type ontology:artwork_series . ?b rdf:type ontology:occupation } UNION { ?n property:depicts ?b . ?b rdf:type ontology:occupation . ?n rdf:type ontology:print } } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131512 Q47064 Q805221
P39
Q502895
USER
Who held the position of those occupations ?
(c(Q502895),P39,Q131512) (c(Q502895),P39,Q47064) (c(Q502895),P39,Q805221)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q131512'] [{'concept': 'Q502895'}, 'P39', 'Q47064'] [{'concept': 'Q502895'}, 'P39', 'Q805221']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q2486919 ) ( resource:Q131512 ) ( resource:Q47064 ) } . ?v property:P39 ?e }
farmer military personnel ballet dancer
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'farmer'] [{'concept': 'common name'}, 'position held', 'military personnel'] [{'concept': 'common name'}, 'position held', 'ballet dancer']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:standard-bearer ) ( resource:farmer ) ( resource:military_personnel ) } . ?v property:position_held ?e }
[]
common name
Q3047915 Q6245628 Q3084746
SYSTEM
Edmond Magendie, John Lyon-Dalberg-Acton, 5th Baron Acton, François Goiran
Q6245628 Q3047915 Q3084746 Q19543312
(c(Q502895),P39,Q131512) (c(Q502895),P39,Q47064) (c(Q502895),P39,Q805221)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] held the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q131512'] [{'concept': 'Q502895'}, 'P39', 'Q47064'] [{'concept': 'Q502895'}, 'P39', 'Q805221']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q2486919 ) ( resource:Q131512 ) ( resource:Q47064 ) } . ?v property:P39 ?e }
John Lyon-Dalberg-Acton, 5th Baron Acton Edmond Magendie François Goiran Viktorina Kapitonova
Edmond Magendie, John Lyon-Dalberg-Acton, 5th Baron Acton and François Goiran held the position of those occupations
Edmond Magendie John Lyon-Dalberg-Acton, 5th Baron Acton François Goiran
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'farmer'] [{'concept': 'common name'}, 'position held', 'military personnel'] [{'concept': 'common name'}, 'position held', 'ballet dancer']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:standard-bearer ) ( resource:farmer ) ( resource:military_personnel ) } . ?v property:position_held ?e }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3047915 Q6245628 Q3084746
P21
Q290
USER
Which sexes do those people possess ?
(Q3047915,P21,c(Q290)) (Q6245628,P21,c(Q290)) (Q3084746,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3047915', 'P21', {'concept': 'Q290'}] ['Q6245628', 'P21', {'concept': 'Q290'}] ['Q3084746', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . ?k property:P21 ?g . VALUES ( ?k ) { ( resource:Q6245628 ) ( resource:Q3047915 ) ( resource:Q3084746 ) } }
Edmond Magendie John Lyon-Dalberg-Acton, 5th Baron Acton François Goiran
action filter_type
action find
entity prev_answer
relation gender
type sex
['Edmond Magendie', 'gender', {'concept': 'sex'}] ['John Lyon-Dalberg-Acton, 5th Baron Acton', 'gender', {'concept': 'sex'}] ['François Goiran', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . ?k property:gender ?g . VALUES ( ?k ) { ( resource:John_Lyon-Dalberg-Acton,_5th_Baron_Acton ) ( resource:Edmond_Magendie ) ( resource:François_Goiran ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q3047915,P21,c(Q290)) (Q6245628,P21,c(Q290)) (Q3084746,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess a [ANSWER], [ANSWER] and [ANSWER]
['Q3047915', 'P21', {'concept': 'Q290'}] ['Q6245628', 'P21', {'concept': 'Q290'}] ['Q3084746', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . ?k property:P21 ?g . VALUES ( ?k ) { ( resource:Q6245628 ) ( resource:Q3047915 ) ( resource:Q3084746 ) } }
male male male
Those people possess a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Edmond Magendie', 'gender', {'concept': 'sex'}] ['John Lyon-Dalberg-Acton, 5th Baron Acton', 'gender', {'concept': 'sex'}] ['François Goiran', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . ?k property:gender ?g . VALUES ( ?k ) { ( resource:John_Lyon-Dalberg-Acton,_5th_Baron_Acton ) ( resource:Edmond_Magendie ) ( resource:François_Goiran ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q710956
P20
Q56061
USER
Where did Jaan Tõnisson expire ?
(Q710956,P20,c(Q56061))
action filter_type
action find
entity Q710956
relation P20
type Q56061
['Q710956', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q710956 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Jaan Tõnisson
action filter_type
action find
entity Jaan Tõnisson
relation place of death
type administrative territorial entity
['Jaan Tõnisson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jaan_Tõnisson property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1770
SYSTEM
Tallinn
Q1770
(Q710956,P20,c(Q56061))
action filter_type
action find
entity Q710956
relation P20
type Q56061
Jaan Tõnisson expired in [ANSWER]
['Q710956', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q710956 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Tallinn
Jaan Tõnisson expired in Tallinn
Tallinn
action filter_type
action find
entity Jaan Tõnisson
relation place of death
type administrative territorial entity
['Jaan Tõnisson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jaan_Tõnisson property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]