Simple Question (Direct)
Simple Question
Q7700520
P102
Q7210356
USER
Which party does Tennyson Guyer belong to ?
(Q7700520,P102,c(Q7210356))
action filter_type
action find
entity Q7700520
relation P102
type Q7210356
['Q7700520', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q7700520 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Tennyson Guyer
action filter_type
action find
entity Tennyson Guyer
relation member of political party
type political organization
['Tennyson Guyer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Tennyson_Guyer property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q7700520,P102,c(Q7210356))
action filter_type
action find
entity Q7700520
relation P102
type Q7210356
Tennyson Guyer belongs to [ANSWER]
['Q7700520', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q7700520 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Republican Party
Tennyson Guyer belongs to Republican Party
Republican Party
action filter_type
action find
entity Tennyson Guyer
relation member of political party
type political organization
['Tennyson Guyer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Tennyson_Guyer property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P463
Q502895
USER
Who is a member of that political organization ?
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?n WHERE { ?n property:P463 resource:Q29468 . ?n rdf:type ontology:Q502895 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?n WHERE { ?n property:member_of resource:Republican_Party . ?n rdf:type ontology:common_name }
[]
common name
Q2522486
SYSTEM
Victor Murdock
Q2522486
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
A member of that political organization is the [ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?n WHERE { ?n property:P463 resource:Q29468 . ?n rdf:type ontology:Q502895 }
Victor Murdock
A member of that political organization is the Victor Murdock
Victor Murdock
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?n WHERE { ?n property:member_of resource:Republican_Party . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29468 Q214102
P102
Q502895
USER
How many people are the members of Republican Party and Union ?
(c(Q502895),P102,Q29468) (c(Q502895),P102,Q214102)
action count
action intersection
action filter_type
action find_reverse
entity Q29468
relation P102
type Q502895
action filter_type
action find_reverse
entity Q214102
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q29468'] [{'concept': 'Q502895'}, 'P102', 'Q214102']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P102 resource:Q214102 . ?d rdf:type ontology:Q502895 . ?d property:P102 resource:Q29468 . ?d rdf:type ontology:Q502895 }
Republican Party Union
action count
action intersection
action filter_type
action find_reverse
entity Republican Party
relation member of political party
type common name
action filter_type
action find_reverse
entity Union
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Republican Party'] [{'concept': 'common name'}, 'member of political party', 'Union']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:member_of_political_party resource:Union . ?d rdf:type ontology:common_name . ?d property:member_of_political_party resource:Republican_Party . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q7794539 Q1673441
(c(Q502895),P102,Q29468) (c(Q502895),P102,Q214102)
action count
action intersection
action filter_type
action find_reverse
entity Q29468
relation P102
type Q502895
action filter_type
action find_reverse
entity Q214102
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q29468'] [{'concept': 'Q502895'}, 'P102', 'Q214102']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P102 resource:Q214102 . ?d rdf:type ontology:Q502895 . ?d property:P102 resource:Q29468 . ?d rdf:type ontology:Q502895 }
Thomas Treadwell Davis Isaac Roberts Hawkins
2
action count
action intersection
action filter_type
action find_reverse
entity Republican Party
relation member of political party
type common name
action filter_type
action find_reverse
entity Union
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Republican Party'] [{'concept': 'common name'}, 'member of political party', 'Union']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:member_of_political_party resource:Union . ?d rdf:type ontology:common_name . ?d property:member_of_political_party resource:Republican_Party . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P710
Q40231
USER
Which election did Republican Party participate in ?
(c(Q40231),P710,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
[{'concept': 'Q40231'}, 'P710', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P710 resource:Q29468 . ?c rdf:type ontology:Q40231 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:participant resource:Republican_Party . ?c rdf:type ontology:election }
[]
election
Q17092711
SYSTEM
Republican Party presidential primaries, 2016
Q17092711
(c(Q40231),P710,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
Republican Party participated in [ANSWER]
[{'concept': 'Q40231'}, 'P710', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P710 resource:Q29468 . ?c rdf:type ontology:Q40231 }
Republican Party presidential primaries, 2016
Republican Party participated in Republican Party presidential primaries, 2016
Republican Party presidential primaries, 2016
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:participant resource:Republican_Party . ?c rdf:type ontology:election }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17092711
P17
Q15617994
USER
Which administrative territory is that election a part of ?
(Q17092711,P17,c(Q15617994))
action filter_type
action find
entity Q17092711
relation P17
type Q15617994
['Q17092711', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q17092711 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Republican Party presidential primaries, 2016
action filter_type
action find
entity Republican Party presidential primaries, 2016
relation country
type designation for an administrative territorial entity
['Republican Party presidential primaries, 2016', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Republican_Party_presidential_primaries,_2016 property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q17092711,P17,c(Q15617994))
action filter_type
action find
entity Q17092711
relation P17
type Q15617994
The [ANSWER] is that election a part of
['Q17092711', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q17092711 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
The United States of America is that election a part of
United States of America
action filter_type
action find
entity Republican Party presidential primaries, 2016
relation country
type designation for an administrative territorial entity
['Republican Party presidential primaries, 2016', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Republican_Party_presidential_primaries,_2016 property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with atleast 2 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 2
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?j ) WHERE { ?p property:P530 ?x . ?p rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?j >= 2 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?j ) WHERE { ?p property:diplomatic_relation ?x . ?p rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?j >= 2 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?j ) WHERE { ?p property:P530 ?x . ?p rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?j >= 2 ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?j ) WHERE { ?p property:diplomatic_relation ?x . ?p rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?j >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with around 116 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 116
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?k = 116 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 116
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?k = 116 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 116
[ANSWERS] are known to have diplomatic connections with around 116 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?k = 116 ) }
Germany Australia
Germany and Australia are known to have diplomatic connections with around 116 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 116
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?k ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?k = 116 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7137794 Q29468
P17
Q15617994
USER
Which administrative territories are Republican Party or Park House, Chester present in ?
OR((Q29468,P17,c(Q15617994)), (Q7137794,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29468
relation P17
action find
entity Q7137794
relation P17
type Q15617994
{'OR': [['Q29468', 'P17', {'concept': 'Q15617994'}], ['Q7137794', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q29468 property:P17 ?e } UNION { resource:Q7137794 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Park House, Chester Republican Party
action filter_type
action union
action find
entity Republican Party
relation country
action find
entity Park House, Chester
relation country
type designation for an administrative territorial entity
{'OR': [['Republican Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Park House, Chester', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Republican_Party property:country ?e } UNION { resource:Park_House,_Chester property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q29468,P17,c(Q15617994)), (Q7137794,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29468
relation P17
action find
entity Q7137794
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q29468', 'P17', {'concept': 'Q15617994'}], ['Q7137794', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q29468 property:P17 ?e } UNION { resource:Q7137794 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
United States of America United Kingdom
Which administrative territories are Republican Party or Park House, Chester present in
United States of America United Kingdom
action filter_type
action union
action find
entity Republican Party
relation country
action find
entity Park House, Chester
relation country
type designation for an administrative territorial entity
{'OR': [['Republican Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Park House, Chester', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Republican_Party property:country ?e } UNION { resource:Park_House,_Chester property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P108
Q6619679
USER
Which fictional humanoid works for United Kingdom ?
(c(Q6619679),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q6619679
[{'concept': 'Q6619679'}, 'P108', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q145 . ?t rdf:type ontology:Q6619679 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation employer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:United_Kingdom . ?t rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2009573
SYSTEM
James Bond
Q2009573
(c(Q6619679),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q6619679
[ANSWER] works for United Kingdom
[{'concept': 'Q6619679'}, 'P108', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q145 . ?t rdf:type ontology:Q6619679 }
James Bond
James Bond works for United Kingdom
James Bond
action filter_type
action find_reverse
entity United Kingdom
relation employer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:United_Kingdom . ?t rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2009573
P1050
Q12136
USER
Which disease does that fictional humanoid suffer from ?
(Q2009573,P1050,c(Q12136))
action filter_type
action find
entity Q2009573
relation P1050
type Q12136
['Q2009573', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ?f WHERE { resource:Q2009573 property:P1050 ?f . ?f rdf:type ontology:Q12136 }
James Bond
action filter_type
action find
entity James Bond
relation medical condition
type disease
['James Bond', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ?f WHERE { resource:James_Bond property:medical_condition ?f . ?f rdf:type ontology:disease }
[]
disease
Q15326
SYSTEM
alcoholism
Q15326
(Q2009573,P1050,c(Q12136))
action filter_type
action find
entity Q2009573
relation P1050
type Q12136
That fictional humanoid suffers from [ANSWER]
['Q2009573', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ?f WHERE { resource:Q2009573 property:P1050 ?f . ?f rdf:type ontology:Q12136 }
alcoholism
That fictional humanoid suffers from alcoholism
alcoholism
action filter_type
action find
entity James Bond
relation medical condition
type disease
['James Bond', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ?f WHERE { resource:James_Bond property:medical_condition ?f . ?f rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q748965
P6
Q502895
USER
How many people are the heads of the government of Germany or Varna Municipality ?
(Q183,P6,c(Q502895)) (Q748965,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q183
relation P6
type Q502895
action filter_type
action find
entity Q748965
relation P6
type Q502895
['Q183', 'P6', {'concept': 'Q502895'}] ['Q748965', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { resource:Q183 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q748965 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Germany Varna Municipality
action count
action union
action filter_type
action find
entity Germany
relation head of government
type common name
action filter_type
action find
entity Varna Municipality
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}] ['Varna Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { resource:Germany property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { resource:Varna_Municipality property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]
common name
SYSTEM
10
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q12281147 Q567
(Q183,P6,c(Q502895)) (Q748965,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q183
relation P6
type Q502895
action filter_type
action find
entity Q748965
relation P6
type Q502895
[ANSWER]
['Q183', 'P6', {'concept': 'Q502895'}] ['Q748965', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { resource:Q183 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q748965 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Ivan Portnih Angela Merkel
10
action count
action union
action filter_type
action find
entity Germany
relation head of government
type common name
action filter_type
action find
entity Varna Municipality
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}] ['Varna Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { resource:Germany property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { resource:Varna_Municipality property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24283568 Q2009573
P1441
Q838948
USER
Which works of art are James Bond or Plumette present in ?
OR((Q2009573,P1441,c(Q838948)), (Q24283568,P1441,c(Q838948)))
action filter_type
action union
action find
entity Q2009573
relation P1441
action find
entity Q24283568
relation P1441
type Q838948
{'OR': [['Q2009573', 'P1441', {'concept': 'Q838948'}], ['Q24283568', 'P1441', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . { VALUES ( ?s ) { ( resource:Q2009573 ) ( resource:Q24283568 ) } . ?s property:P1441 ?m } }
Plumette James Bond
action filter_type
action union
action find
entity James Bond
relation present in work
action find
entity Plumette
relation present in work
type work of art
{'OR': [['James Bond', 'present in work', {'concept': 'work of art'}], ['Plumette', 'present in work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . { VALUES ( ?s ) { ( resource:James_Bond ) ( resource:Plumette ) } . ?s property:present_in_work ?m } }
[]
work of art
Q309289 Q151904 Q107894 Q102754 Q591272 Q4941 Q272064 Q181540 Q332368 Q30931
SYSTEM
Some of them are The Man with the Golden Gun, Casino Royale, On Her Majesty's Secret Service, Dr. No, Casino Royale, Skyfall, The Living Daylights, Quantum of Solace, A View to a Kill, Die Another Day
Q207916 Q107724 Q102754 Q320423 Q332330 Q212145 Q19089 Q19946102 Q151904 Q30931 Q107894 Q272064 Q591272 Q334780 Q18602670 Q309289 Q107914 Q27204 Q332368 Q204398 Q4941 Q180279 Q181540 Q106571 Q309086 Q107761
OR((Q2009573,P1441,c(Q838948)), (Q24283568,P1441,c(Q838948)))
action filter_type
action union
action find
entity Q2009573
relation P1441
action find
entity Q24283568
relation P1441
type Q838948
[ANSWERS]
{'OR': [['Q2009573', 'P1441', {'concept': 'Q838948'}], ['Q24283568', 'P1441', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . { VALUES ( ?s ) { ( resource:Q2009573 ) ( resource:Q24283568 ) } . ?s property:P1441 ?m } }
Tomorrow Never Dies Thunderball Dr. No The Spy Who Loved Me For Your Eyes Only The World Is Not Enough GoldenEye Beauty and the Beast Casino Royale Die Another Day On Her Majesty's Secret Service The Living Daylights Casino Royale Moonraker Spectre The Man with the Golden Gun Diamonds Are Forever Live and Let Die A View to a Kill Octopussy Skyfall Never Say Never Again Quantum of Solace From Russia with Love Licence to Kill You Only Live Twice
Which works of art are James Bond or Plumette present in
The Man with the Golden Gun Casino Royale On Her Majesty's Secret Service Dr. No Casino Royale Skyfall The Living Daylights Quantum of Solace A View to a Kill Die Another Day
action filter_type
action union
action find
entity James Bond
relation present in work
action find
entity Plumette
relation present in work
type work of art
{'OR': [['James Bond', 'present in work', {'concept': 'work of art'}], ['Plumette', 'present in work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . { VALUES ( ?s ) { ( resource:James_Bond ) ( resource:Plumette ) } . ?s property:present_in_work ?m } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7372778
P1441
Q6619679
USER
Are Roy Evans seen in those works of art ?
(Q7372778,P1441,Q309289) (Q7372778,P1441,Q151904) (Q7372778,P1441,Q107894) (Q7372778,P1441,Q102754) (Q7372778,P1441,Q591272) (Q7372778,P1441,Q4941) (Q7372778,P1441,Q272064) (Q7372778,P1441,Q181540) (Q7372778,P1441,Q332368) (Q7372778,P1441,Q30931)
action is_in
entity prev_answer
action find
entity Q7372778
relation P1441
['Q7372778', 'P1441', 'Q309289'] ['Q7372778', 'P1441', 'Q151904'] ['Q7372778', 'P1441', 'Q107894'] ['Q7372778', 'P1441', 'Q102754'] ['Q7372778', 'P1441', 'Q591272'] ['Q7372778', 'P1441', 'Q4941'] ['Q7372778', 'P1441', 'Q272064'] ['Q7372778', 'P1441', 'Q181540'] ['Q7372778', 'P1441', 'Q332368'] ['Q7372778', 'P1441', 'Q30931']
ASK WHERE { VALUES ( ?j ) { ( resource:Q207916 ) ( resource:Q107724 ) ( resource:Q102754 ) } . resource:Q7372778 property:P1441 ?j }
Roy Evans
action is_in
entity prev_answer
action find
entity Roy Evans
relation present in work
['Roy Evans', 'present in work', 'The Man with the Golden Gun'] ['Roy Evans', 'present in work', 'Casino Royale'] ['Roy Evans', 'present in work', "On Her Majesty's Secret Service"] ['Roy Evans', 'present in work', 'Dr. No'] ['Roy Evans', 'present in work', 'Casino Royale'] ['Roy Evans', 'present in work', 'Skyfall'] ['Roy Evans', 'present in work', 'The Living Daylights'] ['Roy Evans', 'present in work', 'Quantum of Solace'] ['Roy Evans', 'present in work', 'A View to a Kill'] ['Roy Evans', 'present in work', 'Die Another Day']
ASK WHERE { VALUES ( ?j ) { ( resource:Tomorrow_Never_Dies ) ( resource:Thunderball ) ( resource:Dr._No ) } . resource:Roy_Evans property:present_in_work ?j }
[]
fictional humanoid
SYSTEM
NO
(Q7372778,P1441,Q309289) (Q7372778,P1441,Q151904) (Q7372778,P1441,Q107894) (Q7372778,P1441,Q102754) (Q7372778,P1441,Q591272) (Q7372778,P1441,Q4941) (Q7372778,P1441,Q272064) (Q7372778,P1441,Q181540) (Q7372778,P1441,Q332368) (Q7372778,P1441,Q30931)
action is_in
entity prev_answer
action find
entity Q7372778
relation P1441
[ANSWER]
['Q7372778', 'P1441', 'Q309289'] ['Q7372778', 'P1441', 'Q151904'] ['Q7372778', 'P1441', 'Q107894'] ['Q7372778', 'P1441', 'Q102754'] ['Q7372778', 'P1441', 'Q591272'] ['Q7372778', 'P1441', 'Q4941'] ['Q7372778', 'P1441', 'Q272064'] ['Q7372778', 'P1441', 'Q181540'] ['Q7372778', 'P1441', 'Q332368'] ['Q7372778', 'P1441', 'Q30931']
ASK WHERE { VALUES ( ?j ) { ( resource:Q207916 ) ( resource:Q107724 ) ( resource:Q102754 ) } . resource:Q7372778 property:P1441 ?j }
No
action is_in
entity prev_answer
action find
entity Roy Evans
relation present in work
['Roy Evans', 'present in work', 'The Man with the Golden Gun'] ['Roy Evans', 'present in work', 'Casino Royale'] ['Roy Evans', 'present in work', "On Her Majesty's Secret Service"] ['Roy Evans', 'present in work', 'Dr. No'] ['Roy Evans', 'present in work', 'Casino Royale'] ['Roy Evans', 'present in work', 'Skyfall'] ['Roy Evans', 'present in work', 'The Living Daylights'] ['Roy Evans', 'present in work', 'Quantum of Solace'] ['Roy Evans', 'present in work', 'A View to a Kill'] ['Roy Evans', 'present in work', 'Die Another Day']
ASK WHERE { VALUES ( ?j ) { ( resource:Tomorrow_Never_Dies ) ( resource:Thunderball ) ( resource:Dr._No ) } . resource:Roy_Evans property:present_in_work ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1585857 Q102754
P1441
Q6619679
USER
Which fictional humanoids appear in Dr. No or Hollyoaks ?
OR((c(Q6619679),P1441,Q102754), (c(Q6619679),P1441,Q1585857))
action filter_type
action union
action find_reverse
entity Q102754
relation P1441
action find_reverse
entity Q1585857
relation P1441
type Q6619679
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q102754'], [{'concept': 'Q6619679'}, 'P1441', 'Q1585857']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P1441 resource:Q1585857 } UNION { ?c property:P1441 resource:Q102754 } } . ?c rdf:type ontology:Q6619679 }
Hollyoaks Dr. No
action filter_type
action union
action find_reverse
entity Dr. No
relation present in work
action find_reverse
entity Hollyoaks
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Dr. No'], [{'concept': 'fictional humanoid'}, 'present in work', 'Hollyoaks']]}
SELECT DISTINCT ?c WHERE { { { ?c property:present_in_work resource:Hollyoaks } UNION { ?c property:present_in_work resource:Dr._No } } . ?c rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q4733404 Q5046284 Q7027632 Q4960816 Q7030143 Q2927367 Q574108 Q16842075 Q6541936 Q287297
SYSTEM
Some of them are Ally Gorman, Carrie Owen, Nick O'Connor, Brendan Brady, Nicole Owen, Three Blind Mice, Sinead O'Connor, Lydia Hart, Liberty Savage, Q
Q6726622 Q16827056 Q6726624 Q7281938 Q16957556 Q5406108 Q5450658 Q5287914 Q4725245 Q7027632 Q6541936 Q5932742 Q4786646 Q7366874 Q6818202 Q6740856 Q2053078 Q16988189 Q7782884 Q7030143 Q6103206 Q246154 Q4664448 Q4679516 Q7296654 Q6252254 Q5290631 Q5086044 Q5220058 Q6376842 Q574108 Q6698201 Q5039994 Q4741305 Q4804400 Q5649934 Q5026207 Q7562970 Q7815485 Q16237479 Q5271538 Q16826749 Q4733404 Q5223861 Q5242432 Q4897593 Q7781486 Q5102854 Q7072046 Q4716679 Q5044349 Q687726 Q8345244 Q7576062 Q2009573 Q7456452 Q7332053 Q16821909 Q8002840 Q7088059 Q5228562 Q6660057 Q7340191 Q7381203 Q16591752 Q6317434 Q5702103 Q7970200 Q580761 Q6437912 Q6378497 Q6529613 Q4767049 Q6524301 Q5024523 Q5741264 Q5365360 Q4940668 Q6127810 Q4960816 Q6181776 Q7004621 Q6147292 Q1779543 Q16631459 Q2927367 Q574132 Q574130 Q6437167 Q6519903 Q7637432 Q2486553 Q16842075 Q5120513 Q4885506 Q5365465 Q10354243 Q6266145 Q5648782 Q14509748 Q6114468 Q5043302 Q14298241 Q5686868 Q17031579 Q6709500 Q7422084 Q7329405 Q6162261 Q5225093 Q6446614 Q6768304 Q5585039 Q7334193 Q6375715 Q5247907 Q5458738 Q5944975 Q6498759 Q5698844 Q5515316 Q7425113 Q6810664 Q6035156 Q4765630 Q8064974 Q7435886 Q5046284 Q4749095 Q287297 Q8066533 Q5180890 Q9010509 Q559735 Q5287298 Q5642897 Q6794684 Q6702175 Q5415186 Q5491044 Q16995572 Q211414 Q8073261 Q3859177 Q16238347 Q979999 Q5314280 Q5401157 Q5881955 Q6558110 Q6288601 Q16994404 Q7441125 Q5562906 Q7822615 Q16958557 Q7407986 Q6207978 Q5126152 Q7019925 Q6688969 Q4897468 Q7321759 Q6500393 Q6124636 Q5220900 Q6968435 Q6146939 Q6187257 Q4760827 Q6377181 Q7405167 Q5562452 Q6748320 Q4878515
OR((c(Q6619679),P1441,Q102754), (c(Q6619679),P1441,Q1585857))
action filter_type
action union
action find_reverse
entity Q102754
relation P1441
action find_reverse
entity Q1585857
relation P1441
type Q6619679
[ANSWERS] appear in Dr. No or Hollyoaks
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q102754'], [{'concept': 'Q6619679'}, 'P1441', 'Q1585857']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P1441 resource:Q1585857 } UNION { ?c property:P1441 resource:Q102754 } } . ?c rdf:type ontology:Q6619679 }
Maddie Morrison Gaz Bennett Maddie Parker Rae Wilson Toby Mills India Longford Finn O'Connor Dodger Savage Ali Taylor Nick O'Connor Liberty Savage Joel Dexter Archie Carpenter Rory Finnigan Mercedes McQueen Malachy Fisher Julius No Jem Costello Theresa McQueen Nicole Owen Izzy Davies M Abby Davies Adam Morgan Ravi Roy John Paul McQueen Dominic Reilly Charlotte Lau Dannii Carbone Kathleen McQueen Sinead O'Connor Lucy Benson Carl Costello Amber Sharpe Ash Kane Mitzeee Cameron Clark Sophie Burton Tom Cunningham Vincent Elegba Diane O'Connor Mike Barnes Ally Gorman Darlene Taylor Dawn Cunningham Beth Morgan Theo Sankofa Chloe Bruce O.B. Alex Bell Carol Groves Honey Rider Cheryl Brady Spencer Gray James Bond Seth Costello Ricky Campbell Suzanne Ashworth Will Hackett Olivia Johnson Dave Colburn Liz Burton Rob Hawthorne Russ Owen Lindsey Butterfield Justin Burton Helen Cunningham Warren Fox Bart McQueen Kristian Hargreaves Katy Fox Les Hunter Anna Green Leo Valentine Calvin Valentine Callum Kane Ellie Mills Bombhead Jambo Bolton Brendan Brady Jeremy Peterson Neville Ashworth Jamie Nash Felix Leiter Sienna Blake Three Blind Mice Ruby Button Texas Longford Kris Fisher Leila Roy Summer Shaw Sylvia Trench Lydia Hart Cindy Cunningham Ben Davies Elliot Bevan Professor Dent Johnno Dean Hannah Ashworth Lee Hunter Jack Osborne Carmel McQueen Steph Cunningham Hayley Ramsey Lewis Richardson Lynsey Nolan Sarah Barnes Richard Taylor Jason Costello Darren Osborne Kurt Benson Mark Jury Gordon Cunningham Riley Costello Kate Patrick Debbie Dean Fletch Michaela McQueen Laura Burns Heidi Costello Gabby Sharpe Sasha Valentine Mel Burton Myra McQueen Anita Roy Zak Ramsey Scott Anderson Carrie Owen Amy Barnes Q Zara Morgan Craig Dean Jacqui McQueen Ste Hay Doctor Paul Browning Niall Rafferty Max Cunningham Luke Morgan Eva Strong Frankie Osborne Martha Kane Miss Moneypenny Zoe Carpenter Miss Taro George Smith Tina Reilly Duncan Button Esther Bloom Holly Cunningham Lisa Hunter Josh Ashworth Geri Hudson Sean Kennedy Gina Patrick Tony Hutchinson Joe Spencer Sam Owen Jodie Nash Clare Devine Newt Louise Summers Beth Clement Rhys Ashworth Lauren Valentine Jake Dean Danny Valentine Natasha Andersen Tilly Evans Jessica Harris Andy Holt Kathy Barnes Sally Hunter Gilly Roach Mandy Richardson Becca Hayton
Ally Gorman, Carrie Owen, Nick O'Connor, Brendan Brady, Nicole Owen, Three Blind Mice, Sinead O'Connor, Lydia Hart, Liberty Savage and Q appear in Dr. No or Hollyoaks
Ally Gorman Carrie Owen Nick O'Connor Brendan Brady Nicole Owen Three Blind Mice Sinead O'Connor Lydia Hart Liberty Savage Q
action filter_type
action union
action find_reverse
entity Dr. No
relation present in work
action find_reverse
entity Hollyoaks
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Dr. No'], [{'concept': 'fictional humanoid'}, 'present in work', 'Hollyoaks']]}
SELECT DISTINCT ?c WHERE { { { ?c property:present_in_work resource:Hollyoaks } UNION { ?c property:present_in_work resource:Dr._No } } . ?c rdf:type ontology:fictional_humanoid }
[]