Simple Question (Direct)
Simple Question
Q3167201
P166
Q618779
USER
What was awarded to Jean-Luc Marty ?
(Q3167201,P166,c(Q618779))
action filter_type
action find
entity Q3167201
relation P166
type Q618779
['Q3167201', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q3167201 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Jean-Luc Marty
action filter_type
action find
entity Jean-Luc Marty
relation award received
type award
['Jean-Luc Marty', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Luc_Marty property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q2111300
SYSTEM
Price Eugène Dabit populist novel
Q2111300
(Q3167201,P166,c(Q618779))
action filter_type
action find
entity Q3167201
relation P166
type Q618779
[ANSWER] was awarded to Jean-Luc Marty
['Q3167201', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q3167201 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Price Eugène Dabit populist novel
Price Eugène Dabit populist novel was awarded to Jean-Luc Marty
Price Eugène Dabit populist novel
action filter_type
action find
entity Jean-Luc Marty
relation award received
type award
['Jean-Luc Marty', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Luc_Marty property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3167201
P136
Q1792379
USER
What can be considered as category for that person ?
(Q2111300,P136,c(Q1792379))
action filter_type
action find
entity Q3167201
relation P136
type Q1792379
['Q2111300', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q3167201 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
Jean-Luc Marty
action filter_type
action find
entity Jean-Luc Marty
relation genre
type art genre
['Price Eugène Dabit populist novel', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Luc_Marty property:genre ?h . ?h rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q2111300,P136,c(Q1792379))
action filter_type
action find
entity Q3167201
relation P136
type Q1792379
A [ANSWER] can be considered as category for that person
['Q2111300', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q3167201 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
novel
A novel can be considered as category for that person
novel
action filter_type
action find
entity Jean-Luc Marty
relation genre
type art genre
['Price Eugène Dabit populist novel', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Luc_Marty property:genre ?h . ?h rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3167201
P21
Q290
USER
What is the sex of Jean-Luc Marty ?
(Q3167201,P21,c(Q290))
action filter_type
action find
entity Q3167201
relation P21
type Q290
['Q3167201', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3167201 property:P21 ?n . ?n rdf:type ontology:Q290 }
Jean-Luc Marty
action filter_type
action find
entity Jean-Luc Marty
relation gender
type sex
['Jean-Luc Marty', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Luc_Marty property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3167201,P21,c(Q290))
action filter_type
action find
entity Q3167201
relation P21
type Q290
The sex of Jean-Luc Marty is the [ANSWER]
['Q3167201', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3167201 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Jean-Luc Marty is the male
male
action filter_type
action find
entity Jean-Luc Marty
relation gender
type sex
['Jean-Luc Marty', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Luc_Marty property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8261
P425
Q12737077
USER
Which occupation does novel belong to ?
(c(Q12737077),P425,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q8261']
SELECT DISTINCT ?x WHERE { ?x property:P425 resource:Q8261 . ?x rdf:type ontology:Q12737077 }
novel
action filter_type
action find_reverse
entity novel
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'novel']
SELECT DISTINCT ?x WHERE { ?x property:field_of_this_occupation resource:novel . ?x rdf:type ontology:occupation }
[]
occupation
Q6625963
SYSTEM
novelist
Q6625963
(c(Q12737077),P425,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P425
type Q12737077
Novel belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q8261']
SELECT DISTINCT ?x WHERE { ?x property:P425 resource:Q8261 . ?x rdf:type ontology:Q12737077 }
novelist
Novel belongs to novelist
novelist
action filter_type
action find_reverse
entity novel
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'novel']
SELECT DISTINCT ?x WHERE { ?x property:field_of_this_occupation resource:novel . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8261
P170
Q12737077
USER
Which occupation is credited with creation of novel ?
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q8261 property:P170 ?h . ?h rdf:type ontology:Q12737077 }
novel
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:novel property:creator ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q6625963
SYSTEM
novelist
Q6625963
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
Novel [ANSWER] is credited with creation of novel
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q8261 property:P170 ?h . ?h rdf:type ontology:Q12737077 }
novelist
Novel novelist is credited with creation of novel
novelist
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:novel property:creator ?h . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P21
Q41176 Q190
USER
How many buildings and Gods are a male ?
(c(Q41176),P21,Q6581097) (c(Q190),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q41176
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q190
[{'concept': 'Q41176'}, 'P21', 'Q6581097'] [{'concept': 'Q190'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:Q41176 . ?a property:P21 resource:Q6581097 } UNION { ?a rdf:type ontology:Q190 . ?a property:P21 resource:Q6581097 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type building
action filter_type
action find_reverse
entity male
relation gender
type God
[{'concept': 'building'}, 'gender', 'male'] [{'concept': 'God'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:building . ?a property:gender resource:male } UNION { ?a rdf:type ontology:God . ?a property:gender resource:male } }
[]
building God
SYSTEM
1 buildings and 24 Gods
Q7377716 Q3020299 Q2752560 Q2790254 Q5071432 Q3018930 Q7261841 Q9011387 Q2813275 Q2790079 Q2790039 Q1400271 Q7123864 Q2790221 Q7377741 Q3700040 Q9422 Q2722402 Q9429 Q1746328 Q2724631 Q2722656 Q7492546 Q7503735 Q3351786
(c(Q41176),P21,Q6581097) (c(Q190),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q41176
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q190
[ANSWER]
[{'concept': 'Q41176'}, 'P21', 'Q6581097'] [{'concept': 'Q190'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:Q41176 . ?a property:P21 resource:Q6581097 } UNION { ?a rdf:type ontology:Q190 . ?a property:P21 resource:Q6581097 } }
Sambhavanatha Anantanatha Naminatha Mallinatha Chandraprabha Vimalanatha Pushpadanta Jean Leon Dharmanatha Shantinatha Munisuvrata Parshvanatha Padmaprabha Kunthunatha Suparshvanatha Vasupujya Mahavira Abhinandananatha Rishabhanatha Neminatha Sumatinatha Aranatha Shitalanatha Shreyansanatha Ajitanatha
1 buildings and 24 Gods
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type building
action filter_type
action find_reverse
entity male
relation gender
type God
[{'concept': 'building'}, 'gender', 'male'] [{'concept': 'God'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { ?a rdf:type ontology:building . ?a property:gender resource:male } UNION { ?a rdf:type ontology:God . ?a property:gender resource:male } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5557408 Q3167201
P106
Q12737077
USER
Which occupations are the job of Jean-Luc Marty or Ismael Huerta ?
OR((Q3167201,P106,c(Q12737077)), (Q5557408,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3167201
relation P106
action find
entity Q5557408
relation P106
type Q12737077
{'OR': [['Q3167201', 'P106', {'concept': 'Q12737077'}], ['Q5557408', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . { { resource:Q3167201 property:P106 ?o } UNION { resource:Q5557408 property:P106 ?o } } }
Ismael Huerta Jean-Luc Marty
action filter_type
action union
action find
entity Jean-Luc Marty
relation occupation
action find
entity Ismael Huerta
relation occupation
type occupation
{'OR': [['Jean-Luc Marty', 'occupation', {'concept': 'occupation'}], ['Ismael Huerta', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . { { resource:Jean-Luc_Marty property:occupation ?o } UNION { resource:Ismael_Huerta property:occupation ?o } } }
[]
occupation
Q1930187 Q193391
SYSTEM
journalist, diplomat
Q1930187 Q193391
OR((Q3167201,P106,c(Q12737077)), (Q5557408,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3167201
relation P106
action find
entity Q5557408
relation P106
type Q12737077
The [ANSWERS] are the job of Jean-Luc Marty or Ismael Huerta
{'OR': [['Q3167201', 'P106', {'concept': 'Q12737077'}], ['Q5557408', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . { { resource:Q3167201 property:P106 ?o } UNION { resource:Q5557408 property:P106 ?o } } }
journalist diplomat
The journalist and diplomat are the job of Jean-Luc Marty or Ismael Huerta
journalist diplomat
action filter_type
action union
action find
entity Jean-Luc Marty
relation occupation
action find
entity Ismael Huerta
relation occupation
type occupation
{'OR': [['Jean-Luc Marty', 'occupation', {'concept': 'occupation'}], ['Ismael Huerta', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . { { resource:Jean-Luc_Marty property:occupation ?o } UNION { resource:Ismael_Huerta property:occupation ?o } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q17638008 Q386724
USER
Which occupations are depicted in min number of game equipment or works ?
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?r WHERE { VALUES ( ?v ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } . ?y rdf:type ?v } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?f WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } GROUP BY ?f } . FILTER ( ?n = ?a ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?r WHERE { VALUES ( ?v ) { ( ontology:game_equipment ) ( ontology:work ) } . ?y rdf:type ?v } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?f WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:game_equipment ) ( ontology:work ) } } GROUP BY ?f } . FILTER ( ?n = ?a ) }
[]
occupation game equipment work
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 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 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 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 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 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q386724),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[ANSWERS] are depicted in min number of game equipment or works
[[{'concept': 'Q17638008'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?r WHERE { VALUES ( ?v ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } . ?y rdf:type ?v } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?f WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q17638008 ) ( ontology:Q386724 ) } } GROUP BY ?f } . FILTER ( ?n = ?a ) }
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 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 tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer 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 artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are depicted in min number of game equipment or works
farmer nurse tailor
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'game equipment'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?r WHERE { VALUES ( ?v ) { ( ontology:game_equipment ) ( ontology:work ) } . ?y rdf:type ?v } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?f WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:game_equipment ) ( ontology:work ) } } GROUP BY ?f } . FILTER ( ?n = ?a ) }
[]