Simple Question (Direct)
Simple Question
Q1338784
P641
Q349
USER
What was the sport that Georges Groussard was a part of ?
(Q1338784,P641,c(Q349))
action filter_type
action find
entity Q1338784
relation P641
type Q349
['Q1338784', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q1338784 property:P641 ?x . ?x rdf:type ontology:Q349 }
Georges Groussard
action filter_type
action find
entity Georges Groussard
relation sport
type sport
['Georges Groussard', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Georges_Groussard property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2215841
SYSTEM
cycle sport
Q2215841
(Q1338784,P641,c(Q349))
action filter_type
action find
entity Q1338784
relation P641
type Q349
The sport that Georges Groussard was a part of was the [ANSWER]
['Q1338784', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q1338784 property:P641 ?x . ?x rdf:type ontology:Q349 }
cycle sport
The sport that Georges Groussard was a part of was the cycle sport
cycle sport
action filter_type
action find
entity Georges Groussard
relation sport
type sport
['Georges Groussard', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Georges_Groussard property:sport ?x . ?x rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1338784
P7
Q502895
USER
Who is Georges Groussard a sibling of ?
(Q1338784,P7,c(Q502895))
action filter_type
action find
entity Q1338784
relation P7
type Q502895
['Q1338784', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1338784 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Georges Groussard
action filter_type
action find
entity Georges Groussard
relation brother
type common name
['Georges Groussard', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Georges_Groussard property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q1707135
SYSTEM
Joseph Groussard
Q1707135
(Q1338784,P7,c(Q502895))
action filter_type
action find
entity Q1338784
relation P7
type Q502895
Georges Groussard a sibling of is h [ANSWER]
['Q1338784', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1338784 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Joseph Groussard
Georges Groussard a sibling of is h Joseph Groussard
Joseph Groussard
action filter_type
action find
entity Georges Groussard
relation brother
type common name
['Georges Groussard', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Georges_Groussard property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1707135
P21
Q290
USER
Which sex does that person possess ?
(Q1707135,P21,c(Q290))
action filter_type
action find
entity Q1707135
relation P21
type Q290
['Q1707135', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q1707135 property:P21 ?d }
Joseph Groussard
action filter_type
action find
entity Joseph Groussard
relation gender
type sex
['Joseph Groussard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Joseph_Groussard property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1707135,P21,c(Q290))
action filter_type
action find
entity Q1707135
relation P21
type Q290
That person possesses a [ANSWER]
['Q1707135', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q1707135 property:P21 ?d }
male
That person possesses a male
male
action filter_type
action find
entity Joseph Groussard
relation gender
type sex
['Joseph Groussard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Joseph_Groussard property:gender ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1707135
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1707135
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1707135 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Joseph Groussard
action filter_type
action find
entity Joseph Groussard
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Joseph_Groussard property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q2309784
SYSTEM
sport cyclist
Q2309784
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1707135
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1707135 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
sport cyclist
The job of that person is a sport cyclist
sport cyclist
action filter_type
action find
entity Joseph Groussard
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Joseph_Groussard property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who 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 ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P417 ?k . ?k rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?i >= 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 ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:patron_saint ?k . ?k rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?i >= 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 names of person who are the patron saints of atleast 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P417 ?k . ?k rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?i >= 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 names of person who 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 ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:patron_saint ?k . ?k rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?i >= 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q26197324
P674
Q223393
USER
Do The Canadian parliamentary companion, 1897 have the character those people ?
(Q26197324,P674,Q9438) (Q26197324,P674,Q60059) (Q26197324,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q26197324
relation P674
['Q26197324', 'P674', 'Q9438'] ['Q26197324', 'P674', 'Q60059'] ['Q26197324', 'P674', 'Q166876']
ASK WHERE { resource:Q26197324 property:P674 ?y . VALUES ( ?y ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
The Canadian parliamentary companion, 1897
action is_in
entity prev_answer
action find
entity The Canadian parliamentary companion, 1897
relation characters
['The Canadian parliamentary companion, 1897', 'characters', 'Thomas Aquinas'] ['The Canadian parliamentary companion, 1897', 'characters', 'Albertus Magnus'] ['The Canadian parliamentary companion, 1897', 'characters', 'Isidore of Seville']
ASK WHERE { resource:The_Canadian_parliamentary_companion,_1897 property:characters ?y . VALUES ( ?y ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
literary genre
SYSTEM
NO
(Q26197324,P674,Q9438) (Q26197324,P674,Q60059) (Q26197324,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q26197324
relation P674
[ANSWER]
['Q26197324', 'P674', 'Q9438'] ['Q26197324', 'P674', 'Q60059'] ['Q26197324', 'P674', 'Q166876']
ASK WHERE { resource:Q26197324 property:P674 ?y . VALUES ( ?y ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
No
action is_in
entity prev_answer
action find
entity The Canadian parliamentary companion, 1897
relation characters
['The Canadian parliamentary companion, 1897', 'characters', 'Thomas Aquinas'] ['The Canadian parliamentary companion, 1897', 'characters', 'Albertus Magnus'] ['The Canadian parliamentary companion, 1897', 'characters', 'Isidore of Seville']
ASK WHERE { resource:The_Canadian_parliamentary_companion,_1897 property:characters ?y . VALUES ( ?y ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P737
Q502895
USER
Who were influenced by Thomas Aquinas ?
(c(Q502895),P737,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ?n WHERE { ?n property:P737 resource:Q9438 . ?n rdf:type ontology:Q502895 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ?n WHERE { ?n property:influenced_by resource:Thomas_Aquinas . ?n rdf:type ontology:common_name }
[]
common name
Q12807 Q1067 Q229646
SYSTEM
Umberto Eco, Dante Alighieri, G. E. M. Anscombe
Q12807 Q229646 Q1067 Q10337407
(c(Q502895),P737,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
[ANSWERS] were influenced by Thomas Aquinas
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ?n WHERE { ?n property:P737 resource:Q9438 . ?n rdf:type ontology:Q502895 }
Umberto Eco G. E. M. Anscombe Dante Alighieri Norman Geisler
Umberto Eco, Dante Alighieri and G. E. M. Anscombe were influenced by Thomas Aquinas
Umberto Eco Dante Alighieri G. E. M. Anscombe
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ?n WHERE { ?n property:influenced_by resource:Thomas_Aquinas . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1067
P180
Q2160811
USER
Which artistic theme demonstrates Dante Alighieri ?
(c(Q2160811),P180,Q1067)
action filter_type
action find_reverse
entity Q1067
relation P180
type Q2160811
[{'concept': 'Q2160811'}, 'P180', 'Q1067']
SELECT DISTINCT ?u WHERE { ?u property:P180 resource:Q1067 . ?u rdf:type ontology:Q2160811 }
Dante Alighieri
action filter_type
action find_reverse
entity Dante Alighieri
relation depicts
type artistic theme
[{'concept': 'artistic theme'}, 'depicts', 'Dante Alighieri']
SELECT DISTINCT ?u WHERE { ?u property:depicts resource:Dante_Alighieri . ?u rdf:type ontology:artistic_theme }
[]
artistic theme
Q18003128
SYSTEM
The Thinker
Q18003128
(c(Q2160811),P180,Q1067)
action filter_type
action find_reverse
entity Q1067
relation P180
type Q2160811
[ANSWER] demonstrates Dante Alighieri
[{'concept': 'Q2160811'}, 'P180', 'Q1067']
SELECT DISTINCT ?u WHERE { ?u property:P180 resource:Q1067 . ?u rdf:type ontology:Q2160811 }
The Thinker
The Thinker demonstrates Dante Alighieri
The Thinker
action filter_type
action find_reverse
entity Dante Alighieri
relation depicts
type artistic theme
[{'concept': 'artistic theme'}, 'depicts', 'Dante Alighieri']
SELECT DISTINCT ?u WHERE { ?u property:depicts resource:Dante_Alighieri . ?u rdf:type ontology:artistic_theme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1067
P551
Q56061
USER
Where did Dante Alighieri live ?
(Q1067,P551,c(Q56061))
action filter_type
action find
entity Q1067
relation P551
type Q56061
['Q1067', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1067 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Dante Alighieri
action filter_type
action find
entity Dante Alighieri
relation residence
type administrative territorial entity
['Dante Alighieri', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Dante_Alighieri property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q1067,P551,c(Q56061))
action filter_type
action find
entity Q1067
relation P551
type Q56061
Dante Alighieri lived in [ANSWER]
['Q1067', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1067 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Florence
Dante Alighieri lived in Florence
Florence
action filter_type
action find
entity Dante Alighieri
relation residence
type administrative territorial entity
['Dante Alighieri', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Dante_Alighieri property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2044 Q843031 Q19689
P190
Q515
USER
Is that administrative territory partner town of Vasvár and Tirana ?
(Q2044,P190,Q843031) (Q2044,P190,Q19689)
action is_in
entity Q2044
action intersection
action find_reverse
entity Q843031
relation P190
action find_reverse
entity Q19689
relation P190
['Q2044', 'P190', 'Q843031'] ['Q2044', 'P190', 'Q19689']
ASK WHERE { resource:Q2044 property:P190 resource:Q843031 . resource:Q2044 property:P190 resource:Q19689 }
Florence Vasvár Tirana
action is_in
entity Florence
action intersection
action find_reverse
entity Vasvár
relation sister city
action find_reverse
entity Tirana
relation sister city
['Florence', 'sister city', 'Vasvár'] ['Florence', 'sister city', 'Tirana']
ASK WHERE { resource:Florence property:sister_city resource:Vasvár . resource:Florence property:sister_city resource:Tirana }
[]
city
SYSTEM
NO and YES respectively
(Q2044,P190,Q843031) (Q2044,P190,Q19689)
action is_in
entity Q2044
action intersection
action find_reverse
entity Q843031
relation P190
action find_reverse
entity Q19689
relation P190
[ANSWER]
['Q2044', 'P190', 'Q843031'] ['Q2044', 'P190', 'Q19689']
ASK WHERE { resource:Q2044 property:P190 resource:Q843031 . resource:Q2044 property:P190 resource:Q19689 }
NO and YES respectively
action is_in
entity Florence
action intersection
action find_reverse
entity Vasvár
relation sister city
action find_reverse
entity Tirana
relation sister city
['Florence', 'sister city', 'Vasvár'] ['Florence', 'sister city', 'Tirana']
ASK WHERE { resource:Florence property:sister_city resource:Vasvár . resource:Florence property:sister_city resource:Tirana }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1067 Q18081 Q40185
P800
Q223393
USER
Is Dante Alighieri author of De vulgari eloquentia and The Divine Comedy ?
(Q1067,P800,Q18081) (Q1067,P800,Q40185)
action is_in
entity Q1067
action intersection
action find_reverse
entity Q18081
relation P800
action find_reverse
entity Q40185
relation P800
['Q1067', 'P800', 'Q18081'] ['Q1067', 'P800', 'Q40185']
ASK WHERE { resource:Q1067 property:P800 resource:Q40185 . resource:Q1067 property:P800 resource:Q18081 }
Dante Alighieri De vulgari eloquentia The Divine Comedy
action is_in
entity Dante Alighieri
action intersection
action find_reverse
entity De vulgari eloquentia
relation notable work
action find_reverse
entity The Divine Comedy
relation notable work
['Dante Alighieri', 'notable work', 'De vulgari eloquentia'] ['Dante Alighieri', 'notable work', 'The Divine Comedy']
ASK WHERE { resource:Dante_Alighieri property:notable_work resource:The_Divine_Comedy . resource:Dante_Alighieri property:notable_work resource:De_vulgari_eloquentia }
[]
literary genre
SYSTEM
YES
(Q1067,P800,Q18081) (Q1067,P800,Q40185)
action is_in
entity Q1067
action intersection
action find_reverse
entity Q18081
relation P800
action find_reverse
entity Q40185
relation P800
[ANSWER]
['Q1067', 'P800', 'Q18081'] ['Q1067', 'P800', 'Q40185']
ASK WHERE { resource:Q1067 property:P800 resource:Q40185 . resource:Q1067 property:P800 resource:Q18081 }
Yes
action is_in
entity Dante Alighieri
action intersection
action find_reverse
entity De vulgari eloquentia
relation notable work
action find_reverse
entity The Divine Comedy
relation notable work
['Dante Alighieri', 'notable work', 'De vulgari eloquentia'] ['Dante Alighieri', 'notable work', 'The Divine Comedy']
ASK WHERE { resource:Dante_Alighieri property:notable_work resource:The_Divine_Comedy . resource:Dante_Alighieri property:notable_work resource:De_vulgari_eloquentia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q166876 Q597111
P27
Q15617994
USER
Is Grunow-Dammendorf the country of citizenship of Isidore of Seville ?
(Q166876,P27,Q597111)
action is_in
entity Q597111
action find
entity Q166876
relation P27
['Q166876', 'P27', 'Q597111']
ASK WHERE { resource:Q166876 property:P27 resource:Q597111 }
Isidore of Seville Grunow-Dammendorf
action is_in
entity Grunow-Dammendorf
action find
entity Isidore of Seville
relation country of citizenship
['Isidore of Seville', 'country of citizenship', 'Grunow-Dammendorf']
ASK WHERE { resource:Isidore_of_Seville property:country_of_citizenship resource:Grunow-Dammendorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q166876,P27,Q597111)
action is_in
entity Q597111
action find
entity Q166876
relation P27
[ANSWER]
['Q166876', 'P27', 'Q597111']
ASK WHERE { resource:Q166876 property:P27 resource:Q597111 }
No
action is_in
entity Grunow-Dammendorf
action find
entity Isidore of Seville
relation country of citizenship
['Isidore of Seville', 'country of citizenship', 'Grunow-Dammendorf']
ASK WHERE { resource:Isidore_of_Seville property:country_of_citizenship resource:Grunow-Dammendorf }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2897536 Q9438
P1066
Q502895
USER
Which people taught Thomas Aquinas or Bernard Bilis ?
OR((Q9438,P1066,c(Q502895)), (Q2897536,P1066,c(Q502895)))
action filter_type
action union
action find
entity Q9438
relation P1066
action find
entity Q2897536
relation P1066
type Q502895
{'OR': [['Q9438', 'P1066', {'concept': 'Q502895'}], ['Q2897536', 'P1066', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q9438 property:P1066 ?q } UNION { resource:Q2897536 property:P1066 ?q } } . ?q rdf:type ontology:Q502895 }
Bernard Bilis Thomas Aquinas
action filter_type
action union
action find
entity Thomas Aquinas
relation student of
action find
entity Bernard Bilis
relation student of
type common name
{'OR': [['Thomas Aquinas', 'student of', {'concept': 'common name'}], ['Bernard Bilis', 'student of', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Thomas_Aquinas property:student_of ?q } UNION { resource:Bernard_Bilis property:student_of ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q60059 Q3384901
SYSTEM
Albertus Magnus, Pierre Edernac
Q60059 Q3384901
OR((Q9438,P1066,c(Q502895)), (Q2897536,P1066,c(Q502895)))
action filter_type
action union
action find
entity Q9438
relation P1066
action find
entity Q2897536
relation P1066
type Q502895
[ANSWERS] taught Thomas Aquinas or Bernard Bilis
{'OR': [['Q9438', 'P1066', {'concept': 'Q502895'}], ['Q2897536', 'P1066', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q9438 property:P1066 ?q } UNION { resource:Q2897536 property:P1066 ?q } } . ?q rdf:type ontology:Q502895 }
Albertus Magnus Pierre Edernac
Albertus Magnus and Pierre Edernac taught Thomas Aquinas or Bernard Bilis
Albertus Magnus Pierre Edernac
action filter_type
action union
action find
entity Thomas Aquinas
relation student of
action find
entity Bernard Bilis
relation student of
type common name
{'OR': [['Thomas Aquinas', 'student of', {'concept': 'common name'}], ['Bernard Bilis', 'student of', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Thomas_Aquinas property:student_of ?q } UNION { resource:Bernard_Bilis property:student_of ?q } } . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q60059 Q3384901
P21
Q290
USER
What are the sex of Albertus Magnus and Pierre Edernac ?
(Q60059,P21,c(Q290)) (Q3384901,P21,c(Q290))
action union
action filter_type
action find
entity Q60059
relation P21
type Q290
action filter_type
action find
entity Q3384901
relation P21
type Q290
['Q60059', 'P21', {'concept': 'Q290'}] ['Q3384901', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Q60059 ) ( resource:Q3384901 ) } . ?y property:P21 ?j }
Albertus Magnus Pierre Edernac
action union
action filter_type
action find
entity Albertus Magnus
relation gender
type sex
action filter_type
action find
entity Pierre Edernac
relation gender
type sex
['Albertus Magnus', 'gender', {'concept': 'sex'}] ['Pierre Edernac', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Albertus_Magnus ) ( resource:Pierre_Edernac ) } . ?y property:gender ?j }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q60059,P21,c(Q290)) (Q3384901,P21,c(Q290))
action union
action filter_type
action find
entity Q60059
relation P21
type Q290
action filter_type
action find
entity Q3384901
relation P21
type Q290
The sex of Albertus Magnus and Pierre Edernac are both [ANSWER] and [ANSWER]
['Q60059', 'P21', {'concept': 'Q290'}] ['Q3384901', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Q60059 ) ( resource:Q3384901 ) } . ?y property:P21 ?j }
male male
The sex of Albertus Magnus and Pierre Edernac are both male and male
male male
action union
action filter_type
action find
entity Albertus Magnus
relation gender
type sex
action filter_type
action find
entity Pierre Edernac
relation gender
type sex
['Albertus Magnus', 'gender', {'concept': 'sex'}] ['Pierre Edernac', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?y ) { ( resource:Albertus_Magnus ) ( resource:Pierre_Edernac ) } . ?y property:gender ?j }
[]