Simple Question (Direct)
Simple Question
Q1688332
P106
Q12737077
USER
What are the professions of Nikolay Penchev ?
(Q1688332,P106,c(Q12737077))
action filter_type
action find
entity Q1688332
relation P106
type Q12737077
['Q1688332', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1688332 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Nikolay Penchev
action filter_type
action find
entity Nikolay Penchev
relation occupation
type occupation
['Nikolay Penchev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Nikolay_Penchev property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q17361156 Q15117302
SYSTEM
beach volleyball player, volleyball player
Q17361156 Q15117302
(Q1688332,P106,c(Q12737077))
action filter_type
action find
entity Q1688332
relation P106
type Q12737077
The professions of Nikolay Penchev are [ANSWERS]
['Q1688332', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1688332 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
beach volleyball player volleyball player
The professions of Nikolay Penchev are beach volleyball player and volleyball player
beach volleyball player volleyball player
action filter_type
action find
entity Nikolay Penchev
relation occupation
type occupation
['Nikolay Penchev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Nikolay_Penchev property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17361156 Q15117302
P425
Q349
USER
Which sports are associated with the field of occupation those ones ?
(Q17361156,P425,c(Q349)) (Q15117302,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
['Q17361156', 'P425', {'concept': 'Q349'}] ['Q15117302', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . VALUES ( ?c ) { ( resource:Q17361156 ) ( resource:Q15117302 ) } . ?c property:P425 ?s }
beach volleyball player volleyball player
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['beach volleyball player', 'field of this occupation', {'concept': 'sport'}] ['volleyball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . VALUES ( ?c ) { ( resource:beach_volleyball_player ) ( resource:volleyball_player ) } . ?c property:field_of_this_occupation ?s }
[]
sport
Q4543 Q1734
SYSTEM
beach volleyball, volleyball
Q4543 Q1734
(Q17361156,P425,c(Q349)) (Q15117302,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
The [ANSWERS] are associated with the field of occupation those ones
['Q17361156', 'P425', {'concept': 'Q349'}] ['Q15117302', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . VALUES ( ?c ) { ( resource:Q17361156 ) ( resource:Q15117302 ) } . ?c property:P425 ?s }
beach volleyball volleyball
The beach volleyball and volleyball are associated with the field of occupation those ones
beach volleyball volleyball
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['beach volleyball player', 'field of this occupation', {'concept': 'sport'}] ['volleyball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . VALUES ( ?c ) { ( resource:beach_volleyball_player ) ( resource:volleyball_player ) } . ?c property:field_of_this_occupation ?s }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4543 Q1734
P425
Q12737077
USER
Which occupations do beach volleyball and volleyball belong to ?
(c(Q12737077),P425,Q4543) (c(Q12737077),P425,Q1734)
action union
action filter_type
action find_reverse
entity Q4543
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q1734
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q4543'] [{'concept': 'Q12737077'}, 'P425', 'Q1734']
SELECT DISTINCT ?s WHERE { { ?s property:P425 resource:Q4543 . ?s rdf:type ontology:Q12737077 } UNION { ?s property:P425 resource:Q1734 . ?s rdf:type ontology:Q12737077 } }
beach volleyball volleyball
action union
action filter_type
action find_reverse
entity beach volleyball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity volleyball
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'beach volleyball'] [{'concept': 'occupation'}, 'field of this occupation', 'volleyball']
SELECT DISTINCT ?s WHERE { { ?s property:field_of_this_occupation resource:beach_volleyball . ?s rdf:type ontology:occupation } UNION { ?s property:field_of_this_occupation resource:volleyball . ?s rdf:type ontology:occupation } }
[]
occupation
Q17361156 Q15117302 Q20730881
SYSTEM
beach volleyball player, volleyball player, volleyball coach
Q17361156 Q15117302 Q20730881
(c(Q12737077),P425,Q4543) (c(Q12737077),P425,Q1734)
action union
action filter_type
action find_reverse
entity Q4543
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q1734
relation P425
type Q12737077
Beach volleyball and volleyball belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q4543'] [{'concept': 'Q12737077'}, 'P425', 'Q1734']
SELECT DISTINCT ?s WHERE { { ?s property:P425 resource:Q4543 . ?s rdf:type ontology:Q12737077 } UNION { ?s property:P425 resource:Q1734 . ?s rdf:type ontology:Q12737077 } }
beach volleyball player volleyball player volleyball coach
Beach volleyball and volleyball belong to beach volleyball player, volleyball player and volleyball coach
beach volleyball player volleyball player volleyball coach
action union
action filter_type
action find_reverse
entity beach volleyball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity volleyball
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'beach volleyball'] [{'concept': 'occupation'}, 'field of this occupation', 'volleyball']
SELECT DISTINCT ?s WHERE { { ?s property:field_of_this_occupation resource:beach_volleyball . ?s rdf:type ontology:occupation } UNION { ?s property:field_of_this_occupation resource:volleyball . ?s rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1688332
P54
Q618123
USER
Which sports team has Nikolay Penchev as its member ?
(Q1688332,P54,c(Q618123))
action filter_type
action find
entity Q1688332
relation P54
type Q618123
['Q1688332', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?e WHERE { resource:Q1688332 property:P54 ?e . ?e rdf:type ontology:Q618123 }
Nikolay Penchev
action filter_type
action find
entity Nikolay Penchev
relation member of sports team
type geographical object
['Nikolay Penchev', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?e WHERE { resource:Nikolay_Penchev property:member_of_sports_team ?e . ?e rdf:type ontology:geographical_object }
[]
geographical object
Q2359492
SYSTEM
ASSECO Resovia Rzeszów
Q2359492
(Q1688332,P54,c(Q618123))
action filter_type
action find
entity Q1688332
relation P54
type Q618123
[ANSWER] has Nikolay Penchev as its member
['Q1688332', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?e WHERE { resource:Q1688332 property:P54 ?e . ?e rdf:type ontology:Q618123 }
ASSECO Resovia Rzeszów
ASSECO Resovia Rzeszów has Nikolay Penchev as its member
ASSECO Resovia Rzeszów
action filter_type
action find
entity Nikolay Penchev
relation member of sports team
type geographical object
['Nikolay Penchev', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?e WHERE { resource:Nikolay_Penchev property:member_of_sports_team ?e . ?e rdf:type ontology:geographical_object }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2359492 Q11771435
P108
Q502895
USER
Does Mateusz Mika work for that geographical object ?
(Q11771435,P108,Q2359492)
action is_in
entity Q2359492
action find
entity Q11771435
relation P108
['Q11771435', 'P108', 'Q2359492']
ASK WHERE { resource:Q11771435 property:P108 resource:Q2359492 }
ASSECO Resovia Rzeszów Mateusz Mika
action is_in
entity ASSECO Resovia Rzeszów
action find
entity Mateusz Mika
relation employer
['Mateusz Mika', 'employer', 'ASSECO Resovia Rzeszów']
ASK WHERE { resource:Mateusz_Mika property:employer resource:ASSECO_Resovia_Rzeszów }
[]
common name
SYSTEM
YES
(Q11771435,P108,Q2359492)
action is_in
entity Q2359492
action find
entity Q11771435
relation P108
[ANSWER]
['Q11771435', 'P108', 'Q2359492']
ASK WHERE { resource:Q11771435 property:P108 resource:Q2359492 }
Yes
action is_in
entity ASSECO Resovia Rzeszów
action find
entity Mateusz Mika
relation employer
['Mateusz Mika', 'employer', 'ASSECO Resovia Rzeszów']
ASK WHERE { resource:Mateusz_Mika property:employer resource:ASSECO_Resovia_Rzeszów }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2995983
P180
Q12737077 Q18783400 Q340169
USER
Which occupations are depicted in less number of genres of sculpture or medias than double-bassist ?
(c(Q18783400)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q2995983
relation P180
type Q18783400
type Q340169
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?m WHERE { { ?h property:P180 ?m . ?h rdf:type ontology:Q340169 . ?m rdf:type ontology:Q12737077 } UNION { ?m rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q18783400 . ?h property:P180 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:Q18783400 } UNION { ?x rdf:type ontology:Q340169 } } . ?x property:P180 resource:Q2995983 } } . FILTER ( ?r < ?n ) }
double-bassist
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 media
action count
action filter_multi_types
action find_reverse
entity double-bassist
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?m WHERE { { ?h property:depicts ?m . ?h rdf:type ontology:media . ?m rdf:type ontology:occupation } UNION { ?m rdf:type ontology:occupation . ?h rdf:type ontology:genre_of_sculpture . ?h property:depicts ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:genre_of_sculpture } UNION { ?x rdf:type ontology:media } } . ?x property:depicts resource:double-bassist } } . FILTER ( ?r < ?n ) }
[]
occupation genre of sculpture media
Q242468 Q182436 Q42973
SYSTEM
tailor, librarian, architect
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 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 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q18783400)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q2995983
relation P180
type Q18783400
type Q340169
[ANSWERS] are depicted in less number of genres of sculpture or medias than double-bassist
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?m WHERE { { ?h property:P180 ?m . ?h rdf:type ontology:Q340169 . ?m rdf:type ontology:Q12737077 } UNION { ?m rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q18783400 . ?h property:P180 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:Q18783400 } UNION { ?x rdf:type ontology:Q340169 } } . ?x property:P180 resource:Q2995983 } } . FILTER ( ?r < ?n ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist 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 clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist 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 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 canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra 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 poet baker knife grinder 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 bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Tailor, librarian and architect are depicted in less number of genres of sculpture or medias than double-bassist
tailor librarian architect
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 media
action count
action filter_multi_types
action find_reverse
entity double-bassist
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?m WHERE { { ?h property:depicts ?m . ?h rdf:type ontology:media . ?m rdf:type ontology:occupation } UNION { ?m rdf:type ontology:occupation . ?h rdf:type ontology:genre_of_sculpture . ?h property:depicts ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { { { ?x rdf:type ontology:genre_of_sculpture } UNION { ?x rdf:type ontology:media } } . ?x property:depicts resource:double-bassist } } . FILTER ( ?r < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4991371
P180
Q12737077 Q18783400 Q340169
USER
And also tell me about soldier?
(c(Q18783400)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q18783400
type Q340169
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?t WHERE { { ?h property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q18783400 } UNION { ?h property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q340169 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P180 resource:Q4991371 . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?s < ?g ) }
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 media
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?t WHERE { { ?h property:depicts ?t . ?t rdf:type ontology:occupation . ?h rdf:type ontology:genre_of_sculpture } UNION { ?h property:depicts ?t . ?t rdf:type ontology:occupation . ?h rdf:type ontology:media } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:depicts resource:soldier . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:media ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?s < ?g ) }
[]
occupation genre of sculpture 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 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(Q18783400)|c(Q340169),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 Q340169
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q18783400
type Q340169
[ANSWERS]
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?t WHERE { { ?h property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q18783400 } UNION { ?h property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q340169 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P180 resource:Q4991371 . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?s < ?g ) }
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 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 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 media
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?t WHERE { { ?h property:depicts ?t . ?t rdf:type ontology:occupation . ?h rdf:type ontology:genre_of_sculpture } UNION { ?h property:depicts ?t . ?t rdf:type ontology:occupation . ?h rdf:type ontology:media } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:depicts resource:soldier . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:media ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?s < ?g ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q131512 Q186360 Q242468
P417
Q502895
USER
What are the names of the patron saint of farmer, nurse and tailor ?
(Q131512,P417,c(Q502895)) (Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q131512 ) ( resource:Q186360 ) } . ?j property:P417 ?p }
farmer nurse tailor
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:farmer ) ( resource:nurse ) } . ?j property:patron_saint ?p }
[]
common name
Q166876 Q229190 Q44265
SYSTEM
Isidore of Seville, Catherine of Siena, Benedict of Nursia
Q119289 Q166876 Q151967 Q44265 Q43982 Q332656 Q200895 Q229190 Q137947 Q179718 Q179718 Q43982
(Q131512,P417,c(Q502895)) (Q186360,P417,c(Q502895)) (Q242468,P417,c(Q502895))
action union
action filter_type
action find
entity Q131512
relation P417
type Q502895
action filter_type
action find
entity Q186360
relation P417
type Q502895
action filter_type
action find
entity Q242468
relation P417
type Q502895
The names of the patron saint of farmer , nurse and tailor are born [ANSWERS]
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q186360', 'P417', {'concept': 'Q502895'}] ['Q242468', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q131512 ) ( resource:Q186360 ) } . ?j property:P417 ?p }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle Camillus de Lellis Agatha of Sicily Catherine of Siena Alexius of Rome Catherine of Alexandria Catherine of Alexandria Bartholomew the Apostle
The names of the patron saint of farmer , nurse and tailor are born Isidore of Seville, Catherine of Siena and Benedict of Nursia
Isidore of Seville Catherine of Siena Benedict of Nursia
action union
action filter_type
action find
entity farmer
relation patron saint
type common name
action filter_type
action find
entity nurse
relation patron saint
type common name
action filter_type
action find
entity tailor
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['nurse', 'patron saint', {'concept': 'common name'}] ['tailor', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:farmer ) ( resource:nurse ) } . ?j property:patron_saint ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q166876
P39
Q12737077
USER
Which occupation was a position for which Isidore of Seville was appointed ?
(Q166876,P39,c(Q12737077))
action filter_type
action find
entity Q166876
relation P39
type Q12737077
['Q166876', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q166876 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Isidore of Seville
action filter_type
action find
entity Isidore of Seville
relation position held
type occupation
['Isidore of Seville', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Isidore_of_Seville property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q49476
SYSTEM
archbishop
Q49476
(Q166876,P39,c(Q12737077))
action filter_type
action find
entity Q166876
relation P39
type Q12737077
[ANSWER] was a position for which Isidore of Seville was appointed
['Q166876', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q166876 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
archbishop
Archbishop was a position for which Isidore of Seville was appointed
archbishop
action filter_type
action find
entity Isidore of Seville
relation position held
type occupation
['Isidore of Seville', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Isidore_of_Seville property:position_held ?n . ?n rdf:type ontology:occupation }
[]