Simple Question (Direct)
Simple Question
Q20641420
P106
Q12737077
USER
What is the job of Kalen Ryden ?
(Q20641420,P106,c(Q12737077))
action filter_type
action find
entity Q20641420
relation P106
type Q12737077
['Q20641420', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q20641420 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Kalen Ryden
action filter_type
action find
entity Kalen Ryden
relation occupation
type occupation
['Kalen Ryden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Kalen_Ryden property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20641420,P106,c(Q12737077))
action filter_type
action find
entity Q20641420
relation P106
type Q12737077
The job of Kalen Ryden is an [ANSWER]
['Q20641420', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q20641420 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The job of Kalen Ryden is an association football player
association football player
action filter_type
action find
entity Kalen Ryden
relation occupation
type occupation
['Kalen Ryden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Kalen_Ryden property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20641420
P21
Q290
USER
What is the sex of Kalen Ryden ?
(Q20641420,P21,c(Q290))
action filter_type
action find
entity Q20641420
relation P21
type Q290
['Q20641420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q20641420 property:P21 ?z . ?z rdf:type ontology:Q290 }
Kalen Ryden
action filter_type
action find
entity Kalen Ryden
relation gender
type sex
['Kalen Ryden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Kalen_Ryden property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q20641420,P21,c(Q290))
action filter_type
action find
entity Q20641420
relation P21
type Q290
The sex of Kalen Ryden is the [ANSWER]
['Q20641420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q20641420 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
The sex of Kalen Ryden is the female
female
action filter_type
action find
entity Kalen Ryden
relation gender
type sex
['Kalen Ryden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Kalen_Ryden property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20641420
P54
Q618123
USER
What is the team that Kalen Ryden is a member of ?
(Q20641420,P54,c(Q618123))
action filter_type
action find
entity Q20641420
relation P54
type Q618123
['Q20641420', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?z WHERE { resource:Q20641420 property:P54 ?z . ?z rdf:type ontology:Q618123 }
Kalen Ryden
action filter_type
action find
entity Kalen Ryden
relation member of sports team
type geographical object
['Kalen Ryden', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?z WHERE { resource:Kalen_Ryden property:member_of_sports_team ?z . ?z rdf:type ontology:geographical_object }
[]
geographical object
Q15256873
SYSTEM
Oklahoma City Energy FC
Q15256873
(Q20641420,P54,c(Q618123))
action filter_type
action find
entity Q20641420
relation P54
type Q618123
The team that Kalen Ryden is a member of is the [ANSWER]
['Q20641420', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?z WHERE { resource:Q20641420 property:P54 ?z . ?z rdf:type ontology:Q618123 }
Oklahoma City Energy FC
The team that Kalen Ryden is a member of is the Oklahoma City Energy FC
Oklahoma City Energy FC
action filter_type
action find
entity Kalen Ryden
relation member of sports team
type geographical object
['Kalen Ryden', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?z WHERE { resource:Kalen_Ryden property:member_of_sports_team ?z . ?z rdf:type ontology:geographical_object }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P466
Q618123 Q811979 Q1076486
USER
How many geographical objects were the inhabitants of less number of architectural structures or sports venues than that geographical object ?
(c(Q811979)|c(Q1076486),P466,c(Q618123))
action count
action less
action union
action find_reverse_tuple_counts
relation P466
type Q618123
type Q811979
action find_reverse_tuple_counts
relation P466
type Q618123
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q15256873
relation P466
type Q811979
type Q1076486
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?z rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P466 resource:Q15256873 . { { ?x rdf:type ontology:Q811979 } UNION { ?x rdf:type ontology:Q1076486 } } } } . FILTER ( ?t < ?q ) }
action count
action less
action union
action find_reverse_tuple_counts
relation occupant
type geographical object
type architectural structure
action find_reverse_tuple_counts
relation occupant
type geographical object
type sports venue
action count
action filter_multi_types
action find_reverse
entity Oklahoma City Energy FC
relation occupant
type architectural structure
type sports venue
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?z rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:occupant resource:Oklahoma_City_Energy_FC . { { ?x rdf:type ontology:architectural_structure } UNION { ?x rdf:type ontology:sports_venue } } } } . FILTER ( ?t < ?q ) }
[]
geographical object architectural structure sports venue
SYSTEM
31
Q315727 Q690612 Q880565 Q1423118 Q80899 Q246962 Q11889561 Q2350626 Q2038022 Q15755 Q921881 Q844238 Q18661118 Q276533 Q1702598 Q3486576 Q105853 Q7629142 Q10708415 Q492826 Q10532865 Q300048 Q641641 Q201897 Q10493729 Q692586 Q41420 Q258236 Q161034 Q728575 Q5014111
(c(Q811979)|c(Q1076486),P466,c(Q618123))
action count
action less
action union
action find_reverse_tuple_counts
relation P466
type Q618123
type Q811979
action find_reverse_tuple_counts
relation P466
type Q618123
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q15256873
relation P466
type Q811979
type Q1076486
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?z rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P466 resource:Q15256873 . { { ?x rdf:type ontology:Q811979 } UNION { ?x rdf:type ontology:Q1076486 } } } } . FILTER ( ?t < ?q ) }
Marburg Mercenaries HC TWK Innsbruck Stuttgart Scorpions Göztepe S.K. Unión de Santa Fe Colorado Mammoth RB-Oulu HIFK Welsh Rugby Union FC Augsburg Egyptian Football Association Defensor Sporting Club Oulun Luistelukerho Racing Club Asociación Civil Jokipojat Slavia Sofia Karlsruher SC Sturt Football Club Uddevalla IS MKE Ankaragücü IFK Växjö ATSE Graz Rochester Knighthawks Italian Football Federation Falkenberg IK VfR Aalen Borussia Dortmund EC Bad Tölz SV Wacker Burghausen Malta Football Association CR Vasco da Gama
31
action count
action less
action union
action find_reverse_tuple_counts
relation occupant
type geographical object
type architectural structure
action find_reverse_tuple_counts
relation occupant
type geographical object
type sports venue
action count
action filter_multi_types
action find_reverse
entity Oklahoma City Energy FC
relation occupant
type architectural structure
type sports venue
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?z rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:occupant resource:Oklahoma_City_Energy_FC . { { ?x rdf:type ontology:architectural_structure } UNION { ?x rdf:type ontology:sports_venue } } } } . FILTER ( ?t < ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q11204 Q895526 Q12737077
USER
Which occupations did exactly 1 legislatures and authority organs appoint ?
(c(Q12737077),P748,c(Q11204)|c(Q895526))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q895526
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?i ) WHERE { { ?s property:P748 ?d . ?s rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q11204 } UNION { ?s property:P748 ?d . ?d rdf:type ontology:Q895526 . ?s rdf:type ontology:Q12737077 } } GROUP BY ?s } . FILTER ( ?i = 1 ) }
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type authority organ
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?i ) WHERE { { ?s property:appointed_by ?d . ?s rdf:type ontology:occupation . ?d rdf:type ontology:legislature } UNION { ?s property:appointed_by ?d . ?d rdf:type ontology:authority_organ . ?s rdf:type ontology:occupation } } GROUP BY ?s } . FILTER ( ?i = 1 ) }
[]
legislature authority organ occupation
Q655407 Q4122271 Q25863345
SYSTEM
President of the People's Republic of China, Premier of the People's Republic of China, Secretary of State for International Trade
Q2666591 Q11793630 Q1072417 Q2287650 Q5333410 Q261746 Q1029955 Q642859 Q967762 Q655407 Q940135 Q2305968 Q596123 Q7444340 Q2419581 Q25863345 Q2747647 Q1043568 Q13645132 Q636207 Q2003296 Q967750 Q866680 Q783785 Q1072415 Q26000995 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q4122271 Q967737 Q6542448 Q2301213 Q1658460 Q786242 Q1434880
(c(Q12737077),P748,c(Q11204)|c(Q895526))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q895526
value 1
Exactly 1 legislatures and authority organs appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?i ) WHERE { { ?s property:P748 ?d . ?s rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q11204 } UNION { ?s property:P748 ?d . ?d rdf:type ontology:Q895526 . ?s rdf:type ontology:Q12737077 } } GROUP BY ?s } . FILTER ( ?i = 1 ) }
Chair of the Federal Reserve governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education President of the People's Republic of China United States Secretary of the Navy United States Secretary of Health and Human Services president of Bangladesh Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Prime Minister of Vietnam Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor President of Vietnam Chief of Staff of the United States Army Chief of Naval Operations President of the Parliament of Catalonia Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China United States Secretary of Transportation Librarian of Congress United States Deputy Secretary of State United States Secretary of Veterans Affairs White House Chief of Staff Surgeon General of the United States
Exactly 1 legislatures and authority organs appointed by President of the People's Republic of China, Premier of the People's Republic of China and Secretary of State for International Trade
President of the People's Republic of China Premier of the People's Republic of China Secretary of State for International Trade
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type authority organ
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?i ) WHERE { { ?s property:appointed_by ?d . ?s rdf:type ontology:occupation . ?d rdf:type ontology:legislature } UNION { ?s property:appointed_by ?d . ?d rdf:type ontology:authority_organ . ?s rdf:type ontology:occupation } } GROUP BY ?s } . FILTER ( ?i = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q177220
P180
Q12737077 Q838948 Q15709879
USER
Which occupations are demonstrated in less number of works of art and artwork series than singer ?
(c(Q838948)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q177220
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?c WHERE { { ?j property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q15709879 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P180 resource:Q177220 . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } } } . FILTER ( ?p < ?l ) }
singer
action less
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
action count
action filter_multi_types
action find_reverse
entity singer
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?c WHERE { { ?j property:depicts ?c . ?c rdf:type ontology:occupation . ?j rdf:type ontology:work_of_art } UNION { ?j property:depicts ?c . ?c rdf:type ontology:occupation . ?j rdf:type ontology:artwork_series } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:depicts resource:singer . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } } } . FILTER ( ?p < ?l ) }
[]
occupation work of art artwork series
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q14009165 Q15954519 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q207651 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q838948)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q177220
relation P180
type Q838948
type Q15709879
The [ANSWERS] are demonstrated in less number of works of art and artwork series than singer
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?c WHERE { { ?j property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q15709879 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P180 resource:Q177220 . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } } } . FILTER ( ?p < ?l ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner religious servant detective midwife pianist stonemason explorer artist merchant civil servant abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja friar hobo fishmonger recorder player laborer gravedigger erudite comics artist boxer trapper alchemist tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge abbot matador goldsmith astronomer surgeon domestic worker cook executioner embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain street artist waiting staff
The nurse, tailor and librarian are demonstrated in less number of works of art and artwork series than singer
nurse tailor librarian
action less
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
action count
action filter_multi_types
action find_reverse
entity singer
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?c WHERE { { ?j property:depicts ?c . ?c rdf:type ontology:occupation . ?j rdf:type ontology:work_of_art } UNION { ?j property:depicts ?c . ?c rdf:type ontology:occupation . ?j rdf:type ontology:artwork_series } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:depicts resource:singer . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } } } . FILTER ( ?p < ?l ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q186360 Q242468 Q182436
P417
Q502895
USER
What are the names of person who are the patron saints of those occupations ?
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?f property:P417 ?r . VALUES ( ?f ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } }
nurse tailor librarian
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?f property:patron_saint ?r . VALUES ( ?f ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } }
[]
common name
Q229190 Q44248 Q43982
SYSTEM
Catherine of Siena, Jerome, Bartholomew the Apostle
Q332656 Q200895 Q229190 Q137947 Q179718 Q179718 Q43982 Q179718 Q44248 Q17590
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,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 Saint [ANSWERS]
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?f property:P417 ?r . VALUES ( ?f ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } }
Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Catherine of Alexandria Bartholomew the Apostle Catherine of Alexandria Jerome Lawrence of Rome
The names of person are the patron saints of those occupations are Saint Catherine of Siena, Jerome and Bartholomew the Apostle
Catherine of Siena Jerome Bartholomew the Apostle
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?f property:patron_saint ?r . VALUES ( ?f ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } }
[]