Simple Question (Direct)
Simple Question
Q17521365
P106
Q12737077
USER
What do Arthur Simon do for a living ?
(Q17521365,P106,c(Q12737077))
action filter_type
action find
entity Q17521365
relation P106
type Q12737077
['Q17521365', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q17521365 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Arthur Simon
action filter_type
action find
entity Arthur Simon
relation occupation
type occupation
['Arthur Simon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Arthur_Simon property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1622272 Q593644
SYSTEM
university teacher, chemist
Q1622272 Q593644
(Q17521365,P106,c(Q12737077))
action filter_type
action find
entity Q17521365
relation P106
type Q12737077
Arthur Simon do for a living as [ANSWERS]
['Q17521365', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q17521365 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
university teacher chemist
Arthur Simon do for a living as university teacher and chemist
university teacher chemist
action filter_type
action find
entity Arthur Simon
relation occupation
type occupation
['Arthur Simon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Arthur_Simon property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17521365
P21
Q290
USER
Which sex does that person belong to ?
(Q1622272,P21,c(Q290)) (Q593644,P21,c(Q290))
action filter_type
action find
entity Q17521365
relation P21
type Q290
['Q1622272', 'P21', {'concept': 'Q290'}] ['Q593644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q17521365 property:P21 ?b . ?b rdf:type ontology:Q290 }
Arthur Simon
action filter_type
action find
entity Arthur Simon
relation gender
type sex
['university teacher', 'gender', {'concept': 'sex'}] ['chemist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Arthur_Simon property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1622272,P21,c(Q290)) (Q593644,P21,c(Q290))
action filter_type
action find
entity Q17521365
relation P21
type Q290
That person belongs to [ANSWER]
['Q1622272', 'P21', {'concept': 'Q290'}] ['Q593644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q17521365 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Arthur Simon
relation gender
type sex
['university teacher', 'gender', {'concept': 'sex'}] ['chemist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Arthur_Simon property:gender ?b . ?b rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6767236
P21
Q502895
USER
Does Mark D. Clookie have the gender as that sex ?
(Q6767236,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6767236
relation P21
['Q6767236', 'P21', 'Q6581097']
ASK WHERE { resource:Q6767236 property:P21 resource:Q6581097 }
male Mark D. Clookie
action is_in
entity male
action find
entity Mark D. Clookie
relation gender
['Mark D. Clookie', 'gender', 'male']
ASK WHERE { resource:Mark_D._Clookie property:gender resource:male }
[]
common name
SYSTEM
YES
(Q6767236,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6767236
relation P21
[ANSWER]
['Q6767236', 'P21', 'Q6581097']
ASK WHERE { resource:Q6767236 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Mark D. Clookie
relation gender
['Mark D. Clookie', 'gender', 'male']
ASK WHERE { resource:Mark_D._Clookie property:gender resource:male }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19937286
P180
Q12737077 Q15709879 Q2342494
USER
Which occupations are depicted in approximately the same number of artwork series and collectables as worker ?
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19937286
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P180 resource:Q19937286 . { VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?a rdf:type ?c } } } . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?k } }
worker
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity worker
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:depicts resource:worker . { VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?a rdf:type ?c } } } . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?k } }
[]
occupation artwork series collectable
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 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 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19937286
relation P180
type Q15709879
type Q2342494
[ANSWERS] are depicted in approximately the same number of artwork series and collectables as worker
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P180 resource:Q19937286 . { VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?a rdf:type ?c } } } . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?k } }
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 midwife pianist stonemason artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier 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 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 school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are depicted in approximately the same number of artwork series and collectables as worker
farmer nurse tailor
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity worker
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?g = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:depicts resource:worker . { VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?a rdf:type ?c } } } . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?k } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q242468
P425
Q223557
USER
Which physical object is associated with the field of occupation that one ?
(Q242468,P425,c(Q223557))
action filter_type
action find
entity Q242468
relation P425
type Q223557
['Q242468', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ?v WHERE { resource:Q242468 property:P425 ?v . ?v rdf:type ontology:Q223557 }
tailor
action filter_type
action find
entity tailor
relation field of this occupation
type physical object
['tailor', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ?v WHERE { resource:tailor property:field_of_this_occupation ?v . ?v rdf:type ontology:physical_object }
[]
physical object
Clarification for simple ques.
Q131512
SYSTEM
Did you mean farmer ?
Q131512 Q186360 Q242468
(Q131512,P425,c(Q223557)) (Q186360,P425,c(Q223557)) (Q242468,P425,c(Q223557))
[ANSWER]
['Q131512', 'P425', {'concept': 'Q223557'}] ['Q186360', 'P425', {'concept': 'Q223557'}] ['Q242468', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ?v WHERE { resource:Q242468 property:P425 ?v . ?v rdf:type ontology:Q223557 }
farmer nurse tailor
Did you mean farmer ?
farmer
['farmer', 'field of this occupation', {'concept': 'physical object'}] ['nurse', 'field of this occupation', {'concept': 'physical object'}] ['tailor', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ?v WHERE { resource:tailor property:field_of_this_occupation ?v . ?v rdf:type ontology:physical_object }
[]
Simple Question (Coreferenced)
USER
No, I meant tailor. Could you tell me the answer for that?
(Q242468,P425,c(Q223557))
Q242468
['Q242468', 'P425', {'concept': 'Q223557'}]
['tailor', 'field of this occupation', {'concept': 'physical object'}]
[]
Q11460
SYSTEM
clothing
Q11460
(Q242468,P425,c(Q223557))
action filter_type
action find
entity Q242468
relation P425
type Q223557
Is [ANSWER] is associated with the field of occupation that one
['Q242468', 'P425', {'concept': 'Q223557'}]
SELECT DISTINCT ?v WHERE { resource:Q242468 property:P425 ?v . ?v rdf:type ontology:Q223557 }
clothing
Is clothing is associated with the field of occupation that one
clothing
action filter_type
action find
entity tailor
relation field of this occupation
type physical object
['tailor', 'field of this occupation', {'concept': 'physical object'}]
SELECT DISTINCT ?v WHERE { resource:tailor property:field_of_this_occupation ?v . ?v rdf:type ontology:physical_object }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11460 Q286
P186
Q214609
USER
Is leather used to construct clothing ?
(Q11460,P186,Q286)
action is_in
entity Q286
action find
entity Q11460
relation P186
['Q11460', 'P186', 'Q286']
ASK WHERE { resource:Q11460 property:P186 resource:Q286 }
clothing leather
action is_in
entity leather
action find
entity clothing
relation material used
['clothing', 'material used', 'leather']
ASK WHERE { resource:clothing property:material_used resource:leather }
[]
material
SYSTEM
YES
(Q11460,P186,Q286)
action is_in
entity Q286
action find
entity Q11460
relation P186
[ANSWER]
['Q11460', 'P186', 'Q286']
ASK WHERE { resource:Q11460 property:P186 resource:Q286 }
Yes
action is_in
entity leather
action find
entity clothing
relation material used
['clothing', 'material used', 'leather']
ASK WHERE { resource:clothing property:material_used resource:leather }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11460
P101
Q502895
USER
Who works in the domain of that physical object ?
action filter_type
action find_reverse
entity Q11460
relation P101
type Q502895
SELECT DISTINCT ?i WHERE { ?i property:P101 resource:Q11460 . ?i rdf:type ontology:Q502895 }
clothing
action filter_type
action find_reverse
entity clothing
relation field of work
type common name
SELECT DISTINCT ?i WHERE { ?i property:field_of_work resource:clothing . ?i rdf:type ontology:common_name }
[]
common name
Q6257547
SYSTEM
John Sheepshanks
Q6257547
action filter_type
action find_reverse
entity Q11460
relation P101
type Q502895
[ANSWER] works in the domain of that physical object
SELECT DISTINCT ?i WHERE { ?i property:P101 resource:Q11460 . ?i rdf:type ontology:Q502895 }
John Sheepshanks
John Sheepshanks works in the domain of that physical object
John Sheepshanks
action filter_type
action find_reverse
entity clothing
relation field of work
type common name
SELECT DISTINCT ?i WHERE { ?i property:field_of_work resource:clothing . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q6257547,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6257547
relation P27
type Q15617994
['Q6257547', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q6257547 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity John Sheepshanks
relation country of citizenship
type designation for an administrative territorial entity
['John Sheepshanks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:John_Sheepshanks property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q6257547,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6257547
relation P27
type Q15617994
[ANSWER]
['Q6257547', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q6257547 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity John Sheepshanks
relation country of citizenship
type designation for an administrative territorial entity
['John Sheepshanks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:John_Sheepshanks property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]