Simple Question (Direct)
Simple Question
Q887710
P86
Q502895
USER
Who composed The Pirates of Dark Water ?
(Q887710,P86,c(Q502895))
action filter_type
action find
entity Q887710
relation P86
type Q502895
['Q887710', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q887710 property:P86 ?o . ?o rdf:type ontology:Q502895 }
The Pirates of Dark Water
action filter_type
action find
entity The Pirates of Dark Water
relation composer
type common name
['The Pirates of Dark Water', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Pirates_of_Dark_Water property:composer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q7610418
SYSTEM
Stephen Rucker
Q7610418
(Q887710,P86,c(Q502895))
action filter_type
action find
entity Q887710
relation P86
type Q502895
[ANSWER] composed The Pirates of Dark Water
['Q887710', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q887710 property:P86 ?o . ?o rdf:type ontology:Q502895 }
Stephen Rucker
Stephen Rucker composed The Pirates of Dark Water
Stephen Rucker
action filter_type
action find
entity The Pirates of Dark Water
relation composer
type common name
['The Pirates of Dark Water', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Pirates_of_Dark_Water property:composer ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q887710
P136
Q5962346
USER
What can be considered as category for that television program ?
(Q7610418,P136,c(Q5962346))
action filter_type
action find
entity Q887710
relation P136
type Q5962346
['Q7610418', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q887710 property:P136 ?u . ?u rdf:type ontology:Q5962346 }
The Pirates of Dark Water
action filter_type
action find
entity The Pirates of Dark Water
relation genre
type classification scheme
['Stephen Rucker', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:The_Pirates_of_Dark_Water property:genre ?u . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
Q5434357
SYSTEM
fantasy television
Q5434357
(Q7610418,P136,c(Q5962346))
action filter_type
action find
entity Q887710
relation P136
type Q5962346
[ANSWER] can be considered as category for that television program
['Q7610418', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q887710 property:P136 ?u . ?u rdf:type ontology:Q5962346 }
fantasy television
Fantasy television can be considered as category for that television program
fantasy television
action filter_type
action find
entity The Pirates of Dark Water
relation genre
type classification scheme
['Stephen Rucker', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:The_Pirates_of_Dark_Water property:genre ?u . ?u rdf:type ontology:classification_scheme }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5434357 Q1196286
P136
Q15416
USER
Does Xinwen Lianbo have that classification scheme as genre ?
(Q1196286,P136,Q5434357)
action is_in
entity Q1196286
action find
entity Q5434357
relation P136
['Q1196286', 'P136', 'Q5434357']
ASK WHERE { resource:Q5434357 property:P136 resource:Q1196286 }
fantasy television Xinwen Lianbo
action is_in
entity Xinwen Lianbo
action find
entity fantasy television
relation genre
['Xinwen Lianbo', 'genre', 'fantasy television']
ASK WHERE { resource:fantasy_television property:genre resource:Xinwen_Lianbo }
[]
television program
SYSTEM
NO
(Q1196286,P136,Q5434357)
action is_in
entity Q1196286
action find
entity Q5434357
relation P136
[ANSWER]
['Q1196286', 'P136', 'Q5434357']
ASK WHERE { resource:Q5434357 property:P136 resource:Q1196286 }
No
action is_in
entity Xinwen Lianbo
action find
entity fantasy television
relation genre
['Xinwen Lianbo', 'genre', 'fantasy television']
ASK WHERE { resource:fantasy_television property:genre resource:Xinwen_Lianbo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q887710 Q3018205 Q3827797
P1431
Q502895
USER
Did David Kirschner and Laura Lanza be an executive producer of The Pirates of Dark Water ?
(Q887710,P1431,Q3018205) (Q887710,P1431,Q3827797)
action is_in
entity Q887710
action intersection
action find_reverse
entity Q3018205
relation P1431
action find_reverse
entity Q3827797
relation P1431
['Q887710', 'P1431', 'Q3018205'] ['Q887710', 'P1431', 'Q3827797']
ASK WHERE { resource:Q887710 property:P1431 resource:Q3018205 . resource:Q887710 property:P1431 resource:Q3827797 }
The Pirates of Dark Water David Kirschner Laura Lanza
action is_in
entity The Pirates of Dark Water
action intersection
action find_reverse
entity David Kirschner
relation executive producer
action find_reverse
entity Laura Lanza
relation executive producer
['The Pirates of Dark Water', 'executive producer', 'David Kirschner'] ['The Pirates of Dark Water', 'executive producer', 'Laura Lanza']
ASK WHERE { resource:The_Pirates_of_Dark_Water property:executive_producer resource:David_Kirschner . resource:The_Pirates_of_Dark_Water property:executive_producer resource:Laura_Lanza }
[]
common name
SYSTEM
YES and NO respectively
(Q887710,P1431,Q3018205) (Q887710,P1431,Q3827797)
action is_in
entity Q887710
action intersection
action find_reverse
entity Q3018205
relation P1431
action find_reverse
entity Q3827797
relation P1431
[ANSWER]
['Q887710', 'P1431', 'Q3018205'] ['Q887710', 'P1431', 'Q3827797']
ASK WHERE { resource:Q887710 property:P1431 resource:Q3018205 . resource:Q887710 property:P1431 resource:Q3827797 }
YES and NO respectively
action is_in
entity The Pirates of Dark Water
action intersection
action find_reverse
entity David Kirschner
relation executive producer
action find_reverse
entity Laura Lanza
relation executive producer
['The Pirates of Dark Water', 'executive producer', 'David Kirschner'] ['The Pirates of Dark Water', 'executive producer', 'Laura Lanza']
ASK WHERE { resource:The_Pirates_of_Dark_Water property:executive_producer resource:David_Kirschner . resource:The_Pirates_of_Dark_Water property:executive_producer resource:Laura_Lanza }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7610418
P106
Q12737077
USER
What does Stephen Rucker do for a living ?
(Q7610418,P106,c(Q12737077))
action filter_type
action find
entity Q7610418
relation P106
type Q12737077
['Q7610418', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q7610418 property:P106 ?e }
Stephen Rucker
action filter_type
action find
entity Stephen Rucker
relation occupation
type occupation
['Stephen Rucker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Stephen_Rucker property:occupation ?e }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q7610418,P106,c(Q12737077))
action filter_type
action find
entity Q7610418
relation P106
type Q12737077
Stephen Rucker does not [ANSWER] for a living
['Q7610418', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q7610418 property:P106 ?e }
composer
Stephen Rucker does not composer for a living
composer
action filter_type
action find
entity Stephen Rucker
relation occupation
type occupation
['Stephen Rucker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Stephen_Rucker property:occupation ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3755460
Q12737077
USER
And how about Fedor Solntsev?
(Q3755460,P106,c(Q12737077))
action filter_type
action find
entity Q3755460
relation P106
type Q12737077
['Q3755460', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3755460 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Fedor Solntsev
action filter_type
action find
entity Fedor Solntsev
relation occupation
type occupation
['Fedor Solntsev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Fedor_Solntsev property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q42973 Q3621491 Q1028181
SYSTEM
architect, archaeologist, painter
Q1028181 Q201788 Q42973 Q3621491
(Q3755460,P106,c(Q12737077))
action filter_type
action find
entity Q3755460
relation P106
type Q12737077
[ANSWERS]
['Q3755460', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3755460 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
painter historian architect archaeologist
architect archaeologist painter
action filter_type
action find
entity Fedor Solntsev
relation occupation
type occupation
['Fedor Solntsev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Fedor_Solntsev property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations do approximately the same number of collectables belong to as that occupation ?
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
occupation collectable
Comparative|Count over More/Less|Single entity type|Clarification
Q1028181
SYSTEM
Did you mean painter ?
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
Did you mean painter ?
painter
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
117
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
117
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]