Simple Question (Direct)
Simple Question
Q1503630
P21
Q290
USER
What is the sex of Georg Bauer ?
(Q1503630,P21,c(Q290))
action filter_type
action find
entity Q1503630
relation P21
type Q290
['Q1503630', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1503630 property:P21 ?n . ?n rdf:type ontology:Q290 }
Georg Bauer
action filter_type
action find
entity Georg Bauer
relation gender
type sex
['Georg Bauer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Georg_Bauer property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1503630,P21,c(Q290))
action filter_type
action find
entity Q1503630
relation P21
type Q290
The sex of Georg Bauer is the [ANSWER]
['Q1503630', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1503630 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Georg Bauer is the male
male
action filter_type
action find
entity Georg Bauer
relation gender
type sex
['Georg Bauer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Georg_Bauer property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1503630
P102
Q7210356
USER
Which parties are Georg Bauer affiliated with ?
(Q1503630,P102,c(Q7210356))
action filter_type
action find
entity Q1503630
relation P102
type Q7210356
['Q1503630', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q1503630 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Georg Bauer
action filter_type
action find
entity Georg Bauer
relation member of political party
type political organization
['Georg Bauer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Georg_Bauer property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q13124 Q707844
SYSTEM
Free Democratic Party, All-German Bloc/League of Expellees and Deprived of Rights
Q13124 Q707844
(Q1503630,P102,c(Q7210356))
action filter_type
action find
entity Q1503630
relation P102
type Q7210356
Georg Bauer are affiliated with [ANSWERS]
['Q1503630', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q1503630 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Free Democratic Party All-German Bloc/League of Expellees and Deprived of Rights
Georg Bauer are affiliated with Free Democratic Party and All-German Bloc/League of Expellees and Deprived of Rights
Free Democratic Party All-German Bloc/League of Expellees and Deprived of Rights
action filter_type
action find
entity Georg Bauer
relation member of political party
type political organization
['Georg Bauer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Georg_Bauer property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13124
P159
Q56061
USER
Where is the headquarter of Free Democratic Party located ?
(Q13124,P159,c(Q56061))
action filter_type
action find
entity Q13124
relation P159
type Q56061
['Q13124', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q13124 property:P159 ?r . ?r rdf:type ontology:Q56061 }
Free Democratic Party
action filter_type
action find
entity Free Democratic Party
relation headquarters location
type administrative territorial entity
['Free Democratic Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Free_Democratic_Party property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q13124,P159,c(Q56061))
action filter_type
action find
entity Q13124
relation P159
type Q56061
The headquarter of Free Democratic Party is located in [ANSWER]
['Q13124', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q13124 property:P159 ?r . ?r rdf:type ontology:Q56061 }
Berlin
The headquarter of Free Democratic Party is located in Berlin
Berlin
action filter_type
action find
entity Free Democratic Party
relation headquarters location
type administrative territorial entity
['Free Democratic Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Free_Democratic_Party property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7308815 Q1503630
P27
Q1048835
USER
Which political territories do Georg Bauer or Reginald Miles belong to ?
OR((Q1503630,P27,c(Q1048835)), (Q7308815,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1503630
relation P27
action find
entity Q7308815
relation P27
type Q1048835
{'OR': [['Q1503630', 'P27', {'concept': 'Q1048835'}], ['Q7308815', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q1503630 property:P27 ?h } UNION { resource:Q7308815 property:P27 ?h } } }
Reginald Miles Georg Bauer
action filter_type
action union
action find
entity Georg Bauer
relation country of citizenship
action find
entity Reginald Miles
relation country of citizenship
type political territorial entity
{'OR': [['Georg Bauer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Reginald Miles', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Georg_Bauer property:country_of_citizenship ?h } UNION { resource:Reginald_Miles property:country_of_citizenship ?h } } }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q1503630,P27,c(Q1048835)), (Q7308815,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1503630
relation P27
action find
entity Q7308815
relation P27
type Q1048835
Georg Bauer or Reginald Miles belong to [ANSWERS]
{'OR': [['Q1503630', 'P27', {'concept': 'Q1048835'}], ['Q7308815', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q1503630 property:P27 ?h } UNION { resource:Q7308815 property:P27 ?h } } }
New Zealand Germany
Georg Bauer or Reginald Miles belong to New Zealand and Germany
New Zealand Germany
action filter_type
action union
action find
entity Georg Bauer
relation country of citizenship
action find
entity Reginald Miles
relation country of citizenship
type political territorial entity
{'OR': [['Georg Bauer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Reginald Miles', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Georg_Bauer property:country_of_citizenship ?h } UNION { resource:Reginald_Miles property:country_of_citizenship ?h } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20981402
P27
Q502895
USER
Are Darryl Brown civilians of those political territories ?
(Q20981402,P27,Q664) (Q20981402,P27,Q183)
action is_in
entity prev_answer
action find
entity Q20981402
relation P27
['Q20981402', 'P27', 'Q664'] ['Q20981402', 'P27', 'Q183']
ASK WHERE { resource:Q20981402 property:P27 ?j . VALUES ( ?j ) { ( resource:Q664 ) ( resource:Q183 ) } }
Darryl Brown
action is_in
entity prev_answer
action find
entity Darryl Brown
relation country of citizenship
['Darryl Brown', 'country of citizenship', 'New Zealand'] ['Darryl Brown', 'country of citizenship', 'Germany']
ASK WHERE { resource:Darryl_Brown property:country_of_citizenship ?j . VALUES ( ?j ) { ( resource:New_Zealand ) ( resource:Germany ) } }
[]
common name
SYSTEM
NO
(Q20981402,P27,Q664) (Q20981402,P27,Q183)
action is_in
entity prev_answer
action find
entity Q20981402
relation P27
[ANSWER]
['Q20981402', 'P27', 'Q664'] ['Q20981402', 'P27', 'Q183']
ASK WHERE { resource:Q20981402 property:P27 ?j . VALUES ( ?j ) { ( resource:Q664 ) ( resource:Q183 ) } }
No
action is_in
entity prev_answer
action find
entity Darryl Brown
relation country of citizenship
['Darryl Brown', 'country of citizenship', 'New Zealand'] ['Darryl Brown', 'country of citizenship', 'Germany']
ASK WHERE { resource:Darryl_Brown property:country_of_citizenship ?j . VALUES ( ?j ) { ( resource:New_Zealand ) ( resource:Germany ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q664
P463
Q43229
USER
What organizations had New Zealand as their member ?
(Q664,P463,c(Q43229))
action filter_type
action find
entity Q664
relation P463
type Q43229
['Q664', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q664 property:P463 ?h . ?h rdf:type ontology:Q43229 }
New Zealand
action filter_type
action find
entity New Zealand
relation member of
type organization
['New Zealand', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:New_Zealand property:member_of ?h . ?h rdf:type ontology:organization }
[]
organization
Q7825 Q41550 Q191384
SYSTEM
World Trade Organization, Organisation for Economic Co-operation and Development, International Bank for Reconstruction and Development
Q191384 Q899770 Q41550 Q656801 Q7825 Q170481 Q827525
(Q664,P463,c(Q43229))
action filter_type
action find
entity Q664
relation P463
type Q43229
[ANSWERS] had New Zealand as their member
['Q664', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q664 property:P463 ?h . ?h rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
World Trade Organization, Organisation for Economic Co-operation and Development and International Bank for Reconstruction and Development had New Zealand as their member
World Trade Organization Organisation for Economic Co-operation and Development International Bank for Reconstruction and Development
action filter_type
action find
entity New Zealand
relation member of
type organization
['New Zealand', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:New_Zealand property:member_of ?h . ?h rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q683
Q43229
USER
And also tell me about Samoa?
(Q683,P463,c(Q43229))
action filter_type
action find
entity Q683
relation P463
type Q43229
['Q683', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q683 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Samoa
action filter_type
action find
entity Samoa
relation member of
type organization
['Samoa', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Samoa property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
Q7825 Q191384 Q656801
SYSTEM
World Trade Organization, International Bank for Reconstruction and Development, International Finance Corporation
Q191384 Q899770 Q656801 Q7825 Q827525
(Q683,P463,c(Q43229))
action filter_type
action find
entity Q683
relation P463
type Q43229
[ANSWERS]
['Q683', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q683 property:P463 ?f . ?f rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation
action filter_type
action find
entity Samoa
relation member of
type organization
['Samoa', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Samoa property:member_of ?f . ?f rdf:type ontology:organization }
[]