Simple Question (Direct)
Simple Question
Q72584
P512
Q3412758
USER
What degree or diploma was awarded to Klaus Hildebrand ?
(Q72584,P512,c(Q3412758))
action filter_type
action find
entity Q72584
relation P512
type Q3412758
['Q72584', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q3412758 . resource:Q72584 property:P512 ?l }
Klaus Hildebrand
action filter_type
action find
entity Klaus Hildebrand
relation academic degree
type qualification
['Klaus Hildebrand', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:qualification . resource:Klaus_Hildebrand property:academic_degree ?l }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q72584,P512,c(Q3412758))
action filter_type
action find
entity Q72584
relation P512
type Q3412758
The [ANSWER] was awarded to Klaus Hildebrand
['Q72584', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q3412758 . resource:Q72584 property:P512 ?l }
doctoral degree
The doctoral degree was awarded to Klaus Hildebrand
doctoral degree
action filter_type
action find
entity Klaus Hildebrand
relation academic degree
type qualification
['Klaus Hildebrand', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:qualification . resource:Klaus_Hildebrand property:academic_degree ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q72584
P106
Q12737077
USER
Which occupations have Klaus Hildebrand as his/her 's career ?
(Q72584,P106,c(Q12737077))
action filter_type
action find
entity Q72584
relation P106
type Q12737077
['Q72584', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q72584 property:P106 ?r }
Klaus Hildebrand
action filter_type
action find
entity Klaus Hildebrand
relation occupation
type occupation
['Klaus Hildebrand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Klaus_Hildebrand property:occupation ?r }
[]
occupation
Q17489339 Q201788 Q1622272
SYSTEM
historian of the modern age, historian, university teacher
Q17489339 Q201788 Q1231865 Q1622272
(Q72584,P106,c(Q12737077))
action filter_type
action find
entity Q72584
relation P106
type Q12737077
[ANSWERS] have Klaus Hildebrand as his/her 's career
['Q72584', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q72584 property:P106 ?r }
historian of the modern age historian educationist university teacher
Historian of the modern age, historian and university teacher have Klaus Hildebrand as his/her 's career
historian of the modern age historian university teacher
action filter_type
action find
entity Klaus Hildebrand
relation occupation
type occupation
['Klaus Hildebrand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Klaus_Hildebrand property:occupation ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21600040
Q12737077
USER
And also tell me about Lorenzo López Sancho?
(Q21600040,P106,c(Q12737077))
action filter_type
action find
entity Q21600040
relation P106
type Q12737077
['Q21600040', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q21600040 property:P106 ?d }
Lorenzo López Sancho
action filter_type
action find
entity Lorenzo López Sancho
relation occupation
type occupation
['Lorenzo López Sancho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Lorenzo_López_Sancho property:occupation ?d }
[]
occupation
Q1930187 Q17337766 Q36180
SYSTEM
journalist, theatre critic, writer
Q1930187 Q17337766 Q36180
(Q21600040,P106,c(Q12737077))
action filter_type
action find
entity Q21600040
relation P106
type Q12737077
[ANSWERS]
['Q21600040', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q21600040 property:P106 ?d }
journalist theatre critic writer
journalist theatre critic writer
action filter_type
action find
entity Lorenzo López Sancho
relation occupation
type occupation
['Lorenzo López Sancho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Lorenzo_López_Sancho property:occupation ?d }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q504
P106
Q502895
USER
Do Émile Zola have a job as those occupations ?
(Q504,P106,Q1930187) (Q504,P106,Q17337766) (Q504,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q504
relation P106
['Q504', 'P106', 'Q1930187'] ['Q504', 'P106', 'Q17337766'] ['Q504', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?r ) { ( resource:Q1930187 ) ( resource:Q17337766 ) ( resource:Q36180 ) } . resource:Q504 property:P106 ?r }
Émile Zola
action is_in
entity prev_answer
action find
entity Émile Zola
relation occupation
['Émile Zola', 'occupation', 'journalist'] ['Émile Zola', 'occupation', 'theatre critic'] ['Émile Zola', 'occupation', 'writer']
ASK WHERE { VALUES ( ?r ) { ( resource:journalist ) ( resource:theatre_critic ) ( resource:writer ) } . resource:Émile_Zola property:occupation ?r }
[]
common name
SYSTEM
YES
(Q504,P106,Q1930187) (Q504,P106,Q17337766) (Q504,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q504
relation P106
[ANSWER]
['Q504', 'P106', 'Q1930187'] ['Q504', 'P106', 'Q17337766'] ['Q504', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?r ) { ( resource:Q1930187 ) ( resource:Q17337766 ) ( resource:Q36180 ) } . resource:Q504 property:P106 ?r }
Yes
action is_in
entity prev_answer
action find
entity Émile Zola
relation occupation
['Émile Zola', 'occupation', 'journalist'] ['Émile Zola', 'occupation', 'theatre critic'] ['Émile Zola', 'occupation', 'writer']
ASK WHERE { VALUES ( ?r ) { ( resource:journalist ) ( resource:theatre_critic ) ( resource:writer ) } . resource:Émile_Zola property:occupation ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1622272 Q9438
P417
Q502895
USER
Is Thomas Aquinas the patron saint of university teacher ?
(Q1622272,P417,Q9438)
action is_in
entity Q9438
action find
entity Q1622272
relation P417
['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 }
university teacher Thomas Aquinas
action is_in
entity Thomas Aquinas
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]
common name
SYSTEM
YES
(Q1622272,P417,Q9438)
action is_in
entity Q9438
action find
entity Q1622272
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 }
Yes
action is_in
entity Thomas Aquinas
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1250916
P180
Q12737077 Q3516658 Q15709879
USER
Which occupations are expressed in less number of heraldic symbols and artwork series than warrior ?
(c(Q3516658)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1250916
relation P180
type Q3516658
type Q15709879
[[{'concept': 'Q3516658'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:P180 ?q . ?t rdf:type ontology:Q3516658 . ?q rdf:type ontology:Q12737077 } UNION { ?t property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q15709879 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P180 resource:Q1250916 . { { ?i rdf:type ontology:Q3516658 } UNION { ?i rdf:type ontology:Q15709879 } } } } . FILTER ( ?p < ?y ) }
warrior
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity warrior
relation depicts
type heraldic symbol
type artwork series
[[{'concept': 'heraldic symbol'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:depicts ?q . ?t rdf:type ontology:heraldic_symbol . ?q rdf:type ontology:occupation } UNION { ?t property:depicts ?q . ?q rdf:type ontology:occupation . ?t rdf:type ontology:artwork_series } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:depicts resource:warrior . { { ?i rdf:type ontology:heraldic_symbol } UNION { ?i rdf:type ontology:artwork_series } } } } . FILTER ( ?p < ?y ) }
[]
occupation heraldic symbol 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 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 Q4991371 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 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1250916
relation P180
type Q3516658
type Q15709879
[ANSWERS] are expressed in less number of heraldic symbols and artwork series than warrior
[[{'concept': 'Q3516658'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:P180 ?q . ?t rdf:type ontology:Q3516658 . ?q rdf:type ontology:Q12737077 } UNION { ?t property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q15709879 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P180 resource:Q1250916 . { { ?i rdf:type ontology:Q3516658 } UNION { ?i rdf:type ontology:Q15709879 } } } } . FILTER ( ?p < ?y ) }
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 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 soldier 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 sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are expressed in less number of heraldic symbols and artwork series than warrior
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity warrior
relation depicts
type heraldic symbol
type artwork series
[[{'concept': 'heraldic symbol'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:depicts ?q . ?t rdf:type ontology:heraldic_symbol . ?q rdf:type ontology:occupation } UNION { ?t property:depicts ?q . ?q rdf:type ontology:occupation . ?t rdf:type ontology:artwork_series } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:depicts resource:warrior . { { ?i rdf:type ontology:heraldic_symbol } UNION { ?i rdf:type ontology:artwork_series } } } } . FILTER ( ?p < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q241423
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of more number of occupations than Juliana of Nicomedia ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q241423
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P417 ?f . ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?f } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q241423 property:P417 ?r . ?r rdf:type ontology:Q502895 } } }
Juliana of Nicomedia
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Juliana of Nicomedia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:patron_saint ?f . ?f rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?f } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Juliana_of_Nicomedia property:patron_saint ?r . ?r rdf:type ontology:common_name } } }
[]
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 greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q241423
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of more number of occupations than Juliana of Nicomedia
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:P417 ?f . ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?f } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q241423 property:P417 ?r . ?r rdf:type ontology:Q502895 } } }
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 the patron saint of more number of occupations than Juliana of Nicomedia
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Juliana of Nicomedia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { ?g property:patron_saint ?f . ?f rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?f } . FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Juliana_of_Nicomedia property:patron_saint ?r . ?r rdf:type ontology:common_name } } }
[]