Simple Question (Direct)
Simple Question
Q493605
P36
Q56061
USER
What is the capital of Duval County ?
(Q493605,P36,c(Q56061))
action filter_type
action find
entity Q493605
relation P36
type Q56061
['Q493605', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q493605 property:P36 ?f }
Duval County
action filter_type
action find
entity Duval County
relation capital
type administrative territorial entity
['Duval County', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Duval_County property:capital ?f }
[]
administrative territorial entity
Q16568
SYSTEM
Jacksonville
Q16568
(Q493605,P36,c(Q56061))
action filter_type
action find
entity Q493605
relation P36
type Q56061
The capital of Duval County is in [ANSWER]
['Q493605', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q493605 property:P36 ?f }
Jacksonville
The capital of Duval County is in Jacksonville
Jacksonville
action filter_type
action find
entity Duval County
relation capital
type administrative territorial entity
['Duval County', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Duval_County property:capital ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q493605
P17
Q15617994
USER
Which administrative territory is Duval County a part of ?
(Q493605,P17,c(Q15617994))
action filter_type
action find
entity Q493605
relation P17
type Q15617994
['Q493605', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q493605 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Duval County
action filter_type
action find
entity Duval County
relation country
type designation for an administrative territorial entity
['Duval County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Duval_County property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q493605,P17,c(Q15617994))
action filter_type
action find
entity Q493605
relation P17
type Q15617994
The [ANSWER] is Duval County a part of
['Q493605', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q493605 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
The United States of America is Duval County a part of
United States of America
action filter_type
action find
entity Duval County
relation country
type designation for an administrative territorial entity
['Duval County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Duval_County property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q493605
P108
Q502895
USER
Which person works for that US administrative territory ?
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q493605
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q493605 . ?z rdf:type ontology:Q502895 }
Duval County
action filter_type
action find_reverse
entity Duval County
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Duval_County . ?z rdf:type ontology:common_name }
[]
common name
Q8025880
SYSTEM
Winona Cargile Alexander
Q8025880
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q493605
relation P108
type Q502895
[ANSWER] works for that US administrative territory
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q493605 . ?z rdf:type ontology:Q502895 }
Winona Cargile Alexander
Winona Cargile Alexander works for that US administrative territory
Winona Cargile Alexander
action filter_type
action find_reverse
entity Duval County
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Duval_County . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18509124 Q493605
P138
Q502895
USER
Which people are Duval County or Frank Lloyd Wright Foundation named after ?
OR((Q493605,P138,c(Q502895)), (Q18509124,P138,c(Q502895)))
action filter_type
action union
action find
entity Q493605
relation P138
action find
entity Q18509124
relation P138
type Q502895
{'OR': [['Q493605', 'P138', {'concept': 'Q502895'}], ['Q18509124', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q493605 ) ( resource:Q18509124 ) } . ?a property:P138 ?h } . ?h rdf:type ontology:Q502895 }
Frank Lloyd Wright Foundation Duval County
action filter_type
action union
action find
entity Duval County
relation named after
action find
entity Frank Lloyd Wright Foundation
relation named after
type common name
{'OR': [['Duval County', 'named after', {'concept': 'common name'}], ['Frank Lloyd Wright Foundation', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Duval_County ) ( resource:Frank_Lloyd_Wright_Foundation ) } . ?a property:named_after ?h } . ?h rdf:type ontology:common_name }
[]
common name
Q885839 Q5604
SYSTEM
William Pope Duval, Frank Lloyd Wright
Q885839 Q5604
OR((Q493605,P138,c(Q502895)), (Q18509124,P138,c(Q502895)))
action filter_type
action union
action find
entity Q493605
relation P138
action find
entity Q18509124
relation P138
type Q502895
Duval County or Frank Lloyd Wright Foundation are named for [ANSWERS]
{'OR': [['Q493605', 'P138', {'concept': 'Q502895'}], ['Q18509124', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q493605 ) ( resource:Q18509124 ) } . ?a property:P138 ?h } . ?h rdf:type ontology:Q502895 }
William Pope Duval Frank Lloyd Wright
Duval County or Frank Lloyd Wright Foundation are named for William Pope Duval and Frank Lloyd Wright
William Pope Duval Frank Lloyd Wright
action filter_type
action union
action find
entity Duval County
relation named after
action find
entity Frank Lloyd Wright Foundation
relation named after
type common name
{'OR': [['Duval County', 'named after', {'concept': 'common name'}], ['Frank Lloyd Wright Foundation', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Duval_County ) ( resource:Frank_Lloyd_Wright_Foundation ) } . ?a property:named_after ?h } . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q493605
P19 P21
Q502895
USER
Which people were born at Duval County and are a male ?
AND((c(Q502895),P19,Q493605), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q493605
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q493605'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q493605 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
male Duval County
action filter_type
action intersection
action find_reverse
entity Duval County
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Duval County'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Duval_County . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
common name
Q5394657 Q732188
SYSTEM
Ernie Newton, Napoleon B. Broward
Q5394657 Q732188
AND((c(Q502895),P19,Q493605), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q493605
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Duval County and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q493605'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q493605 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
Ernie Newton Napoleon B. Broward
Ernie Newton and Napoleon B. Broward were born at Duval County and are a male
Ernie Newton Napoleon B. Broward
action filter_type
action intersection
action find_reverse
entity Duval County
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Duval County'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Duval_County . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]