Simple Question (Direct)
Simple Question
Q3330085
P19
Q56061
USER
Which administrative territory is the birthplace of Roberto Colunga ?
(Q3330085,P19,c(Q56061))
action filter_type
action find
entity Q3330085
relation P19
type Q56061
['Q3330085', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3330085 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Roberto Colunga
action filter_type
action find
entity Roberto Colunga
relation place of birth
type administrative territorial entity
['Roberto Colunga', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Roberto_Colunga property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12273
SYSTEM
Gijón
Q12273
(Q3330085,P19,c(Q56061))
action filter_type
action find
entity Q3330085
relation P19
type Q56061
[ANSWER] is the birthplace of Roberto Colunga
['Q3330085', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3330085 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Gijón
Gijón is the birthplace of Roberto Colunga
Gijón
action filter_type
action find
entity Roberto Colunga
relation place of birth
type administrative territorial entity
['Roberto Colunga', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Roberto_Colunga property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3330085
P1412
Q34770
USER
Which language can Roberto Colunga understand ?
(Q3330085,P1412,c(Q34770))
action filter_type
action find
entity Q3330085
relation P1412
type Q34770
['Q3330085', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q3330085 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Roberto Colunga
action filter_type
action find
entity Roberto Colunga
relation languages spoken, written or signed
type language
['Roberto Colunga', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Roberto_Colunga property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3330085,P1412,c(Q34770))
action filter_type
action find
entity Q3330085
relation P1412
type Q34770
Roberto Colunga can understand the [ANSWER]
['Q3330085', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q3330085 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Roberto Colunga can understand the Spanish
Spanish
action filter_type
action find
entity Roberto Colunga
relation languages spoken, written or signed
type language
['Roberto Colunga', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Roberto_Colunga property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3330085
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q1321,P27,c(Q15617994))
action filter_type
action find
entity Q3330085
relation P27
type Q15617994
['Q1321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3330085 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Roberto Colunga
action filter_type
action find
entity Roberto Colunga
relation country of citizenship
type designation for an administrative territorial entity
['Spanish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Roberto_Colunga property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1321,P27,c(Q15617994))
action filter_type
action find
entity Q3330085
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q1321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3330085 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Spain
That person belongs to the Spain
Spain
action filter_type
action find
entity Roberto Colunga
relation country of citizenship
type designation for an administrative territorial entity
['Spanish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Roberto_Colunga property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29 Q11360463
P27
Q502895
USER
Is Michiko Ueno a citizen of that administrative territory ?
(Q11360463,P27,Q29)
action is_in
entity Q11360463
action find
entity Q29
relation P27
['Q11360463', 'P27', 'Q29']
ASK WHERE { resource:Q29 property:P27 resource:Q11360463 }
Spain Michiko Ueno
action is_in
entity Michiko Ueno
action find
entity Spain
relation country of citizenship
['Michiko Ueno', 'country of citizenship', 'Spain']
ASK WHERE { resource:Spain property:country_of_citizenship resource:Michiko_Ueno }
[]
common name
SYSTEM
NO
(Q11360463,P27,Q29)
action is_in
entity Q11360463
action find
entity Q29
relation P27
[ANSWER]
['Q11360463', 'P27', 'Q29']
ASK WHERE { resource:Q29 property:P27 resource:Q11360463 }
No
action is_in
entity Michiko Ueno
action find
entity Spain
relation country of citizenship
['Michiko Ueno', 'country of citizenship', 'Spain']
ASK WHERE { resource:Spain property:country_of_citizenship resource:Michiko_Ueno }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7176048 Q3330085
P106
Q12737077
USER
Which occupations are the professions of Roberto Colunga or Peter Nanfuri ?
OR((Q3330085,P106,c(Q12737077)), (Q7176048,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3330085
relation P106
action find
entity Q7176048
relation P106
type Q12737077
{'OR': [['Q3330085', 'P106', {'concept': 'Q12737077'}], ['Q7176048', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { ?j property:P106 ?o . VALUES ( ?j ) { ( resource:Q3330085 ) ( resource:Q7176048 ) } } . ?o rdf:type ontology:Q12737077 }
Peter Nanfuri Roberto Colunga
action filter_type
action union
action find
entity Roberto Colunga
relation occupation
action find
entity Peter Nanfuri
relation occupation
type occupation
{'OR': [['Roberto Colunga', 'occupation', {'concept': 'occupation'}], ['Peter Nanfuri', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { ?j property:occupation ?o . VALUES ( ?j ) { ( resource:Roberto_Colunga ) ( resource:Peter_Nanfuri ) } } . ?o rdf:type ontology:occupation }
[]
occupation
Q384593 Q82955 Q937857
SYSTEM
police officer, politician, association football player
Q384593 Q82955 Q937857
OR((Q3330085,P106,c(Q12737077)), (Q7176048,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3330085
relation P106
action find
entity Q7176048
relation P106
type Q12737077
The professions of Roberto Colunga or Peter Nanfuri are a [ANSWERS]
{'OR': [['Q3330085', 'P106', {'concept': 'Q12737077'}], ['Q7176048', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { ?j property:P106 ?o . VALUES ( ?j ) { ( resource:Q3330085 ) ( resource:Q7176048 ) } } . ?o rdf:type ontology:Q12737077 }
police officer politician association football player
The professions of Roberto Colunga or Peter Nanfuri are a police officer, politician and association football player
police officer politician association football player
action filter_type
action union
action find
entity Roberto Colunga
relation occupation
action find
entity Peter Nanfuri
relation occupation
type occupation
{'OR': [['Roberto Colunga', 'occupation', {'concept': 'occupation'}], ['Peter Nanfuri', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { ?j property:occupation ?o . VALUES ( ?j ) { ( resource:Roberto_Colunga ) ( resource:Peter_Nanfuri ) } } . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7176048
P21
Q290
USER
Which sex does Peter Nanfuri possess ?
(Q384593,P21,c(Q290)) (Q82955,P21,c(Q290)) (Q937857,P21,c(Q290))
action filter_type
action find
entity Q7176048
relation P21
type Q290
['Q384593', 'P21', {'concept': 'Q290'}] ['Q82955', 'P21', {'concept': 'Q290'}] ['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q7176048 property:P21 ?c }
Peter Nanfuri
action filter_type
action find
entity Peter Nanfuri
relation gender
type sex
['police officer', 'gender', {'concept': 'sex'}] ['politician', 'gender', {'concept': 'sex'}] ['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Peter_Nanfuri property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q384593,P21,c(Q290)) (Q82955,P21,c(Q290)) (Q937857,P21,c(Q290))
action filter_type
action find
entity Q7176048
relation P21
type Q290
Peter Nanfuri possesses un [ANSWER]
['Q384593', 'P21', {'concept': 'Q290'}] ['Q82955', 'P21', {'concept': 'Q290'}] ['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q7176048 property:P21 ?c }
male
Peter Nanfuri possesses un male
male
action filter_type
action find
entity Peter Nanfuri
relation gender
type sex
['police officer', 'gender', {'concept': 'sex'}] ['politician', 'gender', {'concept': 'sex'}] ['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Peter_Nanfuri property:gender ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7176048
P69
Q3918
USER
Which university is that person an alumni of ?
(Q6581097,P69,c(Q3918))
action filter_type
action find
entity Q7176048
relation P69
type Q3918
['Q6581097', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q3918 . resource:Q7176048 property:P69 ?m }
Peter Nanfuri
action filter_type
action find
entity Peter Nanfuri
relation educated at
type university
['male', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:university . resource:Peter_Nanfuri property:educated_at ?m }
[]
university
Q2303765
SYSTEM
University of Ghana
Q2303765
(Q6581097,P69,c(Q3918))
action filter_type
action find
entity Q7176048
relation P69
type Q3918
[ANSWER] is that person an alumni of
['Q6581097', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q3918 . resource:Q7176048 property:P69 ?m }
University of Ghana
University of Ghana is that person an alumni of
University of Ghana
action filter_type
action find
entity Peter Nanfuri
relation educated at
type university
['male', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:university . resource:Peter_Nanfuri property:educated_at ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2303765
P69 P21
Q502895
USER
Which people were educated at University of Ghana and have the gender as male ?
AND((c(Q502895),P69,Q2303765), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2303765
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q2303765'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P69 resource:Q2303765 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male University of Ghana
action filter_type
action intersection
action find_reverse
entity University of Ghana
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'University of Ghana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:educated_at resource:University_of_Ghana . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q14660876 Q7176048 Q1453068 Q6426502 Q6962279 Q346864 Q6732981 Q4751775 Q6387918 Q3397837
SYSTEM
Some of them are Paul Acquah, Peter Nanfuri, Freddie Blay, Kojo Yankah, Nana Effah-Apenteng, Mohammed Ibn Chambas, Mahama Ayariga, Anas Aremeyaw Anas, Ken Kanda, Kofi Anyidoho
Q6449956 Q4751775 Q6449930 Q346864 Q5131356 Q16148390 Q50678 Q249036 Q3101406 Q726895 Q7849434 Q6426502 Q5386016 Q14660876 Q6962279 Q58327 Q51008 Q5341508 Q1453068 Q6450340 Q7146969 Q6732981 Q6387918 Q2637206 Q3397837 Q7176048 Q2636751 Q5345199
AND((c(Q502895),P69,Q2303765), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2303765
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were educated at University of Ghana and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q2303765'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P69 resource:Q2303765 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
Kwadwo Afari-Gyan Anas Aremeyaw Anas Kwabena Duffuor Mohammed Ibn Chambas Clement Kofi Humado Elvis Afriyie Ankrah John Mahama Kwesi Botchwey George Ayittey Edward Mahama Tsatsu Tsikata Kojo Yankah Eric Amoateng Paul Acquah Nana Effah-Apenteng Muhammad Mumuni John Atta Mills Edward Adjaho Freddie Blay Kwesi Amissah-Arthur Patrick Kwateng Acheampong Mahama Ayariga Ken Kanda Alban Bagbin Kofi Anyidoho Peter Nanfuri Alan John Kyerematen Edward Salia
Paul Acquah, Peter Nanfuri, Freddie Blay, Kojo Yankah, Nana Effah-Apenteng, Mohammed Ibn Chambas, Mahama Ayariga, Anas Aremeyaw Anas, Ken Kanda and Kofi Anyidoho were educated at University of Ghana and have the gender as male
Paul Acquah Peter Nanfuri Freddie Blay Kojo Yankah Nana Effah-Apenteng Mohammed Ibn Chambas Mahama Ayariga Anas Aremeyaw Anas Ken Kanda Kofi Anyidoho
action filter_type
action intersection
action find_reverse
entity University of Ghana
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'University of Ghana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:educated_at resource:University_of_Ghana . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3305213 Q11060274
USER
How many occupations are depicted in atmost 4 paintings or prints ?
(c(Q3305213)|c(Q11060274),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
value 4
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?z WHERE { { ?y property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } UNION { ?y property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q11060274 } } GROUP BY ?z } . FILTER ( ?n <= 4 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type print
value 4
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?z WHERE { { ?y property:depicts ?z . ?z rdf:type ontology:occupation . ?y rdf:type ontology:painting } UNION { ?y property:depicts ?z . ?z rdf:type ontology:occupation . ?y rdf:type ontology:print } } GROUP BY ?z } . FILTER ( ?n <= 4 ) }
[]
occupation painting print
SYSTEM
229
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3305213)|c(Q11060274),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
value 4
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?z WHERE { { ?y property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } UNION { ?y property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q11060274 } } GROUP BY ?z } . FILTER ( ?n <= 4 ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
229
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type print
value 4
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?z WHERE { { ?y property:depicts ?z . ?z rdf:type ontology:occupation . ?y rdf:type ontology:painting } UNION { ?y property:depicts ?z . ?z rdf:type ontology:occupation . ?y rdf:type ontology:print } } GROUP BY ?z } . FILTER ( ?n <= 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q2767140
P463
Q874405
USER
How many social groups were Spain or Government of India a member of ?
(Q29,P463,c(Q874405)) (Q2767140,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q29
relation P463
type Q874405
action filter_type
action find
entity Q2767140
relation P463
type Q874405
['Q29', 'P463', {'concept': 'Q874405'}] ['Q2767140', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?l ) { ( resource:Q29 ) ( resource:Q2767140 ) } . ?l property:P463 ?o }
Spain Government of India
action count
action union
action filter_type
action find
entity Spain
relation member of
type social group
action filter_type
action find
entity Government of India
relation member of
type social group
['Spain', 'member of', {'concept': 'social group'}] ['Government of India', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?l ) { ( resource:Spain ) ( resource:Government_of_India ) } . ?l property:member_of ?o }
[]
social group
SYSTEM
4
Q782942 Q27133033 Q8908 Q38130
(Q29,P463,c(Q874405)) (Q2767140,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q29
relation P463
type Q874405
action filter_type
action find
entity Q2767140
relation P463
type Q874405
[ANSWER]
['Q29', 'P463', {'concept': 'Q874405'}] ['Q2767140', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?l ) { ( resource:Q29 ) ( resource:Q2767140 ) } . ?l property:P463 ?o }
Australia Group Coalition for Epidemic Preparedness Innovations Council of Europe League of Nations
4
action count
action union
action filter_type
action find
entity Spain
relation member of
type social group
action filter_type
action find
entity Government of India
relation member of
type social group
['Spain', 'member of', {'concept': 'social group'}] ['Government of India', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?l ) { ( resource:Spain ) ( resource:Government_of_India ) } . ?l property:member_of ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3397837
P108
Q3918
USER
Which university is the workplace of Kofi Anyidoho ?
(Q3397837,P108,c(Q3918))
action filter_type
action find
entity Q3397837
relation P108
type Q3918
['Q3397837', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?h WHERE { resource:Q3397837 property:P108 ?h . ?h rdf:type ontology:Q3918 }
Kofi Anyidoho
action filter_type
action find
entity Kofi Anyidoho
relation employer
type university
['Kofi Anyidoho', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?h WHERE { resource:Kofi_Anyidoho property:employer ?h . ?h rdf:type ontology:university }
[]
university
Q2303765
SYSTEM
University of Ghana
Q2303765
(Q3397837,P108,c(Q3918))
action filter_type
action find
entity Q3397837
relation P108
type Q3918
[ANSWER] is the workplace of Kofi Anyidoho
['Q3397837', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?h WHERE { resource:Q3397837 property:P108 ?h . ?h rdf:type ontology:Q3918 }
University of Ghana
University of Ghana is the workplace of Kofi Anyidoho
University of Ghana
action filter_type
action find
entity Kofi Anyidoho
relation employer
type university
['Kofi Anyidoho', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?h WHERE { resource:Kofi_Anyidoho property:employer ?h . ?h rdf:type ontology:university }
[]