Simple Question (Direct)
Simple Question
Q2941781
P27
Q15617994
USER
Which administrative territory is the native country of Catharina van Rees ?
(Q2941781,P27,c(Q15617994))
action filter_type
action find
entity Q2941781
relation P27
type Q15617994
['Q2941781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q2941781 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Catharina van Rees
action filter_type
action find
entity Catharina van Rees
relation country of citizenship
type designation for an administrative territorial entity
['Catharina van Rees', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Catharina_van_Rees property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2941781,P27,c(Q15617994))
action filter_type
action find
entity Q2941781
relation P27
type Q15617994
[ANSWER] is the native country of Catharina van Rees
['Q2941781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q2941781 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of Catharina van Rees
Kingdom of the Netherlands
action filter_type
action find
entity Catharina van Rees
relation country of citizenship
type designation for an administrative territorial entity
['Catharina van Rees', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Catharina_van_Rees property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2941781
P20
Q56061
USER
Where did that person die ?
(Q29999,P20,c(Q56061))
action filter_type
action find
entity Q2941781
relation P20
type Q56061
['Q29999', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q2941781 property:P20 ?e }
Catharina van Rees
action filter_type
action find
entity Catharina van Rees
relation place of death
type administrative territorial entity
['Kingdom of the Netherlands', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Catharina_van_Rees property:place_of_death ?e }
[]
administrative territorial entity
Q2375289
SYSTEM
Velp
Q2375289
(Q29999,P20,c(Q56061))
action filter_type
action find
entity Q2941781
relation P20
type Q56061
That person died in [ANSWER]
['Q29999', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q2941781 property:P20 ?e }
Velp
That person died in Velp
Velp
action filter_type
action find
entity Catharina van Rees
relation place of death
type administrative territorial entity
['Kingdom of the Netherlands', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Catharina_van_Rees property:place_of_death ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2375289
P1383
Q13220204
USER
Which administrative country subdivision supervises that administrative territory ?
(c(Q13220204),P1383,Q2375289)
action filter_type
action find_reverse
entity Q2375289
relation P1383
type Q13220204
[{'concept': 'Q13220204'}, 'P1383', 'Q2375289']
SELECT DISTINCT ?t WHERE { ?t property:P1383 resource:Q2375289 . ?t rdf:type ontology:Q13220204 }
Velp
action filter_type
action find_reverse
entity Velp
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Velp']
SELECT DISTINCT ?t WHERE { ?t property:contains_settlement resource:Velp . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q843899
SYSTEM
Rheden
Q843899
(c(Q13220204),P1383,Q2375289)
action filter_type
action find_reverse
entity Q2375289
relation P1383
type Q13220204
[ANSWER] supervises that administrative territory
[{'concept': 'Q13220204'}, 'P1383', 'Q2375289']
SELECT DISTINCT ?t WHERE { ?t property:P1383 resource:Q2375289 . ?t rdf:type ontology:Q13220204 }
Rheden
Rheden supervises that administrative territory
Rheden
action filter_type
action find_reverse
entity Velp
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Velp']
SELECT DISTINCT ?t WHERE { ?t property:contains_settlement resource:Velp . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q145845 Q843899
P47
Q13220204
USER
Which administrative country subdivisions are adjacent to Rheden and Doetinchem ?
AND((Q843899,P47,c(Q13220204)), (Q145845,P47,c(Q13220204)))
action filter_type
action intersection
action find
entity Q843899
relation P47
action find
entity Q145845
relation P47
type Q13220204
{'AND': [['Q843899', 'P47', {'concept': 'Q13220204'}], ['Q145845', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?a WHERE { resource:Q843899 property:P47 ?a . resource:Q145845 property:P47 ?a . ?a rdf:type ontology:Q13220204 }
Doetinchem Rheden
action filter_type
action intersection
action find
entity Rheden
relation shares border with
action find
entity Doetinchem
relation shares border with
type second-level administrative country subdivision
{'AND': [['Rheden', 'shares border with', {'concept': 'second-level administrative country subdivision'}], ['Doetinchem', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?a WHERE { resource:Rheden property:shares_border_with ?a . resource:Doetinchem property:shares_border_with ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q747999 Q197050
SYSTEM
Bronckhorst, Zevenaar
Q747999 Q197050
AND((Q843899,P47,c(Q13220204)), (Q145845,P47,c(Q13220204)))
action filter_type
action intersection
action find
entity Q843899
relation P47
action find
entity Q145845
relation P47
type Q13220204
[ANSWERS] are adjacent to Rheden and Doetinchem
{'AND': [['Q843899', 'P47', {'concept': 'Q13220204'}], ['Q145845', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?a WHERE { resource:Q843899 property:P47 ?a . resource:Q145845 property:P47 ?a . ?a rdf:type ontology:Q13220204 }
Bronckhorst Zevenaar
Bronckhorst and Zevenaar are adjacent to Rheden and Doetinchem
Bronckhorst Zevenaar
action filter_type
action intersection
action find
entity Rheden
relation shares border with
action find
entity Doetinchem
relation shares border with
type second-level administrative country subdivision
{'AND': [['Rheden', 'shares border with', {'concept': 'second-level administrative country subdivision'}], ['Doetinchem', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?a WHERE { resource:Rheden property:shares_border_with ?a . resource:Doetinchem property:shares_border_with ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q843899
P47
Q13220204
USER
How many administrative country subdivisions are bordered by Rheden ?
(Q843899,P47,c(Q13220204))
action count
action filter_type
action find
entity Q843899
relation P47
type Q13220204
['Q843899', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q843899 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Rheden
action count
action filter_type
action find
entity Rheden
relation shares border with
type second-level administrative country subdivision
['Rheden', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Rheden property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
SYSTEM
5
Q747999 Q197050 Q524808 Q372592 Q843895
(Q843899,P47,c(Q13220204))
action count
action filter_type
action find
entity Q843899
relation P47
type Q13220204
[ANSWER]
['Q843899', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q843899 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Bronckhorst Zevenaar Westervoort Rozendaal Brummen
5
action count
action filter_type
action find
entity Rheden
relation shares border with
type second-level administrative country subdivision
['Rheden', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Rheden property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q488398
Q13220204
USER
And what about Lunner?
(Q488398,P47,c(Q13220204))
action count
action filter_type
action find
entity Q488398
relation P47
type Q13220204
['Q488398', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q488398 property:P47 ?c . ?c rdf:type ontology:Q13220204 }
Lunner
action count
action filter_type
action find
entity Lunner
relation shares border with
type second-level administrative country subdivision
['Lunner', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Lunner property:shares_border_with ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
SYSTEM
5
(Q488398,P47,c(Q13220204))
action count
action filter_type
action find
entity Q488398
relation P47
type Q13220204
[ANSWER]
['Q488398', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q488398 property:P47 ?c . ?c rdf:type ontology:Q13220204 }
5
action count
action filter_type
action find
entity Lunner
relation shares border with
type second-level administrative country subdivision
['Lunner', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Lunner property:shares_border_with ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2343702 Q2941781
P106
Q12737077
USER
Which occupations are the professions of Catharina van Rees or Stephan Pinkert ?
OR((Q2941781,P106,c(Q12737077)), (Q2343702,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2941781
relation P106
action find
entity Q2343702
relation P106
type Q12737077
{'OR': [['Q2941781', 'P106', {'concept': 'Q12737077'}], ['Q2343702', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Q2941781 ) ( resource:Q2343702 ) } . ?b property:P106 ?p } . ?p rdf:type ontology:Q12737077 }
Stephan Pinkert Catharina van Rees
action filter_type
action union
action find
entity Catharina van Rees
relation occupation
action find
entity Stephan Pinkert
relation occupation
type occupation
{'OR': [['Catharina van Rees', 'occupation', {'concept': 'occupation'}], ['Stephan Pinkert', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Catharina_van_Rees ) ( resource:Stephan_Pinkert ) } . ?b property:occupation ?p } . ?p rdf:type ontology:occupation }
[]
occupation
Q36834 Q2306091 Q212238 Q36180 Q49757
SYSTEM
composer, sociologist, civil servant, writer, poet
Q36834 Q2306091 Q212238 Q36180 Q49757
OR((Q2941781,P106,c(Q12737077)), (Q2343702,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2941781
relation P106
action find
entity Q2343702
relation P106
type Q12737077
The [ANSWERS] are the professions of Catharina van Rees or Stephan Pinkert
{'OR': [['Q2941781', 'P106', {'concept': 'Q12737077'}], ['Q2343702', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Q2941781 ) ( resource:Q2343702 ) } . ?b property:P106 ?p } . ?p rdf:type ontology:Q12737077 }
composer sociologist civil servant writer poet
The composer, sociologist, civil servant, writer and poet are the professions of Catharina van Rees or Stephan Pinkert
composer sociologist civil servant writer poet
action filter_type
action union
action find
entity Catharina van Rees
relation occupation
action find
entity Stephan Pinkert
relation occupation
type occupation
{'OR': [['Catharina van Rees', 'occupation', {'concept': 'occupation'}], ['Stephan Pinkert', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Catharina_van_Rees ) ( resource:Stephan_Pinkert ) } . ?b property:occupation ?p } . ?p rdf:type ontology:occupation }
[]