Simple Question (Direct)
Simple Question
Q4531112
P641
Q349
USER
Which sport did Toru Kaburagi participate in ?
(Q4531112,P641,c(Q349))
action filter_type
action find
entity Q4531112
relation P641
type Q349
['Q4531112', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q4531112 property:P641 ?o . ?o rdf:type ontology:Q349 }
Toru Kaburagi
action filter_type
action find
entity Toru Kaburagi
relation sport
type sport
['Toru Kaburagi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Toru_Kaburagi property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4531112,P641,c(Q349))
action filter_type
action find
entity Q4531112
relation P641
type Q349
Toru Kaburagi participated in [ANSWER]
['Q4531112', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q4531112 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Toru Kaburagi participated in association football
association football
action filter_type
action find
entity Toru Kaburagi
relation sport
type sport
['Toru Kaburagi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Toru_Kaburagi property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4531112
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q4531112
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q4531112 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Toru Kaburagi
action filter_type
action find
entity Toru Kaburagi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Toru_Kaburagi property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q4531112
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q4531112 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Toru Kaburagi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Toru_Kaburagi property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4531112
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q4531112
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4531112 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Toru Kaburagi
action filter_type
action find
entity Toru Kaburagi
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Toru_Kaburagi property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q4531112
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4531112 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Japan
The Japan is that person a civilian of
Japan
action filter_type
action find
entity Toru Kaburagi
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Toru_Kaburagi property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q838948 Q340169
USER
Which occupations are depicted in min number of works of art and medias ?
(c(Q838948)|c(Q340169),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 Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?s WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q838948 . ?e property:P180 ?l } UNION { ?e property:P180 ?l . ?e rdf:type ontology:Q340169 . ?l rdf:type ontology:Q12737077 } } GROUP BY ?l } } }
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 media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?s WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:occupation . ?e rdf:type ontology:work_of_art . ?e property:depicts ?l } UNION { ?e property:depicts ?l . ?e rdf:type ontology:media . ?l rdf:type ontology:occupation } } GROUP BY ?l } } }
[]
occupation work of art media
Q242468 Q182436 Q42973
SYSTEM
tailor, librarian, architect
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q1401609 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q7358 Q19968805 Q4504549 Q842782 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q170790 Q1139055 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 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 Q1104153 Q10873124 Q15725121 Q185992 Q133485 Q674067 Q901 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q207651 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q253567 Q3439798 Q2191547 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q838948)|c(Q340169),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 Q340169
[ANSWERS] are depicted in min number of works of art and medias
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?s WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q838948 . ?e property:P180 ?l } UNION { ?e property:P180 ?l . ?e rdf:type ontology:Q340169 . ?l rdf:type ontology:Q12737077 } } GROUP BY ?l } } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher vaquero cobbler arriero lumberjack sewing executor astronaut cooper house painter organist 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 clown spinner religious servant detective midwife pianist stonemason explorer artist merchant civil servant abbé architect street musician parson mandolinist mathematician tax collector mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic 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 canon chess player bassoonist mufti rabbi mime artist scientist magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge abbot matador goldsmith astronomer surgeon domestic worker cook executioner 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 guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid nun librarian cleric construction worker basketry mail carrier artisan bushranger weaver Australian-rules footballer sea captain street artist waiting staff
Tailor, librarian and architect are depicted in min number of works of art and medias
tailor librarian architect
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 media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?s WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?l WHERE { { ?l rdf:type ontology:occupation . ?e rdf:type ontology:work_of_art . ?e property:depicts ?l } UNION { ?e property:depicts ?l . ?e rdf:type ontology:media . ?l rdf:type ontology:occupation } } GROUP BY ?l } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q191067
USER
Which occupations were atmost 10 works of art and articles mainly about ?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 10
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?x <= 10 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?z rdf:type ?g } GROUP BY ?i } }
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 10
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?x <= 10 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:article ) } . ?z rdf:type ?g } GROUP BY ?i } }
[]
occupation work of art article
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 10
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?x <= 10 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?z rdf:type ?g } GROUP BY ?i } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Which occupations were atmost 10 works of art and articles mainly about
Fletcher Christian farmer librarian
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 10
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?x <= 10 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:article ) } . ?z rdf:type ?g } GROUP BY ?i } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q12737077 Q79007 Q41176
USER
How many occupations are the etymology of greater number of streets and buildings than that occupation ?
(c(Q79007)|c(Q41176),P138,c(Q12737077))
[[{'concept': 'Q79007'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q41176 }
[[{'concept': 'street'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:street . ?y rdf:type ontology:occupation . ?x rdf:type ontology:building }
[]
occupation street building
Comparative|Count over More/Less|Mult. entity type|Clarification
Q316070
SYSTEM
Did you mean Fletcher Christian ?
(c(Q79007)|c(Q41176),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q79007'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q41176 }
Did you mean Fletcher Christian ?
Fletcher Christian
[[{'concept': 'street'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:street . ?y rdf:type ontology:occupation . ?x rdf:type ontology:building }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant farmer. Could you tell me the answer for that?
(c(Q79007)|c(Q41176),P138,c(Q12737077))
Q131512
[[{'concept': 'Q79007'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
[[{'concept': 'street'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
[]
SYSTEM
5
Q475604 Q326330 Q326358 Q242468 Q1410101
(c(Q79007)|c(Q41176),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q79007'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q41176 }
maritime pilot primate joiner tailor pyrotechnist
5
[[{'concept': 'street'}, {'concept': 'building'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:street . ?y rdf:type ontology:occupation . ?x rdf:type ontology:building }
[]