Simple Question (Direct)
Simple Question
Q1576771
P21
Q290
USER
What is the sex of Hans-Christian Biallas ?
(Q1576771,P21,c(Q290))
action filter_type
action find
entity Q1576771
relation P21
type Q290
['Q1576771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q1576771 property:P21 ?u }
Hans-Christian Biallas
action filter_type
action find
entity Hans-Christian Biallas
relation gender
type sex
['Hans-Christian Biallas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Hans-Christian_Biallas property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1576771,P21,c(Q290))
action filter_type
action find
entity Q1576771
relation P21
type Q290
The sex of Hans-Christian Biallas is the [ANSWER]
['Q1576771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q1576771 property:P21 ?u }
male
The sex of Hans-Christian Biallas is the male
male
action filter_type
action find
entity Hans-Christian Biallas
relation gender
type sex
['Hans-Christian Biallas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Hans-Christian_Biallas property:gender ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1576771
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1576771
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1576771 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Hans-Christian Biallas
action filter_type
action find
entity Hans-Christian Biallas
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Hans-Christian_Biallas property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q1234713 Q82955
SYSTEM
theologian, politician
Q1234713 Q82955
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1576771
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1576771 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
theologian politician
The professions of that person are the theologian and politician
theologian politician
action filter_type
action find
entity Hans-Christian Biallas
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Hans-Christian_Biallas property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P921
Q223393
USER
Which literary genre was mainly based on politician ?
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q82955 . ?p rdf:type ontology:Q223393 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:politician . ?p rdf:type ontology:literary_genre }
[]
literary genre
Q21815179
SYSTEM
worldstatesmen
Q21815179
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[ANSWER] was mainly based on politician
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q82955 . ?p rdf:type ontology:Q223393 }
worldstatesmen
Worldstatesmen was mainly based on politician
worldstatesmen
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:politician . ?p rdf:type ontology:literary_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Who is associated with the field of occupation politician ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?c WHERE { resource:Q82955 property:P425 ?c . ?c rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?c WHERE { resource:politician property:field_of_this_occupation ?c . ?c rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
The [ANSWER] is associated with the field of occupation politician
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?c WHERE { resource:Q82955 property:P425 ?c . ?c rdf:type ontology:Q3769299 }
politics
The politics is associated with the field of occupation politician
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?c WHERE { resource:politician property:field_of_this_occupation ?c . ?c rdf:type ontology:human_behaviour }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1234713
P39
Q502895
USER
Which people were appointed for the position of theologian ?
(c(Q502895),P39,Q1234713)
action filter_type
action find_reverse
entity Q1234713
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1234713']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q1234713 . ?d rdf:type ontology:Q502895 }
theologian
action filter_type
action find_reverse
entity theologian
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'theologian']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:theologian . ?d rdf:type ontology:common_name }
[]
common name
Q26215129 Q11294693 Q3189576
SYSTEM
Morteza Azari, Henri de Saint-Ignace, Julien Loriot
Q26215129 Q11294693 Q3189576
(c(Q502895),P39,Q1234713)
action filter_type
action find_reverse
entity Q1234713
relation P39
type Q502895
[ANSWERS] were appointed for the position of theologian
[{'concept': 'Q502895'}, 'P39', 'Q1234713']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q1234713 . ?d rdf:type ontology:Q502895 }
Morteza Azari Henri de Saint-Ignace Julien Loriot
Morteza Azari, Henri de Saint-Ignace and Julien Loriot were appointed for the position of theologian
Morteza Azari Henri de Saint-Ignace Julien Loriot
action filter_type
action find_reverse
entity theologian
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'theologian']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:theologian . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q26215129 Q11294693 Q3189576
P39
Q12737077
USER
What were the positions held by those people ?
(Q26215129,P39,c(Q12737077)) (Q11294693,P39,c(Q12737077)) (Q3189576,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
['Q26215129', 'P39', {'concept': 'Q12737077'}] ['Q11294693', 'P39', {'concept': 'Q12737077'}] ['Q3189576', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?l property:P39 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?l ) { ( resource:Q26215129 ) ( resource:Q11294693 ) ( resource:Q3189576 ) } }
Morteza Azari Henri de Saint-Ignace Julien Loriot
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Morteza Azari', 'position held', {'concept': 'occupation'}] ['Henri de Saint-Ignace', 'position held', {'concept': 'occupation'}] ['Julien Loriot', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?l property:position_held ?w . ?w rdf:type ontology:occupation . VALUES ( ?l ) { ( resource:Morteza_Azari ) ( resource:Henri_de_Saint-Ignace ) ( resource:Julien_Loriot ) } }
[]
occupation
Q1234713 Q82955 Q333634
SYSTEM
theologian, politician, translator
Q1234713 Q82955 Q333634 Q15995642 Q17575128 Q1234713 Q733786 Q193364 Q36180 Q1234713 Q42603
(Q26215129,P39,c(Q12737077)) (Q11294693,P39,c(Q12737077)) (Q3189576,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
The positions held by those people were [ANSWERS]
['Q26215129', 'P39', {'concept': 'Q12737077'}] ['Q11294693', 'P39', {'concept': 'Q12737077'}] ['Q3189576', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?l property:P39 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?l ) { ( resource:Q26215129 ) ( resource:Q11294693 ) ( resource:Q3189576 ) } }
theologian politician translator religious leader grand ayatollah theologian monk vicar writer theologian priest
The positions held by those people were theologian, politician and translator
theologian politician translator
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Morteza Azari', 'position held', {'concept': 'occupation'}] ['Henri de Saint-Ignace', 'position held', {'concept': 'occupation'}] ['Julien Loriot', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?l property:position_held ?w . ?w rdf:type ontology:occupation . VALUES ( ?l ) { ( resource:Morteza_Azari ) ( resource:Henri_de_Saint-Ignace ) ( resource:Julien_Loriot ) } }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q26215129
Q12737077
USER
And which occupation?
(Q26215129,P106,c(Q12737077))
action filter_type
action find
entity Q26215129
relation P106
type Q12737077
['Q26215129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q26215129 property:P106 ?h }
Morteza Azari
action filter_type
action find
entity Morteza Azari
relation occupation
type occupation
['Morteza Azari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Morteza_Azari property:occupation ?h }
[]
occupation
Q14467526 Q184402
SYSTEM
linguist, ayatollah
Q14467526 Q184402
(Q26215129,P106,c(Q12737077))
action filter_type
action find
entity Q26215129
relation P106
type Q12737077
[ANSWERS]
['Q26215129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q26215129 property:P106 ?h }
linguist ayatollah
linguist ayatollah
action filter_type
action find
entity Morteza Azari
relation occupation
type occupation
['Morteza Azari', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Morteza_Azari property:occupation ?h }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2079936
P180
Q12737077 Q1792379 Q11060274
USER
How many occupations are depicted in approximately the same number of art genres or prints as king of marksmen ?
(c(Q1792379)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q2079936
relation P180
type Q1792379
type Q11060274
[[{'concept': 'Q1792379'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P180 resource:Q2079936 . { { ?b rdf:type ontology:Q1792379 } UNION { ?b rdf:type ontology:Q11060274 } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q11060274 } UNION { ?m property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q1792379 } } GROUP BY ?h } }
king of marksmen
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity king of marksmen
relation depicts
type art genre
type print
[[{'concept': 'art genre'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:depicts resource:king_of_marksmen . { { ?b rdf:type ontology:art_genre } UNION { ?b rdf:type ontology:print } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:depicts ?h . ?h rdf:type ontology:occupation . ?m rdf:type ontology:print } UNION { ?m property:depicts ?h . ?h rdf:type ontology:occupation . ?m rdf:type ontology:art_genre } } GROUP BY ?h } }
[]
occupation art genre print
SYSTEM
13
Q2486919 Q131512 Q2079936 Q4991371 Q376924 Q848466 Q20489032 Q1509714 Q2730732 Q11063 Q838811 Q2251335 Q639669
(c(Q1792379)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q2079936
relation P180
type Q1792379
type Q11060274
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P180 resource:Q2079936 . { { ?b rdf:type ontology:Q1792379 } UNION { ?b rdf:type ontology:Q11060274 } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q11060274 } UNION { ?m property:P180 ?h . ?h rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q1792379 } } GROUP BY ?h } }
standard-bearer farmer king of marksmen soldier courtesan courier salt pan worker porter equestrian astronomer peasant school teacher musician
13
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity king of marksmen
relation depicts
type art genre
type print
[[{'concept': 'art genre'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:depicts resource:king_of_marksmen . { { ?b rdf:type ontology:art_genre } UNION { ?b rdf:type ontology:print } } } } . FILTER ( ?x = ?w ) . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:depicts ?h . ?h rdf:type ontology:occupation . ?m rdf:type ontology:print } UNION { ?m property:depicts ?h . ?h rdf:type ontology:occupation . ?m rdf:type ontology:art_genre } } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q47064
P180
Q12737077 Q1792379 Q11060274
USER
And how about military personnel?
(c(Q1792379)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47064
relation P180
type Q1792379
type Q11060274
[[{'concept': 'Q1792379'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1792379 ) ( ontology:Q11060274 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P180 resource:Q47064 . { { ?z rdf:type ontology:Q1792379 } UNION { ?z rdf:type ontology:Q11060274 } } } } . FILTER ( ?q = ?p ) }
military personnel
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity military personnel
relation depicts
type art genre
type print
[[{'concept': 'art genre'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:art_genre ) ( ontology:print ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:depicts resource:military_personnel . { { ?z rdf:type ontology:art_genre } UNION { ?z rdf:type ontology:print } } } } . FILTER ( ?q = ?p ) }
[]
occupation art genre print
SYSTEM
215
Q19754019 Q11957145 Q1934482 Q19937286 Q177220 Q1569439 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q116 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q189290 Q331432 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(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47064
relation P180
type Q1792379
type Q11060274
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1792379 ) ( ontology:Q11060274 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P180 resource:Q47064 . { { ?z rdf:type ontology:Q1792379 } UNION { ?z rdf:type ontology:Q11060274 } } } } . FILTER ( ?q = ?p ) }
fiddler acrobat milkmaid worker singer sheep shearer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest 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 monarch pastor courtier judge abbot matador goldsmith waterseller pretender 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 woodcutter lacemaker Snake charming carpenter officer fisherman 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
215
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity military personnel
relation depicts
type art genre
type print
[[{'concept': 'art genre'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:art_genre ) ( ontology:print ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:depicts resource:military_personnel . { { ?z rdf:type ontology:art_genre } UNION { ?z rdf:type ontology:print } } } } . FILTER ( ?q = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184402
P140
Q874405
USER
What is the religious affiliation of ayatollah ?
(Q184402,P140,c(Q874405))
action filter_type
action find
entity Q184402
relation P140
type Q874405
['Q184402', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q184402 property:P140 ?f . ?f rdf:type ontology:Q874405 }
ayatollah
action filter_type
action find
entity ayatollah
relation religion
type social group
['ayatollah', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:ayatollah property:religion ?f . ?f rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q184402,P140,c(Q874405))
action filter_type
action find
entity Q184402
relation P140
type Q874405
The religious affiliation of ayatollah is of [ANSWER]
['Q184402', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q184402 property:P140 ?f . ?f rdf:type ontology:Q874405 }
Islam
The religious affiliation of ayatollah is of Islam
Islam
action filter_type
action find
entity ayatollah
relation religion
type social group
['ayatollah', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:ayatollah property:religion ?f . ?f rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3189576
P611
Q43229
USER
Which religious order is Julien Loriot affiliated to ?
(Q3189576,P611,c(Q43229))
action filter_type
action find
entity Q3189576
relation P611
type Q43229
['Q3189576', 'P611', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . resource:Q3189576 property:P611 ?z }
Julien Loriot
action filter_type
action find
entity Julien Loriot
relation religious order
type organization
['Julien Loriot', 'religious order', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . resource:Julien_Loriot property:religious_order ?z }
[]
organization
Q247132
SYSTEM
Oratory of Saint Philip Neri
Q247132
(Q3189576,P611,c(Q43229))
action filter_type
action find
entity Q3189576
relation P611
type Q43229
Julien Loriot is affiliated to [ANSWER]
['Q3189576', 'P611', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . resource:Q3189576 property:P611 ?z }
Oratory of Saint Philip Neri
Julien Loriot is affiliated to Oratory of Saint Philip Neri
Oratory of Saint Philip Neri
action filter_type
action find
entity Julien Loriot
relation religious order
type organization
['Julien Loriot', 'religious order', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . resource:Julien_Loriot property:religious_order ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q432
P112
Q502895
USER
Who was the founder of Islam ?
(Q432,P112,c(Q502895))
action filter_type
action find
entity Q432
relation P112
type Q502895
['Q432', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q432 property:P112 ?u . ?u rdf:type ontology:Q502895 }
Islam
action filter_type
action find
entity Islam
relation founder
type common name
['Islam', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Islam property:founder ?u . ?u rdf:type ontology:common_name }
[]
common name
Q9458
SYSTEM
Muhammad
Q9458
(Q432,P112,c(Q502895))
action filter_type
action find
entity Q432
relation P112
type Q502895
The founder of Islam was [ANSWER]
['Q432', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q432 property:P112 ?u . ?u rdf:type ontology:Q502895 }
Muhammad
The founder of Islam was Muhammad
Muhammad
action filter_type
action find
entity Islam
relation founder
type common name
['Islam', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Islam property:founder ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
Which works of art had atleast 28 people as the dubbing artist ?
(c(Q838948),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 28
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 28 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?w ) WHERE { ?a property:P725 ?o . ?a rdf:type ontology:Q838948 . ?o rdf:type ontology:Q502895 } GROUP BY ?a } }
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 28
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 28 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?w ) WHERE { ?a property:voice_actor ?o . ?a rdf:type ontology:work_of_art . ?o rdf:type ontology:common_name } GROUP BY ?a } }
[]
common name work of art
Q19263748
SYSTEM
The Anthem of the Heart
Q19263748
(c(Q838948),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 28
[ANSWER] had atleast 28 people as the dubbing artist
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 28 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?w ) WHERE { ?a property:P725 ?o . ?a rdf:type ontology:Q838948 . ?o rdf:type ontology:Q502895 } GROUP BY ?a } }
The Anthem of the Heart
The Anthem of the Heart had atleast 28 people as the dubbing artist
The Anthem of the Heart
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 28
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 28 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?w ) WHERE { ?a property:voice_actor ?o . ?a rdf:type ontology:work_of_art . ?o rdf:type ontology:common_name } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q327893 Q11294693
P20
Q56061
USER
Which administrative territories did Henri de Saint-Ignace or Princess Pauline, Duchess of Sagan die ?
OR((Q11294693,P20,c(Q56061)), (Q327893,P20,c(Q56061)))
action filter_type
action union
action find
entity Q11294693
relation P20
action find
entity Q327893
relation P20
type Q56061
{'OR': [['Q11294693', 'P20', {'concept': 'Q56061'}], ['Q327893', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q11294693 property:P20 ?n } UNION { resource:Q327893 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Princess Pauline, Duchess of Sagan Henri de Saint-Ignace
action filter_type
action union
action find
entity Henri de Saint-Ignace
relation place of death
action find
entity Princess Pauline, Duchess of Sagan
relation place of death
type administrative territorial entity
{'OR': [['Henri de Saint-Ignace', 'place of death', {'concept': 'administrative territorial entity'}], ['Princess Pauline, Duchess of Sagan', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Henri_de_Saint-Ignace property:place_of_death ?n } UNION { resource:Princess_Pauline,_Duchess_of_Sagan property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2530189 Q1741
SYSTEM
Wandre, Vienna
Q2530189 Q1741
OR((Q11294693,P20,c(Q56061)), (Q327893,P20,c(Q56061)))
action filter_type
action union
action find
entity Q11294693
relation P20
action find
entity Q327893
relation P20
type Q56061
Henri de Saint-Ignace or Princess Pauline , Duchess of Sagan died in [ANSWERS]
{'OR': [['Q11294693', 'P20', {'concept': 'Q56061'}], ['Q327893', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q11294693 property:P20 ?n } UNION { resource:Q327893 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Wandre Vienna
Henri de Saint-Ignace or Princess Pauline , Duchess of Sagan died in Wandre and Vienna
Wandre Vienna
action filter_type
action union
action find
entity Henri de Saint-Ignace
relation place of death
action find
entity Princess Pauline, Duchess of Sagan
relation place of death
type administrative territorial entity
{'OR': [['Henri de Saint-Ignace', 'place of death', {'concept': 'administrative territorial entity'}], ['Princess Pauline, Duchess of Sagan', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Henri_de_Saint-Ignace property:place_of_death ?n } UNION { resource:Princess_Pauline,_Duchess_of_Sagan property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]