Simple Question (Direct)
Simple Question
Q461571
P21
Q290
USER
Which sex does Naomi Mitchison possess ?
(Q461571,P21,c(Q290))
action filter_type
action find
entity Q461571
relation P21
type Q290
['Q461571', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q461571 property:P21 ?k }
Naomi Mitchison
action filter_type
action find
entity Naomi Mitchison
relation gender
type sex
['Naomi Mitchison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Naomi_Mitchison property:gender ?k }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q461571,P21,c(Q290))
action filter_type
action find
entity Q461571
relation P21
type Q290
[ANSWER]
['Q461571', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q461571 property:P21 ?k }
female
female
action filter_type
action find
entity Naomi Mitchison
relation gender
type sex
['Naomi Mitchison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Naomi_Mitchison property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461571
P40
Q502895
USER
Which person is an offspring of Naomi Mitchison ?
(Q461571,P40,c(Q502895))
action filter_type
action find
entity Q461571
relation P40
type Q502895
['Q461571', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q461571 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Naomi Mitchison
action filter_type
action find
entity Naomi Mitchison
relation child
type common name
['Naomi Mitchison', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Naomi_Mitchison property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1953628
SYSTEM
Murdoch Mitchison
Q1953628
(Q461571,P40,c(Q502895))
action filter_type
action find
entity Q461571
relation P40
type Q502895
[ANSWER]
['Q461571', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q461571 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Murdoch Mitchison
Murdoch Mitchison
action filter_type
action find
entity Naomi Mitchison
relation child
type common name
['Naomi Mitchison', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Naomi_Mitchison property:child ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461571
P106
Q12737077
USER
Which occupations have Naomi Mitchison as his/her 's career ?
(Q461571,P106,c(Q12737077))
action filter_type
action find
entity Q461571
relation P106
type Q12737077
['Q461571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q461571 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Naomi Mitchison
action filter_type
action find
entity Naomi Mitchison
relation occupation
type occupation
['Naomi Mitchison', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Naomi_Mitchison property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q186360 Q36180 Q49757
SYSTEM
nurse, writer, poet
Q36180 Q49757 Q186360 Q18844224
(Q461571,P106,c(Q12737077))
action filter_type
action find
entity Q461571
relation P106
type Q12737077
[ANSWERS]
['Q461571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q461571 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
writer poet nurse science fiction writer
nurse writer poet
action filter_type
action find
entity Naomi Mitchison
relation occupation
type occupation
['Naomi Mitchison', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Naomi_Mitchison property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q560494
Q12737077
USER
And what about Máirtín Ó Cadhain?
(Q560494,P106,c(Q12737077))
action filter_type
action find
entity Q560494
relation P106
type Q12737077
['Q560494', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q560494 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Máirtín Ó Cadhain
action filter_type
action find
entity Máirtín Ó Cadhain
relation occupation
type occupation
['Máirtín Ó Cadhain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Máirtín_Ó_Cadhain property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q4263842 Q36180 Q1622272
SYSTEM
literary critic, writer, university teacher
Q4263842 Q36180 Q1622272
(Q560494,P106,c(Q12737077))
action filter_type
action find
entity Q560494
relation P106
type Q12737077
[ANSWERS]
['Q560494', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q560494 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
literary critic writer university teacher
literary critic writer university teacher
action filter_type
action find
entity Máirtín Ó Cadhain
relation occupation
type occupation
['Máirtín Ó Cadhain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Máirtín_Ó_Cadhain property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q2342494
USER
Which occupations do around the same number of people or collectables belong to as that occupation ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
occupation common name collectable
Comparative|More/Less|Mult. entity type|Clarification
Q36180
SYSTEM
Did you mean writer ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
Did you mean writer ?
writer
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant university teacher. Could you tell me the answer for that?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
Q1622272
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
[]
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 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 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491 Q11774891 Q6981670
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
novelist legislator singer business magnate secretary teacher 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 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 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 editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist ice hockey player Navajo weaving
chief of police archaeologist Commissioner of Baseball
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q43229
USER
How many occupations are the field of work of more number of people and organizations than that occupation ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
occupation common name organization
Comparative|Count over More/Less|Mult. entity type|Clarification
Q3621491
SYSTEM
Did you mean archaeologist ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Did you mean archaeologist ?
archaeologist
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant chief of police. Could you tell me the answer for that?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
Q2855502
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
28
Q6625963 Q177220 Q39631 Q33999 Q706364 Q17156912 Q333634 Q183888 Q593644 Q81096 Q170790 Q2405480 Q1930187 Q212238 Q131524 Q1172458 Q169470 Q201788 Q483501 Q1114448 Q1028181 Q36834 Q245068 Q16009483 Q1607826 Q639669 Q11774891 Q6981670
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
novelist singer physician actor art director malariologist translator software developer chemist engineer mathematician voice actor journalist civil servant entrepreneur muhaddith physicist historian artist cartoonist painter composer comedian sideshow performer editor musician ice hockey player Navajo weaving
28
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1051088
P39
Q502895
USER
How many people were responsible for occupying the position of Commissioner of Baseball ?
(c(Q502895),P39,Q1051088)
action count
action filter_type
action find_reverse
entity Q1051088
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1051088']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P39 resource:Q1051088 }
Commissioner of Baseball
action count
action filter_type
action find_reverse
entity Commissioner of Baseball
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Commissioner of Baseball']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ontology:common_name . ?i property:position_held resource:Commissioner_of_Baseball }
[]
common name
SYSTEM
8
Q3067674 Q3077090 Q573029 Q278559 Q3106481 Q2740420 Q2927496 Q713746
(c(Q502895),P39,Q1051088)
action count
action filter_type
action find_reverse
entity Q1051088
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q1051088']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P39 resource:Q1051088 }
Fay Vincent Ford Frick Happy Chandler A. Bartlett Giamatti Kenesaw Mountain Landis Bowie Kuhn Bud Selig Peter Ueberroth
8
action count
action filter_type
action find_reverse
entity Commissioner of Baseball
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Commissioner of Baseball']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ontology:common_name . ?i property:position_held resource:Commissioner_of_Baseball }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q10871364 Q2855502
P39 P106
Q502895
USER
Which people held the position of chief of police and are not working as baseball player ?
AND((c(Q502895),P39,Q2855502), NOT((c(Q502895),P106,Q10871364)))
action filter_type
action difference
action find_reverse
entity Q2855502
relation P39
action find_reverse
entity Q10871364
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q2855502'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q10871364']]}]}
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q2855502 . FILTER NOT EXISTS { ?s property:P106 resource:Q10871364 } . ?s rdf:type ontology:Q502895 }
baseball player chief of police
action filter_type
action difference
action find_reverse
entity chief of police
relation position held
action find_reverse
entity baseball player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'chief of police'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'baseball player']]}]}
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:chief_of_police . FILTER NOT EXISTS { ?s property:occupation resource:baseball_player } . ?s rdf:type ontology:common_name }
[]
common name
Q16156569 Q18148363 Q16196284 Q5217594 Q5000813 Q7350877 Q6260884 Q7328373 Q5545690 Q5295002
SYSTEM
Some of them are Ricky G. Adams, J. D. Batton, Steve Strachan, Daniel Isom, Burton Becker, Robert Warshaw, John Timoney, Richard Perkins, George W. Matsell, Donald Pomerleau
Q5335939 Q7342668 Q4933785 Q6186247 Q16019165 Q54678 Q5488103 Q720565 Q5341452 Q5126564 Q16196284 Q4917699 Q343830 Q5735790 Q9049116 Q16037693 Q6828323 Q1894995 Q5000813 Q7791665 Q1312401 Q1344993 Q5542770 Q16143016 Q5488333 Q4934320 Q5335227 Q5560545 Q16156569 Q7328245 Q3420958 Q6394623 Q5217594 Q6197632 Q1809858 Q7317454 Q7328361 Q6198884 Q7027681 Q5364475 Q5230988 Q5543149 Q4820839 Q8004090 Q6775256 Q7328373 Q5485231 Q8021626 Q4647693 Q6211403 Q7703280 Q7853343 Q6281864 Q5545690 Q15815981 Q7407426 Q7587557 Q6767532 Q7350877 Q2435266 Q5081694 Q5214135 Q5295002 Q7407300 Q6140256 Q6137076 Q15462901 Q6237907 Q6376874 Q6778451 Q19758168 Q1100480 Q7816726 Q6260884 Q5498217 Q18148363 Q16012074 Q5497913 Q7793445 Q1455514 Q16750583 Q1745311 Q5496067 Q5234909 Q4893317 Q7328011 Q7507811 Q7609862 Q16875402 Q7342607 Q505315
AND((c(Q502895),P39,Q2855502), NOT((c(Q502895),P106,Q10871364)))
action filter_type
action difference
action find_reverse
entity Q2855502
relation P39
action find_reverse
entity Q10871364
relation P106
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q2855502'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q10871364']]}]}
SELECT DISTINCT ?s WHERE { ?s property:P39 resource:Q2855502 . FILTER NOT EXISTS { ?s property:P106 resource:Q10871364 } . ?s rdf:type ontology:Q502895 }
Eddie Compass Robert C. White Bob Ricks Jesse Curry Patrick V. Murphy Jürgen Roters Frank Madigan Jerry Sanders Edward A. Flynn Clarence Harmon Steve Strachan Bishop Robinson Denver S. Dickerson Herbert Turner Jenkins Ned Locke Emmett Goodwin Michael B. Driver Margarete Koppers Burton Becker Thomas Lafayette Houchins Jr. Fred Heineman Frederick Dent Grant George N. Turner Rafael Piñeiro Frank McKetta Bob Wasserman Ed Norris Gil Kerlikowske Ricky G. Adams Richard P. Rosenthal Raymond Kelly Kerry Pettingill Daniel Isom Jim Purcell Albert Bond Lambert Reuben Greenberg Richard Pennington Jim Wetherington Nick Pastore Ella Bully-Cummings David B. Mitchell George Pabey August Vollmer William A. Worton Martin Dardis Richard Perkins Frank Battaglia Willie L. Williams A. DeWade Langley Joe Mokwa Terrance W. Gainer Tunney Hunsaker Joseph C. Carter George W. Matsell Horst Ende Sam Dotson St. Clair Augustine Mulholland Mark Ericks Robert Warshaw Tim McCarthy Charles Plummer Dan Oates Donald Pomerleau Sam Catron James N. Robey James K. Watkins O. W. Wilson John Harrington Kathleen O'Toole Marvin P. Iannone Kurt von Koseritz W. Cleon Skousen Tom Martin John Timoney Frederick Kohler J. D. Batton Thomas Gibbons Frederick H. Bealefeld III Thomas Reddin Georg Schertz Tom Brown Klaus Kandt Fred Peters David Hennessy Bernard Kerik Richard Neal Sid Hatfield Stephen M. Studdert Ronal W. Serpas Robert C. Haas Andrew J. Rogers
Ricky G. Adams J. D. Batton Steve Strachan Daniel Isom Burton Becker Robert Warshaw John Timoney Richard Perkins George W. Matsell Donald Pomerleau
action filter_type
action difference
action find_reverse
entity chief of police
relation position held
action find_reverse
entity baseball player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'chief of police'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'baseball player']]}]}
SELECT DISTINCT ?s WHERE { ?s property:position_held resource:chief_of_police . FILTER NOT EXISTS { ?s property:occupation resource:baseball_player } . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6260884
P1196
Q1931388
USER
What manner did John Timoney die ?
(Q6260884,P1196,c(Q1931388))
action filter_type
action find
entity Q6260884
relation P1196
type Q1931388
['Q6260884', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1931388 . resource:Q6260884 property:P1196 ?t }
John Timoney
action filter_type
action find
entity John Timoney
relation manner of death
type cause of death
['John Timoney', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:cause_of_death . resource:John_Timoney property:manner_of_death ?t }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6260884,P1196,c(Q1931388))
action filter_type
action find
entity Q6260884
relation P1196
type Q1931388
[ANSWER]
['Q6260884', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1931388 . resource:Q6260884 property:P1196 ?t }
natural causes
natural causes
action filter_type
action find
entity John Timoney
relation manner of death
type cause of death
['John Timoney', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:cause_of_death . resource:John_Timoney property:manner_of_death ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3739104 Q5074765
P1196
Q502895
USER
Does Charles "Buffalo" Jones have that one as type of death ?
(Q5074765,P1196,Q3739104)
action is_in
entity Q3739104
action find
entity Q5074765
relation P1196
['Q5074765', 'P1196', 'Q3739104']
ASK WHERE { resource:Q5074765 property:P1196 resource:Q3739104 }
natural causes Charles "Buffalo" Jones
action is_in
entity natural causes
action find
entity Charles "Buffalo" Jones
relation manner of death
['Charles "Buffalo" Jones', 'manner of death', 'natural causes']
ASK WHERE { resource:Charles_"Buffalo"_Jones property:manner_of_death resource:natural_causes }
[]
common name
SYSTEM
YES
(Q5074765,P1196,Q3739104)
action is_in
entity Q3739104
action find
entity Q5074765
relation P1196
[ANSWER]
['Q5074765', 'P1196', 'Q3739104']
ASK WHERE { resource:Q5074765 property:P1196 resource:Q3739104 }
Yes
action is_in
entity natural causes
action find
entity Charles "Buffalo" Jones
relation manner of death
['Charles "Buffalo" Jones', 'manner of death', 'natural causes']
ASK WHERE { resource:Charles_"Buffalo"_Jones property:manner_of_death resource:natural_causes }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16196284 Q82955
P106
Q12737077
USER
Does Steve Strachan do for a living politician ?
(Q16196284,P106,Q82955)
action is_in
entity Q82955
action find
entity Q16196284
relation P106
['Q16196284', 'P106', 'Q82955']
ASK WHERE { resource:Q16196284 property:P106 resource:Q82955 }
Steve Strachan politician
action is_in
entity politician
action find
entity Steve Strachan
relation occupation
['Steve Strachan', 'occupation', 'politician']
ASK WHERE { resource:Steve_Strachan property:occupation resource:politician }
[]
occupation
SYSTEM
YES
(Q16196284,P106,Q82955)
action is_in
entity Q82955
action find
entity Q16196284
relation P106
[ANSWER]
['Q16196284', 'P106', 'Q82955']
ASK WHERE { resource:Q16196284 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Steve Strachan
relation occupation
['Steve Strachan', 'occupation', 'politician']
ASK WHERE { resource:Steve_Strachan property:occupation resource:politician }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11593408 Q2855502
P17
Q15617994
USER
Which administrative territories are chief of police or Fukushima Prefecture Road Route 172 located in ?
OR((Q2855502,P17,c(Q15617994)), (Q11593408,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2855502
relation P17
action find
entity Q11593408
relation P17
type Q15617994
{'OR': [['Q2855502', 'P17', {'concept': 'Q15617994'}], ['Q11593408', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q11593408 property:P17 ?j } UNION { resource:Q2855502 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Fukushima Prefecture Road Route 172 chief of police
action filter_type
action union
action find
entity chief of police
relation country
action find
entity Fukushima Prefecture Road Route 172
relation country
type designation for an administrative territorial entity
{'OR': [['chief of police', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fukushima Prefecture Road Route 172', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Fukushima_Prefecture_Road_Route_172 property:country ?j } UNION { resource:chief_of_police property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q55 Q17
SYSTEM
Belgium, Netherlands, Japan
Q31 Q55 Q17
OR((Q2855502,P17,c(Q15617994)), (Q11593408,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2855502
relation P17
action find
entity Q11593408
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q2855502', 'P17', {'concept': 'Q15617994'}], ['Q11593408', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q11593408 property:P17 ?j } UNION { resource:Q2855502 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Belgium Netherlands Japan
Belgium Netherlands Japan
action filter_type
action union
action find
entity chief of police
relation country
action find
entity Fukushima Prefecture Road Route 172
relation country
type designation for an administrative territorial entity
{'OR': [['chief of police', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fukushima Prefecture Road Route 172', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Fukushima_Prefecture_Road_Route_172 property:country ?j } UNION { resource:chief_of_police property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]