Simple Question (Direct)
Simple Question
Q3748456
P106
Q12737077
USER
What is the job of Forrest McKenzie ?
(Q3748456,P106,c(Q12737077))
action filter_type
action find
entity Q3748456
relation P106
type Q12737077
['Q3748456', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3748456 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Forrest McKenzie
action filter_type
action find
entity Forrest McKenzie
relation occupation
type occupation
['Forrest McKenzie', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Forrest_McKenzie property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q3748456,P106,c(Q12737077))
action filter_type
action find
entity Q3748456
relation P106
type Q12737077
The job of Forrest McKenzie is a [ANSWER]
['Q3748456', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3748456 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
basketball player
The job of Forrest McKenzie is a basketball player
basketball player
action filter_type
action find
entity Forrest McKenzie
relation occupation
type occupation
['Forrest McKenzie', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Forrest_McKenzie property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3748456
P641
Q349
USER
What did that person participate in ?
(Q3665646,P641,c(Q349))
action filter_type
action find
entity Q3748456
relation P641
type Q349
['Q3665646', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3748456 property:P641 ?c . ?c rdf:type ontology:Q349 }
Forrest McKenzie
action filter_type
action find
entity Forrest McKenzie
relation sport
type sport
['basketball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Forrest_McKenzie property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3665646,P641,c(Q349))
action filter_type
action find
entity Q3748456
relation P641
type Q349
That person participated in [ANSWER]
['Q3665646', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3748456 property:P641 ?c . ?c rdf:type ontology:Q349 }
basketball
That person participated in basketball
basketball
action filter_type
action find
entity Forrest McKenzie
relation sport
type sport
['basketball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Forrest_McKenzie property:sport ?c . ?c rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3748456 Q5592484
P106
Q12737077
USER
How many occupations are the professions of Forrest McKenzie or Grafiksismik ?
(Q3748456,P106,c(Q12737077)) (Q5592484,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q3748456
relation P106
type Q12737077
action filter_type
action find
entity Q5592484
relation P106
type Q12737077
['Q3748456', 'P106', {'concept': 'Q12737077'}] ['Q5592484', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Q5592484 property:P106 ?b . ?b rdf:type ontology:Q12737077 } UNION { resource:Q3748456 property:P106 ?b . ?b rdf:type ontology:Q12737077 } }
Forrest McKenzie Grafiksismik
action count
action union
action filter_type
action find
entity Forrest McKenzie
relation occupation
type occupation
action filter_type
action find
entity Grafiksismik
relation occupation
type occupation
['Forrest McKenzie', 'occupation', {'concept': 'occupation'}] ['Grafiksismik', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Grafiksismik property:occupation ?b . ?b rdf:type ontology:occupation } UNION { resource:Forrest_McKenzie property:occupation ?b . ?b rdf:type ontology:occupation } }
[]
occupation
SYSTEM
2
Q715301 Q3665646
(Q3748456,P106,c(Q12737077)) (Q5592484,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q3748456
relation P106
type Q12737077
action filter_type
action find
entity Q5592484
relation P106
type Q12737077
[ANSWER]
['Q3748456', 'P106', {'concept': 'Q12737077'}] ['Q5592484', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Q5592484 property:P106 ?b . ?b rdf:type ontology:Q12737077 } UNION { resource:Q3748456 property:P106 ?b . ?b rdf:type ontology:Q12737077 } }
comics artist basketball player
2
action count
action union
action filter_type
action find
entity Forrest McKenzie
relation occupation
type occupation
action filter_type
action find
entity Grafiksismik
relation occupation
type occupation
['Forrest McKenzie', 'occupation', {'concept': 'occupation'}] ['Grafiksismik', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { resource:Grafiksismik property:occupation ?b . ?b rdf:type ontology:occupation } UNION { resource:Forrest_McKenzie property:occupation ?b . ?b rdf:type ontology:occupation } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q386724
USER
How many occupations were the main subjects in the work approximately 1 publications or works ?
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?w WHERE { { ?d property:P921 ?w . ?d rdf:type ontology:Q732577 . ?w rdf:type ontology:Q12737077 } UNION { ?d property:P921 ?w . ?w rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q386724 } } GROUP BY ?w } . FILTER ( ?v = 1 ) }
action count
action approx
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
value 1
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?w WHERE { { ?d property:main_subject ?w . ?d rdf:type ontology:publication . ?w rdf:type ontology:occupation } UNION { ?d property:main_subject ?w . ?w rdf:type ontology:occupation . ?d rdf:type ontology:work } } GROUP BY ?w } . FILTER ( ?v = 1 ) }
[]
occupation publication work
SYSTEM
5
Q3809586 Q2094335 Q9402 Q15320003 Q16003532
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?w WHERE { { ?d property:P921 ?w . ?d rdf:type ontology:Q732577 . ?w rdf:type ontology:Q12737077 } UNION { ?d property:P921 ?w . ?w rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q386724 } } GROUP BY ?w } . FILTER ( ?v = 1 ) }
Wikipedian in Residence United States Attorney ninja migrant worker middle school student
5
action count
action approx
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
value 1
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?w WHERE { { ?d property:main_subject ?w . ?d rdf:type ontology:publication . ?w rdf:type ontology:occupation } UNION { ?d property:main_subject ?w . ?w rdf:type ontology:occupation . ?d rdf:type ontology:work } } GROUP BY ?w } . FILTER ( ?v = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3748456
P69
Q159334
USER
Where was Forrest McKenzie educated ?
(Q3748456,P69,c(Q159334))
action filter_type
action find
entity Q3748456
relation P69
type Q159334
['Q3748456', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q159334 . resource:Q3748456 property:P69 ?i }
Forrest McKenzie
action filter_type
action find
entity Forrest McKenzie
relation educated at
type secondary school
['Forrest McKenzie', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:secondary_school . resource:Forrest_McKenzie property:educated_at ?i }
[]
secondary school
Q7141541
SYSTEM
Pasadena High School
Q7141541
(Q3748456,P69,c(Q159334))
action filter_type
action find
entity Q3748456
relation P69
type Q159334
Forrest McKenzie was educated by [ANSWER]
['Q3748456', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q159334 . resource:Q3748456 property:P69 ?i }
Pasadena High School
Forrest McKenzie was educated by Pasadena High School
Pasadena High School
action filter_type
action find
entity Forrest McKenzie
relation educated at
type secondary school
['Forrest McKenzie', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:secondary_school . resource:Forrest_McKenzie property:educated_at ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7141541 Q667477 Q30
P17
Q15617994
USER
Is Pasadena High School present in Papenhagen and United States of America ?
(Q7141541,P17,Q667477) (Q7141541,P17,Q30)
action is_in
entity Q7141541
action intersection
action find_reverse
entity Q667477
relation P17
action find_reverse
entity Q30
relation P17
['Q7141541', 'P17', 'Q667477'] ['Q7141541', 'P17', 'Q30']
ASK WHERE { resource:Q7141541 property:P17 resource:Q667477 . resource:Q7141541 property:P17 resource:Q30 }
Pasadena High School Papenhagen United States of America
action is_in
entity Pasadena High School
action intersection
action find_reverse
entity Papenhagen
relation country
action find_reverse
entity United States of America
relation country
['Pasadena High School', 'country', 'Papenhagen'] ['Pasadena High School', 'country', 'United States of America']
ASK WHERE { resource:Pasadena_High_School property:country resource:Papenhagen . resource:Pasadena_High_School property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7141541,P17,Q667477) (Q7141541,P17,Q30)
action is_in
entity Q7141541
action intersection
action find_reverse
entity Q667477
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q7141541', 'P17', 'Q667477'] ['Q7141541', 'P17', 'Q30']
ASK WHERE { resource:Q7141541 property:P17 resource:Q667477 . resource:Q7141541 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Pasadena High School
action intersection
action find_reverse
entity Papenhagen
relation country
action find_reverse
entity United States of America
relation country
['Pasadena High School', 'country', 'Papenhagen'] ['Pasadena High School', 'country', 'United States of America']
ASK WHERE { resource:Pasadena_High_School property:country resource:Papenhagen . resource:Pasadena_High_School property:country resource:United_States_of_America }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q622630
P180
Q12737077 Q386724 Q15709879
USER
Which occupations are demonstrated in less number of works and artwork series than odalisque ?
(c(Q386724)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q622630
relation P180
type Q386724
type Q15709879
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?s WHERE { VALUES ( ?d ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?c rdf:type ?d } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } } . ?u property:P180 resource:Q622630 } } . FILTER ( ?i < ?x ) }
odalisque
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity odalisque
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?s WHERE { VALUES ( ?d ) { ( ontology:work ) ( ontology:artwork_series ) } . ?c rdf:type ?d } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:work ) ( ontology:artwork_series ) } } . ?u property:depicts resource:odalisque } } . FILTER ( ?i < ?x ) }
[]
occupation work artwork series
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 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 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 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 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 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q386724)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q622630
relation P180
type Q386724
type Q15709879
[ANSWERS] are demonstrated in less number of works and artwork series than odalisque
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?s WHERE { VALUES ( ?d ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?c rdf:type ?d } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } } . ?u property:P180 resource:Q622630 } } . FILTER ( ?i < ?x ) }
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 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 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 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 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 woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are demonstrated in less number of works and artwork series than odalisque
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity odalisque
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?s WHERE { VALUES ( ?d ) { ( ontology:work ) ( ontology:artwork_series ) } . ?c rdf:type ?d } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:work ) ( ontology:artwork_series ) } } . ?u property:depicts resource:odalisque } } . FILTER ( ?i < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2730732
P180
Q12737077 Q386724 Q15709879
USER
And also tell me about equestrian?
(c(Q386724)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q386724
type Q15709879
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?w WHERE { { ?e property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } UNION { ?e property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?w } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P180 resource:Q2730732 . { { ?y rdf:type ontology:Q15709879 } UNION { ?y rdf:type ontology:Q386724 } } } } }
equestrian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?w WHERE { { ?e property:depicts ?w . ?w rdf:type ontology:occupation . ?e rdf:type ontology:work } UNION { ?e property:depicts ?w . ?w rdf:type ontology:occupation . ?e rdf:type ontology:artwork_series } } GROUP BY ?w } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:depicts resource:equestrian . { { ?y rdf:type ontology:artwork_series } UNION { ?y rdf:type ontology:work } } } } }
[]
occupation work artwork series
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 Q4991371 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 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(Q386724)|c(Q15709879),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q386724
type Q15709879
[ANSWERS]
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?w WHERE { { ?e property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } UNION { ?e property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?w } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P180 resource:Q2730732 . { { ?y rdf:type ontology:Q15709879 } UNION { ?y rdf:type ontology:Q386724 } } } } }
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 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 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 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 tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?w WHERE { { ?e property:depicts ?w . ?w rdf:type ontology:occupation . ?e rdf:type ontology:work } UNION { ?e property:depicts ?w . ?w rdf:type ontology:occupation . ?e rdf:type ontology:artwork_series } } GROUP BY ?w } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:depicts resource:equestrian . { { ?y rdf:type ontology:artwork_series } UNION { ?y rdf:type ontology:work } } } } }
[]