Simple Question (Direct)
Simple Question
Q15971852
P106
Q12737077
USER
What does Matar Niang do for a living ?
(Q15971852,P106,c(Q12737077))
action filter_type
action find
entity Q15971852
relation P106
type Q12737077
['Q15971852', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q15971852 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Matar Niang
action filter_type
action find
entity Matar Niang
relation occupation
type occupation
['Matar Niang', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Matar_Niang property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15971852,P106,c(Q12737077))
action filter_type
action find
entity Q15971852
relation P106
type Q12737077
Matar Niang does an [ANSWER] for a living
['Q15971852', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q15971852 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Matar Niang does an association football player for a living
association football player
action filter_type
action find
entity Matar Niang
relation occupation
type occupation
['Matar Niang', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Matar_Niang property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15971852
P1196
Q1931388
USER
What manner did Matar Niang die ?
(Q15971852,P1196,c(Q1931388))
action filter_type
action find
entity Q15971852
relation P1196
type Q1931388
['Q15971852', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?i WHERE { resource:Q15971852 property:P1196 ?i . ?i rdf:type ontology:Q1931388 }
Matar Niang
action filter_type
action find
entity Matar Niang
relation manner of death
type cause of death
['Matar Niang', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?i WHERE { resource:Matar_Niang property:manner_of_death ?i . ?i rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q15971852,P1196,c(Q1931388))
action filter_type
action find
entity Q15971852
relation P1196
type Q1931388
Matar Niang died of [ANSWER]
['Q15971852', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?i WHERE { resource:Q15971852 property:P1196 ?i . ?i rdf:type ontology:Q1931388 }
natural causes
Matar Niang died of natural causes
natural causes
action filter_type
action find
entity Matar Niang
relation manner of death
type cause of death
['Matar Niang', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?i WHERE { resource:Matar_Niang property:manner_of_death ?i . ?i rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15971852
P641
Q349
USER
Which sport was Matar Niang a part of ?
(Q15971852,P641,c(Q349))
action filter_type
action find
entity Q15971852
relation P641
type Q349
['Q15971852', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q15971852 property:P641 ?t . ?t rdf:type ontology:Q349 }
Matar Niang
action filter_type
action find
entity Matar Niang
relation sport
type sport
['Matar Niang', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Matar_Niang property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15971852,P641,c(Q349))
action filter_type
action find
entity Q15971852
relation P641
type Q349
Matar Niang was in [ANSWER]
['Q15971852', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q15971852 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
Matar Niang was in association football
association football
action filter_type
action find
entity Matar Niang
relation sport
type sport
['Matar Niang', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Matar_Niang property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15971852
P54
Q1194951
USER
What is Matar Niang a member of ?
(Q15971852,P54,c(Q1194951))
action filter_type
action find
entity Q15971852
relation P54
type Q1194951
['Q15971852', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { resource:Q15971852 property:P54 ?o . ?o rdf:type ontology:Q1194951 }
Matar Niang
action filter_type
action find
entity Matar Niang
relation member of sports team
type national sports team
['Matar Niang', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { resource:Matar_Niang property:member_of_sports_team ?o . ?o rdf:type ontology:national_sports_team }
[]
national sports team
Q207441
SYSTEM
Senegal national football team
Q207441
(Q15971852,P54,c(Q1194951))
action filter_type
action find
entity Q15971852
relation P54
type Q1194951
Matar Niang a member of is the [ANSWER]
['Q15971852', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { resource:Q15971852 property:P54 ?o . ?o rdf:type ontology:Q1194951 }
Senegal national football team
Matar Niang a member of is the Senegal national football team
Senegal national football team
action filter_type
action find
entity Matar Niang
relation member of sports team
type national sports team
['Matar Niang', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { resource:Matar_Niang property:member_of_sports_team ?o . ?o rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15971852
P21
Q290
USER
Which sex does that person belong to ?
(Q207441,P21,c(Q290))
action filter_type
action find
entity Q15971852
relation P21
type Q290
['Q207441', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q15971852 property:P21 ?l . ?l rdf:type ontology:Q290 }
Matar Niang
action filter_type
action find
entity Matar Niang
relation gender
type sex
['Senegal national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Matar_Niang property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q207441,P21,c(Q290))
action filter_type
action find
entity Q15971852
relation P21
type Q290
That person belongs to [ANSWER]
['Q207441', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q15971852 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Matar Niang
relation gender
type sex
['Senegal national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Matar_Niang property:gender ?l . ?l rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2309900
P180
Q12737077 Q3516658 Q1792379
USER
Which occupations are depicted in approximately the same number of heraldic symbols or art genres as helmsman ?
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q2309900
relation P180
type Q3516658
type Q1792379
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?g ) WHERE { { ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q3516658 . ?k property:P180 ?a } UNION { ?k property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q1792379 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } } . ?t property:P180 resource:Q2309900 } } . FILTER ( ?g = ?s ) }
helmsman
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity helmsman
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?g ) WHERE { { ?a rdf:type ontology:occupation . ?k rdf:type ontology:heraldic_symbol . ?k property:depicts ?a } UNION { ?k property:depicts ?a . ?a rdf:type ontology:occupation . ?k rdf:type ontology:art_genre } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } } . ?t property:depicts resource:helmsman } } . FILTER ( ?g = ?s ) }
[]
occupation heraldic symbol art genre
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 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 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 Q838811 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(Q3516658)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q2309900
relation P180
type Q3516658
type Q1792379
[ANSWERS] are depicted in approximately the same number of heraldic symbols or art genres as helmsman
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?g ) WHERE { { ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q3516658 . ?k property:P180 ?a } UNION { ?k property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q1792379 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } } . ?t property:P180 resource:Q2309900 } } . FILTER ( ?g = ?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 geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel 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 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 peasant 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 approximately the same number of heraldic symbols or art genres as helmsman
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity helmsman
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?g ) WHERE { { ?a rdf:type ontology:occupation . ?k rdf:type ontology:heraldic_symbol . ?k property:depicts ?a } UNION { ?k property:depicts ?a . ?a rdf:type ontology:occupation . ?k rdf:type ontology:art_genre } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } } . ?t property:depicts resource:helmsman } } . FILTER ( ?g = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q432386
P180
Q12737077 Q3516658 Q1792379
USER
And how about preacher?
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q432386
relation P180
type Q3516658
type Q1792379
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } . ?r rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P180 resource:Q432386 . { { ?n rdf:type ontology:Q3516658 } UNION { ?n rdf:type ontology:Q1792379 } } } } . FILTER ( ?u = ?j ) }
preacher
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity preacher
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } . ?r rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:depicts resource:preacher . { { ?n rdf:type ontology:heraldic_symbol } UNION { ?n rdf:type ontology:art_genre } } } } . FILTER ( ?u = ?j ) }
[]
occupation heraldic symbol art genre
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 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 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 Q838811 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(Q3516658)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q432386
relation P180
type Q3516658
type Q1792379
[ANSWERS]
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } . ?r rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P180 resource:Q432386 . { { ?n rdf:type ontology:Q3516658 } UNION { ?n rdf:type ontology:Q1792379 } } } } . FILTER ( ?u = ?j ) }
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 geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel 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 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 peasant 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 tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity preacher
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } . ?r rdf:type ?w } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:depicts resource:preacher . { { ?n rdf:type ontology:heraldic_symbol } UNION { ?n rdf:type ontology:art_genre } } } } . FILTER ( ?u = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q242468
P19
Q502895
USER
Who has location of birth at tailor ?
(c(Q502895),P19,Q242468)
action filter_type
action find_reverse
entity Q242468
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q242468']
SELECT DISTINCT ?v WHERE { ?v property:P19 resource:Q242468 . ?v rdf:type ontology:Q502895 }
tailor
action filter_type
action find_reverse
entity tailor
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'tailor']
SELECT DISTINCT ?v WHERE { ?v property:place_of_birth resource:tailor . ?v rdf:type ontology:common_name }
[]
common name
Q3469382
SYSTEM
Sakina M'sa
Q3469382
(c(Q502895),P19,Q242468)
action filter_type
action find_reverse
entity Q242468
relation P19
type Q502895
[ANSWER] has location of birth at tailor
[{'concept': 'Q502895'}, 'P19', 'Q242468']
SELECT DISTINCT ?v WHERE { ?v property:P19 resource:Q242468 . ?v rdf:type ontology:Q502895 }
Sakina M'sa
Sakina M'sa has location of birth at tailor
Sakina M'sa
action filter_type
action find_reverse
entity tailor
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'tailor']
SELECT DISTINCT ?v WHERE { ?v property:place_of_birth resource:tailor . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q242468
P425
Q12737077
USER
What is associated with the field of occupation that one ?
(Q3469382,P425,c(Q12737077))
action filter_type
action find
entity Q242468
relation P425
type Q12737077
['Q3469382', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q242468 property:P425 ?x . ?x rdf:type ontology:Q12737077 }
tailor
action filter_type
action find
entity tailor
relation field of this occupation
type occupation
["Sakina M'sa", 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:tailor property:field_of_this_occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q652122
SYSTEM
sewing
Q652122
(Q3469382,P425,c(Q12737077))
action filter_type
action find
entity Q242468
relation P425
type Q12737077
[ANSWER] is associated with the field of occupation that one
['Q3469382', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q242468 property:P425 ?x . ?x rdf:type ontology:Q12737077 }
sewing
Sewing is associated with the field of occupation that one
sewing
action filter_type
action find
entity tailor
relation field of this occupation
type occupation
["Sakina M'sa", 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:tailor property:field_of_this_occupation ?x . ?x rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q652122 Q4481451
P366
Q214609
USER
Does veiling have its main utilization as that occupation ?
(Q4481451,P366,Q652122)
action is_in
entity Q652122
action find
entity Q4481451
relation P366
['Q4481451', 'P366', 'Q652122']
ASK WHERE { resource:Q4481451 property:P366 resource:Q652122 }
sewing veiling
action is_in
entity sewing
action find
entity veiling
relation use
['veiling', 'use', 'sewing']
ASK WHERE { resource:veiling property:use resource:sewing }
[]
material
SYSTEM
YES
(Q4481451,P366,Q652122)
action is_in
entity Q652122
action find
entity Q4481451
relation P366
[ANSWER]
['Q4481451', 'P366', 'Q652122']
ASK WHERE { resource:Q4481451 property:P366 resource:Q652122 }
Yes
action is_in
entity sewing
action find
entity veiling
relation use
['veiling', 'use', 'sewing']
ASK WHERE { resource:veiling property:use resource:sewing }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15971852 Q1041
P27
Q15617994
USER
Is Senegal the native country of Matar Niang ?
(Q15971852,P27,Q1041)
action is_in
entity Q1041
action find
entity Q15971852
relation P27
['Q15971852', 'P27', 'Q1041']
ASK WHERE { resource:Q15971852 property:P27 resource:Q1041 }
Matar Niang Senegal
action is_in
entity Senegal
action find
entity Matar Niang
relation country of citizenship
['Matar Niang', 'country of citizenship', 'Senegal']
ASK WHERE { resource:Matar_Niang property:country_of_citizenship resource:Senegal }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q15971852,P27,Q1041)
action is_in
entity Q1041
action find
entity Q15971852
relation P27
[ANSWER]
['Q15971852', 'P27', 'Q1041']
ASK WHERE { resource:Q15971852 property:P27 resource:Q1041 }
Yes
action is_in
entity Senegal
action find
entity Matar Niang
relation country of citizenship
['Matar Niang', 'country of citizenship', 'Senegal']
ASK WHERE { resource:Matar_Niang property:country_of_citizenship resource:Senegal }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q166876
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of around the same number of occupations as Isidore of Seville ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q166876
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q166876 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P417 ?a . ?a rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?a } }
Isidore of Seville
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Isidore of Seville
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Isidore_of_Seville property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:patron_saint ?a . ?a rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?a } }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q166876
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of around the same number of occupations as Isidore of Seville
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q166876 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P417 ?a . ?a rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?a } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the names of the patron saint of around the same number of occupations as Isidore of Seville
Isidore of Seville Catherine of Siena Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Isidore of Seville
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Isidore_of_Seville property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:patron_saint ?a . ?a rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?a } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P825
Q502895 Q7725634 Q16970
USER
How many people are more number of literary works and churches dedicated to than that person ?
(c(Q7725634)|c(Q16970),P825,c(Q502895))
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?z ) ( ?x ) } . ?r property:P825 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?z ) ( ?x ) } . ?r property:dedicated_to ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]
common name literary work church
Comparative|Count over More/Less|Mult. entity type|Clarification
Q44248
SYSTEM
Did you mean Jerome ?
(c(Q7725634)|c(Q16970),P825,c(Q502895))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?z ) ( ?x ) } . ?r property:P825 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
Did you mean Jerome ?
Jerome
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?r ) { ( ?z ) ( ?x ) } . ?r property:dedicated_to ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q7725634)|c(Q16970),P825,c(Q502895))
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
[]
SYSTEM
41
Q392 Q183126 Q457903 Q448890 Q161775 Q48438 Q9200 Q2959955 Q44269 Q33923 Q244380 Q460876 Q181715 Q212850 Q8023 Q170726 Q269867 Q454840 Q378656 Q174044 Q2361972 Q20757530 Q165479 Q346 Q2360522 Q354519 Q457433 Q44015 Q318974 Q128267 Q1293541 Q133704 Q328804 Q163366 Q31966 Q503886 Q965463 Q284323 Q40662 Q331697 Q234689
(c(Q7725634)|c(Q16970),P825,c(Q502895))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P825 ?y } UNION { ?x property:P825 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
Bob Dylan Ramakrishna Saint Bavo Charlotte Saunders Cushman Stephen Saint George Paul Charles Panzéra Saint Nicholas Peter Saint Denis Lenny Bruce Thérèse of Lisieux Vitus Nelson Mandela Enrico Caruso Odile of Alsace William Cullen Bryant Saint Pantaleon Alexander Nevsky Winwaloe Madame Autard de Bragard Saint Patrick Louis IX of France Anna Petrovna Kern Charley Patton Sara Dylan John the Apostle Vincent of Saragossa Joseph Saint Quentin Martin of Tours John the Evangelist Ezra Pound Mark the Evangelist Sterling Morrison Rumbold of Mechelen Eulalia of Mérida John the Baptist Saint David Monica of Hippo
41
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:dedicated_to ?y } UNION { ?x property:dedicated_to ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]