Simple Question (Direct)
Simple Question
Q1501429
P136
Q151885
USER
What can be considered as category for Gene Rodgers ?
(Q1501429,P136,c(Q151885))
action filter_type
action find
entity Q1501429
relation P136
type Q151885
['Q1501429', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q1501429 property:P136 ?w . ?w rdf:type ontology:Q151885 }
Gene Rodgers
action filter_type
action find
entity Gene Rodgers
relation genre
type concept
['Gene Rodgers', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Gene_Rodgers property:genre ?w . ?w rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q1501429,P136,c(Q151885))
action filter_type
action find
entity Q1501429
relation P136
type Q151885
Be [ANSWER] can be considered as category for Gene Rodgers
['Q1501429', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q1501429 property:P136 ?w . ?w rdf:type ontology:Q151885 }
jazz
Be jazz can be considered as category for Gene Rodgers
jazz
action filter_type
action find
entity Gene Rodgers
relation genre
type concept
['Gene Rodgers', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Gene_Rodgers property:genre ?w . ?w rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1501429
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q8341,P106,c(Q12737077))
action filter_type
action find
entity Q1501429
relation P106
type Q12737077
['Q8341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1501429 property:P106 ?h }
Gene Rodgers
action filter_type
action find
entity Gene Rodgers
relation occupation
type occupation
['jazz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Gene_Rodgers property:occupation ?h }
[]
occupation
Q15981151 Q486748
SYSTEM
jazz musician, pianist
Q15981151 Q486748
(Q8341,P106,c(Q12737077))
action filter_type
action find
entity Q1501429
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q8341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1501429 property:P106 ?h }
jazz musician pianist
The professions of that person are jazz musician and pianist
jazz musician pianist
action filter_type
action find
entity Gene Rodgers
relation occupation
type occupation
['jazz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Gene_Rodgers property:occupation ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1501429
P21
Q290
USER
Which sex does that person belong to ?
(Q15981151,P21,c(Q290)) (Q486748,P21,c(Q290))
action filter_type
action find
entity Q1501429
relation P21
type Q290
['Q15981151', 'P21', {'concept': 'Q290'}] ['Q486748', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1501429 property:P21 ?g . ?g rdf:type ontology:Q290 }
Gene Rodgers
action filter_type
action find
entity Gene Rodgers
relation gender
type sex
['jazz musician', 'gender', {'concept': 'sex'}] ['pianist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Gene_Rodgers property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15981151,P21,c(Q290)) (Q486748,P21,c(Q290))
action filter_type
action find
entity Q1501429
relation P21
type Q290
That person belongs to [ANSWER]
['Q15981151', 'P21', {'concept': 'Q290'}] ['Q486748', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1501429 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Gene Rodgers
relation gender
type sex
['jazz musician', 'gender', {'concept': 'sex'}] ['pianist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Gene_Rodgers property:gender ?g . ?g rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11483619
P21
Q502895
USER
Does Toshitaka Hirano have that sex as the sex ?
(Q11483619,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11483619
relation P21
['Q11483619', 'P21', 'Q6581097']
ASK WHERE { resource:Q11483619 property:P21 resource:Q6581097 }
male Toshitaka Hirano
action is_in
entity male
action find
entity Toshitaka Hirano
relation gender
['Toshitaka Hirano', 'gender', 'male']
ASK WHERE { resource:Toshitaka_Hirano property:gender resource:male }
[]
common name
SYSTEM
YES
(Q11483619,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11483619
relation P21
[ANSWER]
['Q11483619', 'P21', 'Q6581097']
ASK WHERE { resource:Q11483619 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Toshitaka Hirano
relation gender
['Toshitaka Hirano', 'gender', 'male']
ASK WHERE { resource:Toshitaka_Hirano property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1501429
P27
Q15617994
USER
Which administrative territory is Gene Rodgers a civilian of ?
(Q1501429,P27,c(Q15617994))
action filter_type
action find
entity Q1501429
relation P27
type Q15617994
['Q1501429', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1501429 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Gene Rodgers
action filter_type
action find
entity Gene Rodgers
relation country of citizenship
type designation for an administrative territorial entity
['Gene Rodgers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Gene_Rodgers property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1501429,P27,c(Q15617994))
action filter_type
action find
entity Q1501429
relation P27
type Q15617994
The [ANSWER] is Gene Rodgers a civilian of
['Q1501429', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1501429 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
The United States of America is Gene Rodgers a civilian of
United States of America
action filter_type
action find
entity Gene Rodgers
relation country of citizenship
type designation for an administrative territorial entity
['Gene Rodgers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Gene_Rodgers property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q160131
P180
Q12737077 Q1792379 Q3305213
USER
Which occupations are depicted in around the same number of art genres and paintings as baker ?
(c(Q1792379)|c(Q3305213),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q160131
relation P180
type Q1792379
type Q3305213
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P180 resource:Q160131 . { { ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q1792379 } } } } . FILTER ( ?a = ?u ) }
baker
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity baker
relation depicts
type art genre
type painting
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:art_genre ) ( ontology:painting ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:depicts resource:baker . { { ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:art_genre } } } } . FILTER ( ?a = ?u ) }
[]
occupation art genre painting
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q11900058 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 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 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q1792379)|c(Q3305213),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q160131
relation P180
type Q1792379
type Q3305213
As [ANSWERS] are depicted in around the same number of art genres and paintings as baker
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P180 resource:Q160131 . { { ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q1792379 } } } } . FILTER ( ?a = ?u ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer florist teacher bear hunter cobbler arriero sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason explorer civil servant sower abbé architect street musician nurse parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer 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 odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon 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 courtier judge matador goldsmith waterseller pretender astronomer surgeon domestic worker cook Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
As nurse, tailor and librarian are depicted in around the same number of art genres and paintings as baker
nurse tailor librarian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity baker
relation depicts
type art genre
type painting
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:art_genre ) ( ontology:painting ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:depicts resource:baker . { { ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:art_genre } } } } . FILTER ( ?a = ?u ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q186360 Q242468 Q182436
P417
Q502895
USER
What people are the patron saint of nurse, tailor and librarian ?
(Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action union
action filter_type
action find
entity Q186360
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
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q186360 property:P417 ?g . ?g rdf:type ontology:Q502895 } UNION { resource:Q242468 property:P417 ?g . ?g rdf:type ontology:Q502895 } }
nurse tailor librarian
action union
action filter_type
action find
entity nurse
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
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:nurse property:patron_saint ?g . ?g rdf:type ontology:common_name } UNION { resource:tailor property:patron_saint ?g . ?g rdf:type ontology:common_name } }
[]
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 union
action filter_type
action find
entity Q186360
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 nurse, tailor and librarian
['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q186360 property:P417 ?g . ?g rdf:type ontology:Q502895 } UNION { resource:Q242468 property:P417 ?g . ?g rdf:type ontology:Q502895 } }
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
Catherine of Siena, Jerome and Bartholomew the Apostle are the patron saint of nurse, tailor and librarian
Catherine of Siena Jerome Bartholomew the Apostle
action union
action filter_type
action find
entity nurse
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
['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:nurse property:patron_saint ?g . ?g rdf:type ontology:common_name } UNION { resource:tailor property:patron_saint ?g . ?g rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q43982
P112
Q1530022
USER
Which religious organization was founded by that person ?
(c(Q1530022),P112,Q43982)
action filter_type
action find_reverse
entity Q43982
relation P112
type Q1530022
[{'concept': 'Q1530022'}, 'P112', 'Q43982']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q43982 . ?v rdf:type ontology:Q1530022 }
Bartholomew the Apostle
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation founder
type religious organization
[{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Bartholomew_the_Apostle . ?v rdf:type ontology:religious_organization }
[]
religious organization
Clarification for simple ques.
Q44248
SYSTEM
Did you mean Jerome ?
Q229190 Q44248 Q43982
(c(Q1530022),P112,Q229190) (c(Q1530022),P112,Q44248) (c(Q1530022),P112,Q43982)
[ANSWER]
[{'concept': 'Q1530022'}, 'P112', 'Q229190'] [{'concept': 'Q1530022'}, 'P112', 'Q44248'] [{'concept': 'Q1530022'}, 'P112', 'Q43982']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q43982 . ?v rdf:type ontology:Q1530022 }
Catherine of Siena Jerome Bartholomew the Apostle
Did you mean Jerome ?
Jerome
[{'concept': 'religious organization'}, 'founder', 'Catherine of Siena'] [{'concept': 'religious organization'}, 'founder', 'Jerome'] [{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Bartholomew_the_Apostle . ?v rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Bartholomew the Apostle. Could you tell me the answer for that?
(c(Q1530022),P112,Q43982)
Q43982
[{'concept': 'Q1530022'}, 'P112', 'Q43982']
[{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
[]
Q203179
SYSTEM
Assyrian Church of the East
Q203179
(c(Q1530022),P112,Q43982)
action filter_type
action find_reverse
entity Q43982
relation P112
type Q1530022
[ANSWER] was founded by that person
[{'concept': 'Q1530022'}, 'P112', 'Q43982']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q43982 . ?v rdf:type ontology:Q1530022 }
Assyrian Church of the East
Assyrian Church of the East was founded by that person
Assyrian Church of the East
action filter_type
action find_reverse
entity Bartholomew the Apostle
relation founder
type religious organization
[{'concept': 'religious organization'}, 'founder', 'Bartholomew the Apostle']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Bartholomew_the_Apostle . ?v rdf:type ontology:religious_organization }
[]