Simple Question (Direct)
Simple Question
Q331702
P21
Q290
USER
What is the sex of Abdul Rashid Dostum ?
(Q331702,P21,c(Q290))
action filter_type
action find
entity Q331702
relation P21
type Q290
['Q331702', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q331702 property:P21 ?g . ?g rdf:type ontology:Q290 }
Abdul Rashid Dostum
action filter_type
action find
entity Abdul Rashid Dostum
relation gender
type sex
['Abdul Rashid Dostum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Abdul_Rashid_Dostum property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q331702,P21,c(Q290))
action filter_type
action find
entity Q331702
relation P21
type Q290
The sex of Abdul Rashid Dostum is a [ANSWER]
['Q331702', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q331702 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of Abdul Rashid Dostum is a male
male
action filter_type
action find
entity Abdul Rashid Dostum
relation gender
type sex
['Abdul Rashid Dostum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Abdul_Rashid_Dostum property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q331702
P410
Q4189293
USER
What is the title conferred upon Abdul Rashid Dostum ?
(Q331702,P410,c(Q4189293))
action filter_type
action find
entity Q331702
relation P410
type Q4189293
['Q331702', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?t WHERE { resource:Q331702 property:P410 ?t . ?t rdf:type ontology:Q4189293 }
Abdul Rashid Dostum
action filter_type
action find
entity Abdul Rashid Dostum
relation military rank
type title
['Abdul Rashid Dostum', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?t WHERE { resource:Abdul_Rashid_Dostum property:military_rank ?t . ?t rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q331702,P410,c(Q4189293))
action filter_type
action find
entity Q331702
relation P410
type Q4189293
The title conferred upon Abdul Rashid Dostum is a [ANSWER]
['Q331702', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?t WHERE { resource:Q331702 property:P410 ?t . ?t rdf:type ontology:Q4189293 }
general officer
The title conferred upon Abdul Rashid Dostum is a general officer
general officer
action filter_type
action find
entity Abdul Rashid Dostum
relation military rank
type title
['Abdul Rashid Dostum', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?t WHERE { resource:Abdul_Rashid_Dostum property:military_rank ?t . ?t rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q331702
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q83460,P39,c(Q12737077))
action filter_type
action find
entity Q331702
relation P39
type Q12737077
['Q83460', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q331702 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Abdul Rashid Dostum
action filter_type
action find
entity Abdul Rashid Dostum
relation position held
type occupation
['general officer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Abdul_Rashid_Dostum property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q3246669
SYSTEM
Vice President of Afghanistan
Q3246669
(Q83460,P39,c(Q12737077))
action filter_type
action find
entity Q331702
relation P39
type Q12737077
Or [ANSWER]
['Q83460', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q331702 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Vice President of Afghanistan
Or Vice President of Afghanistan
Vice President of Afghanistan
action filter_type
action find
entity Abdul Rashid Dostum
relation position held
type occupation
['general officer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Abdul_Rashid_Dostum property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3246669 Q889
P1001
Q15617994
USER
Does Afghanistan belong to jurisdiction of Vice President of Afghanistan ?
(Q3246669,P1001,Q889)
action is_in
entity Q889
action find
entity Q3246669
relation P1001
['Q3246669', 'P1001', 'Q889']
ASK WHERE { resource:Q3246669 property:P1001 resource:Q889 }
Vice President of Afghanistan Afghanistan
action is_in
entity Afghanistan
action find
entity Vice President of Afghanistan
relation applies to jurisdiction
['Vice President of Afghanistan', 'applies to jurisdiction', 'Afghanistan']
ASK WHERE { resource:Vice_President_of_Afghanistan property:applies_to_jurisdiction resource:Afghanistan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3246669,P1001,Q889)
action is_in
entity Q889
action find
entity Q3246669
relation P1001
[ANSWER]
['Q3246669', 'P1001', 'Q889']
ASK WHERE { resource:Q3246669 property:P1001 resource:Q889 }
Yes
action is_in
entity Afghanistan
action find
entity Vice President of Afghanistan
relation applies to jurisdiction
['Vice President of Afghanistan', 'applies to jurisdiction', 'Afghanistan']
ASK WHERE { resource:Vice_President_of_Afghanistan property:applies_to_jurisdiction resource:Afghanistan }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q838948 Q386724
USER
Which occupations are demonstrated in min number of works of art and works ?
(c(Q838948)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?c ) { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:Q838948 . ?x rdf:type ontology:Q12737077 . ?k property:P180 ?x } UNION { ?k property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q386724 } } GROUP BY ?x } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } UNION { ?l property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q386724 } } GROUP BY ?t } }
action argmin
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 work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?c ) { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:work_of_art . ?x rdf:type ontology:occupation . ?k property:depicts ?x } UNION { ?k property:depicts ?x . ?x rdf:type ontology:occupation . ?k rdf:type ontology:work } } GROUP BY ?x } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:depicts ?t . ?t rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } UNION { ?l property:depicts ?t . ?t rdf:type ontology:occupation . ?l rdf:type ontology:work } } GROUP BY ?t } }
[]
occupation work of art work
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q733786 Q2309900 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q14009165 Q15954519 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q207651 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q838948)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
The [ANSWERS] are demonstrated in min number of works of art and works
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?c ) { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:Q838948 . ?x rdf:type ontology:Q12737077 . ?k property:P180 ?x } UNION { ?k property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q386724 } } GROUP BY ?x } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } UNION { ?l property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q386724 } } GROUP BY ?t } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner religious servant detective midwife pianist stonemason explorer artist merchant civil servant abbé architect street musician nurse parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic monk helmsman harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja friar hobo fishmonger recorder player laborer gravedigger erudite comics artist boxer trapper alchemist tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge abbot matador goldsmith astronomer surgeon domestic worker cook executioner embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker maid apprentice King of France picador woodcutter lacemaker Snake charming carpenter school teacher baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer sea captain street artist waiting staff
The nurse, tailor and librarian are demonstrated in min number of works of art and works
nurse tailor librarian
action argmin
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 work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?c ) { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?g ) WHERE { { ?k rdf:type ontology:work_of_art . ?x rdf:type ontology:occupation . ?k property:depicts ?x } UNION { ?k property:depicts ?x . ?x rdf:type ontology:occupation . ?k rdf:type ontology:work } } GROUP BY ?x } } . FILTER ( ?i = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:depicts ?t . ?t rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } UNION { ?l property:depicts ?t . ?t rdf:type ontology:occupation . ?l rdf:type ontology:work } } GROUP BY ?t } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of exactly 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j = 3 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P417 ?k . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?k } }
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j = 3 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:patron_saint ?k . ?k rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?k } }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the patron saints of exactly 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j = 3 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P417 ?k . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?k } }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the patron saints of exactly 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j = 3 ) . { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:patron_saint ?k . ?k rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do max number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P1303 ?e . ?s rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?d ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?y } } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:instrument ?e . ?s rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?d ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?y } } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people know how [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P1303 ?e . ?s rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?d ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?y } } }
piano
Max number of people know how piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:instrument ?e . ?s rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?u = ?d ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?d ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?y } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P136
Q502895
USER
Which person as that musical instrument as its class ?
(c(Q502895),P136,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q5994']
SELECT DISTINCT ?h WHERE { ?h property:P136 resource:Q5994 . ?h rdf:type ontology:Q502895 }
piano
action filter_type
action find_reverse
entity piano
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'piano']
SELECT DISTINCT ?h WHERE { ?h property:genre resource:piano . ?h rdf:type ontology:common_name }
[]
common name
Q27667428
SYSTEM
ONSOHO
Q27667428
(c(Q502895),P136,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P136
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q5994']
SELECT DISTINCT ?h WHERE { ?h property:P136 resource:Q5994 . ?h rdf:type ontology:Q502895 }
ONSOHO
ONSOHO
action filter_type
action find_reverse
entity piano
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'piano']
SELECT DISTINCT ?h WHERE { ?h property:genre resource:piano . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works did max number of people dub for ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?u ) WHERE { ?t property:P725 ?r . ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q386724 } GROUP BY ?t } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?h ) WHERE { ?k rdf:type ontology:Q386724 . ?y rdf:type ontology:Q502895 . ?k property:P725 ?y } GROUP BY ?k } } }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?u ) WHERE { ?t property:voice_actor ?r . ?r rdf:type ontology:common_name . ?t rdf:type ontology:work } GROUP BY ?t } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?h ) WHERE { ?k rdf:type ontology:work . ?y rdf:type ontology:common_name . ?k property:voice_actor ?y } GROUP BY ?k } } }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
Max number of people dubbed as [ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?u ) WHERE { ?t property:P725 ?r . ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q386724 } GROUP BY ?t } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?h ) WHERE { ?k rdf:type ontology:Q386724 . ?y rdf:type ontology:Q502895 . ?k property:P725 ?y } GROUP BY ?k } } }
Hércules y el examen de conducir
Max number of people dubbed as Hércules y el examen de conducir
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?u ) WHERE { ?t property:voice_actor ?r . ?r rdf:type ontology:common_name . ?t rdf:type ontology:work } GROUP BY ?t } . FILTER ( ?u = ?s ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?s ) { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?h ) WHERE { ?k rdf:type ontology:work . ?y rdf:type ontology:common_name . ?k property:voice_actor ?y } GROUP BY ?k } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26331781
P407
Q34770
USER
Which language is that work composed in ?
(Q26331781,P407,c(Q34770))
action filter_type
action find
entity Q26331781
relation P407
type Q34770
['Q26331781', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q26331781 property:P407 ?c . ?c rdf:type ontology:Q34770 }
Hércules y el examen de conducir
action filter_type
action find
entity Hércules y el examen de conducir
relation language of work or name
type language
['Hércules y el examen de conducir', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name ?c . ?c rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q26331781,P407,c(Q34770))
action filter_type
action find
entity Q26331781
relation P407
type Q34770
That work is composed in [ANSWER]
['Q26331781', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q26331781 property:P407 ?c . ?c rdf:type ontology:Q34770 }
Spanish
That work is composed in Spanish
Spanish
action filter_type
action find
entity Hércules y el examen de conducir
relation language of work or name
type language
['Hércules y el examen de conducir', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name ?c . ?c rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q33946
P37
Q34770 Q7275
USER
How many states are less number of languages associated to as the official language than Czechoslovakia ?
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q33946
relation P37
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:P37 ?t . ?a rdf:type ontology:Q7275 . ?t rdf:type ontology:Q34770 } GROUP BY ?a } . FILTER ( ?r < ?o ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i rdf:type ontology:Q34770 . resource:Q33946 property:P37 ?i } } }
Czechoslovakia
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Czechoslovakia
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:official_language ?t . ?a rdf:type ontology:state . ?t rdf:type ontology:language } GROUP BY ?a } . FILTER ( ?r < ?o ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i rdf:type ontology:language . resource:Czechoslovakia property:official_language ?i } } }
[]
language state
SYSTEM
47
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q33946
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:P37 ?t . ?a rdf:type ontology:Q7275 . ?t rdf:type ontology:Q34770 } GROUP BY ?a } . FILTER ( ?r < ?o ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i rdf:type ontology:Q34770 . resource:Q33946 property:P37 ?i } } }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
47
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Czechoslovakia
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:official_language ?t . ?a rdf:type ontology:state . ?t rdf:type ontology:language } GROUP BY ?a } . FILTER ( ?r < ?o ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { ?i rdf:type ontology:language . resource:Czechoslovakia property:official_language ?i } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2353425
P37
Q34770 Q7275
USER
And what about Talossa?
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q2353425
relation P37
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?w ) WHERE { ?k property:P37 ?i . ?k rdf:type ontology:Q7275 . ?i rdf:type ontology:Q34770 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q2353425 property:P37 ?t . ?t rdf:type ontology:Q34770 } } . FILTER ( ?w < ?y ) }
Talossa
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Talossa
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?w ) WHERE { ?k property:official_language ?i . ?k rdf:type ontology:state . ?i rdf:type ontology:language } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Talossa property:official_language ?t . ?t rdf:type ontology:language } } . FILTER ( ?w < ?y ) }
[]
language state
SYSTEM
47
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q2353425
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?w ) WHERE { ?k property:P37 ?i . ?k rdf:type ontology:Q7275 . ?i rdf:type ontology:Q34770 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q2353425 property:P37 ?t . ?t rdf:type ontology:Q34770 } } . FILTER ( ?w < ?y ) }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
47
action count
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Talossa
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?w ) WHERE { ?k property:official_language ?i . ?k rdf:type ontology:state . ?i rdf:type ontology:language } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Talossa property:official_language ?t . ?t rdf:type ontology:language } } . FILTER ( ?w < ?y ) }
[]