Simple Question (Direct)
Simple Question
Q830735
P607
Q198
USER
What battle were Ferenc Feketehalmy-Czeydner a part of ?
(Q830735,P607,c(Q198))
action filter_type
action find
entity Q830735
relation P607
type Q198
['Q830735', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q198 . resource:Q830735 property:P607 ?n }
Ferenc Feketehalmy-Czeydner
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation conflict
type war
['Ferenc Feketehalmy-Czeydner', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:war . resource:Ferenc_Feketehalmy-Czeydner property:conflict ?n }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q830735,P607,c(Q198))
action filter_type
action find
entity Q830735
relation P607
type Q198
[ANSWERS]
['Q830735', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q198 . resource:Q830735 property:P607 ?n }
World War II World War I
What battle were Ferenc Feketehalmy-Czeydner a part of
World War II World War I
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation conflict
type war
['Ferenc Feketehalmy-Czeydner', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:war . resource:Ferenc_Feketehalmy-Czeydner property:conflict ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q830735
P21
Q290
USER
What is the sex of Ferenc Feketehalmy-Czeydner ?
(Q830735,P21,c(Q290))
action filter_type
action find
entity Q830735
relation P21
type Q290
['Q830735', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q830735 property:P21 ?n }
Ferenc Feketehalmy-Czeydner
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation gender
type sex
['Ferenc Feketehalmy-Czeydner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Ferenc_Feketehalmy-Czeydner property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q830735,P21,c(Q290))
action filter_type
action find
entity Q830735
relation P21
type Q290
The sex of Ferenc Feketehalmy-Czeydner is the [ANSWER]
['Q830735', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q830735 property:P21 ?n }
male
The sex of Ferenc Feketehalmy-Czeydner is the male
male
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation gender
type sex
['Ferenc Feketehalmy-Czeydner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Ferenc_Feketehalmy-Czeydner property:gender ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q830735
P410
Q4189293
USER
Which title was the military rank held by Ferenc Feketehalmy-Czeydner ?
(Q830735,P410,c(Q4189293))
action filter_type
action find
entity Q830735
relation P410
type Q4189293
['Q830735', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?r WHERE { resource:Q830735 property:P410 ?r . ?r rdf:type ontology:Q4189293 }
Ferenc Feketehalmy-Czeydner
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation military rank
type title
['Ferenc Feketehalmy-Czeydner', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?r WHERE { resource:Ferenc_Feketehalmy-Czeydner property:military_rank ?r . ?r rdf:type ontology:title }
[]
title
Q155327
SYSTEM
colonel general
Q155327
(Q830735,P410,c(Q4189293))
action filter_type
action find
entity Q830735
relation P410
type Q4189293
[ANSWER] was the military rank held by Ferenc Feketehalmy-Czeydner
['Q830735', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?r WHERE { resource:Q830735 property:P410 ?r . ?r rdf:type ontology:Q4189293 }
colonel general
Colonel general was the military rank held by Ferenc Feketehalmy-Czeydner
colonel general
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation military rank
type title
['Ferenc Feketehalmy-Czeydner', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?r WHERE { resource:Ferenc_Feketehalmy-Czeydner property:military_rank ?r . ?r rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q830735
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q155327,P27,c(Q15617994))
action filter_type
action find
entity Q830735
relation P27
type Q15617994
['Q155327', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q830735 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ferenc Feketehalmy-Czeydner
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation country of citizenship
type designation for an administrative territorial entity
['colonel general', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ferenc_Feketehalmy-Czeydner property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q155327,P27,c(Q15617994))
action filter_type
action find
entity Q830735
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q155327', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q830735 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Hungary
The Hungary is the country of citizenship of that person
Hungary
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation country of citizenship
type designation for an administrative territorial entity
['colonel general', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ferenc_Feketehalmy-Czeydner property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q830735
P241
Q781132
USER
Which military branch is Ferenc Feketehalmy-Czeydner associated with ?
(Q830735,P241,c(Q781132))
action filter_type
action find
entity Q830735
relation P241
type Q781132
['Q830735', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q830735 property:P241 ?j . ?j rdf:type ontology:Q781132 }
Ferenc Feketehalmy-Czeydner
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation military branch
type military branch
['Ferenc Feketehalmy-Czeydner', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Ferenc_Feketehalmy-Czeydner property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
military branch
Q311689
SYSTEM
Royal Hungarian Army
Q311689
(Q830735,P241,c(Q781132))
action filter_type
action find
entity Q830735
relation P241
type Q781132
Which military branch is Ferenc Feketehalmy-Czeydner associated with
['Q830735', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q830735 property:P241 ?j . ?j rdf:type ontology:Q781132 }
Royal Hungarian Army
Which military branch is Ferenc Feketehalmy-Czeydner associated with
Royal Hungarian Army
action filter_type
action find
entity Ferenc Feketehalmy-Czeydner
relation military branch
type military branch
['Ferenc Feketehalmy-Czeydner', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Ferenc_Feketehalmy-Czeydner property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P291
Q1002697
USER
What was published in Hungary ?
(c(Q1002697),P291,Q28)
action filter_type
action find_reverse
entity Q28
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q28']
SELECT DISTINCT ?b WHERE { ?b property:P291 resource:Q28 . ?b rdf:type ontology:Q1002697 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Hungary']
SELECT DISTINCT ?b WHERE { ?b property:place_of_publication resource:Hungary . ?b rdf:type ontology:periodical_literature }
[]
periodical literature
Q20482212
SYSTEM
Erdélyi Lapok
Q20482212
(c(Q1002697),P291,Q28)
action filter_type
action find_reverse
entity Q28
relation P291
type Q1002697
Hungary [ANSWER] was published in Hungary
[{'concept': 'Q1002697'}, 'P291', 'Q28']
SELECT DISTINCT ?b WHERE { ?b property:P291 resource:Q28 . ?b rdf:type ontology:Q1002697 }
Erdélyi Lapok
Hungary Erdélyi Lapok was published in Hungary
Erdélyi Lapok
action filter_type
action find_reverse
entity Hungary
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Hungary']
SELECT DISTINCT ?b WHERE { ?b property:place_of_publication resource:Hungary . ?b rdf:type ontology:periodical_literature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P1532
Q502895
USER
Who represent that administrative territory ?
(c(Q502895),P1532,Q20482212)
action filter_type
action find_reverse
entity Q28
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q20482212']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q28 . ?h rdf:type ontology:Q502895 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Erdélyi Lapok']
SELECT DISTINCT ?h WHERE { ?h property:country_for_sport resource:Hungary . ?h rdf:type ontology:common_name }
[]
common name
Q21562104 Q21606430 Q21572818
SYSTEM
Dusán Kovács, Éva Barati, Tibor Bédi
Q21572818 Q25927140 Q23302259 Q25841180 Q21562104 Q16935148 Q23419066 Q21606430
(c(Q502895),P1532,Q20482212)
action filter_type
action find_reverse
entity Q28
relation P1532
type Q502895
[ANSWERS] represent that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q20482212']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q28 . ?h rdf:type ontology:Q502895 }
Tibor Bédi Éva Kaptur Gréta Kerekes Bianka Kéri Dusán Kovács Richárd Osváth Luca Kozák Éva Barati
Dusán Kovács, Éva Barati and Tibor Bédi represent that administrative territory
Dusán Kovács Éva Barati Tibor Bédi
action filter_type
action find_reverse
entity Hungary
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Erdélyi Lapok']
SELECT DISTINCT ?h WHERE { ?h property:country_for_sport resource:Hungary . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21562104 Q21606430 Q21572818
P106
Q12737077
USER
What are the professions of those people ?
(Q21562104,P106,c(Q12737077)) (Q21606430,P106,c(Q12737077)) (Q21572818,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q21562104', 'P106', {'concept': 'Q12737077'}] ['Q21606430', 'P106', {'concept': 'Q12737077'}] ['Q21572818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?r property:P106 ?s . VALUES ( ?r ) { ( resource:Q21572818 ) ( resource:Q25927140 ) ( resource:Q23302259 ) } . ?s rdf:type ontology:Q12737077 }
Dusán Kovács Éva Barati Tibor Bédi
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Dusán Kovács', 'occupation', {'concept': 'occupation'}] ['Éva Barati', 'occupation', {'concept': 'occupation'}] ['Tibor Bédi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?r property:occupation ?s . VALUES ( ?r ) { ( resource:Tibor_Bédi ) ( resource:Éva_Kaptur ) ( resource:Gréta_Kerekes ) } . ?s rdf:type ontology:occupation }
[]
occupation
Q14605941 Q13724897 Q4009406
SYSTEM
combined track and field event athlete, hurdler, sprinter
Q14605941 Q13724897 Q4009406 Q13724897
(Q21562104,P106,c(Q12737077)) (Q21606430,P106,c(Q12737077)) (Q21572818,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q21562104', 'P106', {'concept': 'Q12737077'}] ['Q21606430', 'P106', {'concept': 'Q12737077'}] ['Q21572818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?r property:P106 ?s . VALUES ( ?r ) { ( resource:Q21572818 ) ( resource:Q25927140 ) ( resource:Q23302259 ) } . ?s rdf:type ontology:Q12737077 }
combined track and field event athlete hurdler sprinter hurdler
The professions of those people are combined track and field event athlete, hurdler and sprinter
combined track and field event athlete hurdler sprinter
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Dusán Kovács', 'occupation', {'concept': 'occupation'}] ['Éva Barati', 'occupation', {'concept': 'occupation'}] ['Tibor Bédi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?r property:occupation ?s . VALUES ( ?r ) { ( resource:Tibor_Bédi ) ( resource:Éva_Kaptur ) ( resource:Gréta_Kerekes ) } . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P127
Q1076486
USER
Which sports venue is owned by Hungary ?
(c(Q1076486),P127,Q28)
action filter_type
action find_reverse
entity Q28
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q28']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1076486 . ?x property:P127 resource:Q28 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Hungary']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sports_venue . ?x property:owned_by resource:Hungary }
[]
sports venue
Q259307
SYSTEM
Hidegkuti Nándor Stadium
Q259307
(c(Q1076486),P127,Q28)
action filter_type
action find_reverse
entity Q28
relation P127
type Q1076486
[ANSWER] is owned by Hungary
[{'concept': 'Q1076486'}, 'P127', 'Q28']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1076486 . ?x property:P127 resource:Q28 }
Hidegkuti Nándor Stadium
Hidegkuti Nándor Stadium is owned by Hungary
Hidegkuti Nándor Stadium
action filter_type
action find_reverse
entity Hungary
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Hungary']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sports_venue . ?x property:owned_by resource:Hungary }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q259307)
action filter_type
action find_reverse
entity Q28
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q259307']
SELECT DISTINCT ?i WHERE { ?i property:P551 resource:Q28 . ?i rdf:type ontology:Q502895 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Hidegkuti Nándor Stadium']
SELECT DISTINCT ?i WHERE { ?i property:residence resource:Hungary . ?i rdf:type ontology:common_name }
[]
common name
Q448173 Q3875976 Q1006745
SYSTEM
María Corda, Nicholas Kove, Ákos Füzi
Q448173 Q3875976 Q1006745
(c(Q502895),P551,Q259307)
action filter_type
action find_reverse
entity Q28
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q259307']
SELECT DISTINCT ?i WHERE { ?i property:P551 resource:Q28 . ?i rdf:type ontology:Q502895 }
María Corda Nicholas Kove Ákos Füzi
María Corda, Nicholas Kove and Ákos Füzi live in that administrative territory
María Corda Nicholas Kove Ákos Füzi
action filter_type
action find_reverse
entity Hungary
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Hidegkuti Nándor Stadium']
SELECT DISTINCT ?i WHERE { ?i property:residence resource:Hungary . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q838948 Q340169
USER
Which occupations are depicted in atmost 9 works of art or medias ?
(c(Q838948)|c(Q340169),P180,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 9
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { { ?k property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q838948 } UNION { ?k property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q340169 } } GROUP BY ?n } . FILTER ( ?v <= 9 ) }
action atmost
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 media
value 9
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { { ?k property:depicts ?n . ?n rdf:type ontology:occupation . ?k rdf:type ontology:work_of_art } UNION { ?k property:depicts ?n . ?n rdf:type ontology:occupation . ?k rdf:type ontology:media } } GROUP BY ?n } . FILTER ( ?v <= 9 ) }
[]
occupation work of art media
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 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 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(Q838948)|c(Q340169),P180,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 9
[ANSWERS] are depicted in atmost 9 works of art or medias
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { { ?k property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q838948 } UNION { ?k property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q340169 } } GROUP BY ?n } . FILTER ( ?v <= 9 ) }
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 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 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 depicted in atmost 9 works of art or medias
farmer nurse tailor
action atmost
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 media
value 9
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { { ?k property:depicts ?n . ?n rdf:type ontology:occupation . ?k rdf:type ontology:work_of_art } UNION { ?k property:depicts ?n . ?n rdf:type ontology:occupation . ?k rdf:type ontology:media } } GROUP BY ?n } . FILTER ( ?v <= 9 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q131512 Q3356245
P425
Q874405
USER
How many social groups have farmer or Civilekonom as thier associated field of occupation ?
(Q131512,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q131512
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q131512', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { resource:Q131512 property:P425 ?v . ?v rdf:type ontology:Q874405 } UNION { resource:Q3356245 property:P425 ?v . ?v rdf:type ontology:Q874405 } }
farmer Civilekonom
action count
action union
action filter_type
action find
entity farmer
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['farmer', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { resource:farmer property:field_of_this_occupation ?v . ?v rdf:type ontology:social_group } UNION { resource:Civilekonom property:field_of_this_occupation ?v . ?v rdf:type ontology:social_group } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q131512,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q131512
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q131512', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { resource:Q131512 property:P425 ?v . ?v rdf:type ontology:Q874405 } UNION { resource:Q3356245 property:P425 ?v . ?v rdf:type ontology:Q874405 } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity farmer
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['farmer', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { resource:farmer property:field_of_this_occupation ?v . ?v rdf:type ontology:social_group } UNION { resource:Civilekonom property:field_of_this_occupation ?v . ?v rdf:type ontology:social_group } }
[]