Simple Question (Direct)
Simple Question
Q3191210
P106
Q12737077
USER
What does Jürgen Raeymaeckers do for a living ?
(Q3191210,P106,c(Q12737077))
action filter_type
action find
entity Q3191210
relation P106
type Q12737077
['Q3191210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3191210 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Jürgen Raeymaeckers
action filter_type
action find
entity Jürgen Raeymaeckers
relation occupation
type occupation
['Jürgen Raeymaeckers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jürgen_Raeymaeckers property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3191210,P106,c(Q12737077))
action filter_type
action find
entity Q3191210
relation P106
type Q12737077
[ANSWER] Jürgen Raeymaeckers does for a living
['Q3191210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3191210 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
Association football player Jürgen Raeymaeckers does for a living
association football player
action filter_type
action find
entity Jürgen Raeymaeckers
relation occupation
type occupation
['Jürgen Raeymaeckers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jürgen_Raeymaeckers property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3191210
P641
Q349
USER
Which sport was Jürgen Raeymaeckers a part of ?
(Q3191210,P641,c(Q349))
action filter_type
action find
entity Q3191210
relation P641
type Q349
['Q3191210', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q3191210 property:P641 ?p . ?p rdf:type ontology:Q349 }
Jürgen Raeymaeckers
action filter_type
action find
entity Jürgen Raeymaeckers
relation sport
type sport
['Jürgen Raeymaeckers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Jürgen_Raeymaeckers property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3191210,P641,c(Q349))
action filter_type
action find
entity Q3191210
relation P641
type Q349
Which sport was Jürgen Raeymaeckers a part of
['Q3191210', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q3191210 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Which sport was Jürgen Raeymaeckers a part of
association football
action filter_type
action find
entity Jürgen Raeymaeckers
relation sport
type sport
['Jürgen Raeymaeckers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Jürgen_Raeymaeckers property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3181793
Q349
USER
And what about John Hunter?
(Q3181793,P641,c(Q349))
action filter_type
action find
entity Q3181793
relation P641
type Q349
['Q3181793', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3181793 property:P641 ?h . ?h rdf:type ontology:Q349 }
John Hunter
action filter_type
action find
entity John Hunter
relation sport
type sport
['John Hunter', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:John_Hunter property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3181793,P641,c(Q349))
action filter_type
action find
entity Q3181793
relation P641
type Q349
[ANSWER]
['Q3181793', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3181793 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity John Hunter
relation sport
type sport
['John Hunter', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:John_Hunter property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3181793
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q3181793
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q3181793 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
John Hunter
action filter_type
action find
entity John Hunter
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:John_Hunter property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
national sports team
Q34044
SYSTEM
Scotland national football team
Q34044
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q3181793
relation P54
type Q1194951
That person a member of is and [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q3181793 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Scotland national football team
That person a member of is and Scotland national football team
Scotland national football team
action filter_type
action find
entity John Hunter
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:John_Hunter property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3181793
P20
Q56061
USER
Where did that person expire ?
(Q34044,P20,c(Q56061))
action filter_type
action find
entity Q3181793
relation P20
type Q56061
['Q34044', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3181793 property:P20 ?t . ?t rdf:type ontology:Q56061 }
John Hunter
action filter_type
action find
entity John Hunter
relation place of death
type administrative territorial entity
['Scotland national football team', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:John_Hunter property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q737547
SYSTEM
Motherwell
Q737547
(Q34044,P20,c(Q56061))
action filter_type
action find
entity Q3181793
relation P20
type Q56061
That person expired at [ANSWER]
['Q34044', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3181793 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Motherwell
That person expired at Motherwell
Motherwell
action filter_type
action find
entity John Hunter
relation place of death
type administrative territorial entity
['Scotland national football team', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:John_Hunter property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q737547 Q4761399
P19
Q502895
USER
Does Andy Thomson have location of birth at that administrative territory ?
(Q4761399,P19,Q737547)
action is_in
entity Q737547
action find
entity Q4761399
relation P19
['Q4761399', 'P19', 'Q737547']
ASK WHERE { resource:Q4761399 property:P19 resource:Q737547 }
Motherwell Andy Thomson
action is_in
entity Motherwell
action find
entity Andy Thomson
relation place of birth
['Andy Thomson', 'place of birth', 'Motherwell']
ASK WHERE { resource:Andy_Thomson property:place_of_birth resource:Motherwell }
[]
common name
SYSTEM
YES
(Q4761399,P19,Q737547)
action is_in
entity Q737547
action find
entity Q4761399
relation P19
[ANSWER]
['Q4761399', 'P19', 'Q737547']
ASK WHERE { resource:Q4761399 property:P19 resource:Q737547 }
Yes
action is_in
entity Motherwell
action find
entity Andy Thomson
relation place of birth
['Andy Thomson', 'place of birth', 'Motherwell']
ASK WHERE { resource:Andy_Thomson property:place_of_birth resource:Motherwell }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q250867
P180
Q12737077 Q2342494 Q3305213
USER
Which occupations are expressed in lesser number of collectables and paintings than Catholic priest ?
(c(Q2342494)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q250867
relation P180
type Q2342494
type Q3305213
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q3305213 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P180 resource:Q250867 . { { ?w rdf:type ontology:Q2342494 } UNION { ?w rdf:type ontology:Q3305213 } } } } . FILTER ( ?u < ?d ) }
Catholic priest
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity Catholic priest
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:depicts ?e . ?e rdf:type ontology:occupation . ?l rdf:type ontology:collectable } UNION { ?l property:depicts ?e . ?e rdf:type ontology:occupation . ?l rdf:type ontology:painting } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:depicts resource:Catholic_priest . { { ?w rdf:type ontology:collectable } UNION { ?w rdf:type ontology:painting } } } } . FILTER ( ?u < ?d ) }
[]
occupation collectable painting
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
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 Q1250916 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 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 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 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(Q2342494)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q250867
relation P180
type Q2342494
type Q3305213
The [ANSWERS] are expressed in lesser number of collectables and paintings than Catholic priest
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q3305213 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P180 resource:Q250867 . { { ?w rdf:type ontology:Q2342494 } UNION { ?w rdf:type ontology:Q3305213 } } } } . FILTER ( ?u < ?d ) }
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 warrior model deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason 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 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 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
The nurse, tailor and librarian are expressed in lesser number of collectables and paintings than Catholic priest
nurse tailor librarian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity Catholic priest
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:depicts ?e . ?e rdf:type ontology:occupation . ?l rdf:type ontology:collectable } UNION { ?l property:depicts ?e . ?e rdf:type ontology:occupation . ?l rdf:type ontology:painting } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:depicts resource:Catholic_priest . { { ?w rdf:type ontology:collectable } UNION { ?w rdf:type ontology:painting } } } } . FILTER ( ?u < ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q12059906
P180
Q12737077 Q2342494 Q3305213
USER
And how about herder?
(c(Q2342494)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q12059906
relation P180
type Q2342494
type Q3305213
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:P180 ?s . ?y rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q12737077 } UNION { ?y property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } } GROUP BY ?s } . FILTER ( ?p < ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P180 resource:Q12059906 . { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q3305213 ) } } } } }
herder
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity herder
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:depicts ?s . ?y rdf:type ontology:collectable . ?s rdf:type ontology:occupation } UNION { ?y property:depicts ?s . ?s rdf:type ontology:occupation . ?y rdf:type ontology:painting } } GROUP BY ?s } . FILTER ( ?p < ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:depicts resource:herder . { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:painting ) } } } } }
[]
occupation collectable painting
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 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 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 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(Q2342494)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q12059906
relation P180
type Q2342494
type Q3305213
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:P180 ?s . ?y rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q12737077 } UNION { ?y property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } } GROUP BY ?s } . FILTER ( ?p < ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P180 resource:Q12059906 . { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( 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 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 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 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
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity herder
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:depicts ?s . ?y rdf:type ontology:collectable . ?s rdf:type ontology:occupation } UNION { ?y property:depicts ?s . ?s rdf:type ontology:occupation . ?y rdf:type ontology:painting } } GROUP BY ?s } . FILTER ( ?p < ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:depicts resource:herder . { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:painting ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4991371
P180
Q12737077 Q18783400 Q386724
USER
Which occupations are expressed in less number of genres of sculpture or works than soldier ?
(c(Q18783400)|c(Q386724),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q18783400
type Q386724
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?r WHERE { { ?r rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q18783400 . ?n property:P180 ?r } UNION { ?n property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q386724 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q386724 ) ( ontology:Q18783400 ) } } . ?x property:P180 resource:Q4991371 } } . FILTER ( ?t < ?q ) }
soldier
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?r WHERE { { ?r rdf:type ontology:occupation . ?n rdf:type ontology:genre_of_sculpture . ?n property:depicts ?r } UNION { ?n property:depicts ?r . ?r rdf:type ontology:occupation . ?n rdf:type ontology:work } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:work ) ( ontology:genre_of_sculpture ) } } . ?x property:depicts resource:soldier } } . FILTER ( ?t < ?q ) }
[]
occupation genre of sculpture work
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 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 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 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 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 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q18783400)|c(Q386724),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q18783400
type Q386724
[ANSWERS] are expressed in less number of genres of sculpture or works than soldier
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?r WHERE { { ?r rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q18783400 . ?n property:P180 ?r } UNION { ?n property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q386724 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q386724 ) ( ontology:Q18783400 ) } } . ?x property:P180 resource:Q4991371 } } . FILTER ( ?t < ?q ) }
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 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 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 tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor 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 priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are expressed in less number of genres of sculpture or works than soldier
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?r WHERE { { ?r rdf:type ontology:occupation . ?n rdf:type ontology:genre_of_sculpture . ?n property:depicts ?r } UNION { ?n property:depicts ?r . ?r rdf:type ontology:occupation . ?n rdf:type ontology:work } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:work ) ( ontology:genre_of_sculpture ) } } . ?x property:depicts resource:soldier } } . FILTER ( ?t < ?q ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20808513 Q242468
P425 P180
Q223557
USER
Which physical objects have tailor as the associated field of occupation or are expressed in Allegory of Sight (Venus and Cupid in a Picture Gallery) ?
OR((Q242468,P425,c(Q223557)), (Q20808513,P180,c(Q223557)))
action filter_type
action union
action find
entity Q242468
relation P425
action find
entity Q20808513
relation P180
type Q223557
{'OR': [['Q242468', 'P425', {'concept': 'Q223557'}], ['Q20808513', 'P180', {'concept': 'Q223557'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q242468 property:P425 ?e } UNION { resource:Q20808513 property:P180 ?e } } . ?e rdf:type ontology:Q223557 }
Allegory of Sight (Venus and Cupid in a Picture Gallery) tailor
action filter_type
action union
action find
entity tailor
relation field of this occupation
action find
entity Allegory of Sight (Venus and Cupid in a Picture Gallery)
relation depicts
type physical object
{'OR': [['tailor', 'field of this occupation', {'concept': 'physical object'}], ['Allegory of Sight (Venus and Cupid in a Picture Gallery)', 'depicts', {'concept': 'physical object'}]]}
SELECT DISTINCT ?e WHERE { { { resource:tailor property:field_of_this_occupation ?e } UNION { resource:Allegory_of_Sight_(Venus_and_Cupid_in_a_Picture_Gallery) property:depicts ?e } } . ?e rdf:type ontology:physical_object }
[]
physical object
Q11460 Q860861
SYSTEM
clothing, sculpture
Q11460 Q860861
OR((Q242468,P425,c(Q223557)), (Q20808513,P180,c(Q223557)))
action filter_type
action union
action find
entity Q242468
relation P425
action find
entity Q20808513
relation P180
type Q223557
[ANSWERS] have tailor as the associated field of occupation or are expressed in Allegory of Sight (Venus and Cupid in a Picture Gallery)
{'OR': [['Q242468', 'P425', {'concept': 'Q223557'}], ['Q20808513', 'P180', {'concept': 'Q223557'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q242468 property:P425 ?e } UNION { resource:Q20808513 property:P180 ?e } } . ?e rdf:type ontology:Q223557 }
clothing sculpture
Clothing and sculpture have tailor as the associated field of occupation or are expressed in Allegory of Sight (Venus and Cupid in a Picture Gallery)
clothing sculpture
action filter_type
action union
action find
entity tailor
relation field of this occupation
action find
entity Allegory of Sight (Venus and Cupid in a Picture Gallery)
relation depicts
type physical object
{'OR': [['tailor', 'field of this occupation', {'concept': 'physical object'}], ['Allegory of Sight (Venus and Cupid in a Picture Gallery)', 'depicts', {'concept': 'physical object'}]]}
SELECT DISTINCT ?e WHERE { { { resource:tailor property:field_of_this_occupation ?e } UNION { resource:Allegory_of_Sight_(Venus_and_Cupid_in_a_Picture_Gallery) property:depicts ?e } } . ?e rdf:type ontology:physical_object }
[]