Simple Question (Direct)
Simple Question
Q887021
P559
Q83620
USER
Which thoroughfares are the endpoints for Nevada State Route 278 ?
(Q887021,P559,c(Q83620))
action filter_type
action find
entity Q887021
relation P559
type Q83620
['Q887021', 'P559', {'concept': 'Q83620'}]
SELECT DISTINCT ?v WHERE { resource:Q887021 property:P559 ?v . ?v rdf:type ontology:Q83620 }
Nevada State Route 278
action filter_type
action find
entity Nevada State Route 278
relation terminus
type thoroughfare
['Nevada State Route 278', 'terminus', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?v WHERE { resource:Nevada_State_Route_278 property:terminus ?v . ?v rdf:type ontology:thoroughfare }
[]
thoroughfare
Q818979 Q453223
SYSTEM
Interstate 80 in Nevada, U.S. Route 50 in Nevada
Q818979 Q453223
(Q887021,P559,c(Q83620))
action filter_type
action find
entity Q887021
relation P559
type Q83620
The endpoints for Nevada State Route 278 are designated [ANSWERS]
['Q887021', 'P559', {'concept': 'Q83620'}]
SELECT DISTINCT ?v WHERE { resource:Q887021 property:P559 ?v . ?v rdf:type ontology:Q83620 }
Interstate 80 in Nevada U.S. Route 50 in Nevada
The endpoints for Nevada State Route 278 are designated Interstate 80 in Nevada and U.S. Route 50 in Nevada
Interstate 80 in Nevada U.S. Route 50 in Nevada
action filter_type
action find
entity Nevada State Route 278
relation terminus
type thoroughfare
['Nevada State Route 278', 'terminus', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?v WHERE { resource:Nevada_State_Route_278 property:terminus ?v . ?v rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q818979 Q453223
P559
Q83620
USER
Which thoroughfares are the endpoints for Interstate 80 in Nevada and U.S. Route 50 in Nevada ?
(Q818979,P559,c(Q83620)) (Q453223,P559,c(Q83620))
action union
action filter_type
action find
entity Q818979
relation P559
type Q83620
action filter_type
action find
entity Q453223
relation P559
type Q83620
['Q818979', 'P559', {'concept': 'Q83620'}] ['Q453223', 'P559', {'concept': 'Q83620'}]
SELECT DISTINCT ?f WHERE { { resource:Q818979 property:P559 ?f . ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q83620 . resource:Q453223 property:P559 ?f } }
Interstate 80 in Nevada U.S. Route 50 in Nevada
action union
action filter_type
action find
entity Interstate 80 in Nevada
relation terminus
type thoroughfare
action filter_type
action find
entity U.S. Route 50 in Nevada
relation terminus
type thoroughfare
['Interstate 80 in Nevada', 'terminus', {'concept': 'thoroughfare'}] ['U.S. Route 50 in Nevada', 'terminus', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?f WHERE { { resource:Interstate_80_in_Nevada property:terminus ?f . ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:thoroughfare . resource:U.S._Route_50_in_Nevada property:terminus ?f } }
[]
thoroughfare
Q270424 Q818985 Q2506844
SYSTEM
Interstate 80 in California, Interstate 80 in Utah, U.S. Route 50 in Utah
Q818985 Q270424 Q2506844 Q400404
(Q818979,P559,c(Q83620)) (Q453223,P559,c(Q83620))
action union
action filter_type
action find
entity Q818979
relation P559
type Q83620
action filter_type
action find
entity Q453223
relation P559
type Q83620
[ANSWERS] are the endpoints for Interstate 80 in Nevada and U.S. Route 50 in Nevada
['Q818979', 'P559', {'concept': 'Q83620'}] ['Q453223', 'P559', {'concept': 'Q83620'}]
SELECT DISTINCT ?f WHERE { { resource:Q818979 property:P559 ?f . ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q83620 . resource:Q453223 property:P559 ?f } }
Interstate 80 in Utah Interstate 80 in California U.S. Route 50 in Utah U.S. Route 50 in California
Interstate 80 in California, Interstate 80 in Utah and U.S. Route 50 in Utah are the endpoints for Interstate 80 in Nevada and U.S. Route 50 in Nevada
Interstate 80 in California Interstate 80 in Utah U.S. Route 50 in Utah
action union
action filter_type
action find
entity Interstate 80 in Nevada
relation terminus
type thoroughfare
action filter_type
action find
entity U.S. Route 50 in Nevada
relation terminus
type thoroughfare
['Interstate 80 in Nevada', 'terminus', {'concept': 'thoroughfare'}] ['U.S. Route 50 in Nevada', 'terminus', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?f WHERE { { resource:Interstate_80_in_Nevada property:terminus ?f . ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:thoroughfare . resource:U.S._Route_50_in_Nevada property:terminus ?f } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q270424 Q818985 Q2506844
P559
Q83620
USER
Which thoroughfares terminates at those ones ?
(c(Q83620),P559,Q270424) (c(Q83620),P559,Q818985) (c(Q83620),P559,Q2506844)
action filter_type
action find_reverse
entity prev_answer
relation P559
type Q83620
[{'concept': 'Q83620'}, 'P559', 'Q270424'] [{'concept': 'Q83620'}, 'P559', 'Q818985'] [{'concept': 'Q83620'}, 'P559', 'Q2506844']
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Q818985 ) ( resource:Q270424 ) ( resource:Q2506844 ) } . ?s property:P559 ?z . ?s rdf:type ontology:Q83620 }
Interstate 80 in California Interstate 80 in Utah U.S. Route 50 in Utah
action filter_type
action find_reverse
entity prev_answer
relation terminus
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Interstate 80 in California'] [{'concept': 'thoroughfare'}, 'terminus', 'Interstate 80 in Utah'] [{'concept': 'thoroughfare'}, 'terminus', 'U.S. Route 50 in Utah']
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Interstate_80_in_Utah ) ( resource:Interstate_80_in_California ) ( resource:U.S._Route_50_in_Utah ) } . ?s property:terminus ?z . ?s rdf:type ontology:thoroughfare }
[]
thoroughfare
Q453256 Q818979 Q818979
SYSTEM
Interstate 80 in Nevada for 2nd, 3rd, Interstate 80 Business for 1st
Q818979 Q818979 Q453256 Q15733272 Q453223
(c(Q83620),P559,Q270424) (c(Q83620),P559,Q818985) (c(Q83620),P559,Q2506844)
action filter_type
action find_reverse
entity prev_answer
relation P559
type Q83620
[ANSWERS]
[{'concept': 'Q83620'}, 'P559', 'Q270424'] [{'concept': 'Q83620'}, 'P559', 'Q818985'] [{'concept': 'Q83620'}, 'P559', 'Q2506844']
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Q818985 ) ( resource:Q270424 ) ( resource:Q2506844 ) } . ?s property:P559 ?z . ?s rdf:type ontology:Q83620 }
Interstate 80 in Nevada Interstate 80 in Nevada Interstate 80 Business Interstate 80 in Wyoming U.S. Route 50 in Nevada
Interstate 80 Business, Interstate 80 in Nevada and Interstate 80 in Nevada terminate at those ones
Interstate 80 Business Interstate 80 in Nevada Interstate 80 in Nevada
action filter_type
action find_reverse
entity prev_answer
relation terminus
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Interstate 80 in California'] [{'concept': 'thoroughfare'}, 'terminus', 'Interstate 80 in Utah'] [{'concept': 'thoroughfare'}, 'terminus', 'U.S. Route 50 in Utah']
SELECT DISTINCT ?s WHERE { VALUES ( ?z ) { ( resource:Interstate_80_in_Utah ) ( resource:Interstate_80_in_California ) ( resource:U.S._Route_50_in_Utah ) } . ?s property:terminus ?z . ?s rdf:type ontology:thoroughfare }
[]
Clarification
Simple Question|Single Entity|Indirect
Q453256
P126
Q327333
USER
Which government agency maintained that thoroughfare ?
(Q453256,P126,c(Q327333))
action filter_type
action find
entity Q453256
relation P126
type Q327333
['Q453256', 'P126', {'concept': 'Q327333'}]
SELECT DISTINCT ?w WHERE { resource:Q453256 property:P126 ?w . ?w rdf:type ontology:Q327333 }
Interstate 80 Business
action filter_type
action find
entity Interstate 80 Business
relation maintained by
type government agency
['Interstate 80 Business', 'maintained by', {'concept': 'government agency'}]
SELECT DISTINCT ?w WHERE { resource:Interstate_80_Business property:maintained_by ?w . ?w rdf:type ontology:government_agency }
[]
government agency
Clarification for simple ques.
Q818979
SYSTEM
Did you mean Interstate 80 in Nevada ?
Q453256 Q818979 Q818979
(Q453256,P126,c(Q327333)) (Q818979,P126,c(Q327333)) (Q818979,P126,c(Q327333))
[ANSWER]
['Q453256', 'P126', {'concept': 'Q327333'}] ['Q818979', 'P126', {'concept': 'Q327333'}] ['Q818979', 'P126', {'concept': 'Q327333'}]
SELECT DISTINCT ?w WHERE { resource:Q453256 property:P126 ?w . ?w rdf:type ontology:Q327333 }
Interstate 80 Business Interstate 80 in Nevada Interstate 80 in Nevada
Did you mean Interstate 80 in Nevada ?
Interstate 80 in Nevada
['Interstate 80 Business', 'maintained by', {'concept': 'government agency'}] ['Interstate 80 in Nevada', 'maintained by', {'concept': 'government agency'}] ['Interstate 80 in Nevada', 'maintained by', {'concept': 'government agency'}]
SELECT DISTINCT ?w WHERE { resource:Interstate_80_Business property:maintained_by ?w . ?w rdf:type ontology:government_agency }
[]
Simple Question (Coreferenced)
USER
No, I meant Interstate 80 Business. Could you tell me the answer for that?
(Q453256,P126,c(Q327333))
Q453256
['Q453256', 'P126', {'concept': 'Q327333'}]
['Interstate 80 Business', 'maintained by', {'concept': 'government agency'}]
[]
Q2506783
SYSTEM
Utah Department of Transportation
Q2506783
(Q453256,P126,c(Q327333))
action filter_type
action find
entity Q453256
relation P126
type Q327333
[ANSWER] maintained that thoroughfare
['Q453256', 'P126', {'concept': 'Q327333'}]
SELECT DISTINCT ?w WHERE { resource:Q453256 property:P126 ?w . ?w rdf:type ontology:Q327333 }
Utah Department of Transportation
Utah Department of Transportation maintained that thoroughfare
Utah Department of Transportation
action filter_type
action find
entity Interstate 80 Business
relation maintained by
type government agency
['Interstate 80 Business', 'maintained by', {'concept': 'government agency'}]
SELECT DISTINCT ?w WHERE { resource:Interstate_80_Business property:maintained_by ?w . ?w rdf:type ontology:government_agency }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q327333 Q811430
USER
How many constructions are owned by exactly 1 government agency ?
(c(Q811430),P127,c(Q327333))
action count
action equal
action find_tuple_counts
relation P127
type Q811430
type Q327333
value 1
[{'concept': 'Q811430'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?z ) WHERE { ?w property:P127 ?b . ?w rdf:type ontology:Q811430 . ?b rdf:type ontology:Q327333 } GROUP BY ?w } . FILTER ( ?z = 1 ) }
action count
action equal
action find_tuple_counts
relation owned by
type construction
type government agency
value 1
[{'concept': 'construction'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?z ) WHERE { ?w property:owned_by ?b . ?w rdf:type ontology:construction . ?b rdf:type ontology:government_agency } GROUP BY ?w } . FILTER ( ?z = 1 ) }
[]
government agency construction
SYSTEM
1
Q5216770
(c(Q811430),P127,c(Q327333))
action count
action equal
action find_tuple_counts
relation P127
type Q811430
type Q327333
value 1
[ANSWER]
[{'concept': 'Q811430'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?z ) WHERE { ?w property:P127 ?b . ?w rdf:type ontology:Q811430 . ?b rdf:type ontology:Q327333 } GROUP BY ?w } . FILTER ( ?z = 1 ) }
Daniel Carter Beard Bridge
1
action count
action equal
action find_tuple_counts
relation owned by
type construction
type government agency
value 1
[{'concept': 'construction'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?z ) WHERE { ?w property:owned_by ?b . ?w rdf:type ontology:construction . ?b rdf:type ontology:government_agency } GROUP BY ?w } . FILTER ( ?z = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q453256
P609
Q56061
USER
Which administrative territories are the terminus locations of Interstate 80 Business ?
(Q453256,P609,c(Q56061))
action filter_type
action find
entity Q453256
relation P609
type Q56061
['Q453256', 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q453256 property:P609 ?o . ?o rdf:type ontology:Q56061 }
Interstate 80 Business
action filter_type
action find
entity Interstate 80 Business
relation terminus location
type administrative territorial entity
['Interstate 80 Business', 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Interstate_80_Business property:terminus_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q983790 Q255781
SYSTEM
West Wendover, Wendover
Q983790 Q255781
(Q453256,P609,c(Q56061))
action filter_type
action find
entity Q453256
relation P609
type Q56061
[ANSWERS] are the terminus locations of Interstate 80 Business
['Q453256', 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q453256 property:P609 ?o . ?o rdf:type ontology:Q56061 }
West Wendover Wendover
West Wendover and Wendover are the terminus locations of Interstate 80 Business
West Wendover Wendover
action filter_type
action find
entity Interstate 80 Business
relation terminus location
type administrative territorial entity
['Interstate 80 Business', 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Interstate_80_Business property:terminus_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q983790 Q255781
P47
Q56061
USER
Which administrative territories have a shared border with those ones ?
(Q983790,P47,c(Q56061)) (Q255781,P47,c(Q56061))
action filter_type
action find
entity prev_answer
relation P47
type Q56061
['Q983790', 'P47', {'concept': 'Q56061'}] ['Q255781', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . ?j property:P47 ?z . VALUES ( ?j ) { ( resource:Q983790 ) ( resource:Q255781 ) } }
West Wendover Wendover
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
['West Wendover', 'shares border with', {'concept': 'administrative territorial entity'}] ['Wendover', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . ?j property:shares_border_with ?z . VALUES ( ?j ) { ( resource:West_Wendover ) ( resource:Wendover ) } }
[]
administrative territorial entity
Q255781 Q983790
SYSTEM
Wendover, West Wendover
Q255781 Q983790
(Q983790,P47,c(Q56061)) (Q255781,P47,c(Q56061))
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[ANSWERS] have a shared border with those ones
['Q983790', 'P47', {'concept': 'Q56061'}] ['Q255781', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . ?j property:P47 ?z . VALUES ( ?j ) { ( resource:Q983790 ) ( resource:Q255781 ) } }
Wendover West Wendover
Wendover and West Wendover have a shared border with those ones
Wendover West Wendover
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
['West Wendover', 'shares border with', {'concept': 'administrative territorial entity'}] ['Wendover', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . ?j property:shares_border_with ?z . VALUES ( ?j ) { ( resource:West_Wendover ) ( resource:Wendover ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q983790
P17
Q15617994
USER
Which administrative territory is West Wendover located in ?
(Q983790,P17,c(Q15617994))
action filter_type
action find
entity Q983790
relation P17
type Q15617994
['Q983790', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q983790 property:P17 ?p }
West Wendover
action filter_type
action find
entity West Wendover
relation country
type designation for an administrative territorial entity
['West Wendover', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:West_Wendover property:country ?p }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q983790,P17,c(Q15617994))
action filter_type
action find
entity Q983790
relation P17
type Q15617994
West Wendover is located in [ANSWER]
['Q983790', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q983790 property:P17 ?p }
United States of America
West Wendover is located in United States of America
United States of America
action filter_type
action find
entity West Wendover
relation country
type designation for an administrative territorial entity
['West Wendover', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:West_Wendover property:country ?p }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q20090 Q889
P530
Q15617994
USER
Does United States of America have ambassadorial relations with Garessio and Afghanistan ?
(Q30,P530,Q20090) (Q30,P530,Q889)
action is_in
entity Q30
action intersection
action find_reverse
entity Q20090
relation P530
action find_reverse
entity Q889
relation P530
['Q30', 'P530', 'Q20090'] ['Q30', 'P530', 'Q889']
ASK WHERE { resource:Q30 property:P530 resource:Q20090 . resource:Q30 property:P530 resource:Q889 }
United States of America Garessio Afghanistan
action is_in
entity United States of America
action intersection
action find_reverse
entity Garessio
relation diplomatic relation
action find_reverse
entity Afghanistan
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Garessio'] ['United States of America', 'diplomatic relation', 'Afghanistan']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Garessio . resource:United_States_of_America property:diplomatic_relation resource:Afghanistan }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q30,P530,Q20090) (Q30,P530,Q889)
action is_in
entity Q30
action intersection
action find_reverse
entity Q20090
relation P530
action find_reverse
entity Q889
relation P530
[ANSWER]
['Q30', 'P530', 'Q20090'] ['Q30', 'P530', 'Q889']
ASK WHERE { resource:Q30 property:P530 resource:Q20090 . resource:Q30 property:P530 resource:Q889 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Garessio
relation diplomatic relation
action find_reverse
entity Afghanistan
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Garessio'] ['United States of America', 'diplomatic relation', 'Afghanistan']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Garessio . resource:United_States_of_America property:diplomatic_relation resource:Afghanistan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q818985 Q2506783
P127
Q327333
USER
Does Interstate 80 in Utah belong to Utah Department of Transportation ?
(Q818985,P127,Q2506783)
action is_in
entity Q2506783
action find
entity Q818985
relation P127
['Q818985', 'P127', 'Q2506783']
ASK WHERE { resource:Q818985 property:P127 resource:Q2506783 }
Interstate 80 in Utah Utah Department of Transportation
action is_in
entity Utah Department of Transportation
action find
entity Interstate 80 in Utah
relation owned by
['Interstate 80 in Utah', 'owned by', 'Utah Department of Transportation']
ASK WHERE { resource:Interstate_80_in_Utah property:owned_by resource:Utah_Department_of_Transportation }
[]
government agency
SYSTEM
YES
(Q818985,P127,Q2506783)
action is_in
entity Q2506783
action find
entity Q818985
relation P127
[ANSWER]
['Q818985', 'P127', 'Q2506783']
ASK WHERE { resource:Q818985 property:P127 resource:Q2506783 }
Yes
action is_in
entity Utah Department of Transportation
action find
entity Interstate 80 in Utah
relation owned by
['Interstate 80 in Utah', 'owned by', 'Utah Department of Transportation']
ASK WHERE { resource:Interstate_80_in_Utah property:owned_by resource:Utah_Department_of_Transportation }
[]