Simple Question (Direct)
Simple Question
Q1758507
P102
Q7210356
USER
Which party does Peter DeFazio belong to ?
(Q1758507,P102,c(Q7210356))
action filter_type
action find
entity Q1758507
relation P102
type Q7210356
['Q1758507', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q1758507 property:P102 ?k }
Peter DeFazio
action filter_type
action find
entity Peter DeFazio
relation member of political party
type political organization
['Peter DeFazio', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:Peter_DeFazio property:member_of_political_party ?k }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1758507,P102,c(Q7210356))
action filter_type
action find
entity Q1758507
relation P102
type Q7210356
Peter DeFazio belongs to [ANSWER]
['Q1758507', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q1758507 property:P102 ?k }
Democratic Party
Peter DeFazio belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Peter DeFazio
relation member of political party
type political organization
['Peter DeFazio', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:Peter_DeFazio property:member_of_political_party ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1758507
P937
Q56061
USER
What is the location where that person worked ?
(Q29552,P937,c(Q56061))
action filter_type
action find
entity Q1758507
relation P937
type Q56061
['Q29552', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q1758507 property:P937 ?y }
Peter DeFazio
action filter_type
action find
entity Peter DeFazio
relation work location
type administrative territorial entity
['Democratic Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Peter_DeFazio property:work_location ?y }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q29552,P937,c(Q56061))
action filter_type
action find
entity Q1758507
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q29552', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q1758507 property:P937 ?y }
Washington, D.C.
The location that person worked is in Washington, D.C.
Washington, D.C.
action filter_type
action find
entity Peter DeFazio
relation work location
type administrative territorial entity
['Democratic Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Peter_DeFazio property:work_location ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P740
Q43229 Q4830453
USER
How many organizations or business enterprises were formed at that administrative territory ?
(c(Q43229),P740,Q61) (c(Q4830453),P740,Q61) (c(Q43229),P740,Q61) (c(Q4830453),P740,Q61)
action count
action union
action filter_type
action find_reverse
entity Q61
relation P740
type Q43229
action filter_type
action find_reverse
entity Q61
relation P740
type Q4830453
[{'concept': 'Q43229'}, 'P740', 'Q61'] [{'concept': 'Q4830453'}, 'P740', 'Q61'] [{'concept': 'Q43229'}, 'P740', 'Q61'] [{'concept': 'Q4830453'}, 'P740', 'Q61']
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } }
action count
action union
action filter_type
action find_reverse
entity Washington, D.C.
relation location of formation
type organization
action filter_type
action find_reverse
entity Washington, D.C.
relation location of formation
type business enterprise
[{'concept': 'organization'}, 'location of formation', 'Washington, D.C.'] [{'concept': 'business enterprise'}, 'location of formation', 'Washington, D.C.'] [{'concept': 'organization'}, 'location of formation', 'Washington, D.C.'] [{'concept': 'business enterprise'}, 'location of formation', 'Washington, D.C.']
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:organization ) ( ontology:business_enterprise ) } }
[]
organization business enterprise
SYSTEM
18
Q4731192 Q5500039 Q7727656 Q6972887 Q17012267 Q5176576 Q17109269 Q1195231 Q1583606 Q5036368 Q174310 Q696334 Q16987799 Q4651287 Q629981 Q6038195 Q7979815 Q17091588
(c(Q43229),P740,Q61) (c(Q4830453),P740,Q61) (c(Q43229),P740,Q61) (c(Q4830453),P740,Q61)
action count
action union
action filter_type
action find_reverse
entity Q61
relation P740
type Q43229
action filter_type
action find_reverse
entity Q61
relation P740
type Q4830453
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q61'] [{'concept': 'Q4830453'}, 'P740', 'Q61'] [{'concept': 'Q43229'}, 'P740', 'Q61'] [{'concept': 'Q4830453'}, 'P740', 'Q61']
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } }
Allbritton Communications Company Free Range Studios The Corporate Executive Board Company National Geographic Image Collection ENVIRON Council on State Taxation Smith Brandon International American Institute in Taiwan Monotype Capstone Development Nordstrom Toys "R" Us Beacon Global Strategies LLC AED Arbitron Inslaw Weidlinger Associates New Media Strategies
18
action count
action union
action filter_type
action find_reverse
entity Washington, D.C.
relation location of formation
type organization
action filter_type
action find_reverse
entity Washington, D.C.
relation location of formation
type business enterprise
[{'concept': 'organization'}, 'location of formation', 'Washington, D.C.'] [{'concept': 'business enterprise'}, 'location of formation', 'Washington, D.C.'] [{'concept': 'organization'}, 'location of formation', 'Washington, D.C.'] [{'concept': 'business enterprise'}, 'location of formation', 'Washington, D.C.']
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?r . VALUES ( ?r ) { ( ontology:organization ) ( ontology:business_enterprise ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5002171 Q1758507
P27
Q15617994
USER
Which administrative territories are the native countriesof Peter DeFazio or Buster Narum ?
OR((Q1758507,P27,c(Q15617994)), (Q5002171,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1758507
relation P27
action find
entity Q5002171
relation P27
type Q15617994
{'OR': [['Q1758507', 'P27', {'concept': 'Q15617994'}], ['Q5002171', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Q1758507 ) ( resource:Q5002171 ) } . ?l property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Buster Narum Peter DeFazio
action filter_type
action union
action find
entity Peter DeFazio
relation country of citizenship
action find
entity Buster Narum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peter DeFazio', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Buster Narum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Peter_DeFazio ) ( resource:Buster_Narum ) } . ?l property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q1758507,P27,c(Q15617994)), (Q5002171,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1758507
relation P27
action find
entity Q5002171
relation P27
type Q15617994
[ANSWER] is the native countriesof Peter DeFazio or Buster Narum
{'OR': [['Q1758507', 'P27', {'concept': 'Q15617994'}], ['Q5002171', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Q1758507 ) ( resource:Q5002171 ) } . ?l property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
United States of America
United States of America is the native countriesof Peter DeFazio or Buster Narum
United States of America
action filter_type
action union
action find
entity Peter DeFazio
relation country of citizenship
action find
entity Buster Narum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peter DeFazio', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Buster Narum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Peter_DeFazio ) ( resource:Buster_Narum ) } . ?l property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5002171
P54
Q12973014
USER
Which sports teams are Buster Narum a member of ?
(Q30,P54,c(Q12973014))
action filter_type
action find
entity Q5002171
relation P54
type Q12973014
['Q30', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12973014 . resource:Q5002171 property:P54 ?u }
Buster Narum
action filter_type
action find
entity Buster Narum
relation member of sports team
type sports team
['United States of America', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sports_team . resource:Buster_Narum property:member_of_sports_team ?u }
[]
sports team
Q1966948 Q650816
SYSTEM
Rochester Red Wings, Baltimore Orioles
Q1966948 Q650816
(Q30,P54,c(Q12973014))
action filter_type
action find
entity Q5002171
relation P54
type Q12973014
The [ANSWERS] are Buster Narum a member of
['Q30', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12973014 . resource:Q5002171 property:P54 ?u }
Rochester Red Wings Baltimore Orioles
The Rochester Red Wings and Baltimore Orioles are Buster Narum a member of
Rochester Red Wings Baltimore Orioles
action filter_type
action find
entity Buster Narum
relation member of sports team
type sports team
['United States of America', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sports_team . resource:Buster_Narum property:member_of_sports_team ?u }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23770409
P54
Q502895
USER
Does Charles Sybourg play for those sports teams ?
(Q23770409,P54,Q1966948) (Q23770409,P54,Q650816)
action is_in
entity prev_answer
action find
entity Q23770409
relation P54
['Q23770409', 'P54', 'Q1966948'] ['Q23770409', 'P54', 'Q650816']
ASK WHERE { resource:Q23770409 property:P54 ?j . VALUES ( ?j ) { ( resource:Q1966948 ) ( resource:Q650816 ) } }
Charles Sybourg
action is_in
entity prev_answer
action find
entity Charles Sybourg
relation member of sports team
['Charles Sybourg', 'member of sports team', 'Rochester Red Wings'] ['Charles Sybourg', 'member of sports team', 'Baltimore Orioles']
ASK WHERE { resource:Charles_Sybourg property:member_of_sports_team ?j . VALUES ( ?j ) { ( resource:Rochester_Red_Wings ) ( resource:Baltimore_Orioles ) } }
[]
common name
SYSTEM
NO
(Q23770409,P54,Q1966948) (Q23770409,P54,Q650816)
action is_in
entity prev_answer
action find
entity Q23770409
relation P54
[ANSWER]
['Q23770409', 'P54', 'Q1966948'] ['Q23770409', 'P54', 'Q650816']
ASK WHERE { resource:Q23770409 property:P54 ?j . VALUES ( ?j ) { ( resource:Q1966948 ) ( resource:Q650816 ) } }
No
action is_in
entity prev_answer
action find
entity Charles Sybourg
relation member of sports team
['Charles Sybourg', 'member of sports team', 'Rochester Red Wings'] ['Charles Sybourg', 'member of sports team', 'Baltimore Orioles']
ASK WHERE { resource:Charles_Sybourg property:member_of_sports_team ?j . VALUES ( ?j ) { ( resource:Rochester_Red_Wings ) ( resource:Baltimore_Orioles ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29552 Q2230194 Q61
P159
Q56061
USER
Does Democratic Party have headquarters located at Long Beach and Washington, D.C. ?
(Q29552,P159,Q2230194) (Q29552,P159,Q61)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q2230194
relation P159
action find_reverse
entity Q61
relation P159
['Q29552', 'P159', 'Q2230194'] ['Q29552', 'P159', 'Q61']
ASK WHERE { resource:Q29552 property:P159 resource:Q2230194 . resource:Q29552 property:P159 resource:Q61 }
Democratic Party Long Beach Washington, D.C.
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Long Beach
relation headquarters location
action find_reverse
entity Washington, D.C.
relation headquarters location
['Democratic Party', 'headquarters location', 'Long Beach'] ['Democratic Party', 'headquarters location', 'Washington, D.C.']
ASK WHERE { resource:Democratic_Party property:headquarters_location resource:Long_Beach . resource:Democratic_Party property:headquarters_location resource:Washington,_D.C. }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q29552,P159,Q2230194) (Q29552,P159,Q61)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q2230194
relation P159
action find_reverse
entity Q61
relation P159
[ANSWER]
['Q29552', 'P159', 'Q2230194'] ['Q29552', 'P159', 'Q61']
ASK WHERE { resource:Q29552 property:P159 resource:Q2230194 . resource:Q29552 property:P159 resource:Q61 }
NO and YES respectively
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Long Beach
relation headquarters location
action find_reverse
entity Washington, D.C.
relation headquarters location
['Democratic Party', 'headquarters location', 'Long Beach'] ['Democratic Party', 'headquarters location', 'Washington, D.C.']
ASK WHERE { resource:Democratic_Party property:headquarters_location resource:Long_Beach . resource:Democratic_Party property:headquarters_location resource:Washington,_D.C. }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q61 Q23 Q5952981
P138
Q502895
USER
Does Washington, D.C. have George Washington and Juan de Altamirano as its toponym ?
(Q61,P138,Q23) (Q61,P138,Q5952981)
action is_in
entity Q61
action intersection
action find_reverse
entity Q23
relation P138
action find_reverse
entity Q5952981
relation P138
['Q61', 'P138', 'Q23'] ['Q61', 'P138', 'Q5952981']
ASK WHERE { resource:Q61 property:P138 resource:Q23 . resource:Q61 property:P138 resource:Q5952981 }
Washington, D.C. George Washington Juan de Altamirano
action is_in
entity Washington, D.C.
action intersection
action find_reverse
entity George Washington
relation named after
action find_reverse
entity Juan de Altamirano
relation named after
['Washington, D.C.', 'named after', 'George Washington'] ['Washington, D.C.', 'named after', 'Juan de Altamirano']
ASK WHERE { resource:Washington,_D.C. property:named_after resource:George_Washington . resource:Washington,_D.C. property:named_after resource:Juan_de_Altamirano }
[]
common name
SYSTEM
YES and NO respectively
(Q61,P138,Q23) (Q61,P138,Q5952981)
action is_in
entity Q61
action intersection
action find_reverse
entity Q23
relation P138
action find_reverse
entity Q5952981
relation P138
[ANSWER]
['Q61', 'P138', 'Q23'] ['Q61', 'P138', 'Q5952981']
ASK WHERE { resource:Q61 property:P138 resource:Q23 . resource:Q61 property:P138 resource:Q5952981 }
YES and NO respectively
action is_in
entity Washington, D.C.
action intersection
action find_reverse
entity George Washington
relation named after
action find_reverse
entity Juan de Altamirano
relation named after
['Washington, D.C.', 'named after', 'George Washington'] ['Washington, D.C.', 'named after', 'Juan de Altamirano']
ASK WHERE { resource:Washington,_D.C. property:named_after resource:George_Washington . resource:Washington,_D.C. property:named_after resource:Juan_de_Altamirano }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61
P190
Q15617994
USER
Which administrative territory is twin town of Washington, D.C. ?
(Q61,P190,c(Q15617994))
action filter_type
action find
entity Q61
relation P190
type Q15617994
['Q61', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q61 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Washington, D.C.
action filter_type
action find
entity Washington, D.C.
relation sister city
type designation for an administrative territorial entity
['Washington, D.C.', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Washington,_D.C. property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q158876
SYSTEM
Reinickendorf
Q158876
(Q61,P190,c(Q15617994))
action filter_type
action find
entity Q61
relation P190
type Q15617994
[ANSWER] is twin town of Washington, D.C.
['Q61', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q61 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Reinickendorf
Reinickendorf is twin town of Washington, D.C.
Reinickendorf
action filter_type
action find
entity Washington, D.C.
relation sister city
type designation for an administrative territorial entity
['Washington, D.C.', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Washington,_D.C. property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q158876
P47
Q15617994
USER
Who share the border with that one ?
(Q158876,P47,c(Q15617994))
action filter_type
action find
entity Q158876
relation P47
type Q15617994
['Q158876', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q158876 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Reinickendorf
action filter_type
action find
entity Reinickendorf
relation shares border with
type designation for an administrative territorial entity
['Reinickendorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Reinickendorf property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q158095 Q163966 Q163012
SYSTEM
Charlottenburg-Wilmersdorf, Mitte, Pankow
Q163012 Q158095 Q163966 Q158083
(Q158876,P47,c(Q15617994))
action filter_type
action find
entity Q158876
relation P47
type Q15617994
[ANSWERS] share the border with that one
['Q158876', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q158876 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Pankow Charlottenburg-Wilmersdorf Mitte Spandau
Charlottenburg-Wilmersdorf, Mitte and Pankow share the border with that one
Charlottenburg-Wilmersdorf Mitte Pankow
action filter_type
action find
entity Reinickendorf
relation shares border with
type designation for an administrative territorial entity
['Reinickendorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Reinickendorf property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]