Simple Question (Direct)
Simple Question
Q6143645
P1412
Q34770
USER
Which language does James Stewart speak in ?
(Q6143645,P1412,c(Q34770))
action filter_type
action find
entity Q6143645
relation P1412
type Q34770
['Q6143645', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6143645 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
James Stewart
action filter_type
action find
entity James Stewart
relation languages spoken, written or signed
type language
['James Stewart', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:James_Stewart property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6143645,P1412,c(Q34770))
action filter_type
action find
entity Q6143645
relation P1412
type Q34770
James Stewart speaks the [ANSWER]
['Q6143645', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6143645 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
James Stewart speaks the English
English
action filter_type
action find
entity James Stewart
relation languages spoken, written or signed
type language
['James Stewart', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:James_Stewart property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6143645
P39
Q12737077
USER
What was the position for which James Stewart was appointed ?
(Q6143645,P39,c(Q12737077))
action filter_type
action find
entity Q6143645
relation P39
type Q12737077
['Q6143645', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q6143645 property:P39 ?i }
James Stewart
action filter_type
action find
entity James Stewart
relation position held
type occupation
['James Stewart', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:James_Stewart property:position_held ?i }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q6143645,P39,c(Q12737077))
action filter_type
action find
entity Q6143645
relation P39
type Q12737077
Kingdom [ANSWER]
['Q6143645', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q6143645 property:P39 ?i }
Member of Parliament in the United Kingdom
Kingdom Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity James Stewart
relation position held
type occupation
['James Stewart', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:James_Stewart property:position_held ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5408249
Q12737077
USER
And what about Orel Viciani Escker?
(Q5408249,P39,c(Q12737077))
action filter_type
action find
entity Q5408249
relation P39
type Q12737077
['Q5408249', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5408249 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Orel Viciani Escker
action filter_type
action find
entity Orel Viciani Escker
relation position held
type occupation
['Orel Viciani Escker', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Orel_Viciani_Escker property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q18067639
SYSTEM
member of the Chamber of Deputies of Chile
Q18067639
(Q5408249,P39,c(Q12737077))
action filter_type
action find
entity Q5408249
relation P39
type Q12737077
[ANSWER]
['Q5408249', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5408249 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of Chile
member of the Chamber of Deputies of Chile
action filter_type
action find
entity Orel Viciani Escker
relation position held
type occupation
['Orel Viciani Escker', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Orel_Viciani_Escker property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18067639 Q6117807
P39
Q502895
USER
Did Salvador Urrutia hold the position of that occupation ?
(Q6117807,P39,Q18067639)
action is_in
entity Q18067639
action find
entity Q6117807
relation P39
['Q6117807', 'P39', 'Q18067639']
ASK WHERE { resource:Q6117807 property:P39 resource:Q18067639 }
member of the Chamber of Deputies of Chile Salvador Urrutia
action is_in
entity member of the Chamber of Deputies of Chile
action find
entity Salvador Urrutia
relation position held
['Salvador Urrutia', 'position held', 'member of the Chamber of Deputies of Chile']
ASK WHERE { resource:Salvador_Urrutia property:position_held resource:member_of_the_Chamber_of_Deputies_of_Chile }
[]
common name
SYSTEM
YES
(Q6117807,P39,Q18067639)
action is_in
entity Q18067639
action find
entity Q6117807
relation P39
[ANSWER]
['Q6117807', 'P39', 'Q18067639']
ASK WHERE { resource:Q6117807 property:P39 resource:Q18067639 }
Yes
action is_in
entity member of the Chamber of Deputies of Chile
action find
entity Salvador Urrutia
relation position held
['Salvador Urrutia', 'position held', 'member of the Chamber of Deputies of Chile']
ASK WHERE { resource:Salvador_Urrutia property:position_held resource:member_of_the_Chamber_of_Deputies_of_Chile }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18067639
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that occupation ?
action filter_type
action find
entity Q18067639
relation P1001
type Q15617994
SELECT DISTINCT ?v WHERE { resource:Q18067639 property:P1001 ?v . ?v rdf:type ontology:Q15617994 }
member of the Chamber of Deputies of Chile
action filter_type
action find
entity member of the Chamber of Deputies of Chile
relation applies to jurisdiction
type designation for an administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:member_of_the_Chamber_of_Deputies_of_Chile property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
action filter_type
action find
entity Q18067639
relation P1001
type Q15617994
To [ANSWER] applies to jurisdiction of that occupation
SELECT DISTINCT ?v WHERE { resource:Q18067639 property:P1001 ?v . ?v rdf:type ontology:Q15617994 }
Chile
To Chile applies to jurisdiction of that occupation
Chile
action filter_type
action find
entity member of the Chamber of Deputies of Chile
relation applies to jurisdiction
type designation for an administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:member_of_the_Chamber_of_Deputies_of_Chile property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q298 Q19969228
P495
Q2088357
USER
Does Alejandro Silva Power Cuarteto originate at that administrative territory ?
(Q19969228,P495,Q298)
action is_in
entity Q298
action find
entity Q19969228
relation P495
['Q19969228', 'P495', 'Q298']
ASK WHERE { resource:Q19969228 property:P495 resource:Q298 }
Chile Alejandro Silva Power Cuarteto
action is_in
entity Chile
action find
entity Alejandro Silva Power Cuarteto
relation country of origin
['Alejandro Silva Power Cuarteto', 'country of origin', 'Chile']
ASK WHERE { resource:Alejandro_Silva_Power_Cuarteto property:country_of_origin resource:Chile }
[]
musical ensemble
SYSTEM
YES
(Q19969228,P495,Q298)
action is_in
entity Q298
action find
entity Q19969228
relation P495
[ANSWER]
['Q19969228', 'P495', 'Q298']
ASK WHERE { resource:Q19969228 property:P495 resource:Q298 }
Yes
action is_in
entity Chile
action find
entity Alejandro Silva Power Cuarteto
relation country of origin
['Alejandro Silva Power Cuarteto', 'country of origin', 'Chile']
ASK WHERE { resource:Alejandro_Silva_Power_Cuarteto property:country_of_origin resource:Chile }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q386724
USER
How many occupations were the main subjects in the work atleast 11 works of art or works ?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 11
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?c WHERE { VALUES ( ?u ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?k rdf:type ?u } GROUP BY ?c } . FILTER ( ?s >= 11 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 11
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?c WHERE { VALUES ( ?u ) { ( ontology:work ) ( ontology:work_of_art ) } . ?k rdf:type ?u } GROUP BY ?c } . FILTER ( ?s >= 11 ) }
[]
occupation work of art work
SYSTEM
5
Q33999 Q9402 Q164236 Q16746569 Q33231
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 11
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?c WHERE { VALUES ( ?u ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?k rdf:type ?u } GROUP BY ?c } . FILTER ( ?s >= 11 ) }
actor ninja war correspondent high school student photographer
5
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 11
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?c WHERE { VALUES ( ?u ) { ( ontology:work ) ( ontology:work_of_art ) } . ?k rdf:type ?u } GROUP BY ?c } . FILTER ( ?s >= 11 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q838948 Q15709879
USER
Which occupations are depicted in atmost 5 works of art or artwork series ?
(c(Q838948)|c(Q15709879),P180,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 5
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r <= 5 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?s } }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 5
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r <= 5 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:depicts ?s . ?s rdf:type ontology:occupation . ?e rdf:type ontology:work_of_art } UNION { ?e property:depicts ?s . ?s rdf:type ontology:occupation . ?e rdf:type ontology:artwork_series } } GROUP BY ?s } }
[]
occupation work of art artwork series
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q838948)|c(Q15709879),P180,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 5
[ANSWERS] are depicted in atmost 5 works of art or artwork series
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r <= 5 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?s } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder 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 odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer 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 musician poet baker knife grinder police officer 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 art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are depicted in atmost 5 works of art or artwork series
farmer nurse tailor
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 5
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r <= 5 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:depicts ?s . ?s rdf:type ontology:occupation . ?e rdf:type ontology:work_of_art } UNION { ?e property:depicts ?s . ?s rdf:type ontology:occupation . ?e rdf:type ontology:artwork_series } } GROUP BY ?s } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131512 Q186360 Q242468
P417
Q502895
USER
What are the names of person who are the patron saints of those occupations ?
(Q131512,P417,c(Q502895)) (Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?c property:P417 ?j . VALUES ( ?c ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } . ?j rdf:type ontology:Q502895 }
farmer nurse tailor
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?c property:patron_saint ?j . VALUES ( ?c ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } . ?j rdf:type ontology:common_name }
[]
common name
Q166876 Q229190 Q44265
SYSTEM
Isidore of Seville, Catherine of Siena, Benedict of Nursia
Q119289 Q166876 Q151967 Q44265 Q43982 Q332656 Q200895 Q229190 Q137947 Q179718 Q179718 Q43982
(Q131512,P417,c(Q502895)) (Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
The names of person are the patron saints of those occupations are [ANSWERS]
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?c property:P417 ?j . VALUES ( ?c ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } . ?j rdf:type ontology:Q502895 }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Catherine of Alexandria Bartholomew the Apostle
The names of person are the patron saints of those occupations are Isidore of Seville, Catherine of Siena and Benedict of Nursia
Isidore of Seville Catherine of Siena Benedict of Nursia
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?c property:patron_saint ?j . VALUES ( ?c ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q166876 Q229190 Q44265
P417
Q12737077
USER
Who are those people a patron saint of ?
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q229190) (c(Q12737077),P417,Q44265)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q229190'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?m WHERE { ?m property:P417 ?i . ?m rdf:type ontology:Q12737077 . VALUES ( ?i ) { ( resource:Q119289 ) ( resource:Q166876 ) ( resource:Q151967 ) } }
Isidore of Seville Catherine of Siena Benedict of Nursia
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?m WHERE { ?m property:patron_saint ?i . ?m rdf:type ontology:occupation . VALUES ( ?i ) { ( resource:Leonard_of_Port_Maurice ) ( resource:Isidore_of_Seville ) ( resource:Saint_Blaise ) } }
[]
occupation
Q131512 Q186360 Q131512
SYSTEM
farmer for 1st, 3rd, nurse for 2nd
Q131512 Q82594 Q107711 Q186360 Q131512 Q42973
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q229190) (c(Q12737077),P417,Q44265)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q229190'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?m WHERE { ?m property:P417 ?i . ?m rdf:type ontology:Q12737077 . VALUES ( ?i ) { ( resource:Q119289 ) ( resource:Q166876 ) ( resource:Q151967 ) } }
farmer computer scientist firefighter nurse farmer architect
Those people a patron saint of are farmer, nurse and farmer
farmer nurse farmer
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?m WHERE { ?m property:patron_saint ?i . ?m rdf:type ontology:occupation . VALUES ( ?i ) { ( resource:Leonard_of_Port_Maurice ) ( resource:Isidore_of_Seville ) ( resource:Saint_Blaise ) } }
[]