Simple Question (Direct)
Simple Question
Q444182
P39
Q12737077
USER
Which occupation was a position for which Joseph C. Yates was appointed ?
(Q444182,P39,c(Q12737077))
action filter_type
action find
entity Q444182
relation P39
type Q12737077
['Q444182', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q444182 property:P39 ?x }
Joseph C. Yates
action filter_type
action find
entity Joseph C. Yates
relation position held
type occupation
['Joseph C. Yates', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Joseph_C._Yates property:position_held ?x }
[]
occupation
Q2347975
SYSTEM
Governor of New York
Q2347975
(Q444182,P39,c(Q12737077))
action filter_type
action find
entity Q444182
relation P39
type Q12737077
[ANSWER] was a position for which Joseph C. Yates was appointed
['Q444182', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q444182 property:P39 ?x }
Governor of New York
Governor of New York was a position for which Joseph C. Yates was appointed
Governor of New York
action filter_type
action find
entity Joseph C. Yates
relation position held
type occupation
['Joseph C. Yates', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Joseph_C._Yates property:position_held ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q444182
P991
Q40231
USER
Where was that person elected successfully from ?
(c(Q40231),P991,Q2347975)
action filter_type
action find_reverse
entity Q444182
relation P991
type Q40231
[{'concept': 'Q40231'}, 'P991', 'Q2347975']
SELECT DISTINCT ?v WHERE { ?v property:P991 resource:Q444182 . ?v rdf:type ontology:Q40231 }
Joseph C. Yates
action filter_type
action find_reverse
entity Joseph C. Yates
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Governor of New York']
SELECT DISTINCT ?v WHERE { ?v property:successful_candidate resource:Joseph_C._Yates . ?v rdf:type ontology:election }
[]
election
Q1429559
SYSTEM
New York gubernatorial election, 1822
Q1429559
(c(Q40231),P991,Q2347975)
action filter_type
action find_reverse
entity Q444182
relation P991
type Q40231
Successfully that person was elected from the [ANSWER]
[{'concept': 'Q40231'}, 'P991', 'Q2347975']
SELECT DISTINCT ?v WHERE { ?v property:P991 resource:Q444182 . ?v rdf:type ontology:Q40231 }
New York gubernatorial election, 1822
Successfully that person was elected from the New York gubernatorial election, 1822
New York gubernatorial election, 1822
action filter_type
action find_reverse
entity Joseph C. Yates
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Governor of New York']
SELECT DISTINCT ?v WHERE { ?v property:successful_candidate resource:Joseph_C._Yates . ?v rdf:type ontology:election }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1429559 Q11903198 Q444182
P991
Q502895
USER
Was that election Zoltán Soós-Ruszka Hradetzky and Joseph C. Yates elected from ?
(Q1429559,P991,Q11903198) (Q1429559,P991,Q444182)
action is_in
entity Q1429559
action intersection
action find_reverse
entity Q11903198
relation P991
action find_reverse
entity Q444182
relation P991
['Q1429559', 'P991', 'Q11903198'] ['Q1429559', 'P991', 'Q444182']
ASK WHERE { resource:Q1429559 property:P991 resource:Q11903198 . resource:Q1429559 property:P991 resource:Q444182 }
New York gubernatorial election, 1822 Zoltán Soós-Ruszka Hradetzky Joseph C. Yates
action is_in
entity New York gubernatorial election, 1822
action intersection
action find_reverse
entity Zoltán Soós-Ruszka Hradetzky
relation successful candidate
action find_reverse
entity Joseph C. Yates
relation successful candidate
['New York gubernatorial election, 1822', 'successful candidate', 'Zoltán Soós-Ruszka Hradetzky'] ['New York gubernatorial election, 1822', 'successful candidate', 'Joseph C. Yates']
ASK WHERE { resource:New_York_gubernatorial_election,_1822 property:successful_candidate resource:Zoltán_Soós-Ruszka_Hradetzky . resource:New_York_gubernatorial_election,_1822 property:successful_candidate resource:Joseph_C._Yates }
[]
common name
SYSTEM
NO and YES respectively
(Q1429559,P991,Q11903198) (Q1429559,P991,Q444182)
action is_in
entity Q1429559
action intersection
action find_reverse
entity Q11903198
relation P991
action find_reverse
entity Q444182
relation P991
[ANSWER]
['Q1429559', 'P991', 'Q11903198'] ['Q1429559', 'P991', 'Q444182']
ASK WHERE { resource:Q1429559 property:P991 resource:Q11903198 . resource:Q1429559 property:P991 resource:Q444182 }
NO and YES respectively
action is_in
entity New York gubernatorial election, 1822
action intersection
action find_reverse
entity Zoltán Soós-Ruszka Hradetzky
relation successful candidate
action find_reverse
entity Joseph C. Yates
relation successful candidate
['New York gubernatorial election, 1822', 'successful candidate', 'Zoltán Soós-Ruszka Hradetzky'] ['New York gubernatorial election, 1822', 'successful candidate', 'Joseph C. Yates']
ASK WHERE { resource:New_York_gubernatorial_election,_1822 property:successful_candidate resource:Zoltán_Soós-Ruszka_Hradetzky . resource:New_York_gubernatorial_election,_1822 property:successful_candidate resource:Joseph_C._Yates }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q444182 Q29363 Q30
P27
Q15617994
USER
Is Joseph C. Yates a native of Cappella Maggiore and United States of America ?
(Q444182,P27,Q29363) (Q444182,P27,Q30)
action is_in
entity Q444182
action intersection
action find_reverse
entity Q29363
relation P27
action find_reverse
entity Q30
relation P27
['Q444182', 'P27', 'Q29363'] ['Q444182', 'P27', 'Q30']
ASK WHERE { resource:Q444182 property:P27 resource:Q29363 . resource:Q444182 property:P27 resource:Q30 }
Joseph C. Yates Cappella Maggiore United States of America
action is_in
entity Joseph C. Yates
action intersection
action find_reverse
entity Cappella Maggiore
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Joseph C. Yates', 'country of citizenship', 'Cappella Maggiore'] ['Joseph C. Yates', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Joseph_C._Yates property:country_of_citizenship resource:Cappella_Maggiore . resource:Joseph_C._Yates property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q444182,P27,Q29363) (Q444182,P27,Q30)
action is_in
entity Q444182
action intersection
action find_reverse
entity Q29363
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q444182', 'P27', 'Q29363'] ['Q444182', 'P27', 'Q30']
ASK WHERE { resource:Q444182 property:P27 resource:Q29363 . resource:Q444182 property:P27 resource:Q30 }
NO and YES respectively
action is_in
entity Joseph C. Yates
action intersection
action find_reverse
entity Cappella Maggiore
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Joseph C. Yates', 'country of citizenship', 'Cappella Maggiore'] ['Joseph C. Yates', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Joseph_C._Yates property:country_of_citizenship resource:Cappella_Maggiore . resource:Joseph_C._Yates property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2347975 Q30 Q5338396
P17
Q15617994
USER
Is Governor of New York present in United States of America and Edison Local School District ?
(Q2347975,P17,Q30) (Q2347975,P17,Q5338396)
action is_in
entity Q2347975
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q5338396
relation P17
['Q2347975', 'P17', 'Q30'] ['Q2347975', 'P17', 'Q5338396']
ASK WHERE { resource:Q2347975 property:P17 resource:Q5338396 . resource:Q2347975 property:P17 resource:Q30 }
Governor of New York United States of America Edison Local School District
action is_in
entity Governor of New York
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Edison Local School District
relation country
['Governor of New York', 'country', 'United States of America'] ['Governor of New York', 'country', 'Edison Local School District']
ASK WHERE { resource:Governor_of_New_York property:country resource:Edison_Local_School_District . resource:Governor_of_New_York property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2347975,P17,Q30) (Q2347975,P17,Q5338396)
action is_in
entity Q2347975
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q5338396
relation P17
[ANSWER]
['Q2347975', 'P17', 'Q30'] ['Q2347975', 'P17', 'Q5338396']
ASK WHERE { resource:Q2347975 property:P17 resource:Q5338396 . resource:Q2347975 property:P17 resource:Q30 }
YES and NO respectively
action is_in
entity Governor of New York
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Edison Local School District
relation country
['Governor of New York', 'country', 'United States of America'] ['Governor of New York', 'country', 'Edison Local School District']
ASK WHERE { resource:Governor_of_New_York property:country resource:Edison_Local_School_District . resource:Governor_of_New_York property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q444182 Q6974098
P102
Q7210356
USER
Is Joseph C. Yates affiliated with National Liberal Party ?
(Q444182,P102,Q6974098)
action is_in
entity Q6974098
action find
entity Q444182
relation P102
['Q444182', 'P102', 'Q6974098']
ASK WHERE { resource:Q444182 property:P102 resource:Q6974098 }
Joseph C. Yates National Liberal Party
action is_in
entity National Liberal Party
action find
entity Joseph C. Yates
relation member of political party
['Joseph C. Yates', 'member of political party', 'National Liberal Party']
ASK WHERE { resource:Joseph_C._Yates property:member_of_political_party resource:National_Liberal_Party }
[]
political organization
SYSTEM
NO
(Q444182,P102,Q6974098)
action is_in
entity Q6974098
action find
entity Q444182
relation P102
[ANSWER]
['Q444182', 'P102', 'Q6974098']
ASK WHERE { resource:Q444182 property:P102 resource:Q6974098 }
No
action is_in
entity National Liberal Party
action find
entity Joseph C. Yates
relation member of political party
['Joseph C. Yates', 'member of political party', 'National Liberal Party']
ASK WHERE { resource:Joseph_C._Yates property:member_of_political_party resource:National_Liberal_Party }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1429559 Q6174949
P991
Q502895
USER
Was Óscar Soria elected in New York gubernatorial election, 1822 ?
(Q1429559,P991,Q6174949)
action is_in
entity Q6174949
action find
entity Q1429559
relation P991
['Q1429559', 'P991', 'Q6174949']
ASK WHERE { resource:Q1429559 property:P991 resource:Q6174949 }
New York gubernatorial election, 1822 Óscar Soria
action is_in
entity Óscar Soria
action find
entity New York gubernatorial election, 1822
relation successful candidate
['New York gubernatorial election, 1822', 'successful candidate', 'Óscar Soria']
ASK WHERE { resource:New_York_gubernatorial_election,_1822 property:successful_candidate resource:Óscar_Soria }
[]
common name
SYSTEM
NO
(Q1429559,P991,Q6174949)
action is_in
entity Q6174949
action find
entity Q1429559
relation P991
[ANSWER]
['Q1429559', 'P991', 'Q6174949']
ASK WHERE { resource:Q1429559 property:P991 resource:Q6174949 }
No
action is_in
entity Óscar Soria
action find
entity New York gubernatorial election, 1822
relation successful candidate
['New York gubernatorial election, 1822', 'successful candidate', 'Óscar Soria']
ASK WHERE { resource:New_York_gubernatorial_election,_1822 property:successful_candidate resource:Óscar_Soria }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q45199
P180
Q12737077 Q340169 Q15709879
USER
Which occupations are expressed in less number of medias or artwork series than sailor ?
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q45199
relation P180
type Q340169
type Q15709879
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } . ?r rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P180 resource:Q45199 . { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } } } } . FILTER ( ?a < ?p ) }
sailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity sailor
relation depicts
type media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:media ) ( ontology:artwork_series ) } . ?r rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:depicts resource:sailor . { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:media ) ( ontology:artwork_series ) } } } } . FILTER ( ?a < ?p ) }
[]
occupation media artwork series
Q131512 Q242468 Q182436
SYSTEM
farmer, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q45199
relation P180
type Q340169
type Q15709879
[ANSWERS] are expressed in less number of medias or artwork series than sailor
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } . ?r rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P180 resource:Q45199 . { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } } } } . FILTER ( ?a < ?p ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer fisherman poet baker knife grinder guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, tailor and librarian are expressed in less number of medias or artwork series than sailor
farmer tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity sailor
relation depicts
type media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:media ) ( ontology:artwork_series ) } . ?r rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:depicts resource:sailor . { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:media ) ( ontology:artwork_series ) } } } } . FILTER ( ?a < ?p ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q131512 Q242468 Q182436
P417
Q502895
USER
What people are the patron saint of farmer, tailor and librarian ?
(Q131512,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
action filter_type
action find
entity Q182436
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { resource:Q131512 property:P417 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q242468 property:P417 ?r . ?r rdf:type ontology:Q502895 } }
farmer tailor librarian
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
action filter_type
action find
entity librarian
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { resource:farmer property:patron_saint ?r . ?r rdf:type ontology:common_name } UNION { resource:tailor property:patron_saint ?r . ?r rdf:type ontology:common_name } }
[]
common name
Q166876 Q44248 Q44265
SYSTEM
Isidore of Seville, Jerome, Benedict of Nursia
Q119289 Q166876 Q151967 Q44265 Q43982 Q179718 Q43982 Q179718 Q44248 Q17590
(Q131512,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
action filter_type
action find
entity Q182436
relation P417
type Q502895
[ANSWERS] are the patron saint of farmer, tailor and librarian
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { resource:Q131512 property:P417 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q242468 property:P417 ?r . ?r rdf:type ontology:Q502895 } }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle Catherine of Alexandria Bartholomew the Apostle Catherine of Alexandria Jerome Lawrence of Rome
Isidore of Seville, Jerome and Benedict of Nursia are the patron saint of farmer, tailor and librarian
Isidore of Seville Jerome Benedict of Nursia
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
action filter_type
action find
entity librarian
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { resource:farmer property:patron_saint ?r . ?r rdf:type ontology:common_name } UNION { resource:tailor property:patron_saint ?r . ?r rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q242468
P425
Q12737077
USER
Who is associated with the field of occupation tailor ?
(Q242468,P425,c(Q12737077))
action filter_type
action find
entity Q242468
relation P425
type Q12737077
['Q242468', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q242468 property:P425 ?p . ?p rdf:type ontology:Q12737077 }
tailor
action filter_type
action find
entity tailor
relation field of this occupation
type occupation
['tailor', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:tailor property:field_of_this_occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q652122
SYSTEM
sewing
Q652122
(Q242468,P425,c(Q12737077))
action filter_type
action find
entity Q242468
relation P425
type Q12737077
[ANSWER] is associated with the field of occupation tailor
['Q242468', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q242468 property:P425 ?p . ?p rdf:type ontology:Q12737077 }
sewing
Sewing is associated with the field of occupation tailor
sewing
action filter_type
action find
entity tailor
relation field of this occupation
type occupation
['tailor', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:tailor property:field_of_this_occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q166876
P50
Q2342494
USER
Which collectable is written by Isidore of Seville ?
(c(Q2342494),P50,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q166876']
SELECT DISTINCT ?j WHERE { ?j property:P50 resource:Q166876 . ?j rdf:type ontology:Q2342494 }
Isidore of Seville
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ?j WHERE { ?j property:author resource:Isidore_of_Seville . ?j rdf:type ontology:collectable }
[]
collectable
Q1218746
SYSTEM
Historia de regibus Gothorum, Vandalorum et Suevorum
Q1218746
(c(Q2342494),P50,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P50
type Q2342494
[ANSWER] is written by Isidore of Seville
[{'concept': 'Q2342494'}, 'P50', 'Q166876']
SELECT DISTINCT ?j WHERE { ?j property:P50 resource:Q166876 . ?j rdf:type ontology:Q2342494 }
Historia de regibus Gothorum, Vandalorum et Suevorum
Historia de regibus Gothorum, Vandalorum et Suevorum is written by Isidore of Seville
Historia de regibus Gothorum, Vandalorum et Suevorum
action filter_type
action find_reverse
entity Isidore of Seville
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ?j WHERE { ?j property:author resource:Isidore_of_Seville . ?j rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1218746
P136
Q1792379
USER
What can be considered as category for that collectable ?
(Q1218746,P136,c(Q1792379))
action filter_type
action find
entity Q1218746
relation P136
type Q1792379
['Q1218746', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { resource:Q1218746 property:P136 ?w . ?w rdf:type ontology:Q1792379 }
Historia de regibus Gothorum, Vandalorum et Suevorum
action filter_type
action find
entity Historia de regibus Gothorum, Vandalorum et Suevorum
relation genre
type art genre
['Historia de regibus Gothorum, Vandalorum et Suevorum', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { resource:Historia_de_regibus_Gothorum,_Vandalorum_et_Suevorum property:genre ?w . ?w rdf:type ontology:art_genre }
[]
art genre
Q185363
SYSTEM
chronicle
Q185363
(Q1218746,P136,c(Q1792379))
action filter_type
action find
entity Q1218746
relation P136
type Q1792379
[ANSWER] can be considered as category for that collectable
['Q1218746', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { resource:Q1218746 property:P136 ?w . ?w rdf:type ontology:Q1792379 }
chronicle
Chronicle can be considered as category for that collectable
chronicle
action filter_type
action find
entity Historia de regibus Gothorum, Vandalorum et Suevorum
relation genre
type art genre
['Historia de regibus Gothorum, Vandalorum et Suevorum', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { resource:Historia_de_regibus_Gothorum,_Vandalorum_et_Suevorum property:genre ?w . ?w rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q185363 Q7786429
P136
Q2342494
USER
Does This is Finland have that one as genre ?
(Q7786429,P136,Q185363)
action is_in
entity Q7786429
action find
entity Q185363
relation P136
['Q7786429', 'P136', 'Q185363']
ASK WHERE { resource:Q185363 property:P136 resource:Q7786429 }
chronicle This is Finland
action is_in
entity This is Finland
action find
entity chronicle
relation genre
['This is Finland', 'genre', 'chronicle']
ASK WHERE { resource:chronicle property:genre resource:This_is_Finland }
[]
collectable
SYSTEM
NO
(Q7786429,P136,Q185363)
action is_in
entity Q7786429
action find
entity Q185363
relation P136
[ANSWER]
['Q7786429', 'P136', 'Q185363']
ASK WHERE { resource:Q185363 property:P136 resource:Q7786429 }
No
action is_in
entity This is Finland
action find
entity chronicle
relation genre
['This is Finland', 'genre', 'chronicle']
ASK WHERE { resource:chronicle property:genre resource:This_is_Finland }
[]