Simple Question (Direct)
Simple Question
Q5660127
P108
Q163740
USER
Which nonprofit organizations employ Harold Bolitho ?
(Q5660127,P108,c(Q163740))
action filter_type
action find
entity Q5660127
relation P108
type Q163740
['Q5660127', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { resource:Q5660127 property:P108 ?h . ?h rdf:type ontology:Q163740 }
Harold Bolitho
action filter_type
action find
entity Harold Bolitho
relation employer
type nonprofit organization
['Harold Bolitho', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { resource:Harold_Bolitho property:employer ?h . ?h rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088 Q13371 Q49112
SYSTEM
Columbia University, Harvard University, Yale University
Q49088 Q13371 Q49112
(Q5660127,P108,c(Q163740))
action filter_type
action find
entity Q5660127
relation P108
type Q163740
[ANSWERS] employ Harold Bolitho
['Q5660127', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { resource:Q5660127 property:P108 ?h . ?h rdf:type ontology:Q163740 }
Columbia University Harvard University Yale University
Columbia University, Harvard University and Yale University employ Harold Bolitho
Columbia University Harvard University Yale University
action filter_type
action find
entity Harold Bolitho
relation employer
type nonprofit organization
['Harold Bolitho', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { resource:Harold_Bolitho property:employer ?h . ?h rdf:type ontology:nonprofit_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49088
P159
Q48204
USER
Which voluntary association has headquarters located at that nonprofit organization ?
(c(Q48204),P159,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P159
type Q48204
[{'concept': 'Q48204'}, 'P159', 'Q49088']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q49088 . ?d rdf:type ontology:Q48204 }
Columbia University
action filter_type
action find_reverse
entity Columbia University
relation headquarters location
type voluntary association
[{'concept': 'voluntary association'}, 'headquarters location', 'Columbia University']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Columbia_University . ?d rdf:type ontology:voluntary_association }
[]
voluntary association
Clarification for simple ques.
Q49088
SYSTEM
Did you mean Columbia University ?
Q49088 Q13371 Q49112
(c(Q48204),P159,Q49088) (c(Q48204),P159,Q13371) (c(Q48204),P159,Q49112)
[ANSWER]
[{'concept': 'Q48204'}, 'P159', 'Q49088'] [{'concept': 'Q48204'}, 'P159', 'Q13371'] [{'concept': 'Q48204'}, 'P159', 'Q49112']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q49088 . ?d rdf:type ontology:Q48204 }
Columbia University Harvard University Yale University
Did you mean Columbia University ?
Columbia University
[{'concept': 'voluntary association'}, 'headquarters location', 'Columbia University'] [{'concept': 'voluntary association'}, 'headquarters location', 'Harvard University'] [{'concept': 'voluntary association'}, 'headquarters location', 'Yale University']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Columbia_University . ?d rdf:type ontology:voluntary_association }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q48204),P159,Q49088)
[{'concept': 'Q48204'}, 'P159', 'Q49088']
[{'concept': 'voluntary association'}, 'headquarters location', 'Columbia University']
[]
Q5149829
SYSTEM
Columbia Scholastic Press Association
Q5149829
(c(Q48204),P159,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P159
type Q48204
[ANSWER] has headquarters located at that nonprofit organization
[{'concept': 'Q48204'}, 'P159', 'Q49088']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q49088 . ?d rdf:type ontology:Q48204 }
Columbia Scholastic Press Association
Columbia Scholastic Press Association has headquarters located at that nonprofit organization
Columbia Scholastic Press Association
action filter_type
action find_reverse
entity Columbia University
relation headquarters location
type voluntary association
[{'concept': 'voluntary association'}, 'headquarters location', 'Columbia University']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Columbia_University . ?d rdf:type ontology:voluntary_association }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5149829
P159
Q163740
USER
Where is the head office for that voluntary association located ?
(Q5149829,P159,c(Q163740))
action filter_type
action find
entity Q5149829
relation P159
type Q163740
['Q5149829', 'P159', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q5149829 property:P159 ?d . ?d rdf:type ontology:Q163740 }
Columbia Scholastic Press Association
action filter_type
action find
entity Columbia Scholastic Press Association
relation headquarters location
type nonprofit organization
['Columbia Scholastic Press Association', 'headquarters location', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Columbia_Scholastic_Press_Association property:headquarters_location ?d . ?d rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q5149829,P159,c(Q163740))
action filter_type
action find
entity Q5149829
relation P159
type Q163740
The head office for that voluntary association is located at [ANSWER]
['Q5149829', 'P159', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q5149829 property:P159 ?d . ?d rdf:type ontology:Q163740 }
Columbia University
The head office for that voluntary association is located at Columbia University
Columbia University
action filter_type
action find
entity Columbia Scholastic Press Association
relation headquarters location
type nonprofit organization
['Columbia Scholastic Press Association', 'headquarters location', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Columbia_Scholastic_Press_Association property:headquarters_location ?d . ?d rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49088
P137
Q2235308
USER
Which ship type can be described as service operator of that nonprofit organization ?
(c(Q2235308),P137,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q49088']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q49088 . ?l rdf:type ontology:Q2235308 }
Columbia University
action filter_type
action find_reverse
entity Columbia University
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Columbia University']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Columbia_University . ?l rdf:type ontology:ship_type }
[]
ship type
Q7278050
SYSTEM
RV Marcus Langseth
Q7278050
(c(Q2235308),P137,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P137
type Q2235308
[ANSWER] can be described as service operator of that nonprofit organization
[{'concept': 'Q2235308'}, 'P137', 'Q49088']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q49088 . ?l rdf:type ontology:Q2235308 }
RV Marcus Langseth
RV Marcus Langseth can be described as service operator of that nonprofit organization
RV Marcus Langseth
action filter_type
action find_reverse
entity Columbia University
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Columbia University']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Columbia_University . ?l rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q49088
P159
Q56061
USER
How many administrative territories are the head office for Columbia University located ?
(Q49088,P159,c(Q56061))
action count
action filter_type
action find
entity Q49088
relation P159
type Q56061
['Q49088', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q49088 property:P159 ?p . ?p rdf:type ontology:Q56061 }
Columbia University
action count
action filter_type
action find
entity Columbia University
relation headquarters location
type administrative territorial entity
['Columbia University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Columbia_University property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q60
(Q49088,P159,c(Q56061))
action count
action filter_type
action find
entity Q49088
relation P159
type Q56061
[ANSWER]
['Q49088', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q49088 property:P159 ?p . ?p rdf:type ontology:Q56061 }
New York City
1
action count
action filter_type
action find
entity Columbia University
relation headquarters location
type administrative territorial entity
['Columbia University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Columbia_University property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49088
P1001
Q12737077
USER
Which occupation has jurisdiction over that nonprofit organization ?
action filter_type
action find_reverse
entity Q49088
relation P1001
type Q12737077
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q49088 . ?k rdf:type ontology:Q12737077 }
Columbia University
action filter_type
action find_reverse
entity Columbia University
relation applies to jurisdiction
type occupation
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Columbia_University . ?k rdf:type ontology:occupation }
[]
occupation
Q21406629
SYSTEM
President of Columbia University
Q21406629
action filter_type
action find_reverse
entity Q49088
relation P1001
type Q12737077
[ANSWER] has jurisdiction over that nonprofit organization
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q49088 . ?k rdf:type ontology:Q12737077 }
President of Columbia University
President of Columbia University has jurisdiction over that nonprofit organization
President of Columbia University
action filter_type
action find_reverse
entity Columbia University
relation applies to jurisdiction
type occupation
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Columbia_University . ?k rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1812747
P138
Q2235308 Q16521 Q874405
USER
Which ship types are the origin of greater number of taxons and social groups than Japanese cruiser Takao ?
(c(Q16521)|c(Q874405),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q16521
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q1812747
relation P138
type Q16521
type Q874405
[[{'concept': 'Q16521'}, {'concept': 'Q874405'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { { ?e rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q16521 . ?b property:P138 ?e } UNION { ?b property:P138 ?e . ?e rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q874405 } } GROUP BY ?e } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P138 resource:Q1812747 . { { ?w rdf:type ontology:Q16521 } UNION { ?w rdf:type ontology:Q874405 } } } } }
Japanese cruiser Takao
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type taxon
action find_reverse_tuple_counts
relation named after
type ship type
type social group
action count
action filter_multi_types
action find_reverse
entity Japanese cruiser Takao
relation named after
type taxon
type social group
[[{'concept': 'taxon'}, {'concept': 'social group'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { { ?e rdf:type ontology:ship_type . ?b rdf:type ontology:taxon . ?b property:named_after ?e } UNION { ?b property:named_after ?e . ?e rdf:type ontology:ship_type . ?b rdf:type ontology:social_group } } GROUP BY ?e } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:named_after resource:Japanese_cruiser_Takao . { { ?w rdf:type ontology:taxon } UNION { ?w rdf:type ontology:social_group } } } } }
[]
ship type taxon social group
Q7432747 Q7024076
SYSTEM
Schooner Te Vega, Niantic
Q7432747 Q7024076
(c(Q16521)|c(Q874405),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q16521
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q1812747
relation P138
type Q16521
type Q874405
[ANSWERS] are the origin of greater number of taxons and social groups than Japanese cruiser Takao
[[{'concept': 'Q16521'}, {'concept': 'Q874405'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { { ?e rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q16521 . ?b property:P138 ?e } UNION { ?b property:P138 ?e . ?e rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q874405 } } GROUP BY ?e } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P138 resource:Q1812747 . { { ?w rdf:type ontology:Q16521 } UNION { ?w rdf:type ontology:Q874405 } } } } }
Schooner Te Vega Niantic
Schooner Te Vega and Niantic are the origin of greater number of taxons and social groups than Japanese cruiser Takao
Schooner Te Vega Niantic
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type taxon
action find_reverse_tuple_counts
relation named after
type ship type
type social group
action count
action filter_multi_types
action find_reverse
entity Japanese cruiser Takao
relation named after
type taxon
type social group
[[{'concept': 'taxon'}, {'concept': 'social group'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { { ?e rdf:type ontology:ship_type . ?b rdf:type ontology:taxon . ?b property:named_after ?e } UNION { ?b property:named_after ?e . ?e rdf:type ontology:ship_type . ?b rdf:type ontology:social_group } } GROUP BY ?e } . FILTER ( ?v > ?j ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:named_after resource:Japanese_cruiser_Takao . { { ?w rdf:type ontology:taxon } UNION { ?w rdf:type ontology:social_group } } } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1435
Q2065736
USER
How many cultural properties represent the heritage status given to that ship type ?
(Q7024076,P1435,c(Q2065736))
['Q7024076', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q754850 property:P1435 ?z . ?z rdf:type ontology:Q2065736 }
['Niantic', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Niantic property:heritage_status ?z . ?z rdf:type ontology:cultural_property }
[]
cultural property
Quantitative|Count|Single entity type|Clarification
Q7432747
SYSTEM
Did you mean Schooner Te Vega ?
(Q7432747,P1435,c(Q2065736)) (Q7024076,P1435,c(Q2065736))
[ANSWER]
['Q7432747', 'P1435', {'concept': 'Q2065736'}] ['Q7024076', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q754850 property:P1435 ?z . ?z rdf:type ontology:Q2065736 }
Did you mean Schooner Te Vega ?
Schooner Te Vega
['Schooner Te Vega', 'heritage status', {'concept': 'cultural property'}] ['Niantic', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Niantic property:heritage_status ?z . ?z rdf:type ontology:cultural_property }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Niantic. Could you tell me the answer for that?
(Q7024076,P1435,c(Q2065736))
Q7024076
['Q7024076', 'P1435', {'concept': 'Q2065736'}]
['Niantic', 'heritage status', {'concept': 'cultural property'}]
[]
SYSTEM
1
Q19558910
(Q7024076,P1435,c(Q2065736))
[ANSWER]
['Q7024076', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q754850 property:P1435 ?z . ?z rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
1
['Niantic', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Niantic property:heritage_status ?z . ?z rdf:type ontology:cultural_property }
[]