Simple Question (Direct)
Simple Question
Q11657816
P119
Q56061
USER
Which administrative territory is the resting place of Abe Shōō ?
(Q11657816,P119,c(Q56061))
action filter_type
action find
entity Q11657816
relation P119
type Q56061
['Q11657816', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q11657816 property:P119 ?z . ?z rdf:type ontology:Q56061 }
Abe Shōō
action filter_type
action find
entity Abe Shōō
relation place of burial
type administrative territorial entity
['Abe Shōō', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Abe_Shōō property:place_of_burial ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q11354052
SYSTEM
Minowa
Q11354052
(Q11657816,P119,c(Q56061))
action filter_type
action find
entity Q11657816
relation P119
type Q56061
[ANSWER] is the resting place of Abe Shōō
['Q11657816', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q11657816 property:P119 ?z . ?z rdf:type ontology:Q56061 }
Minowa
Minowa is the resting place of Abe Shōō
Minowa
action filter_type
action find
entity Abe Shōō
relation place of burial
type administrative territorial entity
['Abe Shōō', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Abe_Shōō property:place_of_burial ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11657816
P1038
Q502895
USER
Who is a kin of that one ?
(c(Q502895),P1038,Q11354052)
action filter_type
action find_reverse
entity Q11657816
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q11354052']
SELECT DISTINCT ?n WHERE { ?n property:P1038 resource:Q11657816 . ?n rdf:type ontology:Q502895 }
Abe Shōō
action filter_type
action find_reverse
entity Abe Shōō
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Minowa']
SELECT DISTINCT ?n WHERE { ?n property:relative resource:Abe_Shōō . ?n rdf:type ontology:common_name }
[]
common name
Q24196850
SYSTEM
Abe Katatō
Q24196850
(c(Q502895),P1038,Q11354052)
action filter_type
action find_reverse
entity Q11657816
relation P1038
type Q502895
A kin of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q11354052']
SELECT DISTINCT ?n WHERE { ?n property:P1038 resource:Q11657816 . ?n rdf:type ontology:Q502895 }
Abe Katatō
A kin of that one is the Abe Katatō
Abe Katatō
action filter_type
action find_reverse
entity Abe Shōō
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Minowa']
SELECT DISTINCT ?n WHERE { ?n property:relative resource:Abe_Shōō . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24196850
P40
Q502895
USER
Which person is a child of that one ?
(Q24196850,P40,c(Q502895))
action filter_type
action find
entity Q24196850
relation P40
type Q502895
['Q24196850', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q24196850 property:P40 ?s }
Abe Katatō
action filter_type
action find
entity Abe Katatō
relation child
type common name
['Abe Katatō', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Abe_Katatō property:child ?s }
[]
common name
Q24046041
SYSTEM
Rekisai Abe
Q24046041
(Q24196850,P40,c(Q502895))
action filter_type
action find
entity Q24196850
relation P40
type Q502895
[ANSWER] is a child of that one
['Q24196850', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q24196850 property:P40 ?s }
Rekisai Abe
Rekisai Abe is a child of that one
Rekisai Abe
action filter_type
action find
entity Abe Katatō
relation child
type common name
['Abe Katatō', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Abe_Katatō property:child ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P22
Q502895
USER
How many people have that person as father ?
(c(Q502895),P22,Q24046041)
action count
action filter_type
action find_reverse
entity Q24046041
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q24046041']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P22 resource:Q24046041 }
action count
action filter_type
action find_reverse
entity Rekisai Abe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rekisai Abe']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:common_name . ?f property:father resource:Rekisai_Abe }
[]
common name
SYSTEM
1
Q24067158
(c(Q502895),P22,Q24046041)
action count
action filter_type
action find_reverse
entity Q24046041
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q24046041']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P22 resource:Q24046041 }
Abe Tametō
1
action count
action filter_type
action find_reverse
entity Rekisai Abe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rekisai Abe']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ontology:common_name . ?f property:father resource:Rekisai_Abe }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11657816
P106
Q12737077
USER
Which occupation is the profession of Abe Shōō ?
(Q11657816,P106,c(Q12737077))
action filter_type
action find
entity Q11657816
relation P106
type Q12737077
['Q11657816', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11657816 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Abe Shōō
action filter_type
action find
entity Abe Shōō
relation occupation
type occupation
['Abe Shōō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Abe_Shōō property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q39631
SYSTEM
physician
Q39631
(Q11657816,P106,c(Q12737077))
action filter_type
action find
entity Q11657816
relation P106
type Q12737077
The [ANSWER] is the profession of Abe Shōō
['Q11657816', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11657816 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
physician
The physician is the profession of Abe Shōō
physician
action filter_type
action find
entity Abe Shōō
relation occupation
type occupation
['Abe Shōō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Abe_Shōō property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations are the field of work of around the same number of collectables as that occupation ?
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q39631
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q39631 property:P101 ?t . ?t rdf:type ontology:Q12737077 } } . FILTER ( ?l = ?i ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?l ) WHERE { ?z rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 . ?r property:P101 ?z } GROUP BY ?z } }
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity physician
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:physician property:field_of_work ?t . ?t rdf:type ontology:occupation } } . FILTER ( ?l = ?i ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?l ) WHERE { ?z rdf:type ontology:occupation . ?r rdf:type ontology:collectable . ?r property:field_of_work ?z } GROUP BY ?z } }
[]
occupation collectable
SYSTEM
117
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494),P101,c(Q12737077))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q39631
relation P101
type Q12737077
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q39631 property:P101 ?t . ?t rdf:type ontology:Q12737077 } } . FILTER ( ?l = ?i ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?l ) WHERE { ?z rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 . ?r property:P101 ?z } GROUP BY ?z } }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
117
action count
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity physician
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:physician property:field_of_work ?t . ?t rdf:type ontology:occupation } } . FILTER ( ?l = ?i ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?l ) WHERE { ?z rdf:type ontology:occupation . ?r rdf:type ontology:collectable . ?r property:field_of_work ?z } GROUP BY ?z } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of atleast 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P417 ?f . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?f } . FILTER ( ?b >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:patron_saint ?f . ?f rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?f } . FILTER ( ?b >= 1 ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the patron saints of atleast 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P417 ?f . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?f } . FILTER ( ?b >= 1 ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the patron saints of atleast 1 occupation
Thomas Aquinas Albertus Magnus Isidore of Seville
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:patron_saint ?f . ?f rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?f } . FILTER ( ?b >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9438 Q60059 Q166876
P674
Q223393
USER
Which literary genres are Thomas Aquinas, Albertus Magnus and Isidore of Seville a character of ?
(c(Q223393),P674,Q9438) (c(Q223393),P674,Q60059) (c(Q223393),P674,Q166876)
action union
action filter_type
action find_reverse
entity Q9438
relation P674
type Q223393
action filter_type
action find_reverse
entity Q60059
relation P674
type Q223393
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q9438'] [{'concept': 'Q223393'}, 'P674', 'Q60059'] [{'concept': 'Q223393'}, 'P674', 'Q166876']
SELECT DISTINCT ?r WHERE { { ?r property:P674 resource:Q9438 . ?r rdf:type ontology:Q223393 } UNION { ?r property:P674 resource:Q60059 . ?r rdf:type ontology:Q223393 } }
Thomas Aquinas Albertus Magnus Isidore of Seville
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation characters
type literary genre
action filter_type
action find_reverse
entity Albertus Magnus
relation characters
type literary genre
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Thomas Aquinas'] [{'concept': 'literary genre'}, 'characters', 'Albertus Magnus'] [{'concept': 'literary genre'}, 'characters', 'Isidore of Seville']
SELECT DISTINCT ?r WHERE { { ?r property:characters resource:Thomas_Aquinas . ?r rdf:type ontology:literary_genre } UNION { ?r property:characters resource:Albertus_Magnus . ?r rdf:type ontology:literary_genre } }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
(c(Q223393),P674,Q9438) (c(Q223393),P674,Q60059) (c(Q223393),P674,Q166876)
action union
action filter_type
action find_reverse
entity Q9438
relation P674
type Q223393
action filter_type
action find_reverse
entity Q60059
relation P674
type Q223393
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
[ANSWER] is Thomas Aquinas, Albertus Magnus and Isidore of Seville a character of
[{'concept': 'Q223393'}, 'P674', 'Q9438'] [{'concept': 'Q223393'}, 'P674', 'Q60059'] [{'concept': 'Q223393'}, 'P674', 'Q166876']
SELECT DISTINCT ?r WHERE { { ?r property:P674 resource:Q9438 . ?r rdf:type ontology:Q223393 } UNION { ?r property:P674 resource:Q60059 . ?r rdf:type ontology:Q223393 } }
The Divine Comedy
The Divine Comedy is Thomas Aquinas, Albertus Magnus and Isidore of Seville a character of
The Divine Comedy
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation characters
type literary genre
action filter_type
action find_reverse
entity Albertus Magnus
relation characters
type literary genre
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Thomas Aquinas'] [{'concept': 'literary genre'}, 'characters', 'Albertus Magnus'] [{'concept': 'literary genre'}, 'characters', 'Isidore of Seville']
SELECT DISTINCT ?r WHERE { { ?r property:characters resource:Thomas_Aquinas . ?r rdf:type ontology:literary_genre } UNION { ?r property:characters resource:Albertus_Magnus . ?r rdf:type ontology:literary_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P802
Q502895
USER
Who were the teachers of Thomas Aquinas ?
(Q40185,P802,c(Q502895))
action filter_type
action find
entity Q9438
relation P802
type Q502895
['Q40185', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q9438 property:P802 ?n }
Thomas Aquinas
action filter_type
action find
entity Thomas Aquinas
relation student
type common name
['The Divine Comedy', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Thomas_Aquinas property:student ?n }
[]
common name
Q676267 Q1636083
SYSTEM
Henry Bate of Malines, Remigio dei Girolami
Q676267 Q1636083
(Q40185,P802,c(Q502895))
action filter_type
action find
entity Q9438
relation P802
type Q502895
The teachers of Thomas Aquinas were [ANSWERS]
['Q40185', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q9438 property:P802 ?n }
Henry Bate of Malines Remigio dei Girolami
The teachers of Thomas Aquinas were Henry Bate of Malines and Remigio dei Girolami
Henry Bate of Malines Remigio dei Girolami
action filter_type
action find
entity Thomas Aquinas
relation student
type common name
['The Divine Comedy', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Thomas_Aquinas property:student ?n }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q676267 Q1636083
P802
Q502895
USER
Which people were a notable student of those ones ?
(c(Q502895),P802,Q676267) (c(Q502895),P802,Q1636083)
action filter_type
action find_reverse
entity prev_answer
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q676267'] [{'concept': 'Q502895'}, 'P802', 'Q1636083']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P802 ?j . VALUES ( ?j ) { ( resource:Q676267 ) ( resource:Q1636083 ) } }
Henry Bate of Malines Remigio dei Girolami
action filter_type
action find_reverse
entity prev_answer
relation student
type common name
[{'concept': 'common name'}, 'student', 'Henry Bate of Malines'] [{'concept': 'common name'}, 'student', 'Remigio dei Girolami']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:student ?j . VALUES ( ?j ) { ( resource:Henry_Bate_of_Malines ) ( resource:Remigio_dei_Girolami ) } }
[]
common name
Q9438
SYSTEM
Thomas Aquinas
Q9438
(c(Q502895),P802,Q676267) (c(Q502895),P802,Q1636083)
action filter_type
action find_reverse
entity prev_answer
relation P802
type Q502895
[ANSWER] was a notable student of those ones
[{'concept': 'Q502895'}, 'P802', 'Q676267'] [{'concept': 'Q502895'}, 'P802', 'Q1636083']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P802 ?j . VALUES ( ?j ) { ( resource:Q676267 ) ( resource:Q1636083 ) } }
Thomas Aquinas
Thomas Aquinas was a notable student of those ones
Thomas Aquinas
action filter_type
action find_reverse
entity prev_answer
relation student
type common name
[{'concept': 'common name'}, 'student', 'Henry Bate of Malines'] [{'concept': 'common name'}, 'student', 'Remigio dei Girolami']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:student ?j . VALUES ( ?j ) { ( resource:Henry_Bate_of_Malines ) ( resource:Remigio_dei_Girolami ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9438
P611
Q1530022
USER
What religion is that person affiliated to ?
(Q9438,P611,c(Q1530022))
action filter_type
action find
entity Q9438
relation P611
type Q1530022
['Q9438', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?o WHERE { resource:Q9438 property:P611 ?o . ?o rdf:type ontology:Q1530022 }
Thomas Aquinas
action filter_type
action find
entity Thomas Aquinas
relation religious order
type religious organization
['Thomas Aquinas', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Aquinas property:religious_order ?o . ?o rdf:type ontology:religious_organization }
[]
religious organization
Q131479
SYSTEM
Dominican Order
Q131479
(Q9438,P611,c(Q1530022))
action filter_type
action find
entity Q9438
relation P611
type Q1530022
That person is affiliated with [ANSWER]
['Q9438', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?o WHERE { resource:Q9438 property:P611 ?o . ?o rdf:type ontology:Q1530022 }
Dominican Order
That person is affiliated with Dominican Order
Dominican Order
action filter_type
action find
entity Thomas Aquinas
relation religious order
type religious organization
['Thomas Aquinas', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Aquinas property:religious_order ?o . ?o rdf:type ontology:religious_organization }
[]