Simple Question (Direct)
Simple Question
Q3879506
P106
Q12737077
USER
Which occupation is the profession of Nunzio Di Roberto ?
(Q3879506,P106,c(Q12737077))
action filter_type
action find
entity Q3879506
relation P106
type Q12737077
['Q3879506', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3879506 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Nunzio Di Roberto
action filter_type
action find
entity Nunzio Di Roberto
relation occupation
type occupation
['Nunzio Di Roberto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Nunzio_Di_Roberto property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3879506,P106,c(Q12737077))
action filter_type
action find
entity Q3879506
relation P106
type Q12737077
Player [ANSWER] is the profession of Nunzio Di Roberto
['Q3879506', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3879506 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Nunzio Di Roberto
association football player
action filter_type
action find
entity Nunzio Di Roberto
relation occupation
type occupation
['Nunzio Di Roberto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Nunzio_Di_Roberto property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3879506
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q3879506
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3879506 property:P641 ?g . ?g rdf:type ontology:Q349 }
Nunzio Di Roberto
action filter_type
action find
entity Nunzio Di Roberto
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Nunzio_Di_Roberto property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q3879506
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3879506 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Nunzio Di Roberto
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Nunzio_Di_Roberto property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3879506
P21
Q290
USER
Which sex does Nunzio Di Roberto have ?
(Q3879506,P21,c(Q290))
action filter_type
action find
entity Q3879506
relation P21
type Q290
['Q3879506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3879506 property:P21 ?c . ?c rdf:type ontology:Q290 }
Nunzio Di Roberto
action filter_type
action find
entity Nunzio Di Roberto
relation gender
type sex
['Nunzio Di Roberto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nunzio_Di_Roberto property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3879506,P21,c(Q290))
action filter_type
action find
entity Q3879506
relation P21
type Q290
Nunzio Di Roberto has a [ANSWER]
['Q3879506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3879506 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Nunzio Di Roberto has a male
male
action filter_type
action find
entity Nunzio Di Roberto
relation gender
type sex
['Nunzio Di Roberto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nunzio_Di_Roberto property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23894644
Q290
USER
And also tell me about Dima Priceputu?
(Q23894644,P21,c(Q290))
action filter_type
action find
entity Q23894644
relation P21
type Q290
['Q23894644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q23894644 property:P21 ?j . ?j rdf:type ontology:Q290 }
Dima Priceputu
action filter_type
action find
entity Dima Priceputu
relation gender
type sex
['Dima Priceputu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Dima_Priceputu property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q23894644,P21,c(Q290))
action filter_type
action find
entity Q23894644
relation P21
type Q290
[ANSWER]
['Q23894644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q23894644 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Dima Priceputu
relation gender
type sex
['Dima Priceputu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Dima_Priceputu property:gender ?j . ?j rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6964779
P21
Q502895
USER
Does Nap Reyes have the gender as that sex ?
(Q6964779,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6964779
relation P21
['Q6964779', 'P21', 'Q6581097']
ASK WHERE { resource:Q6964779 property:P21 resource:Q6581097 }
male Nap Reyes
action is_in
entity male
action find
entity Nap Reyes
relation gender
['Nap Reyes', 'gender', 'male']
ASK WHERE { resource:Nap_Reyes property:gender resource:male }
[]
common name
SYSTEM
YES
(Q6964779,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6964779
relation P21
[ANSWER]
['Q6964779', 'P21', 'Q6581097']
ASK WHERE { resource:Q6964779 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Nap Reyes
relation gender
['Nap Reyes', 'gender', 'male']
ASK WHERE { resource:Nap_Reyes property:gender resource:male }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q833860
P180
Q12737077 Q838948 Q3305213
USER
Which occupations are expressed in lesser number of works of art or paintings than maid ?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q833860
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { { ?y property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 . ?y property:P180 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { { ?t rdf:type ontology:Q838948 } UNION { ?t rdf:type ontology:Q3305213 } } . ?t property:P180 resource:Q833860 } } . FILTER ( ?e < ?c ) }
maid
action less
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 painting
action count
action filter_multi_types
action find_reverse
entity maid
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { { ?y property:depicts ?p . ?p rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:occupation . ?y rdf:type ontology:painting . ?y property:depicts ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { { ?t rdf:type ontology:work_of_art } UNION { ?t rdf:type ontology:painting } } . ?t property:depicts resource:maid } } . FILTER ( ?e < ?c ) }
[]
occupation work of art painting
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q152355 Q1218776 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 Q185196 Q328325 Q11900058 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q2309900 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q15954519 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q833860
relation P180
type Q838948
type Q3305213
[ANSWERS] are expressed in lesser number of works of art or paintings than maid
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { { ?y property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 . ?y property:P180 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { { ?t rdf:type ontology:Q838948 } UNION { ?t rdf:type ontology:Q3305213 } } . ?t property:P180 resource:Q833860 } } . FILTER ( ?e < ?c ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher cobbler arriero 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 midwife stonemason explorer civil servant abbé architect street musician nurse parson mathematician mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic helmsman harpsichordist rescuer 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 alchemist bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge matador goldsmith astronomer surgeon domestic worker cook embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker apprentice King of France 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 basketry mail carrier artisan bushranger weaver Australian-rules footballer sea captain street artist waiting staff
Nurse, tailor and librarian are expressed in lesser number of works of art or paintings than maid
nurse tailor librarian
action less
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 painting
action count
action filter_multi_types
action find_reverse
entity maid
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { { ?y property:depicts ?p . ?p rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:occupation . ?y rdf:type ontology:painting . ?y property:depicts ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { { ?t rdf:type ontology:work_of_art } UNION { ?t rdf:type ontology:painting } } . ?t property:depicts resource:maid } } . FILTER ( ?e < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6116659
P180
Q12737077 Q838948 Q3305213
USER
And also tell me about priestess?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q6116659
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?r WHERE { { ?y property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P180 resource:Q6116659 . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?c < ?e ) }
priestess
action less
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 painting
action count
action filter_multi_types
action find_reverse
entity priestess
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?r WHERE { { ?y property:depicts ?r . ?r rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?y property:depicts ?r . ?r rdf:type ontology:occupation . ?y rdf:type ontology:painting } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:depicts resource:priestess . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:painting ) } } } } . FILTER ( ?c < ?e ) }
[]
occupation work of art painting
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q152355 Q1218776 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 Q185196 Q328325 Q11900058 Q212238 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q327321 Q549322 Q327029 Q2309900 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q537575 Q20826540 Q715301 Q11338576 Q15954519 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q15725121 Q185992 Q133485 Q674067 Q901 Q589897 Q4594605 Q242468 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q11063 Q774306 Q2276446 Q18575684 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q849424 Q7622988 Q157195
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q6116659
relation P180
type Q838948
type Q3305213
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?r WHERE { { ?y property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P180 ?r . ?r rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P180 resource:Q6116659 . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?c < ?e ) }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher cobbler arriero 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 midwife stonemason explorer civil servant abbé architect street musician nurse parson mathematician mayor bell-ringer miner beekeeper washerwoman cellist bricklayer torero mechanic helmsman harpsichordist rescuer 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 alchemist bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon bassoonist mufti rabbi mime artist scientist mahout magistrate tailor housekeeper theologian courier monarch porter pastor courtier judge matador goldsmith astronomer surgeon domestic worker cook embroiderer exotic dancer lyricist plasterer gardener composer miller tightrope walker apprentice King of France 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 basketry mail carrier artisan bushranger weaver Australian-rules footballer sea captain street artist waiting staff
nurse tailor librarian
action less
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 painting
action count
action filter_multi_types
action find_reverse
entity priestess
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?r WHERE { { ?y property:depicts ?r . ?r rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?y property:depicts ?r . ?r rdf:type ontology:occupation . ?y rdf:type ontology:painting } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:depicts resource:priestess . { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:painting ) } } } } . FILTER ( ?c < ?e ) }
[]