Simple Question (Direct)
Simple Question
Q1044212
P102
Q7278
USER
Which political party is Carola Dauber a member of ?
(Q1044212,P102,c(Q7278))
action filter_type
action find
entity Q1044212
relation P102
type Q7278
['Q1044212', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7278 . resource:Q1044212 property:P102 ?p }
Carola Dauber
action filter_type
action find
entity Carola Dauber
relation member of political party
type political party
['Carola Dauber', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_party . resource:Carola_Dauber property:member_of_political_party ?p }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1044212,P102,c(Q7278))
action filter_type
action find
entity Q1044212
relation P102
type Q7278
Party [ANSWER] is Carola Dauber a member of
['Q1044212', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7278 . resource:Q1044212 property:P102 ?p }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Carola Dauber a member of
Social Democratic Party of Germany
action filter_type
action find
entity Carola Dauber
relation member of political party
type political party
['Carola Dauber', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_party . resource:Carola_Dauber property:member_of_political_party ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1044212
P20
Q15617994
USER
Where did that person die ?
(Q49768,P20,c(Q15617994))
action filter_type
action find
entity Q1044212
relation P20
type Q15617994
['Q49768', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1044212 property:P20 ?f . ?f rdf:type ontology:Q15617994 }
Carola Dauber
action filter_type
action find
entity Carola Dauber
relation place of death
type designation for an administrative territorial entity
['Social Democratic Party of Germany', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Carola_Dauber property:place_of_death ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3758
SYSTEM
Kaiserslautern
Q3758
(Q49768,P20,c(Q15617994))
action filter_type
action find
entity Q1044212
relation P20
type Q15617994
That person died in [ANSWER]
['Q49768', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1044212 property:P20 ?f . ?f rdf:type ontology:Q15617994 }
Kaiserslautern
That person died in Kaiserslautern
Kaiserslautern
action filter_type
action find
entity Carola Dauber
relation place of death
type designation for an administrative territorial entity
['Social Democratic Party of Germany', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Carola_Dauber property:place_of_death ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3758 Q4323133 Q4221553
P17
Q1048835
USER
Is that administrative territory located in Novoandriivka and Drozdy ?
(Q3758,P17,Q4323133) (Q3758,P17,Q4221553)
action is_in
entity Q3758
action intersection
action find_reverse
entity Q4323133
relation P17
action find_reverse
entity Q4221553
relation P17
['Q3758', 'P17', 'Q4323133'] ['Q3758', 'P17', 'Q4221553']
ASK WHERE { resource:Q3758 property:P17 resource:Q4323133 . resource:Q3758 property:P17 resource:Q4221553 }
Kaiserslautern Novoandriivka Drozdy
action is_in
entity Kaiserslautern
action intersection
action find_reverse
entity Novoandriivka
relation country
action find_reverse
entity Drozdy
relation country
['Kaiserslautern', 'country', 'Novoandriivka'] ['Kaiserslautern', 'country', 'Drozdy']
ASK WHERE { resource:Kaiserslautern property:country resource:Novoandriivka . resource:Kaiserslautern property:country resource:Drozdy }
[]
political territorial entity
SYSTEM
NO
(Q3758,P17,Q4323133) (Q3758,P17,Q4221553)
action is_in
entity Q3758
action intersection
action find_reverse
entity Q4323133
relation P17
action find_reverse
entity Q4221553
relation P17
[ANSWER]
['Q3758', 'P17', 'Q4323133'] ['Q3758', 'P17', 'Q4221553']
ASK WHERE { resource:Q3758 property:P17 resource:Q4323133 . resource:Q3758 property:P17 resource:Q4221553 }
No
action is_in
entity Kaiserslautern
action intersection
action find_reverse
entity Novoandriivka
relation country
action find_reverse
entity Drozdy
relation country
['Kaiserslautern', 'country', 'Novoandriivka'] ['Kaiserslautern', 'country', 'Drozdy']
ASK WHERE { resource:Kaiserslautern property:country resource:Novoandriivka . resource:Kaiserslautern property:country resource:Drozdy }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7186697 Q49768
P17
Q1048835
USER
Which political territories are Social Democratic Party of Germany or Phoebes Lake present in ?
OR((Q49768,P17,c(Q1048835)), (Q7186697,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q49768
relation P17
action find
entity Q7186697
relation P17
type Q1048835
{'OR': [['Q49768', 'P17', {'concept': 'Q1048835'}], ['Q7186697', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q49768 property:P17 ?f } UNION { resource:Q7186697 property:P17 ?f } } . ?f rdf:type ontology:Q1048835 }
Phoebes Lake Social Democratic Party of Germany
action filter_type
action union
action find
entity Social Democratic Party of Germany
relation country
action find
entity Phoebes Lake
relation country
type political territorial entity
{'OR': [['Social Democratic Party of Germany', 'country', {'concept': 'political territorial entity'}], ['Phoebes Lake', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Social_Democratic_Party_of_Germany property:country ?f } UNION { resource:Phoebes_Lake property:country ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q49768,P17,c(Q1048835)), (Q7186697,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q49768
relation P17
action find
entity Q7186697
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q49768', 'P17', {'concept': 'Q1048835'}], ['Q7186697', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q49768 property:P17 ?f } UNION { resource:Q7186697 property:P17 ?f } } . ?f rdf:type ontology:Q1048835 }
New Zealand Germany
Which political territories are Social Democratic Party of Germany or Phoebes Lake present in
New Zealand Germany
action filter_type
action union
action find
entity Social Democratic Party of Germany
relation country
action find
entity Phoebes Lake
relation country
type political territorial entity
{'OR': [['Social Democratic Party of Germany', 'country', {'concept': 'political territorial entity'}], ['Phoebes Lake', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Social_Democratic_Party_of_Germany property:country ?f } UNION { resource:Phoebes_Lake property:country ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q238513
P530
Q15617994
USER
Do Hehlen have diplomatic relations with those political territories ?
(Q238513,P530,Q664) (Q238513,P530,Q183)
action is_in
entity prev_answer
action find
entity Q238513
relation P530
['Q238513', 'P530', 'Q664'] ['Q238513', 'P530', 'Q183']
ASK WHERE { VALUES ( ?q ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q238513 property:P530 ?q }
Hehlen
action is_in
entity prev_answer
action find
entity Hehlen
relation diplomatic relation
['Hehlen', 'diplomatic relation', 'New Zealand'] ['Hehlen', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?q ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Hehlen property:diplomatic_relation ?q }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q238513,P530,Q664) (Q238513,P530,Q183)
action is_in
entity prev_answer
action find
entity Q238513
relation P530
[ANSWER]
['Q238513', 'P530', 'Q664'] ['Q238513', 'P530', 'Q183']
ASK WHERE { VALUES ( ?q ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q238513 property:P530 ?q }
No
action is_in
entity prev_answer
action find
entity Hehlen
relation diplomatic relation
['Hehlen', 'diplomatic relation', 'New Zealand'] ['Hehlen', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?q ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Hehlen property:diplomatic_relation ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3758 Q183 Q1802633
P17
Q1048835
USER
Is Kaiserslautern present in Germany and Grossos ?
(Q3758,P17,Q183) (Q3758,P17,Q1802633)
action is_in
entity Q3758
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1802633
relation P17
['Q3758', 'P17', 'Q183'] ['Q3758', 'P17', 'Q1802633']
ASK WHERE { resource:Q3758 property:P17 resource:Q183 . resource:Q3758 property:P17 resource:Q1802633 }
Kaiserslautern Germany Grossos
action is_in
entity Kaiserslautern
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Grossos
relation country
['Kaiserslautern', 'country', 'Germany'] ['Kaiserslautern', 'country', 'Grossos']
ASK WHERE { resource:Kaiserslautern property:country resource:Germany . resource:Kaiserslautern property:country resource:Grossos }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q3758,P17,Q183) (Q3758,P17,Q1802633)
action is_in
entity Q3758
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q1802633
relation P17
[ANSWER]
['Q3758', 'P17', 'Q183'] ['Q3758', 'P17', 'Q1802633']
ASK WHERE { resource:Q3758 property:P17 resource:Q183 . resource:Q3758 property:P17 resource:Q1802633 }
YES and NO respectively
action is_in
entity Kaiserslautern
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Grossos
relation country
['Kaiserslautern', 'country', 'Germany'] ['Kaiserslautern', 'country', 'Grossos']
ASK WHERE { resource:Kaiserslautern property:country resource:Germany . resource:Kaiserslautern property:country resource:Grossos }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49768 Q76658 Q2094432
P488
Q502895
USER
Does Social Democratic Party of Germany have Frank-Walter Steinmeier and Pietro Lappi as its chairperson ?
(Q49768,P488,Q76658) (Q49768,P488,Q2094432)
action is_in
entity Q49768
action intersection
action find_reverse
entity Q76658
relation P488
action find_reverse
entity Q2094432
relation P488
['Q49768', 'P488', 'Q76658'] ['Q49768', 'P488', 'Q2094432']
ASK WHERE { resource:Q49768 property:P488 resource:Q76658 . resource:Q49768 property:P488 resource:Q2094432 }
Social Democratic Party of Germany Frank-Walter Steinmeier Pietro Lappi
action is_in
entity Social Democratic Party of Germany
action intersection
action find_reverse
entity Frank-Walter Steinmeier
relation chairperson
action find_reverse
entity Pietro Lappi
relation chairperson
['Social Democratic Party of Germany', 'chairperson', 'Frank-Walter Steinmeier'] ['Social Democratic Party of Germany', 'chairperson', 'Pietro Lappi']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson resource:Frank-Walter_Steinmeier . resource:Social_Democratic_Party_of_Germany property:chairperson resource:Pietro_Lappi }
[]
common name
SYSTEM
YES and NO respectively
(Q49768,P488,Q76658) (Q49768,P488,Q2094432)
action is_in
entity Q49768
action intersection
action find_reverse
entity Q76658
relation P488
action find_reverse
entity Q2094432
relation P488
[ANSWER]
['Q49768', 'P488', 'Q76658'] ['Q49768', 'P488', 'Q2094432']
ASK WHERE { resource:Q49768 property:P488 resource:Q76658 . resource:Q49768 property:P488 resource:Q2094432 }
YES and NO respectively
action is_in
entity Social Democratic Party of Germany
action intersection
action find_reverse
entity Frank-Walter Steinmeier
relation chairperson
action find_reverse
entity Pietro Lappi
relation chairperson
['Social Democratic Party of Germany', 'chairperson', 'Frank-Walter Steinmeier'] ['Social Democratic Party of Germany', 'chairperson', 'Pietro Lappi']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson resource:Frank-Walter_Steinmeier . resource:Social_Democratic_Party_of_Germany property:chairperson resource:Pietro_Lappi }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q504854 Q5179964
P47
Q15617994
USER
Does Gräfelfing and Coxpark share a border with Germany ?
(Q183,P47,Q504854) (Q183,P47,Q5179964)
action is_in
entity Q183
action intersection
action find_reverse
entity Q504854
relation P47
action find_reverse
entity Q5179964
relation P47
['Q183', 'P47', 'Q504854'] ['Q183', 'P47', 'Q5179964']
ASK WHERE { resource:Q183 property:P47 resource:Q504854 . resource:Q183 property:P47 resource:Q5179964 }
Germany Gräfelfing Coxpark
action is_in
entity Germany
action intersection
action find_reverse
entity Gräfelfing
relation shares border with
action find_reverse
entity Coxpark
relation shares border with
['Germany', 'shares border with', 'Gräfelfing'] ['Germany', 'shares border with', 'Coxpark']
ASK WHERE { resource:Germany property:shares_border_with resource:Gräfelfing . resource:Germany property:shares_border_with resource:Coxpark }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P47,Q504854) (Q183,P47,Q5179964)
action is_in
entity Q183
action intersection
action find_reverse
entity Q504854
relation P47
action find_reverse
entity Q5179964
relation P47
[ANSWER]
['Q183', 'P47', 'Q504854'] ['Q183', 'P47', 'Q5179964']
ASK WHERE { resource:Q183 property:P47 resource:Q504854 . resource:Q183 property:P47 resource:Q5179964 }
No
action is_in
entity Germany
action intersection
action find_reverse
entity Gräfelfing
relation shares border with
action find_reverse
entity Coxpark
relation shares border with
['Germany', 'shares border with', 'Gräfelfing'] ['Germany', 'shares border with', 'Coxpark']
ASK WHERE { resource:Germany property:shares_border_with resource:Gräfelfing . resource:Germany property:shares_border_with resource:Coxpark }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49768 Q110719
P488
Q502895
USER
Did Oskar Lafontaine serve as the chairperson of Social Democratic Party of Germany ?
(Q49768,P488,Q110719)
action is_in
entity Q110719
action find
entity Q49768
relation P488
['Q49768', 'P488', 'Q110719']
ASK WHERE { resource:Q49768 property:P488 resource:Q110719 }
Social Democratic Party of Germany Oskar Lafontaine
action is_in
entity Oskar Lafontaine
action find
entity Social Democratic Party of Germany
relation chairperson
['Social Democratic Party of Germany', 'chairperson', 'Oskar Lafontaine']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson resource:Oskar_Lafontaine }
[]
common name
SYSTEM
YES
(Q49768,P488,Q110719)
action is_in
entity Q110719
action find
entity Q49768
relation P488
[ANSWER]
['Q49768', 'P488', 'Q110719']
ASK WHERE { resource:Q49768 property:P488 resource:Q110719 }
Yes
action is_in
entity Oskar Lafontaine
action find
entity Social Democratic Party of Germany
relation chairperson
['Social Democratic Party of Germany', 'chairperson', 'Oskar Lafontaine']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson resource:Oskar_Lafontaine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1044212 Q2065285 Q980184
P27
Q1048835
USER
Is Carola Dauber a civilian of Trizidela do Vale and Paimas District ?
(Q1044212,P27,Q2065285) (Q1044212,P27,Q980184)
action is_in
entity Q1044212
action intersection
action find_reverse
entity Q2065285
relation P27
action find_reverse
entity Q980184
relation P27
['Q1044212', 'P27', 'Q2065285'] ['Q1044212', 'P27', 'Q980184']
ASK WHERE { resource:Q1044212 property:P27 resource:Q2065285 . resource:Q1044212 property:P27 resource:Q980184 }
Carola Dauber Trizidela do Vale Paimas District
action is_in
entity Carola Dauber
action intersection
action find_reverse
entity Trizidela do Vale
relation country of citizenship
action find_reverse
entity Paimas District
relation country of citizenship
['Carola Dauber', 'country of citizenship', 'Trizidela do Vale'] ['Carola Dauber', 'country of citizenship', 'Paimas District']
ASK WHERE { resource:Carola_Dauber property:country_of_citizenship resource:Trizidela_do_Vale . resource:Carola_Dauber property:country_of_citizenship resource:Paimas_District }
[]
political territorial entity
SYSTEM
NO
(Q1044212,P27,Q2065285) (Q1044212,P27,Q980184)
action is_in
entity Q1044212
action intersection
action find_reverse
entity Q2065285
relation P27
action find_reverse
entity Q980184
relation P27
[ANSWER]
['Q1044212', 'P27', 'Q2065285'] ['Q1044212', 'P27', 'Q980184']
ASK WHERE { resource:Q1044212 property:P27 resource:Q2065285 . resource:Q1044212 property:P27 resource:Q980184 }
No
action is_in
entity Carola Dauber
action intersection
action find_reverse
entity Trizidela do Vale
relation country of citizenship
action find_reverse
entity Paimas District
relation country of citizenship
['Carola Dauber', 'country of citizenship', 'Trizidela do Vale'] ['Carola Dauber', 'country of citizenship', 'Paimas District']
ASK WHERE { resource:Carola_Dauber property:country_of_citizenship resource:Trizidela_do_Vale . resource:Carola_Dauber property:country_of_citizenship resource:Paimas_District }
[]