Simple Question (Direct)
Simple Question
Q5084573
P735
Q82799
USER
What is the firstname of Charlie Bramley ?
(Q5084573,P735,c(Q82799))
action filter_type
action find
entity Q5084573
relation P735
type Q82799
['Q5084573', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q5084573 property:P735 ?p . ?p rdf:type ontology:Q82799 }
Charlie Bramley
action filter_type
action find
entity Charlie Bramley
relation given name
type name
['Charlie Bramley', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Charlie_Bramley property:given_name ?p . ?p rdf:type ontology:name }
[]
name
Q16275193
SYSTEM
Charlie
Q16275193
(Q5084573,P735,c(Q82799))
action filter_type
action find
entity Q5084573
relation P735
type Q82799
The firstname of [ANSWER] Bramley is of [ANSWER]
['Q5084573', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q5084573 property:P735 ?p . ?p rdf:type ontology:Q82799 }
Charlie
The firstname of Charlie Bramley is of Charlie
Charlie
action filter_type
action find
entity Charlie Bramley
relation given name
type name
['Charlie Bramley', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Charlie_Bramley property:given_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16275193
P19
Q502895
USER
Who was born at that name ?
(c(Q502895),P19,Q16275193)
action filter_type
action find_reverse
entity Q16275193
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q16275193']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q16275193 . ?e rdf:type ontology:Q502895 }
Charlie
action filter_type
action find_reverse
entity Charlie
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Charlie']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Charlie . ?e rdf:type ontology:common_name }
[]
common name
Q19942971
SYSTEM
Charlie Enright
Q19942971
(c(Q502895),P19,Q16275193)
action filter_type
action find_reverse
entity Q16275193
relation P19
type Q502895
U [ANSWER] was born at that name
[{'concept': 'Q502895'}, 'P19', 'Q16275193']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q16275193 . ?e rdf:type ontology:Q502895 }
Charlie Enright
U Charlie Enright was born at that name
Charlie Enright
action filter_type
action find_reverse
entity Charlie
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Charlie']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Charlie . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8355
P1303
Q34379 Q502895
USER
Which musical instruments can lesser number of people perform with than violin ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8355
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P1303 resource:Q8355 . ?p rdf:type ontology:Q502895 } } . FILTER ( ?s < ?q ) }
violin
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity violin
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:instrument resource:violin . ?p rdf:type ontology:common_name } } . FILTER ( ?s < ?q ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8355
relation P1303
type Q502895
[ANSWERS] can lesser number of people perform with than violin
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P1303 resource:Q8355 . ?p rdf:type ontology:Q502895 } } . FILTER ( ?s < ?q ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can lesser number of people perform with than violin
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity violin
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:instrument resource:violin . ?p rdf:type ontology:common_name } } . FILTER ( ?s < ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1099153
P1303
Q34379 Q502895
USER
And also tell me about clavinet?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1099153
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?i < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P1303 resource:Q1099153 . ?b rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P1303 ?t . ?q rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } }
clavinet
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity clavinet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?i < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:instrument resource:clavinet . ?b rdf:type ontology:common_name } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:instrument ?t . ?q rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1099153
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?i < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P1303 resource:Q1099153 . ?b rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P1303 ?t . ?q rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity clavinet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?i < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:instrument resource:clavinet . ?b rdf:type ontology:common_name } } . { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:instrument ?t . ?q rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q340169
USER
How many medias depict approximately 1 musical instrument ?
(c(Q340169),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?z ) WHERE { ?n rdf:type ontology:Q340169 . ?m rdf:type ontology:Q34379 . ?n property:P180 ?m } GROUP BY ?n } . FILTER ( ?z = 1 ) }
action count
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?z ) WHERE { ?n rdf:type ontology:media . ?m rdf:type ontology:musical_instrument . ?n property:depicts ?m } GROUP BY ?n } . FILTER ( ?z = 1 ) }
[]
musical instrument media
SYSTEM
2
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
value 1
[ANSWER]
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?z ) WHERE { ?n rdf:type ontology:Q340169 . ?m rdf:type ontology:Q34379 . ?n property:P180 ?m } GROUP BY ?n } . FILTER ( ?z = 1 ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
2
action count
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
value 1
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?z ) WHERE { ?n rdf:type ontology:media . ?m rdf:type ontology:musical_instrument . ?n property:depicts ?m } GROUP BY ?n } . FILTER ( ?z = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5084573
P641
Q349
USER
Which sport was Charlie Bramley a part of ?
(Q5084573,P641,c(Q349))
action filter_type
action find
entity Q5084573
relation P641
type Q349
['Q5084573', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5084573 property:P641 ?o . ?o rdf:type ontology:Q349 }
Charlie Bramley
action filter_type
action find
entity Charlie Bramley
relation sport
type sport
['Charlie Bramley', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Charlie_Bramley property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5084573,P641,c(Q349))
action filter_type
action find
entity Q5084573
relation P641
type Q349
Which sport was Charlie Bramley a part of
['Q5084573', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5084573 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Which sport was Charlie Bramley a part of
association football
action filter_type
action find
entity Charlie Bramley
relation sport
type sport
['Charlie Bramley', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Charlie_Bramley property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19942971
P106
Q12737077
USER
What is the job of Charlie Enright ?
(Q19942971,P106,c(Q12737077))
action filter_type
action find
entity Q19942971
relation P106
type Q12737077
['Q19942971', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q19942971 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Charlie Enright
action filter_type
action find
entity Charlie Enright
relation occupation
type occupation
['Charlie Enright', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Charlie_Enright property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q12334852
SYSTEM
yacht racer
Q12334852
(Q19942971,P106,c(Q12737077))
action filter_type
action find
entity Q19942971
relation P106
type Q12737077
The job of Charlie Enright is a [ANSWER]
['Q19942971', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q19942971 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
yacht racer
The job of Charlie Enright is a yacht racer
yacht racer
action filter_type
action find
entity Charlie Enright
relation occupation
type occupation
['Charlie Enright', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Charlie_Enright property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1132896
Q12737077
USER
And also tell me about Yuko Aoki?
(Q1132896,P106,c(Q12737077))
action filter_type
action find
entity Q1132896
relation P106
type Q12737077
['Q1132896', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1132896 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Yuko Aoki
action filter_type
action find
entity Yuko Aoki
relation occupation
type occupation
['Yuko Aoki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Yuko_Aoki property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q4610556 Q639669 Q177220
SYSTEM
model, musician, singer
Q4610556 Q639669 Q2705098 Q177220
(Q1132896,P106,c(Q12737077))
action filter_type
action find
entity Q1132896
relation P106
type Q12737077
[ANSWERS]
['Q1132896', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1132896 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
model musician tarento singer
model musician singer
action filter_type
action find
entity Yuko Aoki
relation occupation
type occupation
['Yuko Aoki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Yuko_Aoki property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q39631
P180
Q12737077 Q17638008 Q838948
USER
How many occupations are demonstrated in less number of game equipment and works of art than physician ?
(c(Q17638008)|c(Q838948),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q39631
relation P180
type Q17638008
type Q838948
[[{'concept': 'Q17638008'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { { ?x property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q17638008 } UNION { ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P180 resource:Q39631 . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:Q17638008 ) ( ontology:Q838948 ) } } } } . FILTER ( ?r < ?i ) }
physician
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity physician
relation depicts
type game equipment
type work of art
[[{'concept': 'game equipment'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { { ?x property:depicts ?k . ?k rdf:type ontology:occupation . ?x rdf:type ontology:game_equipment } UNION { ?k rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art . ?x property:depicts ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:depicts resource:physician . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:game_equipment ) ( ontology:work_of_art ) } } } } . FILTER ( ?r < ?i ) }
[]
occupation game equipment work of art
SYSTEM
207
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q589897 Q4594605 Q54128 Q242468 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q838948),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q39631
relation P180
type Q17638008
type Q838948
[ANSWER]
[[{'concept': 'Q17638008'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { { ?x property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q17638008 } UNION { ?k rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P180 resource:Q39631 . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:Q17638008 ) ( ontology:Q838948 ) } } } } . FILTER ( ?r < ?i ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model violinist deacon wet nurse sailor clown spinner butcher religious servant detective midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist mahout magistrate domestic worker tailor housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer sea captain Roman emperor quarryman cook street artist waiting staff
207
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity physician
relation depicts
type game equipment
type work of art
[[{'concept': 'game equipment'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { { ?x property:depicts ?k . ?k rdf:type ontology:occupation . ?x rdf:type ontology:game_equipment } UNION { ?k rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art . ?x property:depicts ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:depicts resource:physician . { ?o rdf:type ?d . VALUES ( ?d ) { ( ontology:game_equipment ) ( ontology:work_of_art ) } } } } . FILTER ( ?r < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q845929
P180
Q12737077 Q17638008 Q838948
USER
And how about pretender?
(c(Q17638008)|c(Q838948),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q845929
relation P180
type Q17638008
type Q838948
[[{'concept': 'Q17638008'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P180 ?g . ?d rdf:type ontology:Q17638008 . ?g rdf:type ontology:Q12737077 } UNION { ?d property:P180 ?g . ?d rdf:type ontology:Q838948 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P180 resource:Q845929 . { { ?o rdf:type ontology:Q17638008 } UNION { ?o rdf:type ontology:Q838948 } } } } . FILTER ( ?i < ?l ) }
pretender
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity pretender
relation depicts
type game equipment
type work of art
[[{'concept': 'game equipment'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:depicts ?g . ?d rdf:type ontology:game_equipment . ?g rdf:type ontology:occupation } UNION { ?d property:depicts ?g . ?d rdf:type ontology:work_of_art . ?g rdf:type ontology:occupation } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:depicts resource:pretender . { { ?o rdf:type ontology:game_equipment } UNION { ?o rdf:type ontology:work_of_art } } } } . FILTER ( ?i < ?l ) }
[]
occupation game equipment work of art
SYSTEM
177
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q14009165 Q15954519 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q207651 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q17638008)|c(Q838948),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q845929
relation P180
type Q17638008
type Q838948
[ANSWER]
[[{'concept': 'Q17638008'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P180 ?g . ?d rdf:type ontology:Q17638008 . ?g rdf:type ontology:Q12737077 } UNION { ?d property:P180 ?g . ?d rdf:type ontology:Q838948 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P180 resource:Q845929 . { { ?o rdf:type ontology:Q17638008 } UNION { ?o rdf:type ontology:Q838948 } } } } . FILTER ( ?i < ?l ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner religious servant detective midwife pianist stonemason explorer artist merchant civil servant abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic monk helmsman harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja friar hobo fishmonger recorder player laborer gravedigger erudite comics artist boxer trapper alchemist tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge abbot matador goldsmith astronomer surgeon domestic worker cook executioner embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain street artist waiting staff
177
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity pretender
relation depicts
type game equipment
type work of art
[[{'concept': 'game equipment'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:depicts ?g . ?d rdf:type ontology:game_equipment . ?g rdf:type ontology:occupation } UNION { ?d property:depicts ?g . ?d rdf:type ontology:work_of_art . ?g rdf:type ontology:occupation } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:depicts resource:pretender . { { ?o rdf:type ontology:game_equipment } UNION { ?o rdf:type ontology:work_of_art } } } } . FILTER ( ?i < ?l ) }
[]