Simple Question (Direct)
Simple Question
Q3190478
P106
Q12737077
USER
Which occupation has Justin Moose as his/her 's career ?
(Q3190478,P106,c(Q12737077))
action filter_type
action find
entity Q3190478
relation P106
type Q12737077
['Q3190478', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3190478 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Justin Moose
action filter_type
action find
entity Justin Moose
relation occupation
type occupation
['Justin Moose', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Justin_Moose property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3190478,P106,c(Q12737077))
action filter_type
action find
entity Q3190478
relation P106
type Q12737077
Player [ANSWER] has Justin Moose as his/her 's career
['Q3190478', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3190478 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Player association football player has Justin Moose as his/her 's career
association football player
action filter_type
action find
entity Justin Moose
relation occupation
type occupation
['Justin Moose', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Justin_Moose property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3190478
P21
Q290
USER
What is the sex of Justin Moose ?
(Q3190478,P21,c(Q290))
action filter_type
action find
entity Q3190478
relation P21
type Q290
['Q3190478', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3190478 property:P21 ?b . ?b rdf:type ontology:Q290 }
Justin Moose
action filter_type
action find
entity Justin Moose
relation gender
type sex
['Justin Moose', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Justin_Moose property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3190478,P21,c(Q290))
action filter_type
action find
entity Q3190478
relation P21
type Q290
The sex of Justin Moose is a [ANSWER]
['Q3190478', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3190478 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Justin Moose is a male
male
action filter_type
action find
entity Justin Moose
relation gender
type sex
['Justin Moose', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Justin_Moose property:gender ?b . ?b rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12097
P180
Q12737077 Q3516658 Q3305213
USER
How many occupations are depicted in lesser number of heraldic symbols or paintings than king ?
(c(Q3516658)|c(Q3305213),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q12097
relation P180
type Q3516658
type Q3305213
[[{'concept': 'Q3516658'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?c WHERE { { ?m property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 } UNION { ?c rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3305213 . ?m property:P180 ?c } } GROUP BY ?c } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { { ?y rdf:type ontology:Q3516658 } UNION { ?y rdf:type ontology:Q3305213 } } . ?y property:P180 resource:Q12097 } } }
king
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity king
relation depicts
type heraldic symbol
type painting
[[{'concept': 'heraldic symbol'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?c WHERE { { ?m property:depicts ?c . ?c rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol } UNION { ?c rdf:type ontology:occupation . ?m rdf:type ontology:painting . ?m property:depicts ?c } } GROUP BY ?c } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { { ?y rdf:type ontology:heraldic_symbol } UNION { ?y rdf:type ontology:painting } } . ?y property:depicts resource:king } } }
[]
occupation heraldic symbol painting
SYSTEM
191
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q11900058 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q3305213),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q12097
relation P180
type Q3516658
type Q3305213
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?c WHERE { { ?m property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 } UNION { ?c rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3305213 . ?m property:P180 ?c } } GROUP BY ?c } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { { ?y rdf:type ontology:Q3516658 } UNION { ?y rdf:type ontology:Q3305213 } } . ?y property:P180 resource:Q12097 } } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer florist teacher bear hunter cobbler arriero sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason explorer civil servant sower abbé architect street musician nurse parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge matador goldsmith waterseller pretender astronomer surgeon domestic worker cook Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
191
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity king
relation depicts
type heraldic symbol
type painting
[[{'concept': 'heraldic symbol'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?c WHERE { { ?m property:depicts ?c . ?c rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol } UNION { ?c rdf:type ontology:occupation . ?m rdf:type ontology:painting . ?m property:depicts ?c } } GROUP BY ?c } . FILTER ( ?k < ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { { ?y rdf:type ontology:heraldic_symbol } UNION { ?y rdf:type ontology:painting } } . ?y property:depicts resource:king } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4991371
P180
Q12737077 Q3516658 Q3305213
USER
And how about soldier?
(c(Q3516658)|c(Q3305213),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q3516658
type Q3305213
[[{'concept': 'Q3516658'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?z WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3516658 ) ( ontology:Q3305213 ) } } GROUP BY ?z } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P180 resource:Q4991371 . { { ?x rdf:type ontology:Q3516658 } UNION { ?x rdf:type ontology:Q3305213 } } } } }
soldier
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type heraldic symbol
type painting
[[{'concept': 'heraldic symbol'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?z WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:heraldic_symbol ) ( ontology:painting ) } } GROUP BY ?z } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:depicts resource:soldier . { { ?x rdf:type ontology:heraldic_symbol } UNION { ?x rdf:type ontology:painting } } } } }
[]
occupation heraldic symbol painting
SYSTEM
226
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 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 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 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 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 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q3305213),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q3516658
type Q3305213
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?z WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3516658 ) ( ontology:Q3305213 ) } } GROUP BY ?z } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P180 resource:Q4991371 . { { ?x rdf:type ontology:Q3516658 } UNION { ?x rdf:type ontology:Q3305213 } } } } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior 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 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 equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador 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 artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
226
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type heraldic symbol
type painting
[[{'concept': 'heraldic symbol'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?z WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:heraldic_symbol ) ( ontology:painting ) } } GROUP BY ?z } . FILTER ( ?l < ?p ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:depicts resource:soldier . { { ?x rdf:type ontology:heraldic_symbol } UNION { ?x rdf:type ontology:painting } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19185341
P921
Q12737077 Q191067 Q838948
USER
Which occupations were the main subjects in the work more number of articles and works of art than Member of the Victorian Legislative Council ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q19185341
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P921 resource:Q19185341 . { { ?c rdf:type ontology:Q838948 } UNION { ?c rdf:type ontology:Q191067 } } } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?m WHERE { { ?a property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 } UNION { ?a property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q191067 } } GROUP BY ?m } }
Member of the Victorian Legislative Council
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity Member of the Victorian Legislative Council
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:main_subject resource:Member_of_the_Victorian_Legislative_Council . { { ?c rdf:type ontology:work_of_art } UNION { ?c rdf:type ontology:article } } } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?m WHERE { { ?a property:main_subject ?m . ?m rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art } UNION { ?a property:main_subject ?m . ?m rdf:type ontology:occupation . ?a rdf:type ontology:article } } GROUP BY ?m } }
[]
occupation article work of art
Q316070 Q182436 Q15637082
SYSTEM
Fletcher Christian, librarian, industrialist
Q172907 Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q7358 Q1930187 Q9402 Q2961580 Q101539 Q316070 Q510373 Q205375 Q164236 Q152002 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q732358 Q2095549 Q182436 Q1674312 Q16003532
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q19185341
relation P921
type Q191067
type Q838948
[ANSWERS] were the main subjects in the work more number of articles and works of art than Member of the Victorian Legislative Council
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P921 resource:Q19185341 . { { ?c rdf:type ontology:Q838948 } UNION { ?c rdf:type ontology:Q191067 } } } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?m WHERE { { ?a property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 } UNION { ?a property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q191067 } } GROUP BY ?m } }
praetor industrialist business magnate physician lumberjack astronaut actor writer clown journalist ninja taxi driver flight attendant Fletcher Christian Lord High Steward inventor war correspondent pastor nanny high school student elementary school student comedian photographer Nomarch aviator librarian rag-and-bone man middle school student
Fletcher Christian, librarian and industrialist were the main subjects in the work more number of articles and works of art than Member of the Victorian Legislative Council
Fletcher Christian librarian industrialist
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity Member of the Victorian Legislative Council
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:main_subject resource:Member_of_the_Victorian_Legislative_Council . { { ?c rdf:type ontology:work_of_art } UNION { ?c rdf:type ontology:article } } } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?m WHERE { { ?a property:main_subject ?m . ?m rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art } UNION { ?a property:main_subject ?m . ?m rdf:type ontology:occupation . ?a rdf:type ontology:article } } GROUP BY ?m } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15637082
P39
Q502895
USER
Which people were appointed for the position of that occupation ?
(c(Q502895),P39,Q15637082)
action filter_type
action find_reverse
entity Q15637082
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q15637082']
SELECT DISTINCT ?m WHERE { ?m property:P39 resource:Q15637082 . ?m rdf:type ontology:Q502895 }
industrialist
action filter_type
action find_reverse
entity industrialist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'industrialist']
SELECT DISTINCT ?m WHERE { ?m property:position_held resource:industrialist . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q316070
SYSTEM
Did you mean Fletcher Christian ?
Q316070 Q182436 Q15637082
(c(Q502895),P39,Q316070) (c(Q502895),P39,Q182436) (c(Q502895),P39,Q15637082)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q316070'] [{'concept': 'Q502895'}, 'P39', 'Q182436'] [{'concept': 'Q502895'}, 'P39', 'Q15637082']
SELECT DISTINCT ?m WHERE { ?m property:P39 resource:Q15637082 . ?m rdf:type ontology:Q502895 }
Fletcher Christian librarian industrialist
Did you mean Fletcher Christian ?
Fletcher Christian
[{'concept': 'common name'}, 'position held', 'Fletcher Christian'] [{'concept': 'common name'}, 'position held', 'librarian'] [{'concept': 'common name'}, 'position held', 'industrialist']
SELECT DISTINCT ?m WHERE { ?m property:position_held resource:industrialist . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant industrialist. Could you tell me the answer for that?
(c(Q502895),P39,Q15637082)
Q15637082
[{'concept': 'Q502895'}, 'P39', 'Q15637082']
[{'concept': 'common name'}, 'position held', 'industrialist']
[]
Q3588320 Q559268
SYSTEM
Émile Balisaux, Jean-Félix Bapterosses
Q3588320 Q559268
(c(Q502895),P39,Q15637082)
action filter_type
action find_reverse
entity Q15637082
relation P39
type Q502895
[ANSWERS] were appointed for the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q15637082']
SELECT DISTINCT ?m WHERE { ?m property:P39 resource:Q15637082 . ?m rdf:type ontology:Q502895 }
Émile Balisaux Jean-Félix Bapterosses
Émile Balisaux and Jean-Félix Bapterosses were appointed for the position of that occupation
Émile Balisaux Jean-Félix Bapterosses
action filter_type
action find_reverse
entity industrialist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'industrialist']
SELECT DISTINCT ?m WHERE { ?m property:position_held resource:industrialist . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3588320 Q559268
P27
Q15617994
USER
Which administrative territories are Émile Balisaux and Jean-Félix Bapterosses a civilian of ?
(Q3588320,P27,c(Q15617994)) (Q559268,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3588320
relation P27
type Q15617994
action filter_type
action find
entity Q559268
relation P27
type Q15617994
['Q3588320', 'P27', {'concept': 'Q15617994'}] ['Q559268', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q559268 property:P27 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q3588320 property:P27 ?q . ?q rdf:type ontology:Q15617994 } }
Émile Balisaux Jean-Félix Bapterosses
action union
action filter_type
action find
entity Émile Balisaux
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jean-Félix Bapterosses
relation country of citizenship
type designation for an administrative territorial entity
['Émile Balisaux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jean-Félix Bapterosses', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Jean-Félix_Bapterosses property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Émile_Balisaux property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q31 Q142
SYSTEM
Belgium, France
Q31 Q142
(Q3588320,P27,c(Q15617994)) (Q559268,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3588320
relation P27
type Q15617994
action filter_type
action find
entity Q559268
relation P27
type Q15617994
[ANSWERS] are Émile Balisaux and Jean-Félix Bapterosses a civilian of
['Q3588320', 'P27', {'concept': 'Q15617994'}] ['Q559268', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q559268 property:P27 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q3588320 property:P27 ?q . ?q rdf:type ontology:Q15617994 } }
Belgium France
Belgium and France are Émile Balisaux and Jean-Félix Bapterosses a civilian of
Belgium France
action union
action filter_type
action find
entity Émile Balisaux
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jean-Félix Bapterosses
relation country of citizenship
type designation for an administrative territorial entity
['Émile Balisaux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jean-Félix Bapterosses', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Jean-Félix_Bapterosses property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Émile_Balisaux property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q31 Q142
P163
Q14660
USER
Which flags are associated with Belgium and France ?
(Q31,P163,c(Q14660)) (Q142,P163,c(Q14660))
action union
action filter_type
action find
entity Q31
relation P163
type Q14660
action filter_type
action find
entity Q142
relation P163
type Q14660
['Q31', 'P163', {'concept': 'Q14660'}] ['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { ?i property:P163 ?n . VALUES ( ?i ) { ( resource:Q31 ) ( resource:Q142 ) } }
Belgium France
action union
action filter_type
action find
entity Belgium
relation flag
type flag
action filter_type
action find
entity France
relation flag
type flag
['Belgium', 'flag', {'concept': 'flag'}] ['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { ?i property:flag ?n . VALUES ( ?i ) { ( resource:Belgium ) ( resource:France ) } }
[]
flag
Q12990 Q43192
SYSTEM
flag of Belgium, Flag of France
Q12990 Q43192
(Q31,P163,c(Q14660)) (Q142,P163,c(Q14660))
action union
action filter_type
action find
entity Q31
relation P163
type Q14660
action filter_type
action find
entity Q142
relation P163
type Q14660
[ANSWERS] are associated with Belgium and France
['Q31', 'P163', {'concept': 'Q14660'}] ['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { ?i property:P163 ?n . VALUES ( ?i ) { ( resource:Q31 ) ( resource:Q142 ) } }
flag of Belgium Flag of France
Flag of Belgium and Flag of France are associated with Belgium and France
flag of Belgium Flag of France
action union
action filter_type
action find
entity Belgium
relation flag
type flag
action filter_type
action find
entity France
relation flag
type flag
['Belgium', 'flag', {'concept': 'flag'}] ['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { ?i property:flag ?n . VALUES ( ?i ) { ( resource:Belgium ) ( resource:France ) } }
[]