Simple Question (Direct)
Simple Question
Q1372477
P27
Q1048835
USER
Which political territory is Eugen Englisch an inhabitant of ?
(Q1372477,P27,c(Q1048835))
action filter_type
action find
entity Q1372477
relation P27
type Q1048835
['Q1372477', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1372477 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Eugen Englisch
action filter_type
action find
entity Eugen Englisch
relation country of citizenship
type political territorial entity
['Eugen Englisch', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Eugen_Englisch property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1372477,P27,c(Q1048835))
action filter_type
action find
entity Q1372477
relation P27
type Q1048835
[ANSWER] is Eugen Englisch an inhabitant of
['Q1372477', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1372477 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany is Eugen Englisch an inhabitant of
Germany
action filter_type
action find
entity Eugen Englisch
relation country of citizenship
type political territorial entity
['Eugen Englisch', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Eugen_Englisch property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1372477
P106
Q12737077
USER
What are the job of Eugen Englisch ?
(Q1372477,P106,c(Q12737077))
action filter_type
action find
entity Q1372477
relation P106
type Q12737077
['Q1372477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1372477 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Eugen Englisch
action filter_type
action find
entity Eugen Englisch
relation occupation
type occupation
['Eugen Englisch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Eugen_Englisch property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q1622272 Q593644
SYSTEM
university teacher, chemist
Q1622272 Q593644
(Q1372477,P106,c(Q12737077))
action filter_type
action find
entity Q1372477
relation P106
type Q12737077
The job of Eugen Englisch are a [ANSWERS]
['Q1372477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1372477 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
university teacher chemist
The job of Eugen Englisch are a university teacher and chemist
university teacher chemist
action filter_type
action find
entity Eugen Englisch
relation occupation
type occupation
['Eugen Englisch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Eugen_Englisch property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2041965 Q183
P47 P530
Q1048835
USER
Which political territories holds diplomatic relationship with Germany or are bordered by Terrateig ?
OR((Q183,P530,c(Q1048835)), (Q2041965,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q2041965
relation P47
type Q1048835
{'OR': [['Q183', 'P530', {'concept': 'Q1048835'}], ['Q2041965', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q183 property:P530 ?k } UNION { resource:Q2041965 property:P47 ?k } } . ?k rdf:type ontology:Q1048835 }
Terrateig Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Terrateig
relation shares border with
type political territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Terrateig', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Germany property:diplomatic_relation ?k } UNION { resource:Terrateig property:shares_border_with ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1000 Q1918033 Q40 Q1770128 Q1993779 Q408 Q35 Q2269903 Q16 Q664
SYSTEM
Gabon, Almiserà, Austria, Lorcha/L'Orxa, Villalonga, Australia, Denmark, Llocnou de Sant Jeroni, Canada, New Zealand
Q1000 Q1918033 Q40 Q1770128 Q1993779 Q408 Q35 Q2269903 Q16 Q664
OR((Q183,P530,c(Q1048835)), (Q2041965,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q2041965
relation P47
type Q1048835
[ANSWERS] hold diplomatic relationship with Germany or are bordered by Terrateig
{'OR': [['Q183', 'P530', {'concept': 'Q1048835'}], ['Q2041965', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q183 property:P530 ?k } UNION { resource:Q2041965 property:P47 ?k } } . ?k rdf:type ontology:Q1048835 }
Gabon Almiserà Austria Lorcha/L'Orxa Villalonga Australia Denmark Llocnou de Sant Jeroni Canada New Zealand
Gabon, Almiserà, Austria, Lorcha/L'Orxa, Villalonga, Australia, Denmark, Llocnou de Sant Jeroni, Canada and New Zealand hold diplomatic relationship with Germany or are bordered by Terrateig
Gabon Almiserà Austria Lorcha/L'Orxa Villalonga Australia Denmark Llocnou de Sant Jeroni Canada New Zealand
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Terrateig
relation shares border with
type political territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Terrateig', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Germany property:diplomatic_relation ?k } UNION { resource:Terrateig property:shares_border_with ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q977
P463
Q484652
USER
How many international organizations were Australia and Djibouti a member of ?
(Q408,P463,c(Q484652)) (Q977,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q408
relation P463
type Q484652
action filter_type
action find
entity Q977
relation P463
type Q484652
['Q408', 'P463', {'concept': 'Q484652'}] ['Q977', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Q408 property:P463 ?b . ?b rdf:type ontology:Q484652 . resource:Q977 property:P463 ?b . ?b rdf:type ontology:Q484652 }
Australia Djibouti
action count
action intersection
action filter_type
action find
entity Australia
relation member of
type international organization
action filter_type
action find
entity Djibouti
relation member of
type international organization
['Australia', 'member of', {'concept': 'international organization'}] ['Djibouti', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Australia property:member_of ?b . ?b rdf:type ontology:international_organization . resource:Djibouti property:member_of ?b . ?b rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q408,P463,c(Q484652)) (Q977,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q408
relation P463
type Q484652
action filter_type
action find
entity Q977
relation P463
type Q484652
[ANSWER]
['Q408', 'P463', {'concept': 'Q484652'}] ['Q977', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Q408 property:P463 ?b . ?b rdf:type ontology:Q484652 . resource:Q977 property:P463 ?b . ?b rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Australia
relation member of
type international organization
action filter_type
action find
entity Djibouti
relation member of
type international organization
['Australia', 'member of', {'concept': 'international organization'}] ['Djibouti', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { resource:Australia property:member_of ?b . ?b rdf:type ontology:international_organization . resource:Djibouti property:member_of ?b . ?b rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q145 Q16
P27
Q502895
USER
Which people are a native of Canada and United Kingdom ?
AND((c(Q502895),P27,Q16), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q16
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q16'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?h WHERE { ?h property:P27 resource:Q16 . ?h property:P27 resource:Q145 . ?h rdf:type ontology:Q502895 }
United Kingdom Canada
action filter_type
action intersection
action find_reverse
entity Canada
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Canada'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?h WHERE { ?h property:country_of_citizenship resource:Canada . ?h property:country_of_citizenship resource:United_Kingdom . ?h rdf:type ontology:common_name }
[]
common name
Q1524035 Q6235633 Q192955 Q6200093 Q2451052 Q21524308 Q292791 Q361076 Q5108470 Q23925409
SYSTEM
Some of them are Gilbert Norwood, John Goldie, Steve Nash, Jimmy Ferguson, Zoie Palmer, Alban Dewes Winspear, Beatrice Lillie, Tommy Anderson, Chris Wiggins, Thomas James Muckle
Q2577768 Q295328 Q292791 Q7350405 Q4960740 Q6192829 Q4756416 Q3832544 Q1396262 Q573751 Q1485766 Q3296143 Q12804215 Q3308407 Q15506292 Q508605 Q6306160 Q24698763 Q2451052 Q3101466 Q1701904 Q1257757 Q6555732 Q21524308 Q712880 Q6384165 Q536143 Q20821199 Q2821887 Q6130956 Q15457098 Q5528217 Q594781 Q7225155 Q1108447 Q267772 Q435216 Q4151006 Q1391982 Q3108724 Q1524035 Q516082 Q2474750 Q6235633 Q1743824 Q1995318 Q1174872 Q18581903 Q506352 Q4710331 Q1727248 Q17418649 Q434622 Q6248573 Q721273 Q3369876 Q522801 Q1346720 Q209175 Q6221604 Q249544 Q21524320 Q6080925 Q2134158 Q279229 Q2076985 Q336131 Q192955 Q438330 Q1382650 Q6237682 Q5584614 Q5540279 Q1599775 Q6193692 Q721323 Q7704747 Q378344 Q6259117 Q7346781 Q3376930 Q353640 Q6264906 Q912791 Q23925409 Q1395289 Q6200093 Q6551657 Q551558 Q1701251 Q185724 Q468228 Q1173997 Q4859675 Q6178821 Q3337833 Q16096934 Q2444251 Q6233922 Q1319495 Q6218085 Q6791377 Q432245 Q5079429 Q1634349 Q15462704 Q325573 Q6181057 Q403878 Q4307603 Q7966104 Q460665 Q4685114 Q16003690 Q23890977 Q2846728 Q5539954 Q468600 Q332454 Q103946 Q2061052 Q4867145 Q333913 Q8013602 Q505983 Q3499029 Q2580988 Q4267467 Q5108470 Q41411 Q5544379 Q15502240 Q361076 Q7183387 Q137634 Q4062575 Q1929400 Q472873 Q3105994 Q14514947 Q229207 Q15729633 Q6988954 Q809082 Q14949515 Q234244 Q48979 Q647447 Q6198724 Q3337847 Q3106605 Q20895339 Q129916 Q6774452 Q901137 Q5497454 Q6662694 Q5144959
AND((c(Q502895),P27,Q16), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q16
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
As [ANSWERS] are a native of Canada and United Kingdom
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q16'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?h WHERE { ?h property:P27 resource:Q16 . ?h property:P27 resource:Q145 . ?h rdf:type ontology:Q502895 }
Bill Adkins Lennox Lewis Beatrice Lillie Robert Timbrell Brenda McDonald Jill Frappier Andrew Brewin Lina Eckenstein Molly Brant Anthony Pawson Alfred Ewert Mary Balogh Tom Priestly Michael Novosad John Richardson Barbara Kelly Julia Adamson James Bradburne Zoie Palmer George Carey John Teague Frank Prewett Lionel Murton Alban Dewes Winspear Long John Baldry Keith Campbell Kate Reid Peter Edwards Abram William Lauder James Campbell Kenneth Elloway Gavin McInnes Francis Rattenbury Jack Riley Colin Francis MacKinnon Garry Chalk Thomas Henry Manning Mackenzie Gray Robbie Ross Zoltán Pál Dienes Gilbert Norwood Colin Ferguson Roy Thomson John Goldie Kit Hood Noel B. Radford David Jensen Rob Cooke Roger Spottiswoode Albert Goodwin Albert Smythe Sam Black Alan Walker John Metcalf Richard Ian Cox Patrick Sykes Alexander Hall Thomas Chandler Haliburton Kim Cattrall John Bentley Arthur Hailey Humfrey Michell Isidore Gordon Ascher Raymond Hull Amy Price-Francis Peter McGill Scott Speedman Steve Nash Jo Walton Richard Gavin Reid John Hanson Gord Mills George Harry Webster Alexander Henderson Jim Blackley John Neville Terry Matthews Wilfred Thomason Grenfell John Stevenson McDonald Robert Leckie Peter Trent David Hewlett John Wort Hannam Brian Moore Thomas James Muckle Sam Roberts Jimmy Ferguson Linda Hoyle Callum Keith Rennie John Oliver Mike Myers Brenda Milner David Christie Barbie Wilde Jennifer Shay Neil Munro Jimmy Dale Janet Wright John Francis Moore Julian Richings John Abram Matthew Walker Peter Wildeblood Charles James Campbell Hugh Garner Jackie Rae William Kennedy Jeremy Akerman Aidan Devine Dora Mavor Moore Walter Scott MacFarlane Hannah Simone Adrian Holmes Sydney Gooday Paul O'Brien Andrew Sharp George Grube Sandrine Holt Max Aitken, 1st Baron Beaverbrook Kiefer Sutherland Paul Lynch Basil Deacon Hobbs Joseph Martin William John Chapman Benson Chris Gauthier Steve Moria William Wasbrough Foster George Lawson Chris Wiggins Sandford Fleming George Scott Wallace Tom Lewis Tommy Anderson Philip Craig Jackie Burroughs John F. Allen Michael Sinelnikoff H. J. Rose Giles Walker Timothy C. Lethbridge Amanda Tapping Malvina Bolus Neil McCallum Barry Morse Mark Parry Anna Leonowens Richard Laurence Millington Synge Leo Smith Jim Walker Neill Fearnley Gillian Barber Matthew Skelton Harold Scott MacDonald Coxeter Martha Ladly Warren Christie Frederick C. Alderdice Lloyd Powell Colin Campbell
As Gilbert Norwood, John Goldie, Steve Nash, Jimmy Ferguson, Zoie Palmer, Alban Dewes Winspear, Beatrice Lillie, Tommy Anderson, Chris Wiggins and Thomas James Muckle are a native of Canada and United Kingdom
Gilbert Norwood John Goldie Steve Nash Jimmy Ferguson Zoie Palmer Alban Dewes Winspear Beatrice Lillie Tommy Anderson Chris Wiggins Thomas James Muckle
action filter_type
action intersection
action find_reverse
entity Canada
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Canada'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?h WHERE { ?h property:country_of_citizenship resource:Canada . ?h property:country_of_citizenship resource:United_Kingdom . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1524035 Q6235633 Q192955 Q6200093 Q2451052 Q21524308 Q292791 Q361076 Q5108470 Q23925409
P21
Q290
USER
Which sexes do those people belong to ?
(Q1524035,P21,c(Q290)) (Q6235633,P21,c(Q290)) (Q192955,P21,c(Q290)) (Q6200093,P21,c(Q290)) (Q2451052,P21,c(Q290)) (Q21524308,P21,c(Q290)) (Q292791,P21,c(Q290)) (Q361076,P21,c(Q290)) (Q5108470,P21,c(Q290)) (Q23925409,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1524035', 'P21', {'concept': 'Q290'}] ['Q6235633', 'P21', {'concept': 'Q290'}] ['Q192955', 'P21', {'concept': 'Q290'}] ['Q6200093', 'P21', {'concept': 'Q290'}] ['Q2451052', 'P21', {'concept': 'Q290'}] ['Q21524308', 'P21', {'concept': 'Q290'}] ['Q292791', 'P21', {'concept': 'Q290'}] ['Q361076', 'P21', {'concept': 'Q290'}] ['Q5108470', 'P21', {'concept': 'Q290'}] ['Q23925409', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?l property:P21 ?t . ?t rdf:type ontology:Q290 . VALUES ( ?l ) { ( resource:Q2577768 ) ( resource:Q295328 ) ( resource:Q292791 ) } }
Gilbert Norwood John Goldie Steve Nash Jimmy Ferguson Zoie Palmer Alban Dewes Winspear Beatrice Lillie Tommy Anderson Chris Wiggins Thomas James Muckle
action filter_type
action find
entity prev_answer
relation gender
type sex
['Gilbert Norwood', 'gender', {'concept': 'sex'}] ['John Goldie', 'gender', {'concept': 'sex'}] ['Steve Nash', 'gender', {'concept': 'sex'}] ['Jimmy Ferguson', 'gender', {'concept': 'sex'}] ['Zoie Palmer', 'gender', {'concept': 'sex'}] ['Alban Dewes Winspear', 'gender', {'concept': 'sex'}] ['Beatrice Lillie', 'gender', {'concept': 'sex'}] ['Tommy Anderson', 'gender', {'concept': 'sex'}] ['Chris Wiggins', 'gender', {'concept': 'sex'}] ['Thomas James Muckle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?l property:gender ?t . ?t rdf:type ontology:sex . VALUES ( ?l ) { ( resource:Bill_Adkins ) ( resource:Lennox_Lewis ) ( resource:Beatrice_Lillie ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581097 Q6581097
(Q1524035,P21,c(Q290)) (Q6235633,P21,c(Q290)) (Q192955,P21,c(Q290)) (Q6200093,P21,c(Q290)) (Q2451052,P21,c(Q290)) (Q21524308,P21,c(Q290)) (Q292791,P21,c(Q290)) (Q361076,P21,c(Q290)) (Q5108470,P21,c(Q290)) (Q23925409,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q1524035', 'P21', {'concept': 'Q290'}] ['Q6235633', 'P21', {'concept': 'Q290'}] ['Q192955', 'P21', {'concept': 'Q290'}] ['Q6200093', 'P21', {'concept': 'Q290'}] ['Q2451052', 'P21', {'concept': 'Q290'}] ['Q21524308', 'P21', {'concept': 'Q290'}] ['Q292791', 'P21', {'concept': 'Q290'}] ['Q361076', 'P21', {'concept': 'Q290'}] ['Q5108470', 'P21', {'concept': 'Q290'}] ['Q23925409', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?l property:P21 ?t . ?t rdf:type ontology:Q290 . VALUES ( ?l ) { ( resource:Q2577768 ) ( resource:Q295328 ) ( resource:Q292791 ) } }
male male male male female male female male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Gilbert Norwood', 'gender', {'concept': 'sex'}] ['John Goldie', 'gender', {'concept': 'sex'}] ['Steve Nash', 'gender', {'concept': 'sex'}] ['Jimmy Ferguson', 'gender', {'concept': 'sex'}] ['Zoie Palmer', 'gender', {'concept': 'sex'}] ['Alban Dewes Winspear', 'gender', {'concept': 'sex'}] ['Beatrice Lillie', 'gender', {'concept': 'sex'}] ['Tommy Anderson', 'gender', {'concept': 'sex'}] ['Chris Wiggins', 'gender', {'concept': 'sex'}] ['Thomas James Muckle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?l property:gender ?t . ?t rdf:type ontology:sex . VALUES ( ?l ) { ( resource:Bill_Adkins ) ( resource:Lennox_Lewis ) ( resource:Beatrice_Lillie ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192955
P7
Q502895
USER
Which person has Steve Nash as their brother ?
(c(Q502895),P7,Q192955)
action filter_type
action find
entity Q192955
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q192955']
SELECT DISTINCT ?e WHERE { resource:Q192955 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Steve Nash
action filter_type
action find
entity Steve Nash
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Steve Nash']
SELECT DISTINCT ?e WHERE { resource:Steve_Nash property:brother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q546765
SYSTEM
Martin Nash
Q546765
(c(Q502895),P7,Q192955)
action filter_type
action find
entity Q192955
relation P7
type Q502895
[ANSWER] has Steve Nash as their brother
[{'concept': 'Q502895'}, 'P7', 'Q192955']
SELECT DISTINCT ?e WHERE { resource:Q192955 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Martin Nash
Martin Nash has Steve Nash as their brother
Martin Nash
action filter_type
action find
entity Steve Nash
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Steve Nash']
SELECT DISTINCT ?e WHERE { resource:Steve_Nash property:brother ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192955
P1411
Q618779
USER
Which award was Steve Nash nominated for ?
(Q192955,P1411,c(Q618779))
action filter_type
action find
entity Q192955
relation P1411
type Q618779
['Q192955', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q192955 property:P1411 ?r . ?r rdf:type ontology:Q618779 }
Steve Nash
action filter_type
action find
entity Steve Nash
relation nominated for
type award
['Steve Nash', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Steve_Nash property:nominated_for ?r . ?r rdf:type ontology:award }
[]
award
Q943106
SYSTEM
Best NBA Player ESPY Award
Q943106
(Q192955,P1411,c(Q618779))
action filter_type
action find
entity Q192955
relation P1411
type Q618779
Steve Nash was nominated for [ANSWER]
['Q192955', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q192955 property:P1411 ?r . ?r rdf:type ontology:Q618779 }
Best NBA Player ESPY Award
Steve Nash was nominated for Best NBA Player ESPY Award
Best NBA Player ESPY Award
action filter_type
action find
entity Steve Nash
relation nominated for
type award
['Steve Nash', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Steve_Nash property:nominated_for ?r . ?r rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1077
Q618779
USER
And what about Star Trek: The Original Series?
(Q1077,P1411,c(Q618779))
action filter_type
action find
entity Q1077
relation P1411
type Q618779
['Q1077', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q1077 property:P1411 ?k . ?k rdf:type ontology:Q618779 }
Star Trek: The Original Series
action filter_type
action find
entity Star Trek: The Original Series
relation nominated for
type award
['Star Trek: The Original Series', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Star_Trek:_The_Original_Series property:nominated_for ?k . ?k rdf:type ontology:award }
[]
award
Q1285970 Q1286639 Q989438
SYSTEM
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series, Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series, Primetime Emmy Award for Outstanding Drama Series
Q1286639 Q1285970 Q989438 Q1271740
(Q1077,P1411,c(Q618779))
action filter_type
action find
entity Q1077
relation P1411
type Q618779
[ANSWERS]
['Q1077', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q1077 property:P1411 ?k . ?k rdf:type ontology:Q618779 }
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Primetime Emmy Award for Outstanding Drama Series Saturn Award for Best Retro Television Series on DVD
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Primetime Emmy Award for Outstanding Drama Series
action filter_type
action find
entity Star Trek: The Original Series
relation nominated for
type award
['Star Trek: The Original Series', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Star_Trek:_The_Original_Series property:nominated_for ?k . ?k rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3505375
P1411
Q15416
USER
Did Skärgårdsdoktorn receive nomination for those awards ?
(Q3505375,P1411,Q1285970) (Q3505375,P1411,Q1286639) (Q3505375,P1411,Q989438)
action is_in
entity prev_answer
action find
entity Q3505375
relation P1411
['Q3505375', 'P1411', 'Q1285970'] ['Q3505375', 'P1411', 'Q1286639'] ['Q3505375', 'P1411', 'Q989438']
ASK WHERE { resource:Q3505375 property:P1411 ?n . VALUES ( ?n ) { ( resource:Q1286639 ) ( resource:Q1285970 ) ( resource:Q989438 ) } }
Skärgårdsdoktorn
action is_in
entity prev_answer
action find
entity Skärgårdsdoktorn
relation nominated for
['Skärgårdsdoktorn', 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] ['Skärgårdsdoktorn', 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series'] ['Skärgårdsdoktorn', 'nominated for', 'Primetime Emmy Award for Outstanding Drama Series']
ASK WHERE { resource:Skärgårdsdoktorn property:nominated_for ?n . VALUES ( ?n ) { ( resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Drama_Series ) ( resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series ) ( resource:Primetime_Emmy_Award_for_Outstanding_Drama_Series ) } }
[]
television program
SYSTEM
NO
(Q3505375,P1411,Q1285970) (Q3505375,P1411,Q1286639) (Q3505375,P1411,Q989438)
action is_in
entity prev_answer
action find
entity Q3505375
relation P1411
[ANSWER]
['Q3505375', 'P1411', 'Q1285970'] ['Q3505375', 'P1411', 'Q1286639'] ['Q3505375', 'P1411', 'Q989438']
ASK WHERE { resource:Q3505375 property:P1411 ?n . VALUES ( ?n ) { ( resource:Q1286639 ) ( resource:Q1285970 ) ( resource:Q989438 ) } }
No
action is_in
entity prev_answer
action find
entity Skärgårdsdoktorn
relation nominated for
['Skärgårdsdoktorn', 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] ['Skärgårdsdoktorn', 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series'] ['Skärgårdsdoktorn', 'nominated for', 'Primetime Emmy Award for Outstanding Drama Series']
ASK WHERE { resource:Skärgårdsdoktorn property:nominated_for ?n . VALUES ( ?n ) { ( resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Drama_Series ) ( resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series ) ( resource:Primetime_Emmy_Award_for_Outstanding_Drama_Series ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21712254 Q1524035
P27
Q1048835
USER
Which political territories are Gilbert Norwood or Reinhold Rebhandl a civilian of ?
OR((Q1524035,P27,c(Q1048835)), (Q21712254,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1524035
relation P27
action find
entity Q21712254
relation P27
type Q1048835
{'OR': [['Q1524035', 'P27', {'concept': 'Q1048835'}], ['Q21712254', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:P27 ?s . VALUES ( ?r ) { ( resource:Q1524035 ) ( resource:Q21712254 ) } } . ?s rdf:type ontology:Q1048835 }
Reinhold Rebhandl Gilbert Norwood
action filter_type
action union
action find
entity Gilbert Norwood
relation country of citizenship
action find
entity Reinhold Rebhandl
relation country of citizenship
type political territorial entity
{'OR': [['Gilbert Norwood', 'country of citizenship', {'concept': 'political territorial entity'}], ['Reinhold Rebhandl', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:country_of_citizenship ?s . VALUES ( ?r ) { ( resource:Gilbert_Norwood ) ( resource:Reinhold_Rebhandl ) } } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q40
SYSTEM
Canada, Austria
Q16 Q40
OR((Q1524035,P27,c(Q1048835)), (Q21712254,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1524035
relation P27
action find
entity Q21712254
relation P27
type Q1048835
[ANSWERS] are Gilbert Norwood or Reinhold Rebhandl a civilian of
{'OR': [['Q1524035', 'P27', {'concept': 'Q1048835'}], ['Q21712254', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:P27 ?s . VALUES ( ?r ) { ( resource:Q1524035 ) ( resource:Q21712254 ) } } . ?s rdf:type ontology:Q1048835 }
Canada Austria
Canada and Austria are Gilbert Norwood or Reinhold Rebhandl a civilian of
Canada Austria
action filter_type
action union
action find
entity Gilbert Norwood
relation country of citizenship
action find
entity Reinhold Rebhandl
relation country of citizenship
type political territorial entity
{'OR': [['Gilbert Norwood', 'country of citizenship', {'concept': 'political territorial entity'}], ['Reinhold Rebhandl', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?r property:country_of_citizenship ?s . VALUES ( ?r ) { ( resource:Gilbert_Norwood ) ( resource:Reinhold_Rebhandl ) } } . ?s rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q444465
P27
Q502895
USER
Are Michael Stewart a native of those political territories ?
(Q444465,P27,Q16) (Q444465,P27,Q40)
action is_in
entity prev_answer
action find
entity Q444465
relation P27
['Q444465', 'P27', 'Q16'] ['Q444465', 'P27', 'Q40']
ASK WHERE { VALUES ( ?k ) { ( resource:Q16 ) ( resource:Q40 ) } . resource:Q444465 property:P27 ?k }
Michael Stewart
action is_in
entity prev_answer
action find
entity Michael Stewart
relation country of citizenship
['Michael Stewart', 'country of citizenship', 'Canada'] ['Michael Stewart', 'country of citizenship', 'Austria']
ASK WHERE { VALUES ( ?k ) { ( resource:Canada ) ( resource:Austria ) } . resource:Michael_Stewart property:country_of_citizenship ?k }
[]
common name
SYSTEM
YES
(Q444465,P27,Q16) (Q444465,P27,Q40)
action is_in
entity prev_answer
action find
entity Q444465
relation P27
[ANSWER]
['Q444465', 'P27', 'Q16'] ['Q444465', 'P27', 'Q40']
ASK WHERE { VALUES ( ?k ) { ( resource:Q16 ) ( resource:Q40 ) } . resource:Q444465 property:P27 ?k }
Yes
action is_in
entity prev_answer
action find
entity Michael Stewart
relation country of citizenship
['Michael Stewart', 'country of citizenship', 'Canada'] ['Michael Stewart', 'country of citizenship', 'Austria']
ASK WHERE { VALUES ( ?k ) { ( resource:Canada ) ( resource:Austria ) } . resource:Michael_Stewart property:country_of_citizenship ?k }
[]