Simple Question (Direct)
Simple Question
Q15492592
P27
Q15617994
USER
Which administrative territory is Gordon Sherman Haight an inhabitant of ?
(Q15492592,P27,c(Q15617994))
action filter_type
action find
entity Q15492592
relation P27
type Q15617994
['Q15492592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q15492592 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Gordon Sherman Haight
action filter_type
action find
entity Gordon Sherman Haight
relation country of citizenship
type designation for an administrative territorial entity
['Gordon Sherman Haight', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Gordon_Sherman_Haight property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q15492592,P27,c(Q15617994))
action filter_type
action find
entity Q15492592
relation P27
type Q15617994
The [ANSWER] is Gordon Sherman Haight an inhabitant of
['Q15492592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q15492592 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is Gordon Sherman Haight an inhabitant of
United States of America
action filter_type
action find
entity Gordon Sherman Haight
relation country of citizenship
type designation for an administrative territorial entity
['Gordon Sherman Haight', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Gordon_Sherman_Haight property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P610
Q14524493
USER
Which is the highest peak of that administrative territory ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P610 ?a . ?a rdf:type ontology:Q14524493 }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:highest_point ?a . ?a rdf:type ontology:terrain }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
The highest peak of that administrative territory is Mount [ANSWER]
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P610 ?a . ?a rdf:type ontology:Q14524493 }
Denali
The highest peak of that administrative territory is Mount Denali
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:highest_point ?a . ?a rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P194 ?f . ?f rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:legislative_body ?f . ?f rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P194 ?f . ?f rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:legislative_body ?f . ?f rdf:type ontology:legislature }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1125991 Q30
P361 P194
Q11204
USER
Which legislatures are the legislative bodies for United States of America and are Congressional Budget Office a component of ?
AND((Q30,P194,c(Q11204)), (Q1125991,P361,c(Q11204)))
action filter_type
action intersection
action find
entity Q30
relation P194
action find
entity Q1125991
relation P361
type Q11204
{'AND': [['Q30', 'P194', {'concept': 'Q11204'}], ['Q1125991', 'P361', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?v WHERE { resource:Q1125991 property:P361 ?v . resource:Q30 property:P194 ?v . ?v rdf:type ontology:Q11204 }
Congressional Budget Office United States of America
action filter_type
action intersection
action find
entity United States of America
relation legislative body
action find
entity Congressional Budget Office
relation part of
type legislature
{'AND': [['United States of America', 'legislative body', {'concept': 'legislature'}], ['Congressional Budget Office', 'part of', {'concept': 'legislature'}]]}
SELECT DISTINCT ?v WHERE { resource:Congressional_Budget_Office property:part_of ?v . resource:United_States_of_America property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
AND((Q30,P194,c(Q11204)), (Q1125991,P361,c(Q11204)))
action filter_type
action intersection
action find
entity Q30
relation P194
action find
entity Q1125991
relation P361
type Q11204
The [ANSWER] is the legislative bodies for United States of America and is Congressional Budget Office a component of
{'AND': [['Q30', 'P194', {'concept': 'Q11204'}], ['Q1125991', 'P361', {'concept': 'Q11204'}]]}
SELECT DISTINCT ?v WHERE { resource:Q1125991 property:P361 ?v . resource:Q30 property:P194 ?v . ?v rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative bodies for United States of America and is Congressional Budget Office a component of
United States Congress
action filter_type
action intersection
action find
entity United States of America
relation legislative body
action find
entity Congressional Budget Office
relation part of
type legislature
{'AND': [['United States of America', 'legislative body', {'concept': 'legislature'}], ['Congressional Budget Office', 'part of', {'concept': 'legislature'}]]}
SELECT DISTINCT ?v WHERE { resource:Congressional_Budget_Office property:part_of ?v . resource:United_States_of_America property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11268 Q30 Q8033528
P1001
Q15617994
USER
Does United States Congress have jurisdiction over United States of America and Woodville Independent School District ?
(Q11268,P1001,Q30) (Q11268,P1001,Q8033528)
action is_in
entity Q11268
action intersection
action find_reverse
entity Q30
relation P1001
action find_reverse
entity Q8033528
relation P1001
['Q11268', 'P1001', 'Q30'] ['Q11268', 'P1001', 'Q8033528']
ASK WHERE { resource:Q11268 property:P1001 resource:Q30 . resource:Q11268 property:P1001 resource:Q8033528 }
United States Congress United States of America Woodville Independent School District
action is_in
entity United States Congress
action intersection
action find_reverse
entity United States of America
relation applies to jurisdiction
action find_reverse
entity Woodville Independent School District
relation applies to jurisdiction
['United States Congress', 'applies to jurisdiction', 'United States of America'] ['United States Congress', 'applies to jurisdiction', 'Woodville Independent School District']
ASK WHERE { resource:United_States_Congress property:applies_to_jurisdiction resource:United_States_of_America . resource:United_States_Congress property:applies_to_jurisdiction resource:Woodville_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q11268,P1001,Q30) (Q11268,P1001,Q8033528)
action is_in
entity Q11268
action intersection
action find_reverse
entity Q30
relation P1001
action find_reverse
entity Q8033528
relation P1001
[ANSWER]
['Q11268', 'P1001', 'Q30'] ['Q11268', 'P1001', 'Q8033528']
ASK WHERE { resource:Q11268 property:P1001 resource:Q30 . resource:Q11268 property:P1001 resource:Q8033528 }
YES and NO respectively
action is_in
entity United States Congress
action intersection
action find_reverse
entity United States of America
relation applies to jurisdiction
action find_reverse
entity Woodville Independent School District
relation applies to jurisdiction
['United States Congress', 'applies to jurisdiction', 'United States of America'] ['United States Congress', 'applies to jurisdiction', 'Woodville Independent School District']
ASK WHERE { resource:United_States_Congress property:applies_to_jurisdiction resource:United_States_of_America . resource:United_States_Congress property:applies_to_jurisdiction resource:Woodville_Independent_School_District }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1415
P194
Q11204 Q852446
USER
How many US administrative territories have around the same number of legislatures as their legislative body as Indiana ?
(c(Q852446),P194,c(Q11204))
action count
action approx
action find_tuple_counts
relation P194
type Q852446
type Q11204
action count
action filter_type
action find
entity Q1415
relation P194
type Q852446
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q1415 property:P194 ?b . ?b rdf:type ontology:Q852446 } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q11204 . ?e rdf:type ontology:Q852446 . ?e property:P194 ?p } GROUP BY ?e } }
Indiana
action count
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity of the United States
type legislature
action count
action filter_type
action find
entity Indiana
relation legislative body
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Indiana property:legislative_body ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:legislature . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e property:legislative_body ?p } GROUP BY ?e } }
[]
legislature administrative territorial entity of the United States
SYSTEM
50
Q1397 Q1603 Q1391 Q824 Q724 Q1581 Q1537 Q1370 Q1439 Q1612 Q1454 Q1393 Q1456 Q1509 Q1415 Q829 Q99 Q782 Q1400 Q1384 Q1527 Q1546 Q1204 Q1522 Q1227 Q1223 Q1166 Q1221 Q816 Q771 Q1207 Q812 Q1387 Q1371 Q1261 Q779 Q1408 Q1649 Q1428 Q759 Q1558 Q1588 Q173 Q797 Q1212 Q1553 Q1211 Q1214 Q16551 Q1494
(c(Q852446),P194,c(Q11204))
action count
action approx
action find_tuple_counts
relation P194
type Q852446
type Q11204
action count
action filter_type
action find
entity Q1415
relation P194
type Q852446
[ANSWER]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q1415 property:P194 ?b . ?b rdf:type ontology:Q852446 } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q11204 . ?e rdf:type ontology:Q852446 . ?e property:P194 ?p } GROUP BY ?e } }
Ohio Kentucky Maryland Oregon Maine Missouri Wisconsin Virginia Texas Arkansas North Carolina Delaware South Carolina Tennessee Indiana Utah California Hawaii Pennsylvania New York Minnesota Iowa Illinois New Mexico Nevada Washington Michigan Idaho Arizona Massachusetts North Dakota Florida Rhode Island West Virginia Colorado Connecticut New Jersey Oklahoma Georgia New Hampshire Kansas Louisiana Alabama Alaska Montana Nebraska South Dakota Wyoming Vermont Mississippi
50
action count
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity of the United States
type legislature
action count
action filter_type
action find
entity Indiana
relation legislative body
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Indiana property:legislative_body ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:legislature . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e property:legislative_body ?p } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1408
P194
Q11204 Q852446
USER
And also tell me about New Jersey?
(c(Q852446),P194,c(Q11204))
action count
action approx
action find_tuple_counts
relation P194
type Q852446
type Q11204
action count
action filter_type
action find
entity Q1408
relation P194
type Q852446
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:Q852446 . ?g rdf:type ontology:Q11204 . ?a property:P194 ?g } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q1408 property:P194 ?u . ?u rdf:type ontology:Q852446 } } . FILTER ( ?i = ?f ) }
New Jersey
action count
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity of the United States
type legislature
action count
action filter_type
action find
entity New Jersey
relation legislative body
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?g rdf:type ontology:legislature . ?a property:legislative_body ?g } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:New_Jersey property:legislative_body ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?i = ?f ) }
[]
legislature administrative territorial entity of the United States
SYSTEM
50
Q1397 Q1603 Q1391 Q824 Q724 Q1581 Q1537 Q1370 Q1439 Q1612 Q1454 Q1393 Q1456 Q1509 Q1415 Q829 Q99 Q782 Q1400 Q1384 Q1527 Q1546 Q1204 Q1522 Q1227 Q1223 Q1166 Q1221 Q816 Q771 Q1207 Q812 Q1387 Q1371 Q1261 Q779 Q1408 Q1649 Q1428 Q759 Q1558 Q1588 Q173 Q797 Q1212 Q1553 Q1211 Q1214 Q16551 Q1494
(c(Q852446),P194,c(Q11204))
action count
action approx
action find_tuple_counts
relation P194
type Q852446
type Q11204
action count
action filter_type
action find
entity Q1408
relation P194
type Q852446
[ANSWER]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:Q852446 . ?g rdf:type ontology:Q11204 . ?a property:P194 ?g } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q1408 property:P194 ?u . ?u rdf:type ontology:Q852446 } } . FILTER ( ?i = ?f ) }
Ohio Kentucky Maryland Oregon Maine Missouri Wisconsin Virginia Texas Arkansas North Carolina Delaware South Carolina Tennessee Indiana Utah California Hawaii Pennsylvania New York Minnesota Iowa Illinois New Mexico Nevada Washington Michigan Idaho Arizona Massachusetts North Dakota Florida Rhode Island West Virginia Colorado Connecticut New Jersey Oklahoma Georgia New Hampshire Kansas Louisiana Alabama Alaska Montana Nebraska South Dakota Wyoming Vermont Mississippi
50
action count
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity of the United States
type legislature
action count
action filter_type
action find
entity New Jersey
relation legislative body
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?g rdf:type ontology:legislature . ?a property:legislative_body ?g } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:New_Jersey property:legislative_body ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?i = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
What is the authority organ held by United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q895526 . resource:Q30 property:P1313 ?o }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:authority_organ . resource:United_States_of_America property:office_held_by_head_of_government ?o }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
The authority organ held by United States of America is the [ANSWER]
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q895526 . resource:Q30 property:P1313 ?o }
President of the United States of America
The authority organ held by United States of America is the President of the United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:authority_organ . resource:United_States_of_America property:office_held_by_head_of_government ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P108
Q502895
USER
Which person is working for United States of America ?
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q30 . ?g rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:United_States_of_America . ?g rdf:type ontology:common_name }
[]
common name
Q231417
SYSTEM
Barbara Walters
Q231417
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[ANSWER] is working for United States of America
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?g WHERE { ?g property:P108 resource:Q30 . ?g rdf:type ontology:Q502895 }
Barbara Walters
Barbara Walters is working for United States of America
Barbara Walters
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?g WHERE { ?g property:employer resource:United_States_of_America . ?g rdf:type ontology:common_name }
[]