Simple Question (Direct)
Simple Question
Q4837453
P106
Q12737077
USER
What does Babak Azizzadeh do for a living ?
(Q4837453,P106,c(Q12737077))
action filter_type
action find
entity Q4837453
relation P106
type Q12737077
['Q4837453', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4837453 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Babak Azizzadeh
action filter_type
action find
entity Babak Azizzadeh
relation occupation
type occupation
['Babak Azizzadeh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Babak_Azizzadeh property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q5770349
SYSTEM
plastic surgeon
Q5770349
(Q4837453,P106,c(Q12737077))
action filter_type
action find
entity Q4837453
relation P106
type Q12737077
Babak Azizzadeh does for a living as [ANSWER]
['Q4837453', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4837453 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
plastic surgeon
Babak Azizzadeh does for a living as plastic surgeon
plastic surgeon
action filter_type
action find
entity Babak Azizzadeh
relation occupation
type occupation
['Babak Azizzadeh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Babak_Azizzadeh property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4837453
P735
Q82799
USER
Which name is Babak Azizzadeh known by ?
(Q4837453,P735,c(Q82799))
action filter_type
action find
entity Q4837453
relation P735
type Q82799
['Q4837453', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q4837453 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Babak Azizzadeh
action filter_type
action find
entity Babak Azizzadeh
relation given name
type name
['Babak Azizzadeh', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Babak_Azizzadeh property:given_name ?l . ?l rdf:type ontology:name }
[]
name
Q3244684
SYSTEM
Babak
Q3244684
(Q4837453,P735,c(Q82799))
action filter_type
action find
entity Q4837453
relation P735
type Q82799
[ANSWER] Azizzadeh is known as [ANSWER]
['Q4837453', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q4837453 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Babak
Babak Azizzadeh is known as Babak
Babak
action filter_type
action find
entity Babak Azizzadeh
relation given name
type name
['Babak Azizzadeh', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Babak_Azizzadeh property:given_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2783279
Q82799
USER
And how about A.H. Nijhoff?
(Q2783279,P735,c(Q82799))
action filter_type
action find
entity Q2783279
relation P735
type Q82799
['Q2783279', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2783279 property:P735 ?d . ?d rdf:type ontology:Q82799 }
A.H. Nijhoff
action filter_type
action find
entity A.H. Nijhoff
relation given name
type name
['A.H. Nijhoff', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:A.H._Nijhoff property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q19803442
SYSTEM
A.
Q19803442
(Q2783279,P735,c(Q82799))
action filter_type
action find
entity Q2783279
relation P735
type Q82799
[ANSWER]
['Q2783279', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2783279 property:P735 ?d . ?d rdf:type ontology:Q82799 }
A.
A.
action filter_type
action find
entity A.H. Nijhoff
relation given name
type name
['A.H. Nijhoff', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:A.H._Nijhoff property:given_name ?d . ?d rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19723482
P180
Q12737077 Q3305213 Q2342494
USER
How many occupations are depicted in lesser number of paintings and collectables than mandolinist ?
(c(Q3305213)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19723482
relation P180
type Q3305213
type Q2342494
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P180 resource:Q19723482 . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q3305213 ) } . ?d rdf:type ?s } GROUP BY ?o } }
mandolinist
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity mandolinist
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:depicts resource:mandolinist . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:painting ) ( ontology:collectable ) } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:painting ) } . ?d rdf:type ?s } GROUP BY ?o } }
[]
occupation painting collectable
SYSTEM
223
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 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 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 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 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 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(Q3305213)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19723482
relation P180
type Q3305213
type Q2342494
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P180 resource:Q19723482 . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q3305213 ) } . ?d rdf:type ?s } GROUP BY ?o } }
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 flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter 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 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 domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian 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 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
223
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity mandolinist
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:depicts resource:mandolinist . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:painting ) ( ontology:collectable ) } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?o WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:painting ) } . ?d rdf:type ?s } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q250867
P180
Q12737077 Q3305213 Q2342494
USER
And how about Catholic priest?
(c(Q3305213)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q250867
relation P180
type Q3305213
type Q2342494
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?p WHERE { VALUES ( ?u ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?m rdf:type ?u } GROUP BY ?p } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:Q3305213 } UNION { ?b rdf:type ontology:Q2342494 } } . ?b property:P180 resource:Q250867 } } }
Catholic priest
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity Catholic priest
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?p WHERE { VALUES ( ?u ) { ( ontology:painting ) ( ontology:collectable ) } . ?m rdf:type ?u } GROUP BY ?p } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:painting } UNION { ?b rdf:type ontology:collectable } } . ?b property:depicts resource:Catholic_priest } } }
[]
occupation painting collectable
SYSTEM
189
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3305213)|c(Q2342494),P180,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q250867
relation P180
type Q3305213
type Q2342494
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?p WHERE { VALUES ( ?u ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?m rdf:type ?u } GROUP BY ?p } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:Q3305213 } UNION { ?b rdf:type ontology:Q2342494 } } . ?b property:P180 resource:Q250867 } } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer florist teacher bear hunter cobbler arriero 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 deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason civil servant sower abbé architect street musician nurse parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge matador goldsmith waterseller pretender astronomer surgeon domestic worker cook embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
189
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity Catholic priest
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?p WHERE { VALUES ( ?u ) { ( ontology:painting ) ( ontology:collectable ) } . ?m rdf:type ?u } GROUP BY ?p } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:painting } UNION { ?b rdf:type ontology:collectable } } . ?b property:depicts resource:Catholic_priest } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4837453
P21
Q290
USER
Which sex does Babak Azizzadeh belong to ?
(Q4837453,P21,c(Q290))
action filter_type
action find
entity Q4837453
relation P21
type Q290
['Q4837453', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q4837453 property:P21 ?q . ?q rdf:type ontology:Q290 }
Babak Azizzadeh
action filter_type
action find
entity Babak Azizzadeh
relation gender
type sex
['Babak Azizzadeh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Babak_Azizzadeh property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4837453,P21,c(Q290))
action filter_type
action find
entity Q4837453
relation P21
type Q290
Babak Azizzadeh belongs to [ANSWER]
['Q4837453', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q4837453 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Babak Azizzadeh belongs to male
male
action filter_type
action find
entity Babak Azizzadeh
relation gender
type sex
['Babak Azizzadeh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Babak_Azizzadeh property:gender ?q . ?q rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q555865
P21
Q502895
USER
Does Santiago García Aracil have the gender as that sex ?
(Q555865,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q555865
relation P21
['Q555865', 'P21', 'Q6581097']
ASK WHERE { resource:Q555865 property:P21 resource:Q6581097 }
male Santiago García Aracil
action is_in
entity male
action find
entity Santiago García Aracil
relation gender
['Santiago García Aracil', 'gender', 'male']
ASK WHERE { resource:Santiago_García_Aracil property:gender resource:male }
[]
common name
SYSTEM
YES
(Q555865,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q555865
relation P21
[ANSWER]
['Q555865', 'P21', 'Q6581097']
ASK WHERE { resource:Q555865 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Santiago García Aracil
relation gender
['Santiago García Aracil', 'gender', 'male']
ASK WHERE { resource:Santiago_García_Aracil property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4837453
P108
Q3918
USER
Which university does Babak Azizzadeh work for ?
(Q4837453,P108,c(Q3918))
action filter_type
action find
entity Q4837453
relation P108
type Q3918
['Q4837453', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { resource:Q4837453 property:P108 ?v . ?v rdf:type ontology:Q3918 }
Babak Azizzadeh
action filter_type
action find
entity Babak Azizzadeh
relation employer
type university
['Babak Azizzadeh', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { resource:Babak_Azizzadeh property:employer ?v . ?v rdf:type ontology:university }
[]
university
Q174710
SYSTEM
University of California, Los Angeles
Q174710
(Q4837453,P108,c(Q3918))
action filter_type
action find
entity Q4837453
relation P108
type Q3918
Babak Azizzadeh works at [ANSWER]
['Q4837453', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { resource:Q4837453 property:P108 ?v . ?v rdf:type ontology:Q3918 }
University of California, Los Angeles
Babak Azizzadeh works at University of California, Los Angeles
University of California, Los Angeles
action filter_type
action find
entity Babak Azizzadeh
relation employer
type university
['Babak Azizzadeh', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { resource:Babak_Azizzadeh property:employer ?v . ?v rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q174710 Q5763870 Q13377759
P159
Q56061
USER
Does University of California, Los Angeles have its head office location at Poland and Dol pri Ljubljani ?
(Q174710,P159,Q5763870) (Q174710,P159,Q13377759)
action is_in
entity Q174710
action intersection
action find_reverse
entity Q5763870
relation P159
action find_reverse
entity Q13377759
relation P159
['Q174710', 'P159', 'Q5763870'] ['Q174710', 'P159', 'Q13377759']
ASK WHERE { resource:Q174710 property:P159 resource:Q5763870 . resource:Q174710 property:P159 resource:Q13377759 }
University of California, Los Angeles Poland Dol pri Ljubljani
action is_in
entity University of California, Los Angeles
action intersection
action find_reverse
entity Poland
relation headquarters location
action find_reverse
entity Dol pri Ljubljani
relation headquarters location
['University of California, Los Angeles', 'headquarters location', 'Poland'] ['University of California, Los Angeles', 'headquarters location', 'Dol pri Ljubljani']
ASK WHERE { resource:University_of_California,_Los_Angeles property:headquarters_location resource:Poland . resource:University_of_California,_Los_Angeles property:headquarters_location resource:Dol_pri_Ljubljani }
[]
administrative territorial entity
SYSTEM
NO
(Q174710,P159,Q5763870) (Q174710,P159,Q13377759)
action is_in
entity Q174710
action intersection
action find_reverse
entity Q5763870
relation P159
action find_reverse
entity Q13377759
relation P159
[ANSWER]
['Q174710', 'P159', 'Q5763870'] ['Q174710', 'P159', 'Q13377759']
ASK WHERE { resource:Q174710 property:P159 resource:Q5763870 . resource:Q174710 property:P159 resource:Q13377759 }
No
action is_in
entity University of California, Los Angeles
action intersection
action find_reverse
entity Poland
relation headquarters location
action find_reverse
entity Dol pri Ljubljani
relation headquarters location
['University of California, Los Angeles', 'headquarters location', 'Poland'] ['University of California, Los Angeles', 'headquarters location', 'Dol pri Ljubljani']
ASK WHERE { resource:University_of_California,_Los_Angeles property:headquarters_location resource:Poland . resource:University_of_California,_Los_Angeles property:headquarters_location resource:Dol_pri_Ljubljani }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174710
P272
Q201658
USER
Which film genre had that university as the production company ?
action filter_type
action find_reverse
entity Q174710
relation P272
type Q201658
SELECT DISTINCT ?e WHERE { ?e property:P272 resource:Q174710 . ?e rdf:type ontology:Q201658 }
University of California, Los Angeles
action filter_type
action find_reverse
entity University of California, Los Angeles
relation production company
type film genre
SELECT DISTINCT ?e WHERE { ?e property:production_company resource:University_of_California,_Los_Angeles . ?e rdf:type ontology:film_genre }
[]
film genre
Q277435
SYSTEM
9
Q277435
action filter_type
action find_reverse
entity Q174710
relation P272
type Q201658
[ANSWER] had that university as the production company
SELECT DISTINCT ?e WHERE { ?e property:P272 resource:Q174710 . ?e rdf:type ontology:Q201658 }
9
9 had that university as the production company
9
action filter_type
action find_reverse
entity University of California, Los Angeles
relation production company
type film genre
SELECT DISTINCT ?e WHERE { ?e property:production_company resource:University_of_California,_Los_Angeles . ?e rdf:type ontology:film_genre }
[]