Simple Question (Direct)
Simple Question
Q623802
P69
Q163740
USER
Where was Adel al-Jubeir educated ?
(Q623802,P69,c(Q163740))
action filter_type
action find
entity Q623802
relation P69
type Q163740
['Q623802', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { resource:Q623802 property:P69 ?l . ?l rdf:type ontology:Q163740 }
Adel al-Jubeir
action filter_type
action find
entity Adel al-Jubeir
relation educated at
type nonprofit organization
['Adel al-Jubeir', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { resource:Adel_al-Jubeir property:educated_at ?l . ?l rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q333886
SYSTEM
Georgetown University
Q333886
(Q623802,P69,c(Q163740))
action filter_type
action find
entity Q623802
relation P69
type Q163740
Adel al-Jubeir was educated at [ANSWER]
['Q623802', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { resource:Q623802 property:P69 ?l . ?l rdf:type ontology:Q163740 }
Georgetown University
Adel al-Jubeir was educated at Georgetown University
Georgetown University
action filter_type
action find
entity Adel al-Jubeir
relation educated at
type nonprofit organization
['Adel al-Jubeir', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { resource:Adel_al-Jubeir property:educated_at ?l . ?l rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q623802
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q333886,P106,c(Q12737077))
action filter_type
action find
entity Q623802
relation P106
type Q12737077
['Q333886', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q623802 property:P106 ?z }
Adel al-Jubeir
action filter_type
action find
entity Adel al-Jubeir
relation occupation
type occupation
['Georgetown University', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Adel_al-Jubeir property:occupation ?z }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q333886,P106,c(Q12737077))
action filter_type
action find
entity Q623802
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q333886', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q623802 property:P106 ?z }
diplomat politician
The professions of that person are diplomat and politician
diplomat politician
action filter_type
action find
entity Adel al-Jubeir
relation occupation
type occupation
['Georgetown University', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Adel_al-Jubeir property:occupation ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q17638008 Q11060274
USER
Which occupations are demonstrated in around 1 game equipment or prints ?
(c(Q17638008)|c(Q11060274),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
value 1
[[{'concept': 'Q17638008'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?x WHERE { VALUES ( ?z ) { ( ontology:Q11060274 ) ( ontology:Q17638008 ) } . ?s rdf:type ?z } GROUP BY ?x } . FILTER ( ?v = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type print
value 1
[[{'concept': 'game equipment'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?x WHERE { VALUES ( ?z ) { ( ontology:print ) ( ontology:game_equipment ) } . ?s rdf:type ?z } GROUP BY ?x } . FILTER ( ?v = 1 ) }
[]
occupation game equipment print
Q131512 Q838811 Q848466
SYSTEM
farmer, peasant, courier
Q2486919 Q131512 Q376924 Q848466 Q20489032 Q1509714 Q11063 Q838811 Q2251335 Q639669
(c(Q17638008)|c(Q11060274),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
value 1
[ANSWERS] are demonstrated in around 1 game equipment or prints
[[{'concept': 'Q17638008'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?x WHERE { VALUES ( ?z ) { ( ontology:Q11060274 ) ( ontology:Q17638008 ) } . ?s rdf:type ?z } GROUP BY ?x } . FILTER ( ?v = 1 ) }
standard-bearer farmer courtesan courier salt pan worker porter astronomer peasant school teacher musician
Farmer, peasant and courier are demonstrated in around 1 game equipment or prints
farmer peasant courier
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type print
value 1
[[{'concept': 'game equipment'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?x WHERE { VALUES ( ?z ) { ( ontology:print ) ( ontology:game_equipment ) } . ?s rdf:type ?z } GROUP BY ?x } . FILTER ( ?v = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q838811
P425
Q756
USER
Which plant is associated with the field of occupation that one ?
(Q838811,P425,c(Q756))
action filter_type
action find
entity Q838811
relation P425
type Q756
['Q838811', 'P425', {'concept': 'Q756'}]
SELECT DISTINCT ?t WHERE { resource:Q838811 property:P425 ?t . ?t rdf:type ontology:Q756 }
peasant
action filter_type
action find
entity peasant
relation field of this occupation
type plant
['peasant', 'field of this occupation', {'concept': 'plant'}]
SELECT DISTINCT ?t WHERE { resource:peasant property:field_of_this_occupation ?t . ?t rdf:type ontology:plant }
[]
plant
Clarification for simple ques.
Q838811
SYSTEM
Did you mean peasant ?
Q131512 Q838811 Q848466
(Q131512,P425,c(Q756)) (Q838811,P425,c(Q756)) (Q848466,P425,c(Q756))
[ANSWER]
['Q131512', 'P425', {'concept': 'Q756'}] ['Q838811', 'P425', {'concept': 'Q756'}] ['Q848466', 'P425', {'concept': 'Q756'}]
SELECT DISTINCT ?t WHERE { resource:Q838811 property:P425 ?t . ?t rdf:type ontology:Q756 }
farmer peasant courier
Did you mean peasant ?
peasant
['farmer', 'field of this occupation', {'concept': 'plant'}] ['peasant', 'field of this occupation', {'concept': 'plant'}] ['courier', 'field of this occupation', {'concept': 'plant'}]
SELECT DISTINCT ?t WHERE { resource:peasant property:field_of_this_occupation ?t . ?t rdf:type ontology:plant }
[]
Simple Question (Coreferenced)
USER
Yes
(Q838811,P425,c(Q756))
['Q838811', 'P425', {'concept': 'Q756'}]
['peasant', 'field of this occupation', {'concept': 'plant'}]
[]
Q235352
SYSTEM
crop
Q235352
(Q838811,P425,c(Q756))
action filter_type
action find
entity Q838811
relation P425
type Q756
[ANSWER] is associated with the field of occupation that one
['Q838811', 'P425', {'concept': 'Q756'}]
SELECT DISTINCT ?t WHERE { resource:Q838811 property:P425 ?t . ?t rdf:type ontology:Q756 }
crop
Crop is associated with the field of occupation that one
crop
action filter_type
action find
entity peasant
relation field of this occupation
type plant
['peasant', 'field of this occupation', {'concept': 'plant'}]
SELECT DISTINCT ?t WHERE { resource:peasant property:field_of_this_occupation ?t . ?t rdf:type ontology:plant }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235352
P425
Q12737077
USER
Which occupation does that plant belong to ?
(c(Q12737077),P425,Q235352)
action filter_type
action find_reverse
entity Q235352
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q235352']
SELECT DISTINCT ?u WHERE { ?u property:P425 resource:Q235352 . ?u rdf:type ontology:Q12737077 }
crop
action filter_type
action find_reverse
entity crop
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'crop']
SELECT DISTINCT ?u WHERE { ?u property:field_of_this_occupation resource:crop . ?u rdf:type ontology:occupation }
[]
occupation
Q838811
SYSTEM
peasant
Q838811
(c(Q12737077),P425,Q235352)
action filter_type
action find_reverse
entity Q235352
relation P425
type Q12737077
That plant belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q235352']
SELECT DISTINCT ?u WHERE { ?u property:P425 resource:Q235352 . ?u rdf:type ontology:Q12737077 }
peasant
That plant belongs to peasant
peasant
action filter_type
action find_reverse
entity crop
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'crop']
SELECT DISTINCT ?u WHERE { ?u property:field_of_this_occupation resource:crop . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q838811
P921
Q8171
USER
Which word has that occupation as its principal topic ?
(c(Q8171),P921,Q838811)
action filter_type
action find_reverse
entity Q838811
relation P921
type Q8171
[{'concept': 'Q8171'}, 'P921', 'Q838811']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q838811 . ?m rdf:type ontology:Q8171 }
peasant
action filter_type
action find_reverse
entity peasant
relation main subject
type word
[{'concept': 'word'}, 'main subject', 'peasant']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:peasant . ?m rdf:type ontology:word }
[]
word
Q3392571
SYSTEM
Plouc
Q3392571
(c(Q8171),P921,Q838811)
action filter_type
action find_reverse
entity Q838811
relation P921
type Q8171
[ANSWER] has that occupation as its principal topic
[{'concept': 'Q8171'}, 'P921', 'Q838811']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q838811 . ?m rdf:type ontology:Q8171 }
Plouc
Plouc has that occupation as its principal topic
Plouc
action filter_type
action find_reverse
entity peasant
relation main subject
type word
[{'concept': 'word'}, 'main subject', 'peasant']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:peasant . ?m rdf:type ontology:word }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q82955
P106
Q9819120 Q82799
USER
How many Victimss of the White Terror (Spain) and names have the profession of politician ?
(c(Q9819120),P106,Q82955) (c(Q82799),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q9819120
action filter_type
action find_reverse
entity Q82955
relation P106
type Q82799
[{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q82799'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:P106 resource:Q82955 . ?o rdf:type ontology:Q9819120 } UNION { ?o property:P106 resource:Q82955 . ?o rdf:type ontology:Q82799 } }
politician
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type Category:Victims of the White Terror (Spain)
action filter_type
action find_reverse
entity politician
relation occupation
type name
[{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'name'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:occupation resource:politician . ?o rdf:type ontology:Category:Victims_of_the_White_Terror_(Spain) } UNION { ?o property:occupation resource:politician . ?o rdf:type ontology:name } }
[]
Category:Victims of the White Terror (Spain) name
SYSTEM
1 Victimss of the White Terror (Spain) and 3 names
Q14626845 Q11597949 Q11511661 Q11515829
(c(Q9819120),P106,Q82955) (c(Q82799),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q9819120
action filter_type
action find_reverse
entity Q82955
relation P106
type Q82799
[ANSWER]
[{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q82799'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:P106 resource:Q82955 . ?o rdf:type ontology:Q9819120 } UNION { ?o property:P106 resource:Q82955 . ?o rdf:type ontology:Q82799 } }
Juan Antonio Gaya Tovar Danshi Tatekawa Nanryō Kyokudō Kachō Tsukitei
1 Victimss of the White Terror (Spain) and 3 names
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type Category:Victims of the White Terror (Spain)
action filter_type
action find_reverse
entity politician
relation occupation
type name
[{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'name'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:occupation resource:politician . ?o rdf:type ontology:Category:Victims_of_the_White_Terror_(Spain) } UNION { ?o property:occupation resource:politician . ?o rdf:type ontology:name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17126809
P180
Q12737077 Q1792379 Q386724
USER
How many occupations are expressed in around the same number of art genres and works as rescuer ?
(c(Q1792379)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q17126809
relation P180
type Q1792379
type Q386724
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?g WHERE { { ?w property:P180 ?g . ?w rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q12737077 } UNION { ?w property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q386724 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P180 resource:Q17126809 . { VALUES ( ?n ) { ( ontology:Q1792379 ) ( ontology:Q386724 ) } . ?m rdf:type ?n } } } . FILTER ( ?o = ?v ) }
rescuer
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity rescuer
relation depicts
type art genre
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?g WHERE { { ?w property:depicts ?g . ?w rdf:type ontology:art_genre . ?g rdf:type ontology:occupation } UNION { ?w property:depicts ?g . ?g rdf:type ontology:occupation . ?w rdf:type ontology:work } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:depicts resource:rescuer . { VALUES ( ?n ) { ( ontology:art_genre ) ( ontology:work ) } . ?m rdf:type ?n } } } . FILTER ( ?o = ?v ) }
[]
occupation art genre work
SYSTEM
224
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q1792379)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q17126809
relation P180
type Q1792379
type Q386724
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?g WHERE { { ?w property:P180 ?g . ?w rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q12737077 } UNION { ?w property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q386724 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P180 resource:Q17126809 . { VALUES ( ?n ) { ( ontology:Q1792379 ) ( ontology:Q386724 ) } . ?m rdf:type ?n } } } . FILTER ( ?o = ?v ) }
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 geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
224
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity rescuer
relation depicts
type art genre
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?g WHERE { { ?w property:depicts ?g . ?w rdf:type ontology:art_genre . ?g rdf:type ontology:occupation } UNION { ?w property:depicts ?g . ?g rdf:type ontology:occupation . ?w rdf:type ontology:work } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:depicts resource:rescuer . { VALUES ( ?n ) { ( ontology:art_genre ) ( ontology:work ) } . ?m rdf:type ?n } } } . FILTER ( ?o = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1413824
P180
Q12737077 Q1792379 Q386724
USER
And also tell me about glassblower?
(c(Q1792379)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q1413824
relation P180
type Q1792379
type Q386724
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1792379 } UNION { ?l rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q386724 . ?o property:P180 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P180 resource:Q1413824 . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1792379 ) ( ontology:Q386724 ) } } } } . FILTER ( ?e = ?g ) }
glassblower
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity glassblower
relation depicts
type art genre
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:depicts ?l . ?l rdf:type ontology:occupation . ?o rdf:type ontology:art_genre } UNION { ?l rdf:type ontology:occupation . ?o rdf:type ontology:work . ?o property:depicts ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:depicts resource:glassblower . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:art_genre ) ( ontology:work ) } } } } . FILTER ( ?e = ?g ) }
[]
occupation art genre work
SYSTEM
224
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q1792379)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q1413824
relation P180
type Q1792379
type Q386724
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1792379 } UNION { ?l rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q386724 . ?o property:P180 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P180 resource:Q1413824 . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1792379 ) ( ontology:Q386724 ) } } } } . FILTER ( ?e = ?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 geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
224
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity glassblower
relation depicts
type art genre
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:depicts ?l . ?l rdf:type ontology:occupation . ?o rdf:type ontology:art_genre } UNION { ?l rdf:type ontology:occupation . ?o rdf:type ontology:work . ?o property:depicts ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:depicts resource:glassblower . { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:art_genre ) ( ontology:work ) } } } } . FILTER ( ?e = ?g ) }
[]