Simple Question (Direct)
Simple Question
Q4738052
P140
Q9174
USER
Which religion does Alvin Brown correspond to ?
(Q4738052,P140,c(Q9174))
action filter_type
action find
entity Q4738052
relation P140
type Q9174
['Q4738052', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?l WHERE { resource:Q4738052 property:P140 ?l . ?l rdf:type ontology:Q9174 }
Alvin Brown
action filter_type
action find
entity Alvin Brown
relation religion
type religion
['Alvin Brown', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?l WHERE { resource:Alvin_Brown property:religion ?l . ?l rdf:type ontology:religion }
[]
religion
Q93191
SYSTEM
Baptist
Q93191
(Q4738052,P140,c(Q9174))
action filter_type
action find
entity Q4738052
relation P140
type Q9174
Alvin Brown corresponds au [ANSWER]
['Q4738052', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?l WHERE { resource:Q4738052 property:P140 ?l . ?l rdf:type ontology:Q9174 }
Baptist
Alvin Brown corresponds au Baptist
Baptist
action filter_type
action find
entity Alvin Brown
relation religion
type religion
['Alvin Brown', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?l WHERE { resource:Alvin_Brown property:religion ?l . ?l rdf:type ontology:religion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4738052
P106
Q12737077
USER
What is the job of Alvin Brown ?
(Q4738052,P106,c(Q12737077))
action filter_type
action find
entity Q4738052
relation P106
type Q12737077
['Q4738052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4738052 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Alvin Brown
action filter_type
action find
entity Alvin Brown
relation occupation
type occupation
['Alvin Brown', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Alvin_Brown property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q4738052,P106,c(Q12737077))
action filter_type
action find
entity Q4738052
relation P106
type Q12737077
The job of Alvin Brown is a [ANSWER]
['Q4738052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4738052 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
politician
The job of Alvin Brown is a politician
politician
action filter_type
action find
entity Alvin Brown
relation occupation
type occupation
['Alvin Brown', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Alvin_Brown property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5053416
Q12737077
USER
And also tell me about Cathy Fink & Marcy Marxer?
(Q5053416,P106,c(Q12737077))
action filter_type
action find
entity Q5053416
relation P106
type Q12737077
['Q5053416', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5053416 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Cathy Fink & Marcy Marxer
action filter_type
action find
entity Cathy Fink & Marcy Marxer
relation occupation
type occupation
['Cathy Fink & Marcy Marxer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Cathy_Fink_&_Marcy_Marxer property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q7622988
SYSTEM
street artist
Q7622988
(Q5053416,P106,c(Q12737077))
action filter_type
action find
entity Q5053416
relation P106
type Q12737077
[ANSWER]
['Q5053416', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5053416 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
street artist
street artist
action filter_type
action find
entity Cathy Fink & Marcy Marxer
relation occupation
type occupation
['Cathy Fink & Marcy Marxer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Cathy_Fink_&_Marcy_Marxer property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q12737077 Q838948 Q340169
USER
Which occupations are depicted in approximately the same number of works of art and medias as that occupation ?
(c(Q838948)|c(Q340169),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q7622988
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P180 resource:Q7622988 . { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q340169 } } } } . FILTER ( ?f = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?e } }
action approx
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
action count
action filter_multi_types
action find_reverse
entity street artist
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:depicts resource:street_artist . { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:media } } } } . FILTER ( ?f = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:depicts ?e . ?e rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?u property:depicts ?e . ?e rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?e } }
[]
occupation work of art media
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 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 Q12097 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 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(Q838948)|c(Q340169),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q7622988
relation P180
type Q838948
type Q340169
[ANSWERS] are depicted in approximately the same number of works of art and medias as that occupation
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P180 resource:Q7622988 . { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q340169 } } } } . FILTER ( ?f = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?e } }
fiddler acrobat milkmaid worker standard-bearer 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 king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer 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 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
Farmer, nurse and tailor are depicted in approximately the same number of works of art and medias as that occupation
farmer nurse tailor
action approx
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
action count
action filter_multi_types
action find_reverse
entity street artist
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:depicts resource:street_artist . { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:media } } } } . FILTER ( ?f = ?k ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { { ?u property:depicts ?e . ?e rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?u property:depicts ?e . ?e rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q93191
P140
Q502895 Q44539
USER
How many people and temples have Baptist as religious affiliation ?
(c(Q502895),P140,Q93191) (c(Q44539),P140,Q93191)
action count
action union
action filter_type
action find_reverse
entity Q93191
relation P140
type Q502895
action filter_type
action find_reverse
entity Q93191
relation P140
type Q44539
[{'concept': 'Q502895'}, 'P140', 'Q93191'] [{'concept': 'Q44539'}, 'P140', 'Q93191']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:Q44539 . ?q property:P140 resource:Q93191 } UNION { ?q property:P140 resource:Q93191 . ?q rdf:type ontology:Q502895 } }
Baptist
action count
action union
action filter_type
action find_reverse
entity Baptist
relation religion
type common name
action filter_type
action find_reverse
entity Baptist
relation religion
type temple
[{'concept': 'common name'}, 'religion', 'Baptist'] [{'concept': 'temple'}, 'religion', 'Baptist']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:temple . ?q property:religion resource:Baptist } UNION { ?q property:religion resource:Baptist . ?q rdf:type ontology:common_name } }
[]
common name temple
SYSTEM
62 people and 3 temples
Q465638 Q5322010 Q529294 Q1022008 Q359455 Q355522 Q289317 Q7498692 Q11613 Q17021788 Q20742212 Q192410 Q21612217 Q880186 Q17299852 Q11369592 Q553254 Q34389 Q2130783 Q4162693 Q934898 Q5496294 Q516515 Q1525924 Q1164657 Q545488 Q735147 Q984010 Q19750449 Q45380 Q539536 Q366355 Q461526 Q109463 Q132071 Q723896 Q438010 Q440121 Q5297948 Q7934257 Q1370968 Q1059265 Q538944 Q547153 Q5373143 Q1119173 Q128672 Q359653 Q983532 Q131077 Q887520 Q461512 Q10390 Q16727391 Q2152423 Q6285517 Q6708938 Q246049 Q4738052 Q4888265 Q1397303 Q4775550 Q983428 Q20732650 Q8027
(c(Q502895),P140,Q93191) (c(Q44539),P140,Q93191)
action count
action union
action filter_type
action find_reverse
entity Q93191
relation P140
type Q502895
action filter_type
action find_reverse
entity Q93191
relation P140
type Q44539
[ANSWER]
[{'concept': 'Q502895'}, 'P140', 'Q93191'] [{'concept': 'Q44539'}, 'P140', 'Q93191']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:Q44539 . ?q property:P140 resource:Q93191 } UNION { ?q property:P140 resource:Q93191 . ?q rdf:type ontology:Q502895 } }
Sam Graves E. L. Henry Chuck Grassley Tsutomu Aragaki Gabriel Slaughter Mitch McConnell Barbara Lee Shirley Baptist Church Harry S. Truman Stechford Baptist Church Jane Claire Dirks-Edmunds Jennifer Hudson Marvin Walter Anderson Albert Brewer Victor Oltrogge Sayuri Kume Scott Walker Whitney Houston Randy Forbes Clarence Raymond Adams Elijah Cummings Fred Smith Steny Hoyer Roy Blunt Danny K. Davis Ralph Abernathy James Garrard David Price Asahel C. Kendrick John Lewis Randy Neugebauer Van Cliburn Eddie Bernice Johnson Richard Mentor Johnson David Scott Thad Cochran Bob Riley Dave Bing Doris Jean Austin Virginia E. Walker Broughton John Conyers Chaka Fattah Mike Conaway Hal Rogers Emmanuel Baptist Church Mihály Kornya Charles Tupper Tommy Douglas G. K. Butterfield Yukio Hatoyama Harold Stassen Corrine Brown John McCain Chad Barefoot Major Owens Joseph Merrick Lynn Bomar Frank Lucas Alvin Brown Benjamin Beddome Trent Franks Antoine Thompson Sanford Bishop Benjamin Evans Martin Luther King, Jr.
62 people and 3 temples
action count
action union
action filter_type
action find_reverse
entity Baptist
relation religion
type common name
action filter_type
action find_reverse
entity Baptist
relation religion
type temple
[{'concept': 'common name'}, 'religion', 'Baptist'] [{'concept': 'temple'}, 'religion', 'Baptist']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:temple . ?q property:religion resource:Baptist } UNION { ?q property:religion resource:Baptist . ?q rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4738052
P172
Q2472587
USER
Which people does Alvin Brown have as ethnic origin ?
(Q4738052,P172,c(Q2472587))
action filter_type
action find
entity Q4738052
relation P172
type Q2472587
['Q4738052', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?d WHERE { resource:Q4738052 property:P172 ?d . ?d rdf:type ontology:Q2472587 }
Alvin Brown
action filter_type
action find
entity Alvin Brown
relation ethnic group
type people
['Alvin Brown', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?d WHERE { resource:Alvin_Brown property:ethnic_group ?d . ?d rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q4738052,P172,c(Q2472587))
action filter_type
action find
entity Q4738052
relation P172
type Q2472587
Alvin Brown has shown [ANSWER] as ethnic origin
['Q4738052', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?d WHERE { resource:Q4738052 property:P172 ?d . ?d rdf:type ontology:Q2472587 }
African Americans
Alvin Brown has shown African Americans as ethnic origin
African Americans
action filter_type
action find
entity Alvin Brown
relation ethnic group
type people
['Alvin Brown', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?d WHERE { resource:Alvin_Brown property:ethnic_group ?d . ?d rdf:type ontology:people }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2079936
P180
Q12737077 Q1792379 Q2342494
USER
Which occupations are expressed in less number of art genres or collectables than king of marksmen ?
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2079936
relation P180
type Q1792379
type Q2342494
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P180 resource:Q2079936 . { { ?q rdf:type ontology:Q1792379 } UNION { ?q rdf:type ontology:Q2342494 } } } } . FILTER ( ?a < ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 } UNION { ?r property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 } } GROUP BY ?j } }
king of marksmen
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity king of marksmen
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:depicts resource:king_of_marksmen . { { ?q rdf:type ontology:art_genre } UNION { ?q rdf:type ontology:collectable } } } } . FILTER ( ?a < ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:depicts ?j . ?j rdf:type ontology:occupation . ?r rdf:type ontology:art_genre } UNION { ?r property:depicts ?j . ?j rdf:type ontology:occupation . ?r rdf:type ontology:collectable } } GROUP BY ?j } }
[]
occupation art genre collectable
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 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 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 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 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(Q1792379)|c(Q2342494),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2079936
relation P180
type Q1792379
type Q2342494
[ANSWERS] are expressed in less number of art genres or collectables than king of marksmen
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P180 resource:Q2079936 . { { ?q rdf:type ontology:Q1792379 } UNION { ?q rdf:type ontology:Q2342494 } } } } . FILTER ( ?a < ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1792379 } UNION { ?r property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q2342494 } } GROUP BY ?j } }
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 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 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 courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer 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 expressed in less number of art genres or collectables than king of marksmen
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity king of marksmen
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:depicts resource:king_of_marksmen . { { ?q rdf:type ontology:art_genre } UNION { ?q rdf:type ontology:collectable } } } } . FILTER ( ?a < ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:depicts ?j . ?j rdf:type ontology:occupation . ?r rdf:type ontology:art_genre } UNION { ?r property:depicts ?j . ?j rdf:type ontology:occupation . ?r rdf:type ontology:collectable } } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4991371
P180
Q12737077 Q1792379 Q2342494
USER
And what about soldier?
(c(Q1792379)|c(Q2342494),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q1792379
type Q2342494
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q1792379 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } } . ?a property:P180 resource:Q4991371 } } . FILTER ( ?g < ?q ) }
soldier
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:depicts ?x . ?x rdf:type ontology:occupation . ?i rdf:type ontology:collectable } UNION { ?i property:depicts ?x . ?x rdf:type ontology:occupation . ?i rdf:type ontology:art_genre } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:art_genre ) ( ontology:collectable ) } } . ?a property:depicts resource:soldier } } . FILTER ( ?g < ?q ) }
[]
occupation art genre collectable
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 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 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 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 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 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(Q1792379)|c(Q2342494),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q1792379
type Q2342494
[ANSWERS]
[[{'concept': 'Q1792379'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q1792379 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } } . ?a property:P180 resource:Q4991371 } } . FILTER ( ?g < ?q ) }
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 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 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 courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer 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 art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type art genre
type collectable
[[{'concept': 'art genre'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?x WHERE { { ?i property:depicts ?x . ?x rdf:type ontology:occupation . ?i rdf:type ontology:collectable } UNION { ?i property:depicts ?x . ?x rdf:type ontology:occupation . ?i rdf:type ontology:art_genre } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:art_genre ) ( ontology:collectable ) } } . ?a property:depicts resource:soldier } } . FILTER ( ?g < ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4738052
P102
Q7210356
USER
Which political organization is Alvin Brown a member of ?
(Q4738052,P102,c(Q7210356))
action filter_type
action find
entity Q4738052
relation P102
type Q7210356
['Q4738052', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q4738052 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Alvin Brown
action filter_type
action find
entity Alvin Brown
relation member of political party
type political organization
['Alvin Brown', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Alvin_Brown property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q4738052,P102,c(Q7210356))
action filter_type
action find
entity Q4738052
relation P102
type Q7210356
Party [ANSWER] is Alvin Brown a member of
['Q4738052', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q4738052 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is Alvin Brown a member of
Democratic Party
action filter_type
action find
entity Alvin Brown
relation member of political party
type political organization
['Alvin Brown', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Alvin_Brown property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4738052
P734
Q82799
USER
Which name is associated with that person ?
(Q29552,P734,c(Q82799))
action filter_type
action find
entity Q4738052
relation P734
type Q82799
['Q29552', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q4738052 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Alvin Brown
action filter_type
action find
entity Alvin Brown
relation family name
type name
['Democratic Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Alvin_Brown property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q29552,P734,c(Q82799))
action filter_type
action find
entity Q4738052
relation P734
type Q82799
[ANSWER] is associated with that person
['Q29552', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q4738052 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Brown
Brown is associated with that person
Brown
action filter_type
action find
entity Alvin Brown
relation family name
type name
['Democratic Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Alvin_Brown property:family_name ?r . ?r rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P734
Q6619679 Q41710
USER
How many fictional humanoids or ethnic groups have that name as their family name ?
(c(Q6619679),P734,Q13421990) (c(Q41710),P734,Q13421990) (c(Q6619679),P734,Q13421990) (c(Q41710),P734,Q13421990)
action count
action union
action filter_type
action find_reverse
entity Q13421990
relation P734
type Q6619679
action filter_type
action find_reverse
entity Q13421990
relation P734
type Q41710
[{'concept': 'Q6619679'}, 'P734', 'Q13421990'] [{'concept': 'Q41710'}, 'P734', 'Q13421990'] [{'concept': 'Q6619679'}, 'P734', 'Q13421990'] [{'concept': 'Q41710'}, 'P734', 'Q13421990']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:P734 resource:Q13421990 . ?v rdf:type ontology:Q6619679 } UNION { ?v rdf:type ontology:Q41710 . ?v property:P734 resource:Q13421990 } }
action count
action union
action filter_type
action find_reverse
entity Brown
relation family name
type fictional humanoid
action filter_type
action find_reverse
entity Brown
relation family name
type ethnic group
[{'concept': 'fictional humanoid'}, 'family name', 'Brown'] [{'concept': 'ethnic group'}, 'family name', 'Brown'] [{'concept': 'fictional humanoid'}, 'family name', 'Brown'] [{'concept': 'ethnic group'}, 'family name', 'Brown']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:family_name resource:Brown . ?v rdf:type ontology:fictional_humanoid } UNION { ?v rdf:type ontology:ethnic_group . ?v property:family_name resource:Brown } }
[]
fictional humanoid ethnic group
SYSTEM
10
Q5889965 Q612343 Q7168342 Q1168491 Q6166439 Q2532372 Q17502704 Q2337004 Q26722240 Q27664891
(c(Q6619679),P734,Q13421990) (c(Q41710),P734,Q13421990) (c(Q6619679),P734,Q13421990) (c(Q41710),P734,Q13421990)
action count
action union
action filter_type
action find_reverse
entity Q13421990
relation P734
type Q6619679
action filter_type
action find_reverse
entity Q13421990
relation P734
type Q41710
[ANSWER]
[{'concept': 'Q6619679'}, 'P734', 'Q13421990'] [{'concept': 'Q41710'}, 'P734', 'Q13421990'] [{'concept': 'Q6619679'}, 'P734', 'Q13421990'] [{'concept': 'Q41710'}, 'P734', 'Q13421990']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:P734 resource:Q13421990 . ?v rdf:type ontology:Q6619679 } UNION { ?v rdf:type ontology:Q41710 . ?v property:P734 resource:Q13421990 } }
Homer Brown Ringo Brown Peri Brown Charlie Brown Jay Brown Cleveland Brown Cecil Brown Emmett Brown Billy Brown Judge Brown
10
action count
action union
action filter_type
action find_reverse
entity Brown
relation family name
type fictional humanoid
action filter_type
action find_reverse
entity Brown
relation family name
type ethnic group
[{'concept': 'fictional humanoid'}, 'family name', 'Brown'] [{'concept': 'ethnic group'}, 'family name', 'Brown'] [{'concept': 'fictional humanoid'}, 'family name', 'Brown'] [{'concept': 'ethnic group'}, 'family name', 'Brown']
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:family_name resource:Brown . ?v rdf:type ontology:fictional_humanoid } UNION { ?v rdf:type ontology:ethnic_group . ?v property:family_name resource:Brown } }
[]