Simple Question (Direct)
Simple Question
Q505049
P641
Q349
USER
Which sport was Sead Kapetanović a part of ?
(Q505049,P641,c(Q349))
action filter_type
action find
entity Q505049
relation P641
type Q349
['Q505049', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q505049 property:P641 ?u . ?u rdf:type ontology:Q349 }
Sead Kapetanović
action filter_type
action find
entity Sead Kapetanović
relation sport
type sport
['Sead Kapetanović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Sead_Kapetanović property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q505049,P641,c(Q349))
action filter_type
action find
entity Q505049
relation P641
type Q349
The [ANSWER] was Sead Kapetanović a part of
['Q505049', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q505049 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
The association football was Sead Kapetanović a part of
association football
action filter_type
action find
entity Sead Kapetanović
relation sport
type sport
['Sead Kapetanović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Sead_Kapetanović property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q505049
P21
Q290
USER
Which sex does that person possess ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q505049
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q505049 property:P21 ?a . ?a rdf:type ontology:Q290 }
Sead Kapetanović
action filter_type
action find
entity Sead Kapetanović
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Sead_Kapetanović property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q505049
relation P21
type Q290
That person possesses a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q505049 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Sead Kapetanović
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Sead_Kapetanović property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q505049
P54
Q1194951
USER
What is Sead Kapetanović a member of ?
(Q505049,P54,c(Q1194951))
action filter_type
action find
entity Q505049
relation P54
type Q1194951
['Q505049', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q505049 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Sead Kapetanović
action filter_type
action find
entity Sead Kapetanović
relation member of sports team
type national sports team
['Sead Kapetanović', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Sead_Kapetanović property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
national sports team
Q181190
SYSTEM
Bosnia and Herzegovina national football team
Q181190
(Q505049,P54,c(Q1194951))
action filter_type
action find
entity Q505049
relation P54
type Q1194951
Sead Kapetanović is a member of [ANSWER]
['Q505049', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q505049 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Bosnia and Herzegovina national football team
Sead Kapetanović is a member of Bosnia and Herzegovina national football team
Bosnia and Herzegovina national football team
action filter_type
action find
entity Sead Kapetanović
relation member of sports team
type national sports team
['Sead Kapetanović', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Sead_Kapetanović property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q505049
P106
Q12737077
USER
What is the job of that person ?
(Q181190,P106,c(Q12737077))
action filter_type
action find
entity Q505049
relation P106
type Q12737077
['Q181190', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q505049 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Sead Kapetanović
action filter_type
action find
entity Sead Kapetanović
relation occupation
type occupation
['Bosnia and Herzegovina national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Sead_Kapetanović property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q181190,P106,c(Q12737077))
action filter_type
action find
entity Q505049
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q181190', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q505049 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Sead Kapetanović
relation occupation
type occupation
['Bosnia and Herzegovina national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Sead_Kapetanović property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q2342494
USER
Which occupations are the fields of work of around the same number of organizations and collectables as that occupation ?
(c(Q43229)|c(Q2342494),P101,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q2342494
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P101 resource:Q937857 . { { ?p rdf:type ontology:Q43229 } UNION { ?p rdf:type ontology:Q2342494 } } } } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?h WHERE { { ?o property:P101 ?h . ?h rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q43229 } UNION { ?o property:P101 ?h . ?o rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?h } }
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:field_of_work resource:association_football_player . { { ?p rdf:type ontology:organization } UNION { ?p rdf:type ontology:collectable } } } } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?h WHERE { { ?o property:field_of_work ?h . ?h rdf:type ontology:occupation . ?o rdf:type ontology:organization } UNION { ?o property:field_of_work ?h . ?o rdf:type ontology:collectable . ?h rdf:type ontology:occupation } } GROUP BY ?h } }
[]
occupation organization collectable
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q43229)|c(Q2342494),P101,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q2342494
[ANSWERS] are the fields of work of around the same number of organizations and collectables as that occupation
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P101 resource:Q937857 . { { ?p rdf:type ontology:Q43229 } UNION { ?p rdf:type ontology:Q2342494 } } } } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?h WHERE { { ?o property:P101 ?h . ?h rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q43229 } UNION { ?o property:P101 ?h . ?o rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?h } }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
Chief of police, archaeologist and Commissioner of Baseball are the fields of work of around the same number of organizations and collectables as that occupation
chief of police archaeologist Commissioner of Baseball
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type collectable
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:field_of_work resource:association_football_player . { { ?p rdf:type ontology:organization } UNION { ?p rdf:type ontology:collectable } } } } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?h WHERE { { ?o property:field_of_work ?h . ?h rdf:type ontology:occupation . ?o rdf:type ontology:organization } UNION { ?o property:field_of_work ?h . ?o rdf:type ontology:collectable . ?h rdf:type ontology:occupation } } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20489032
P180
Q12737077 Q3516658 Q11060274
USER
How many occupations are demonstrated in less number of heraldic symbols and prints than salt pan worker ?
(c(Q3516658)|c(Q11060274),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 Q11060274
action count
action filter_multi_types
action find_reverse
entity Q20489032
relation P180
type Q3516658
type Q11060274
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?e WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:Q3516658 } UNION { ?p rdf:type ontology:Q11060274 } } . ?p property:P180 resource:Q20489032 } } . FILTER ( ?j < ?x ) }
salt pan worker
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 print
action count
action filter_multi_types
action find_reverse
entity salt pan worker
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?e WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:heraldic_symbol ) ( ontology:print ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:heraldic_symbol } UNION { ?p rdf:type ontology:print } } . ?p property:depicts resource:salt_pan_worker } } . FILTER ( ?j < ?x ) }
[]
occupation heraldic symbol print
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 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 Q4991371 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(Q3516658)|c(Q11060274),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 Q11060274
action count
action filter_multi_types
action find_reverse
entity Q20489032
relation P180
type Q3516658
type Q11060274
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?e WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:Q3516658 } UNION { ?p rdf:type ontology:Q11060274 } } . ?p property:P180 resource:Q20489032 } } . FILTER ( ?j < ?x ) }
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 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 soldier 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 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 print
action count
action filter_multi_types
action find_reverse
entity salt pan worker
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?e WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:heraldic_symbol ) ( ontology:print ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:heraldic_symbol } UNION { ?p rdf:type ontology:print } } . ?p property:depicts resource:salt_pan_worker } } . FILTER ( ?j < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q848466
P180
Q12737077 Q3516658 Q11060274
USER
And also tell me about courier?
(c(Q3516658)|c(Q11060274),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 Q11060274
action count
action filter_multi_types
action find_reverse
entity Q848466
relation P180
type Q3516658
type Q11060274
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?h WHERE { VALUES ( ?q ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } . ?k rdf:type ?q } GROUP BY ?h } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P180 resource:Q848466 . { { ?i rdf:type ontology:Q11060274 } UNION { ?i rdf:type ontology:Q3516658 } } } } }
courier
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 print
action count
action filter_multi_types
action find_reverse
entity courier
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?h WHERE { VALUES ( ?q ) { ( ontology:heraldic_symbol ) ( ontology:print ) } . ?k rdf:type ?q } GROUP BY ?h } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:depicts resource:courier . { { ?i rdf:type ontology:print } UNION { ?i rdf:type ontology:heraldic_symbol } } } } }
[]
occupation heraldic symbol print
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 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 Q4991371 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(Q3516658)|c(Q11060274),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 Q11060274
action count
action filter_multi_types
action find_reverse
entity Q848466
relation P180
type Q3516658
type Q11060274
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?h WHERE { VALUES ( ?q ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } . ?k rdf:type ?q } GROUP BY ?h } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P180 resource:Q848466 . { { ?i rdf:type ontology:Q11060274 } UNION { ?i rdf:type ontology:Q3516658 } } } } }
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 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 soldier 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 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 print
action count
action filter_multi_types
action find_reverse
entity courier
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) ?h WHERE { VALUES ( ?q ) { ( ontology:heraldic_symbol ) ( ontology:print ) } . ?k rdf:type ?q } GROUP BY ?h } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:depicts resource:courier . { { ?i rdf:type ontology:print } UNION { ?i rdf:type ontology:heraldic_symbol } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q838948
USER
How many occupations were the main subjects of exactly 2 publications or works of art 's work ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 2
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q732577 } UNION { ?g property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } } GROUP BY ?u } . FILTER ( ?d = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 2
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:main_subject ?u . ?u rdf:type ontology:occupation . ?g rdf:type ontology:publication } UNION { ?g property:main_subject ?u . ?u rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } } GROUP BY ?u } . FILTER ( ?d = 2 ) }
[]
occupation publication work of art
SYSTEM
4
Q1930187 Q101539 Q16003605 Q16003532
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 2
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q732577 } UNION { ?g property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 } } GROUP BY ?u } . FILTER ( ?d = 2 ) }
journalist flight attendant elementary school student middle school student
4
action count
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 2
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { { ?g property:main_subject ?u . ?u rdf:type ontology:occupation . ?g rdf:type ontology:publication } UNION { ?g property:main_subject ?u . ?u rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art } } GROUP BY ?u } . FILTER ( ?d = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1051088
P39
Q502895
USER
Which people held the position of Commissioner of Baseball ?
(c(Q502895),P39,Q1051088)
action filter_type
action find_reverse
entity Q1051088
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1051088']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P39 resource:Q1051088 }
Commissioner of Baseball
action filter_type
action find_reverse
entity Commissioner of Baseball
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Commissioner of Baseball']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:position_held resource:Commissioner_of_Baseball }
[]
common name
Q573029 Q278559 Q3106481
SYSTEM
Happy Chandler, A. Bartlett Giamatti, Kenesaw Mountain Landis
Q573029 Q3067674 Q3077090 Q3106481 Q2927496 Q278559 Q2740420 Q713746
(c(Q502895),P39,Q1051088)
action filter_type
action find_reverse
entity Q1051088
relation P39
type Q502895
[ANSWERS] held the position of Commissioner of Baseball
[{'concept': 'Q502895'}, 'P39', 'Q1051088']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P39 resource:Q1051088 }
Happy Chandler Fay Vincent Ford Frick Kenesaw Mountain Landis Bud Selig A. Bartlett Giamatti Bowie Kuhn Peter Ueberroth
Happy Chandler, A. Bartlett Giamatti and Kenesaw Mountain Landis held the position of Commissioner of Baseball
Happy Chandler A. Bartlett Giamatti Kenesaw Mountain Landis
action filter_type
action find_reverse
entity Commissioner of Baseball
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Commissioner of Baseball']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:position_held resource:Commissioner_of_Baseball }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q573029 Q278559 Q3106481
P27
Q15617994
USER
Which administrative territories are the native countriesof those people ?
(Q573029,P27,c(Q15617994)) (Q278559,P27,c(Q15617994)) (Q3106481,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q573029', 'P27', {'concept': 'Q15617994'}] ['Q278559', 'P27', {'concept': 'Q15617994'}] ['Q3106481', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?w property:P27 ?j . VALUES ( ?w ) { ( resource:Q573029 ) ( resource:Q3067674 ) ( resource:Q3077090 ) } . ?j rdf:type ontology:Q15617994 }
Happy Chandler A. Bartlett Giamatti Kenesaw Mountain Landis
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Happy Chandler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['A. Bartlett Giamatti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Kenesaw Mountain Landis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?w property:country_of_citizenship ?j . VALUES ( ?w ) { ( resource:Happy_Chandler ) ( resource:Fay_Vincent ) ( resource:Ford_Frick ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q573029,P27,c(Q15617994)) (Q278559,P27,c(Q15617994)) (Q3106481,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the native countriesof those people
['Q573029', 'P27', {'concept': 'Q15617994'}] ['Q278559', 'P27', {'concept': 'Q15617994'}] ['Q3106481', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?w property:P27 ?j . VALUES ( ?w ) { ( resource:Q573029 ) ( resource:Q3067674 ) ( resource:Q3077090 ) } . ?j rdf:type ontology:Q15617994 }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are the native countriesof those people
United States of America United States of America United States of America
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Happy Chandler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['A. Bartlett Giamatti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Kenesaw Mountain Landis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?w property:country_of_citizenship ?j . VALUES ( ?w ) { ( resource:Happy_Chandler ) ( resource:Fay_Vincent ) ( resource:Ford_Frick ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q573029
P102
Q7210356
USER
Which party does Happy Chandler belong to ?
(Q573029,P102,c(Q7210356))
action filter_type
action find
entity Q573029
relation P102
type Q7210356
['Q573029', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q573029 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Happy Chandler
action filter_type
action find
entity Happy Chandler
relation member of political party
type political organization
['Happy Chandler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Happy_Chandler property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q573029,P102,c(Q7210356))
action filter_type
action find
entity Q573029
relation P102
type Q7210356
Happy Chandler belongs to [ANSWER]
['Q573029', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q573029 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Democratic Party
Happy Chandler belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Happy Chandler
relation member of political party
type political organization
['Happy Chandler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Happy_Chandler property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]