Simple Question (Direct)
Simple Question
Q2418616
P39
Q12737077
USER
Which occupation was a position for which Theodore Arthur Burrows was appointed ?
(Q2418616,P39,c(Q12737077))
action filter_type
action find
entity Q2418616
relation P39
type Q12737077
['Q2418616', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2418616 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Theodore Arthur Burrows
action filter_type
action find
entity Theodore Arthur Burrows
relation position held
type occupation
['Theodore Arthur Burrows', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Theodore_Arthur_Burrows property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q6544420
SYSTEM
Lieutenant Governor of Manitoba
Q6544420
(Q2418616,P39,c(Q12737077))
action filter_type
action find
entity Q2418616
relation P39
type Q12737077
The [ANSWER] was a position for which Theodore Arthur Burrows was appointed
['Q2418616', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2418616 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Lieutenant Governor of Manitoba
The Lieutenant Governor of Manitoba was a position for which Theodore Arthur Burrows was appointed
Lieutenant Governor of Manitoba
action filter_type
action find
entity Theodore Arthur Burrows
relation position held
type occupation
['Theodore Arthur Burrows', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Theodore_Arthur_Burrows property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2418616
P102
Q7210356
USER
Which party does that person belong to ?
(Q6544420,P102,c(Q7210356))
action filter_type
action find
entity Q2418616
relation P102
type Q7210356
['Q6544420', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q2418616 property:P102 ?b }
Theodore Arthur Burrows
action filter_type
action find
entity Theodore Arthur Burrows
relation member of political party
type political organization
['Lieutenant Governor of Manitoba', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Theodore_Arthur_Burrows property:member_of_political_party ?b }
[]
political organization
Q138345
SYSTEM
Liberal Party of Canada
Q138345
(Q6544420,P102,c(Q7210356))
action filter_type
action find
entity Q2418616
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q6544420', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q2418616 property:P102 ?b }
Liberal Party of Canada
That person belongs to Liberal Party of Canada
Liberal Party of Canada
action filter_type
action find
entity Theodore Arthur Burrows
relation member of political party
type political organization
['Lieutenant Governor of Manitoba', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Theodore_Arthur_Burrows property:member_of_political_party ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2418616
P106
Q12737077
USER
Which occupation is the profession of Theodore Arthur Burrows ?
(Q2418616,P106,c(Q12737077))
action filter_type
action find
entity Q2418616
relation P106
type Q12737077
['Q2418616', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2418616 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Theodore Arthur Burrows
action filter_type
action find
entity Theodore Arthur Burrows
relation occupation
type occupation
['Theodore Arthur Burrows', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Theodore_Arthur_Burrows property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2418616,P106,c(Q12737077))
action filter_type
action find
entity Q2418616
relation P106
type Q12737077
Which occupation is the profession of Theodore Arthur Burrows
['Q2418616', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2418616 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
Which occupation is the profession of Theodore Arthur Burrows
politician
action filter_type
action find
entity Theodore Arthur Burrows
relation occupation
type occupation
['Theodore Arthur Burrows', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Theodore_Arthur_Burrows property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2418616
P21
Q290
USER
Which sex does that person belong to ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q2418616
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q2418616 property:P21 ?y }
Theodore Arthur Burrows
action filter_type
action find
entity Theodore Arthur Burrows
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Theodore_Arthur_Burrows property:gender ?y }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q2418616
relation P21
type Q290
That person belongs to [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q2418616 property:P21 ?y }
male
That person belongs to male
male
action filter_type
action find
entity Theodore Arthur Burrows
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Theodore_Arthur_Burrows property:gender ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6244026
P21
Q502895
USER
Is Anders Windestam a that sex ?
(Q6244026,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6244026
relation P21
['Q6244026', 'P21', 'Q6581097']
ASK WHERE { resource:Q6244026 property:P21 resource:Q6581097 }
male Anders Windestam
action is_in
entity male
action find
entity Anders Windestam
relation gender
['Anders Windestam', 'gender', 'male']
ASK WHERE { resource:Anders_Windestam property:gender resource:male }
[]
common name
SYSTEM
YES
(Q6244026,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6244026
relation P21
[ANSWER]
['Q6244026', 'P21', 'Q6581097']
ASK WHERE { resource:Q6244026 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Anders Windestam
relation gender
['Anders Windestam', 'gender', 'male']
ASK WHERE { resource:Anders_Windestam property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2418616
P20
Q515
USER
Where did the expiration of Theodore Arthur Burrows occur ?
(Q2418616,P20,c(Q515))
action filter_type
action find
entity Q2418616
relation P20
type Q515
['Q2418616', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . resource:Q2418616 property:P20 ?s }
Theodore Arthur Burrows
action filter_type
action find
entity Theodore Arthur Burrows
relation place of death
type city
['Theodore Arthur Burrows', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . resource:Theodore_Arthur_Burrows property:place_of_death ?s }
[]
city
Q2135
SYSTEM
Winnipeg
Q2135
(Q2418616,P20,c(Q515))
action filter_type
action find
entity Q2418616
relation P20
type Q515
The expiration of Theodore Arthur Burrows occurred in [ANSWER]
['Q2418616', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . resource:Q2418616 property:P20 ?s }
Winnipeg
The expiration of Theodore Arthur Burrows occurred in Winnipeg
Winnipeg
action filter_type
action find
entity Theodore Arthur Burrows
relation place of death
type city
['Theodore Arthur Burrows', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . resource:Theodore_Arthur_Burrows property:place_of_death ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2135
P6
Q502895
USER
Which person has that city as its head of government ?
(Q2135,P6,c(Q502895))
action filter_type
action find
entity Q2135
relation P6
type Q502895
['Q2135', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2135 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Winnipeg
action filter_type
action find
entity Winnipeg
relation head of government
type common name
['Winnipeg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Winnipeg property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
Q16107228
SYSTEM
Brian Bowman
Q16107228
(Q2135,P6,c(Q502895))
action filter_type
action find
entity Q2135
relation P6
type Q502895
[ANSWER] has that city as its head of government
['Q2135', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2135 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Brian Bowman
Brian Bowman has that city as its head of government
Brian Bowman
action filter_type
action find
entity Winnipeg
relation head of government
type common name
['Winnipeg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Winnipeg property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2135
P1376
Q15617994
USER
Which administrative territory has Winnipeg as its county seat ?
(Q2135,P1376,c(Q15617994))
action filter_type
action find
entity Q2135
relation P1376
type Q15617994
['Q2135', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2135 property:P1376 ?g . ?g rdf:type ontology:Q15617994 }
Winnipeg
action filter_type
action find
entity Winnipeg
relation capital of
type designation for an administrative territorial entity
['Winnipeg', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Winnipeg property:capital_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1948
SYSTEM
Manitoba
Q1948
(Q2135,P1376,c(Q15617994))
action filter_type
action find
entity Q2135
relation P1376
type Q15617994
Canada [ANSWER] has Winnipeg as its county seat
['Q2135', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2135 property:P1376 ?g . ?g rdf:type ontology:Q15617994 }
Manitoba
Canada Manitoba has Winnipeg as its county seat
Manitoba
action filter_type
action find
entity Winnipeg
relation capital of
type designation for an administrative territorial entity
['Winnipeg', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Winnipeg property:capital_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3711
Q15617994
USER
And how about Belgrade?
(Q3711,P1376,c(Q15617994))
action filter_type
action find
entity Q3711
relation P1376
type Q15617994
['Q3711', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q3711 property:P1376 ?r }
Belgrade
action filter_type
action find
entity Belgrade
relation capital of
type designation for an administrative territorial entity
['Belgrade', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belgrade property:capital_of ?r }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q3711,P1376,c(Q15617994))
action filter_type
action find
entity Q3711
relation P1376
type Q15617994
[ANSWER]
['Q3711', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q3711 property:P1376 ?r }
Serbia
Serbia
action filter_type
action find
entity Belgrade
relation capital of
type designation for an administrative territorial entity
['Belgrade', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belgrade property:capital_of ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q811979 Q2221906 Q15617994
USER
How many administrative territories are parts of around 2 architectural structures and geographic locations ?
(c(Q15617994),P361,c(Q811979)|c(Q2221906))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
value 2
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { { ?h rdf:type ontology:Q811979 . ?t rdf:type ontology:Q15617994 . ?t property:P361 ?h } UNION { ?t property:P361 ?h . ?t rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2221906 } } GROUP BY ?t } . FILTER ( ?r = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { { ?h rdf:type ontology:architectural_structure . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:part_of ?h } UNION { ?t property:part_of ?h . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:geographic_location } } GROUP BY ?t } . FILTER ( ?r = 2 ) }
[]
architectural structure geographic location designation for an administrative territorial entity
SYSTEM
5
Q159 Q155 Q948 Q794 Q36
(c(Q15617994),P361,c(Q811979)|c(Q2221906))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { { ?h rdf:type ontology:Q811979 . ?t rdf:type ontology:Q15617994 . ?t property:P361 ?h } UNION { ?t property:P361 ?h . ?t rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2221906 } } GROUP BY ?t } . FILTER ( ?r = 2 ) }
Russia Brazil Tunisia Iran Poland
5
action count
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { { ?h rdf:type ontology:architectural_structure . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:part_of ?h } UNION { ?t property:part_of ?h . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:geographic_location } } GROUP BY ?t } . FILTER ( ?r = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19937286
P180
Q12737077 Q838948 Q3305213
USER
Which occupations are depicted in approximately the same number of works of art or paintings as worker ?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q19937286
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?o WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } . ?v rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } . ?p property:P180 resource:Q19937286 } } . FILTER ( ?u = ?q ) }
worker
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity worker
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?o WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:painting ) } . ?v rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:painting ) } } . ?p property:depicts resource:worker } } . FILTER ( ?u = ?q ) }
[]
occupation work of art painting
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 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 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q170790 Q1139055 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 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 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q19937286
relation P180
type Q838948
type Q3305213
[ANSWERS] are depicted in approximately the same number of works of art or paintings as worker
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?o WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } . ?v rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } . ?p property:P180 resource:Q19937286 } } . FILTER ( ?u = ?q ) }
fiddler acrobat milkmaid worker standard-bearer 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 deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mathematician tax collector 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 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 mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador 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 construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
Nurse, tailor and librarian are depicted in approximately the same number of works of art or paintings as worker
nurse tailor librarian
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity worker
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?o WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:painting ) } . ?v rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:painting ) } } . ?p property:depicts resource:worker } } . FILTER ( ?u = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q432386
P180
Q12737077 Q838948 Q3305213
USER
And what about preacher?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q432386
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } . ?r rdf:type ?a } GROUP BY ?y } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P180 resource:Q432386 . { { ?v rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q3305213 } } } } }
preacher
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity preacher
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:painting ) } . ?r rdf:type ?a } GROUP BY ?y } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:depicts resource:preacher . { { ?v rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:painting } } } } }
[]
occupation work of art 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 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 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 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 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(Q838948)|c(Q3305213),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q432386
relation P180
type Q838948
type Q3305213
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } . ?r rdf:type ?a } GROUP BY ?y } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P180 resource:Q432386 . { { ?v rdf:type ontology:Q838948 } UNION { ?v 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 model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector 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 courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner 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 school teacher officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop 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 approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity preacher
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:painting ) } . ?r rdf:type ?a } GROUP BY ?y } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:depicts resource:preacher . { { ?v rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:painting } } } } }
[]