Simple Question (Direct)
Simple Question
Q1629259
P937
Q56061
USER
What is the work location of Horst Domdey ?
(Q1629259,P937,c(Q56061))
action filter_type
action find
entity Q1629259
relation P937
type Q56061
['Q1629259', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q1629259 property:P937 ?l }
Horst Domdey
action filter_type
action find
entity Horst Domdey
relation work location
type administrative territorial entity
['Horst Domdey', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Horst_Domdey property:work_location ?l }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1629259,P937,c(Q56061))
action filter_type
action find
entity Q1629259
relation P937
type Q56061
The work location of Horst Domdey is in [ANSWER]
['Q1629259', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q1629259 property:P937 ?l }
Munich
The work location of Horst Domdey is in Munich
Munich
action filter_type
action find
entity Horst Domdey
relation work location
type administrative territorial entity
['Horst Domdey', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Horst_Domdey property:work_location ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1629259
P106
Q12737077
USER
What are the professions of that person ?
(Q1726,P106,c(Q12737077))
action filter_type
action find
entity Q1629259
relation P106
type Q12737077
['Q1726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1629259 property:P106 ?z }
Horst Domdey
action filter_type
action find
entity Horst Domdey
relation occupation
type occupation
['Munich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Horst_Domdey property:occupation ?z }
[]
occupation
Q1622272 Q2919046
SYSTEM
university teacher, biochemist
Q1622272 Q2919046
(Q1726,P106,c(Q12737077))
action filter_type
action find
entity Q1629259
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1629259 property:P106 ?z }
university teacher biochemist
The professions of that person are university teacher and biochemist
university teacher biochemist
action filter_type
action find
entity Horst Domdey
relation occupation
type occupation
['Munich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Horst_Domdey property:occupation ?z }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations do more number of collectables belong to than that occupation ?
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
occupation collectable
Comparative|More/Less|Single entity type|Clarification
Q2919046
SYSTEM
Did you mean biochemist ?
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
Did you mean biochemist ?
biochemist
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
No, I meant university teacher. Could you tell me the answer for that?
(c(Q2342494),P101,c(Q12737077))
Q1622272
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
[]
Q15954519
SYSTEM
alchemist
Q15954519
(c(Q2342494),P101,c(Q12737077))
[ANSWER] more number of collectables belong to than that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
alchemist
Alchemist more number of collectables belong to than that occupation
alchemist
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations are the field of work of approximately the same number of collectables as that occupation ?
(c(Q2342494),P101,c(Q12737077))
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q15954519
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q15954519 property:P101 ?e . ?e rdf:type ontology:Q12737077 } } . FILTER ( ?s = ?k ) . { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 . ?y property:P101 ?m } GROUP BY ?m } }
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity alchemist
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:alchemist property:field_of_work ?e . ?e rdf:type ontology:occupation } } . FILTER ( ?s = ?k ) . { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m rdf:type ontology:occupation . ?y rdf:type ontology:collectable . ?y property:field_of_work ?m } GROUP BY ?m } }
[]
occupation collectable
Q15954519
SYSTEM
alchemist
Q15954519
(c(Q2342494),P101,c(Q12737077))
action approx
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q15954519
relation P101
type Q12737077
[ANSWER] is the field of work of approximately the same number of collectables as that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q15954519 property:P101 ?e . ?e rdf:type ontology:Q12737077 } } . FILTER ( ?s = ?k ) . { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 . ?y property:P101 ?m } GROUP BY ?m } }
alchemist
Alchemist is the field of work of approximately the same number of collectables as that occupation
alchemist
action approx
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity alchemist
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:alchemist property:field_of_work ?e . ?e rdf:type ontology:occupation } } . FILTER ( ?s = ?k ) . { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m rdf:type ontology:occupation . ?y rdf:type ontology:collectable . ?y property:field_of_work ?m } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q331432
P180
Q12737077 Q11060274 Q18783400
USER
How many occupations are expressed in approximately the same number of prints or genres of sculpture as fisherman ?
(c(Q11060274)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q331432
relation P180
type Q11060274
type Q18783400
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q11060274 } UNION { ?i property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q18783400 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P180 resource:Q331432 . { { ?n rdf:type ontology:Q11060274 } UNION { ?n rdf:type ontology:Q18783400 } } } } . FILTER ( ?f = ?b ) }
fisherman
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity fisherman
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:depicts ?z . ?z rdf:type ontology:occupation . ?i rdf:type ontology:print } UNION { ?i property:depicts ?z . ?z rdf:type ontology:occupation . ?i rdf:type ontology:genre_of_sculpture } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:depicts resource:fisherman . { { ?n rdf:type ontology:print } UNION { ?n rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?f = ?b ) }
[]
occupation print genre of sculpture
SYSTEM
217
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 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 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 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 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 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(Q11060274)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q331432
relation P180
type Q11060274
type Q18783400
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q11060274 } UNION { ?i property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q18783400 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P180 resource:Q331432 . { { ?n rdf:type ontology:Q11060274 } UNION { ?n rdf:type ontology:Q18783400 } } } } . FILTER ( ?f = ?b ) }
fiddler acrobat milkmaid worker singer sheep shearer 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 warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer 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 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 monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 officer fisherman 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
217
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity fisherman
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:depicts ?z . ?z rdf:type ontology:occupation . ?i rdf:type ontology:print } UNION { ?i property:depicts ?z . ?z rdf:type ontology:occupation . ?i rdf:type ontology:genre_of_sculpture } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:depicts resource:fisherman . { { ?n rdf:type ontology:print } UNION { ?n rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?f = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2034021
P180
Q12737077 Q11060274 Q18783400
USER
And also tell me about dressmaker?
(c(Q11060274)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2034021
relation P180
type Q11060274
type Q18783400
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q11060274 } UNION { ?l rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q18783400 . ?y property:P180 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P180 resource:Q2034021 . { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?d = ?z ) }
dressmaker
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity dressmaker
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:depicts ?l . ?l rdf:type ontology:occupation . ?y rdf:type ontology:print } UNION { ?l rdf:type ontology:occupation . ?y rdf:type ontology:genre_of_sculpture . ?y property:depicts ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:depicts resource:dressmaker . { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?d = ?z ) }
[]
occupation print genre of sculpture
SYSTEM
217
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 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 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 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 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 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(Q11060274)|c(Q18783400),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2034021
relation P180
type Q11060274
type Q18783400
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q11060274 } UNION { ?l rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q18783400 . ?y property:P180 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P180 resource:Q2034021 . { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?d = ?z ) }
fiddler acrobat milkmaid worker singer sheep shearer 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 warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer 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 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 monarch pastor equestrian courtier judge abbot matador goldsmith waterseller pretender 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 officer fisherman 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
217
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity dressmaker
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:depicts ?l . ?l rdf:type ontology:occupation . ?y rdf:type ontology:print } UNION { ?l rdf:type ontology:occupation . ?y rdf:type ontology:genre_of_sculpture . ?y property:depicts ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:depicts resource:dressmaker . { ?u rdf:type ?f . VALUES ( ?f ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?d = ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1622272
P106
Q636497 Q15619164
USER
How many stock characters or abstract beings have university teacher as his/her means of employment ?
(c(Q636497),P106,Q1622272) (c(Q15619164),P106,Q1622272)
action count
action union
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q636497
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q15619164
[{'concept': 'Q636497'}, 'P106', 'Q1622272'] [{'concept': 'Q15619164'}, 'P106', 'Q1622272']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?j ) { ( ontology:Q636497 ) ( ontology:Q15619164 ) } . ?t rdf:type ?j }
university teacher
action count
action union
action filter_type
action find_reverse
entity university teacher
relation occupation
type stock character
action filter_type
action find_reverse
entity university teacher
relation occupation
type abstract being
[{'concept': 'stock character'}, 'occupation', 'university teacher'] [{'concept': 'abstract being'}, 'occupation', 'university teacher']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?j ) { ( ontology:stock_character ) ( ontology:abstract_being ) } . ?t rdf:type ?j }
[]
stock character abstract being
SYSTEM
2
Q283111 Q373799
(c(Q636497),P106,Q1622272) (c(Q15619164),P106,Q1622272)
action count
action union
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q636497
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q15619164
[ANSWER]
[{'concept': 'Q636497'}, 'P106', 'Q1622272'] [{'concept': 'Q15619164'}, 'P106', 'Q1622272']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?j ) { ( ontology:Q636497 ) ( ontology:Q15619164 ) } . ?t rdf:type ?j }
Professor Moriarty Giovanni Antonio Amedeo Plana
2
action count
action union
action filter_type
action find_reverse
entity university teacher
relation occupation
type stock character
action filter_type
action find_reverse
entity university teacher
relation occupation
type abstract being
[{'concept': 'stock character'}, 'occupation', 'university teacher'] [{'concept': 'abstract being'}, 'occupation', 'university teacher']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?j ) { ( ontology:stock_character ) ( ontology:abstract_being ) } . ?t rdf:type ?j }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q386724 Q191067
USER
Which occupations were discussed in approximately 1 works or articles ?
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?v ) WHERE { { ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q191067 . ?i property:P921 ?x } UNION { ?i property:P921 ?x . ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q386724 } } GROUP BY ?x } . FILTER ( ?v = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?v ) WHERE { { ?x rdf:type ontology:occupation . ?i rdf:type ontology:article . ?i property:main_subject ?x } UNION { ?i property:main_subject ?x . ?x rdf:type ontology:occupation . ?i rdf:type ontology:work } } GROUP BY ?x } . FILTER ( ?v = 1 ) }
[]
occupation work article
Q316070 Q182436 Q16003532
SYSTEM
Fletcher Christian, librarian, middle school student
Q172907 Q9402 Q316070 Q510373 Q152002 Q732358 Q182436 Q16003532
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[ANSWERS] were discussed in approximately 1 works or articles
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?v ) WHERE { { ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q191067 . ?i property:P921 ?x } UNION { ?i property:P921 ?x . ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q386724 } } GROUP BY ?x } . FILTER ( ?v = 1 ) }
praetor ninja Fletcher Christian Lord High Steward pastor Nomarch librarian middle school student
Fletcher Christian, librarian and middle school student were discussed in approximately 1 works or articles
Fletcher Christian librarian middle school student
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?v ) WHERE { { ?x rdf:type ontology:occupation . ?i rdf:type ontology:article . ?i property:main_subject ?x } UNION { ?i property:main_subject ?x . ?x rdf:type ontology:occupation . ?i rdf:type ontology:work } } GROUP BY ?x } . FILTER ( ?v = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories do that occupation belong to ?
(Q316070,P27,c(Q15617994))
['Q316070', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q316070 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Fletcher Christian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Fletcher_Christian property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q316070
SYSTEM
Did you mean Fletcher Christian ?
(Q316070,P27,c(Q15617994)) (Q182436,P27,c(Q15617994)) (Q16003532,P27,c(Q15617994))
[ANSWER]
['Q316070', 'P27', {'concept': 'Q15617994'}] ['Q182436', 'P27', {'concept': 'Q15617994'}] ['Q16003532', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q316070 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Fletcher Christian ?
Fletcher Christian
['Fletcher Christian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['librarian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['middle school student', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Fletcher_Christian property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q316070,P27,c(Q15617994))
['Q316070', 'P27', {'concept': 'Q15617994'}]
['Fletcher Christian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q145
(Q316070,P27,c(Q15617994))
[ANSWER]
['Q316070', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q316070 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
1
['Fletcher Christian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Fletcher_Christian property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q316070
P27
Q15617994
USER
How many administrative territories are Fletcher Christian a civilian of ?
(Q316070,P27,c(Q15617994))
action count
action filter_type
action find
entity Q316070
relation P27
type Q15617994
['Q316070', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q316070 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Fletcher Christian
action count
action filter_type
action find
entity Fletcher Christian
relation country of citizenship
type designation for an administrative territorial entity
['Fletcher Christian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Fletcher_Christian property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q316070,P27,c(Q15617994))
action count
action filter_type
action find
entity Q316070
relation P27
type Q15617994
[ANSWER]
['Q316070', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q316070 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Fletcher Christian
relation country of citizenship
type designation for an administrative territorial entity
['Fletcher Christian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Fletcher_Christian property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4953460
P27
Q15617994
USER
And how about Inga Hellman-Lindahl?
(Q4953460,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4953460
relation P27
type Q15617994
['Q4953460', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Q4953460 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Inga Hellman-Lindahl
action count
action filter_type
action find
entity Inga Hellman-Lindahl
relation country of citizenship
type designation for an administrative territorial entity
['Inga Hellman-Lindahl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Inga_Hellman-Lindahl property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q4953460,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4953460
relation P27
type Q15617994
[ANSWER]
['Q4953460', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Q4953460 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Inga Hellman-Lindahl
relation country of citizenship
type designation for an administrative territorial entity
['Inga Hellman-Lindahl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Inga_Hellman-Lindahl property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4661953
Q15617994
USER
And what about Aaron Dashiell?
(Q4661953,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4661953
relation P27
type Q15617994
['Q4661953', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q4661953 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Aaron Dashiell
action count
action filter_type
action find
entity Aaron Dashiell
relation country of citizenship
type designation for an administrative territorial entity
['Aaron Dashiell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Aaron_Dashiell property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4661953,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4661953
relation P27
type Q15617994
[ANSWER]
['Q4661953', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q4661953 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Aaron Dashiell
relation country of citizenship
type designation for an administrative territorial entity
['Aaron Dashiell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Aaron_Dashiell property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4661953
P69
Q3918
USER
Where was that person educated ?
action filter_type
action find
entity Q4661953
relation P69
type Q3918
SELECT DISTINCT ?m WHERE { resource:Q4661953 property:P69 ?m . ?m rdf:type ontology:Q3918 }
Aaron Dashiell
action filter_type
action find
entity Aaron Dashiell
relation educated at
type university
SELECT DISTINCT ?m WHERE { resource:Aaron_Dashiell property:educated_at ?m . ?m rdf:type ontology:university }
[]
university
Q1307345
SYSTEM
University of Maine
Q1307345
action filter_type
action find
entity Q4661953
relation P69
type Q3918
Educated that person was the [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q4661953 property:P69 ?m . ?m rdf:type ontology:Q3918 }
University of Maine
Educated that person was the University of Maine
University of Maine
action filter_type
action find
entity Aaron Dashiell
relation educated at
type university
SELECT DISTINCT ?m WHERE { resource:Aaron_Dashiell property:educated_at ?m . ?m rdf:type ontology:university }
[]