Simple Question (Direct)
Simple Question
Q1254837
P140
Q879146
USER
Which Christian denomination does Jaime de Nevares relate to ?
(Q1254837,P140,c(Q879146))
action filter_type
action find
entity Q1254837
relation P140
type Q879146
['Q1254837', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q1254837 property:P140 ?a . ?a rdf:type ontology:Q879146 }
Jaime de Nevares
action filter_type
action find
entity Jaime de Nevares
relation religion
type Christian denomination
['Jaime de Nevares', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:Jaime_de_Nevares property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1254837,P140,c(Q879146))
action filter_type
action find
entity Q1254837
relation P140
type Q879146
Jaime de Nevares relates the [ANSWER]
['Q1254837', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q1254837 property:P140 ?a . ?a rdf:type ontology:Q879146 }
Roman Catholic Church
Jaime de Nevares relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Jaime de Nevares
relation religion
type Christian denomination
['Jaime de Nevares', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:Jaime_de_Nevares property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1254837
P39
Q12737077
USER
Which occupation was a position for which Jaime de Nevares was appointed ?
(Q1254837,P39,c(Q12737077))
action filter_type
action find
entity Q1254837
relation P39
type Q12737077
['Q1254837', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1254837 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Jaime de Nevares
action filter_type
action find
entity Jaime de Nevares
relation position held
type occupation
['Jaime de Nevares', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Jaime_de_Nevares property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q1254837,P39,c(Q12737077))
action filter_type
action find
entity Q1254837
relation P39
type Q12737077
[ANSWER] was a position for which Jaime de Nevares was appointed
['Q1254837', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1254837 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
bishop
Bishop was a position for which Jaime de Nevares was appointed
bishop
action filter_type
action find
entity Jaime de Nevares
relation position held
type occupation
['Jaime de Nevares', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Jaime_de_Nevares property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q531763
Q12737077
USER
And how about Morten Østergaard?
(Q531763,P39,c(Q12737077))
action filter_type
action find
entity Q531763
relation P39
type Q12737077
['Q531763', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q531763 property:P39 ?d }
Morten Østergaard
action filter_type
action find
entity Morten Østergaard
relation position held
type occupation
['Morten Østergaard', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Morten_Østergaard property:position_held ?d }
[]
occupation
Q12311817
SYSTEM
member of the Folketing
Q12311817
(Q531763,P39,c(Q12737077))
action filter_type
action find
entity Q531763
relation P39
type Q12737077
[ANSWER]
['Q531763', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q531763 property:P39 ?d }
member of the Folketing
member of the Folketing
action filter_type
action find
entity Morten Østergaard
relation position held
type occupation
['Morten Østergaard', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Morten_Østergaard property:position_held ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q531763
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q12311817,P102,c(Q7210356))
action filter_type
action find
entity Q531763
relation P102
type Q7210356
['Q12311817', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q531763 property:P102 ?b }
Morten Østergaard
action filter_type
action find
entity Morten Østergaard
relation member of political party
type political organization
['member of the Folketing', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Morten_Østergaard property:member_of_political_party ?b }
[]
political organization
Q916161
SYSTEM
Danish Social Liberal Party
Q916161
(Q12311817,P102,c(Q7210356))
action filter_type
action find
entity Q531763
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q12311817', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7210356 . resource:Q531763 property:P102 ?b }
Danish Social Liberal Party
That person is affiliated with Danish Social Liberal Party
Danish Social Liberal Party
action filter_type
action find
entity Morten Østergaard
relation member of political party
type political organization
['member of the Folketing', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_organization . resource:Morten_Østergaard property:member_of_political_party ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q531763
P69
Q159334
USER
What is the secondary school where Morten Østergaard was educated ?
(Q531763,P69,c(Q159334))
action filter_type
action find
entity Q531763
relation P69
type Q159334
['Q531763', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?d WHERE { resource:Q531763 property:P69 ?d . ?d rdf:type ontology:Q159334 }
Morten Østergaard
action filter_type
action find
entity Morten Østergaard
relation educated at
type secondary school
['Morten Østergaard', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?d WHERE { resource:Morten_Østergaard property:educated_at ?d . ?d rdf:type ontology:secondary_school }
[]
secondary school
Q5157918
SYSTEM
ConVal Regional High School
Q5157918
(Q531763,P69,c(Q159334))
action filter_type
action find
entity Q531763
relation P69
type Q159334
The secondary school Morten Østergaard was educated is at [ANSWER]
['Q531763', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?d WHERE { resource:Q531763 property:P69 ?d . ?d rdf:type ontology:Q159334 }
ConVal Regional High School
The secondary school Morten Østergaard was educated is at ConVal Regional High School
ConVal Regional High School
action filter_type
action find
entity Morten Østergaard
relation educated at
type secondary school
['Morten Østergaard', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?d WHERE { resource:Morten_Østergaard property:educated_at ?d . ?d rdf:type ontology:secondary_school }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11466098
Q159334
USER
And how about Sumika Yamanaka?
(Q11466098,P69,c(Q159334))
action filter_type
action find
entity Q11466098
relation P69
type Q159334
['Q11466098', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q159334 . resource:Q11466098 property:P69 ?i }
Sumika Yamanaka
action filter_type
action find
entity Sumika Yamanaka
relation educated at
type secondary school
['Sumika Yamanaka', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:secondary_school . resource:Sumika_Yamanaka property:educated_at ?i }
[]
secondary school
Q7813890
SYSTEM
Tokyo High School
Q7813890
(Q11466098,P69,c(Q159334))
action filter_type
action find
entity Q11466098
relation P69
type Q159334
[ANSWER]
['Q11466098', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q159334 . resource:Q11466098 property:P69 ?i }
Tokyo High School
Tokyo High School
action filter_type
action find
entity Sumika Yamanaka
relation educated at
type secondary school
['Sumika Yamanaka', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:secondary_school . resource:Sumika_Yamanaka property:educated_at ?i }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1474902 Q5157918
P17
Q15617994
USER
Which administrative territories are ConVal Regional High School or Hlásnice located in ?
OR((Q5157918,P17,c(Q15617994)), (Q1474902,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5157918
relation P17
action find
entity Q1474902
relation P17
type Q15617994
{'OR': [['Q5157918', 'P17', {'concept': 'Q15617994'}], ['Q1474902', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5157918 property:P17 ?i } UNION { resource:Q1474902 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Hlásnice ConVal Regional High School
action filter_type
action union
action find
entity ConVal Regional High School
relation country
action find
entity Hlásnice
relation country
type designation for an administrative territorial entity
{'OR': [['ConVal Regional High School', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hlásnice', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:ConVal_Regional_High_School property:country ?i } UNION { resource:Hlásnice property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q30
SYSTEM
Czech Republic, United States of America
Q213 Q30
OR((Q5157918,P17,c(Q15617994)), (Q1474902,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5157918
relation P17
action find
entity Q1474902
relation P17
type Q15617994
ConVal Regional High School or Hlásnice are located in [ANSWERS]
{'OR': [['Q5157918', 'P17', {'concept': 'Q15617994'}], ['Q1474902', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5157918 property:P17 ?i } UNION { resource:Q1474902 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Czech Republic United States of America
ConVal Regional High School or Hlásnice are located in Czech Republic and United States of America
Czech Republic United States of America
action filter_type
action union
action find
entity ConVal Regional High School
relation country
action find
entity Hlásnice
relation country
type designation for an administrative territorial entity
{'OR': [['ConVal Regional High School', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hlásnice', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:ConVal_Regional_High_School property:country ?i } UNION { resource:Hlásnice property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1803256
P530
Q1048835
USER
Do Tavares, Rio Grande do Sul have ambassadorial relations with those administrative territories ?
(Q1803256,P530,Q213) (Q1803256,P530,Q30)
action is_in
entity prev_answer
action find
entity Q1803256
relation P530
['Q1803256', 'P530', 'Q213'] ['Q1803256', 'P530', 'Q30']
ASK WHERE { VALUES ( ?y ) { ( resource:Q213 ) ( resource:Q30 ) } . resource:Q1803256 property:P530 ?y }
Tavares, Rio Grande do Sul
action is_in
entity prev_answer
action find
entity Tavares, Rio Grande do Sul
relation diplomatic relation
['Tavares, Rio Grande do Sul', 'diplomatic relation', 'Czech Republic'] ['Tavares, Rio Grande do Sul', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?y ) { ( resource:Czech_Republic ) ( resource:United_States_of_America ) } . resource:Tavares,_Rio_Grande_do_Sul property:diplomatic_relation ?y }
[]
political territorial entity
SYSTEM
NO
(Q1803256,P530,Q213) (Q1803256,P530,Q30)
action is_in
entity prev_answer
action find
entity Q1803256
relation P530
[ANSWER]
['Q1803256', 'P530', 'Q213'] ['Q1803256', 'P530', 'Q30']
ASK WHERE { VALUES ( ?y ) { ( resource:Q213 ) ( resource:Q30 ) } . resource:Q1803256 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Tavares, Rio Grande do Sul
relation diplomatic relation
['Tavares, Rio Grande do Sul', 'diplomatic relation', 'Czech Republic'] ['Tavares, Rio Grande do Sul', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?y ) { ( resource:Czech_Republic ) ( resource:United_States_of_America ) } . resource:Tavares,_Rio_Grande_do_Sul property:diplomatic_relation ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12311817 Q896926
P17
Q1048835
USER
Is member of the Folketing located in Aurich Government Region ?
(Q12311817,P17,Q896926)
action is_in
entity Q896926
action find
entity Q12311817
relation P17
['Q12311817', 'P17', 'Q896926']
ASK WHERE { resource:Q12311817 property:P17 resource:Q896926 }
member of the Folketing Aurich Government Region
action is_in
entity Aurich Government Region
action find
entity member of the Folketing
relation country
['member of the Folketing', 'country', 'Aurich Government Region']
ASK WHERE { resource:member_of_the_Folketing property:country resource:Aurich_Government_Region }
[]
political territorial entity
SYSTEM
NO
(Q12311817,P17,Q896926)
action is_in
entity Q896926
action find
entity Q12311817
relation P17
[ANSWER]
['Q12311817', 'P17', 'Q896926']
ASK WHERE { resource:Q12311817 property:P17 resource:Q896926 }
No
action is_in
entity Aurich Government Region
action find
entity member of the Folketing
relation country
['member of the Folketing', 'country', 'Aurich Government Region']
ASK WHERE { resource:member_of_the_Folketing property:country resource:Aurich_Government_Region }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q213 Q155 Q578891
P530
Q15617994
USER
Does Czech Republic have diplomatic relations with Brazil and Harlingen Consolidated Independent School District ?
(Q213,P530,Q155) (Q213,P530,Q578891)
action is_in
entity Q213
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q578891
relation P530
['Q213', 'P530', 'Q155'] ['Q213', 'P530', 'Q578891']
ASK WHERE { resource:Q213 property:P530 resource:Q155 . resource:Q213 property:P530 resource:Q578891 }
Czech Republic Brazil Harlingen Consolidated Independent School District
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Harlingen Consolidated Independent School District
relation diplomatic relation
['Czech Republic', 'diplomatic relation', 'Brazil'] ['Czech Republic', 'diplomatic relation', 'Harlingen Consolidated Independent School District']
ASK WHERE { resource:Czech_Republic property:diplomatic_relation resource:Brazil . resource:Czech_Republic property:diplomatic_relation resource:Harlingen_Consolidated_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q213,P530,Q155) (Q213,P530,Q578891)
action is_in
entity Q213
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q578891
relation P530
[ANSWER]
['Q213', 'P530', 'Q155'] ['Q213', 'P530', 'Q578891']
ASK WHERE { resource:Q213 property:P530 resource:Q155 . resource:Q213 property:P530 resource:Q578891 }
YES and NO respectively
action is_in
entity Czech Republic
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Harlingen Consolidated Independent School District
relation diplomatic relation
['Czech Republic', 'diplomatic relation', 'Brazil'] ['Czech Republic', 'diplomatic relation', 'Harlingen Consolidated Independent School District']
ASK WHERE { resource:Czech_Republic property:diplomatic_relation resource:Brazil . resource:Czech_Republic property:diplomatic_relation resource:Harlingen_Consolidated_Independent_School_District }
[]