Simple Question (Direct)
Simple Question
Q2030046
P21
Q290
USER
What is the sex of Zulma Carraud ?
(Q2030046,P21,c(Q290))
action filter_type
action find
entity Q2030046
relation P21
type Q290
['Q2030046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q2030046 property:P21 ?a . ?a rdf:type ontology:Q290 }
Zulma Carraud
action filter_type
action find
entity Zulma Carraud
relation gender
type sex
['Zulma Carraud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Zulma_Carraud property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2030046,P21,c(Q290))
action filter_type
action find
entity Q2030046
relation P21
type Q290
The sex of Zulma Carraud is the [ANSWER]
['Q2030046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q2030046 property:P21 ?a . ?a rdf:type ontology:Q290 }
female
The sex of Zulma Carraud is the female
female
action filter_type
action find
entity Zulma Carraud
relation gender
type sex
['Zulma Carraud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Zulma_Carraud property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2030046
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q2030046
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2030046 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Zulma Carraud
action filter_type
action find
entity Zulma Carraud
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Zulma_Carraud property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q4853732 Q36180
SYSTEM
children's writer, writer
Q4853732 Q36180
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q2030046
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2030046 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
children's writer writer
The professions of that person are children's writer and writer
children's writer writer
action filter_type
action find
entity Zulma Carraud
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Zulma_Carraud property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4853732 Q36180
P101
Q502895
USER
Which people work in the domain of those occupations ?
(c(Q502895),P101,Q4853732) (c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q4853732'] [{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . VALUES ( ?y ) { ( resource:Q4853732 ) ( resource:Q36180 ) } . ?c property:P101 ?y }
children's writer writer
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', "children's writer"] [{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . VALUES ( ?y ) { ( resource:children's_writer ) ( resource:writer ) } . ?c property:field_of_work ?y }
[]
common name
Q1944623 Q168569
SYSTEM
Monika Finsterbusch, Martin Andersen Nexø
Q1944623 Q168569
(c(Q502895),P101,Q4853732) (c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those occupations
[{'concept': 'Q502895'}, 'P101', 'Q4853732'] [{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . VALUES ( ?y ) { ( resource:Q4853732 ) ( resource:Q36180 ) } . ?c property:P101 ?y }
Monika Finsterbusch Martin Andersen Nexø
Monika Finsterbusch and Martin Andersen Nexø work in the domain of those occupations
Monika Finsterbusch Martin Andersen Nexø
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', "children's writer"] [{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . VALUES ( ?y ) { ( resource:children's_writer ) ( resource:writer ) } . ?c property:field_of_work ?y }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1944623 Q168569
P106
Q12737077
USER
What are the job of those people ?
(Q1944623,P106,c(Q12737077)) (Q168569,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q1944623', 'P106', {'concept': 'Q12737077'}] ['Q168569', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . ?p property:P106 ?h . VALUES ( ?p ) { ( resource:Q1944623 ) ( resource:Q168569 ) } }
Monika Finsterbusch Martin Andersen Nexø
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Monika Finsterbusch', 'occupation', {'concept': 'occupation'}] ['Martin Andersen Nexø', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . ?p property:occupation ?h . VALUES ( ?p ) { ( resource:Monika_Finsterbusch ) ( resource:Martin_Andersen_Nexø ) } }
[]
occupation
Q1930187 Q4853732 Q36180
SYSTEM
journalist, children's writer, writer
Q4853732 Q36180 Q1930187 Q36180
(Q1944623,P106,c(Q12737077)) (Q168569,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The job of those people are a [ANSWERS]
['Q1944623', 'P106', {'concept': 'Q12737077'}] ['Q168569', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . ?p property:P106 ?h . VALUES ( ?p ) { ( resource:Q1944623 ) ( resource:Q168569 ) } }
children's writer writer journalist writer
The job of those people are a journalist, children's writer and writer
journalist children's writer writer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Monika Finsterbusch', 'occupation', {'concept': 'occupation'}] ['Martin Andersen Nexø', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . ?p property:occupation ?h . VALUES ( ?p ) { ( resource:Monika_Finsterbusch ) ( resource:Martin_Andersen_Nexø ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1944623
P937
Q486972
USER
What is the work location of that person ?
(Q1944623,P937,c(Q486972))
action filter_type
action find
entity Q1944623
relation P937
type Q486972
['Q1944623', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q486972 . resource:Q1944623 property:P937 ?z }
Monika Finsterbusch
action filter_type
action find
entity Monika Finsterbusch
relation work location
type human settlement
['Monika Finsterbusch', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:human_settlement . resource:Monika_Finsterbusch property:work_location ?z }
[]
human settlement
Clarification for simple ques.
Q1944623
SYSTEM
Did you mean Monika Finsterbusch ?
Q1930187 Q4853732 Q36180
(Q1930187,P937,c(Q486972)) (Q4853732,P937,c(Q486972)) (Q36180,P937,c(Q486972))
[ANSWER]
['Q1930187', 'P937', {'concept': 'Q486972'}] ['Q4853732', 'P937', {'concept': 'Q486972'}] ['Q36180', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q486972 . resource:Q1944623 property:P937 ?z }
journalist children's writer writer
Did you mean Monika Finsterbusch ?
Monika Finsterbusch
['journalist', 'work location', {'concept': 'human settlement'}] ["children's writer", 'work location', {'concept': 'human settlement'}] ['writer', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:human_settlement . resource:Monika_Finsterbusch property:work_location ?z }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1944623,P937,c(Q486972))
['Q1944623', 'P937', {'concept': 'Q486972'}]
['Monika Finsterbusch', 'work location', {'concept': 'human settlement'}]
[]
Q1055
SYSTEM
Hamburg
Q1055
(Q1944623,P937,c(Q486972))
action filter_type
action find
entity Q1944623
relation P937
type Q486972
The work location of that person is in [ANSWER]
['Q1944623', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q486972 . resource:Q1944623 property:P937 ?z }
Hamburg
The work location of that person is in Hamburg
Hamburg
action filter_type
action find
entity Monika Finsterbusch
relation work location
type human settlement
['Monika Finsterbusch', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:human_settlement . resource:Monika_Finsterbusch property:work_location ?z }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q177220
P180
Q12737077 Q340169 Q15709879
USER
Which occupations are expressed in lesser number of medias or artwork series than singer ?
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
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 Q340169
type Q15709879
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?r WHERE { { ?n property:P180 ?r . ?n rdf:type ontology:Q15709879 . ?r rdf:type ontology:Q12737077 } UNION { ?n property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q340169 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P180 resource:Q177220 . { { ?x rdf:type ontology:Q340169 } UNION { ?x rdf:type ontology:Q15709879 } } } } . FILTER ( ?c < ?m ) }
singer
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
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 media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?r WHERE { { ?n property:depicts ?r . ?n rdf:type ontology:artwork_series . ?r rdf:type ontology:occupation } UNION { ?n property:depicts ?r . ?r rdf:type ontology:occupation . ?n rdf:type ontology:media } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:depicts resource:singer . { { ?x rdf:type ontology:media } UNION { ?x rdf:type ontology:artwork_series } } } } . FILTER ( ?c < ?m ) }
[]
occupation media artwork series
Q131512 Q242468 Q182436
SYSTEM
farmer, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 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 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
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 Q340169
type Q15709879
The [ANSWERS] are expressed in lesser number of medias or artwork series than singer
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?r WHERE { { ?n property:P180 ?r . ?n rdf:type ontology:Q15709879 . ?r rdf:type ontology:Q12737077 } UNION { ?n property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q340169 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P180 resource:Q177220 . { { ?x rdf:type ontology:Q340169 } UNION { ?x rdf:type ontology:Q15709879 } } } } . FILTER ( ?c < ?m ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic 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 goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra 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 poet baker knife grinder 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 bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
The farmer, tailor and librarian are expressed in lesser number of medias or artwork series than singer
farmer tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
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 media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?r WHERE { { ?n property:depicts ?r . ?n rdf:type ontology:artwork_series . ?r rdf:type ontology:occupation } UNION { ?n property:depicts ?r . ?r rdf:type ontology:occupation . ?n rdf:type ontology:media } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:depicts resource:singer . { { ?x rdf:type ontology:media } UNION { ?x rdf:type ontology:artwork_series } } } } . FILTER ( ?c < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q12059906
P180
Q12737077 Q340169 Q15709879
USER
And also tell me about herder?
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q12059906
relation P180
type Q340169
type Q15709879
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:Q340169 . ?c rdf:type ontology:Q12737077 . ?e property:P180 ?c } UNION { ?e property:P180 ?c . ?e rdf:type ontology:Q15709879 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?c } . FILTER ( ?i < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P180 resource:Q12059906 . { { ?u rdf:type ontology:Q340169 } UNION { ?u rdf:type ontology:Q15709879 } } } } }
herder
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity herder
relation depicts
type media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:media . ?c rdf:type ontology:occupation . ?e property:depicts ?c } UNION { ?e property:depicts ?c . ?e rdf:type ontology:artwork_series . ?c rdf:type ontology:occupation } } GROUP BY ?c } . FILTER ( ?i < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:depicts resource:herder . { { ?u rdf:type ontology:media } UNION { ?u rdf:type ontology:artwork_series } } } } }
[]
occupation media artwork series
Q131512 Q242468 Q182436
SYSTEM
farmer, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 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 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q12059906
relation P180
type Q340169
type Q15709879
[ANSWERS]
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:Q340169 . ?c rdf:type ontology:Q12737077 . ?e property:P180 ?c } UNION { ?e property:P180 ?c . ?e rdf:type ontology:Q15709879 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?c } . FILTER ( ?i < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P180 resource:Q12059906 . { { ?u rdf:type ontology:Q340169 } UNION { ?u rdf:type ontology:Q15709879 } } } } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic 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 goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra 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 poet baker knife grinder 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 bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
farmer tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity herder
relation depicts
type media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:media . ?c rdf:type ontology:occupation . ?e property:depicts ?c } UNION { ?e property:depicts ?c . ?e rdf:type ontology:artwork_series . ?c rdf:type ontology:occupation } } GROUP BY ?c } . FILTER ( ?i < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:depicts resource:herder . { { ?u rdf:type ontology:media } UNION { ?u rdf:type ontology:artwork_series } } } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131512 Q242468 Q182436
P417
Q502895
USER
What are the names of the patron saint of those occupations ?
(Q131512,P417,c(Q502895)) (Q242468,P417,c(Q502895)) (Q182436,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?t property:P417 ?y . VALUES ( ?t ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } }
farmer tailor librarian
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?t property:patron_saint ?y . VALUES ( ?t ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } }
[]
common name
Q166876 Q44248 Q44265
SYSTEM
Isidore of Seville, Jerome, Benedict of Nursia
Q119289 Q166876 Q151967 Q44265 Q43982 Q179718 Q43982 Q179718 Q44248 Q17590
(Q131512,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 the patron saint of those occupations are [ANSWERS]
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}] ['Q182436', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?t property:P417 ?y . VALUES ( ?t ) { ( resource:Q19754019 ) ( resource:Q11957145 ) ( resource:Q1934482 ) } }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle Catherine of Alexandria Bartholomew the Apostle Catherine of Alexandria Jerome Lawrence of Rome
The names of the patron saint of those occupations are Isidore of Seville, Jerome and Benedict of Nursia
Isidore of Seville Jerome Benedict of Nursia
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}] ['librarian', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?t property:patron_saint ?y . VALUES ( ?t ) { ( resource:fiddler ) ( resource:acrobat ) ( resource:milkmaid ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q44265
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q44265,P39,c(Q12737077))
action filter_type
action find
entity Q44265
relation P39
type Q12737077
['Q44265', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q44265 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Benedict of Nursia
action filter_type
action find
entity Benedict of Nursia
relation position held
type occupation
['Benedict of Nursia', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Benedict_of_Nursia property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q166876
SYSTEM
Did you mean Isidore of Seville ?
Q166876 Q44248 Q44265
(Q166876,P39,c(Q12737077)) (Q44248,P39,c(Q12737077)) (Q44265,P39,c(Q12737077))
[ANSWER]
['Q166876', 'P39', {'concept': 'Q12737077'}] ['Q44248', 'P39', {'concept': 'Q12737077'}] ['Q44265', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q44265 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Isidore of Seville Jerome Benedict of Nursia
Did you mean Isidore of Seville ?
Isidore of Seville
['Isidore of Seville', 'position held', {'concept': 'occupation'}] ['Jerome', 'position held', {'concept': 'occupation'}] ['Benedict of Nursia', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Benedict_of_Nursia property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Benedict of Nursia. Could you tell me the answer for that?
(Q44265,P39,c(Q12737077))
Q44265
['Q44265', 'P39', {'concept': 'Q12737077'}]
['Benedict of Nursia', 'position held', {'concept': 'occupation'}]
[]
Q103163
SYSTEM
abbot
Q103163
(Q44265,P39,c(Q12737077))
action filter_type
action find
entity Q44265
relation P39
type Q12737077
[ANSWER]
['Q44265', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q44265 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
abbot
Abbot
abbot
action filter_type
action find
entity Benedict of Nursia
relation position held
type occupation
['Benedict of Nursia', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Benedict_of_Nursia property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q98324 Q44265
P19
Q15617994
USER
Which administrative territories were Benedict of Nursia or Willi Becker born in ?
OR((Q44265,P19,c(Q15617994)), (Q98324,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q44265
relation P19
action find
entity Q98324
relation P19
type Q15617994
{'OR': [['Q44265', 'P19', {'concept': 'Q15617994'}], ['Q98324', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q44265 property:P19 ?v } UNION { resource:Q98324 property:P19 ?v } } . ?v rdf:type ontology:Q15617994 }
Willi Becker Benedict of Nursia
action filter_type
action union
action find
entity Benedict of Nursia
relation place of birth
action find
entity Willi Becker
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Benedict of Nursia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Willi Becker', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Benedict_of_Nursia property:place_of_birth ?v } UNION { resource:Willi_Becker property:place_of_birth ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20494 Q567190
SYSTEM
Norcia, Wallmenroth
Q20494 Q567190
OR((Q44265,P19,c(Q15617994)), (Q98324,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q44265
relation P19
action find
entity Q98324
relation P19
type Q15617994
Benedict of Nursia or Willi Becker were born in [ANSWERS]
{'OR': [['Q44265', 'P19', {'concept': 'Q15617994'}], ['Q98324', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q44265 property:P19 ?v } UNION { resource:Q98324 property:P19 ?v } } . ?v rdf:type ontology:Q15617994 }
Norcia Wallmenroth
Benedict of Nursia or Willi Becker were born in Norcia and Wallmenroth
Norcia Wallmenroth
action filter_type
action union
action find
entity Benedict of Nursia
relation place of birth
action find
entity Willi Becker
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Benedict of Nursia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Willi Becker', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Benedict_of_Nursia property:place_of_birth ?v } UNION { resource:Willi_Becker property:place_of_birth ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1271945 Q1944623
P19
Q486972
USER
Which human settlements are the places of birth of Monika Finsterbusch or Justus Rarkowski ?
OR((Q1944623,P19,c(Q486972)), (Q1271945,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1944623
relation P19
action find
entity Q1271945
relation P19
type Q486972
{'OR': [['Q1944623', 'P19', {'concept': 'Q486972'}], ['Q1271945', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q486972 . { { resource:Q1944623 property:P19 ?g } UNION { resource:Q1271945 property:P19 ?g } } }
Justus Rarkowski Monika Finsterbusch
action filter_type
action union
action find
entity Monika Finsterbusch
relation place of birth
action find
entity Justus Rarkowski
relation place of birth
type human settlement
{'OR': [['Monika Finsterbusch', 'place of birth', {'concept': 'human settlement'}], ['Justus Rarkowski', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_settlement . { { resource:Monika_Finsterbusch property:place_of_birth ?g } UNION { resource:Justus_Rarkowski property:place_of_birth ?g } } }
[]
human settlement
Q56037 Q82765
SYSTEM
East Berlin, Olsztyn
Q56037 Q82765
OR((Q1944623,P19,c(Q486972)), (Q1271945,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1944623
relation P19
action find
entity Q1271945
relation P19
type Q486972
[ANSWERS] are the places of birth of Monika Finsterbusch or Justus Rarkowski
{'OR': [['Q1944623', 'P19', {'concept': 'Q486972'}], ['Q1271945', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q486972 . { { resource:Q1944623 property:P19 ?g } UNION { resource:Q1271945 property:P19 ?g } } }
East Berlin Olsztyn
East Berlin and Olsztyn are the places of birth of Monika Finsterbusch or Justus Rarkowski
East Berlin Olsztyn
action filter_type
action union
action find
entity Monika Finsterbusch
relation place of birth
action find
entity Justus Rarkowski
relation place of birth
type human settlement
{'OR': [['Monika Finsterbusch', 'place of birth', {'concept': 'human settlement'}], ['Justus Rarkowski', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_settlement . { { resource:Monika_Finsterbusch property:place_of_birth ?g } UNION { resource:Justus_Rarkowski property:place_of_birth ?g } } }
[]