Simple Question (Direct)
Simple Question
Q6222866
P410
Q4189293
USER
What is the title conferred upon John Bradley ?
(Q6222866,P410,c(Q4189293))
action filter_type
action find
entity Q6222866
relation P410
type Q4189293
['Q6222866', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?t WHERE { resource:Q6222866 property:P410 ?t . ?t rdf:type ontology:Q4189293 }
John Bradley
action filter_type
action find
entity John Bradley
relation military rank
type title
['John Bradley', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?t WHERE { resource:John_Bradley property:military_rank ?t . ?t rdf:type ontology:title }
[]
title
Q14108394
SYSTEM
Maat (military)
Q14108394
(Q6222866,P410,c(Q4189293))
action filter_type
action find
entity Q6222866
relation P410
type Q4189293
The title conferred upon John Bradley is a [ANSWER]
['Q6222866', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?t WHERE { resource:Q6222866 property:P410 ?t . ?t rdf:type ontology:Q4189293 }
Maat (military)
The title conferred upon John Bradley is a Maat (military)
Maat (military)
action filter_type
action find
entity John Bradley
relation military rank
type title
['John Bradley', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?t WHERE { resource:John_Bradley property:military_rank ?t . ?t rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14108394
P17
Q7275
USER
Which state is that title a part of ?
(Q14108394,P17,c(Q7275))
action filter_type
action find
entity Q14108394
relation P17
type Q7275
['Q14108394', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q14108394 property:P17 ?e . ?e rdf:type ontology:Q7275 }
Maat (military)
action filter_type
action find
entity Maat (military)
relation country
type state
['Maat (military)', 'country', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:Maat_(military) property:country ?e . ?e rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q14108394,P17,c(Q7275))
action filter_type
action find
entity Q14108394
relation P17
type Q7275
Which state is that title a part of
['Q14108394', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q14108394 property:P17 ?e . ?e rdf:type ontology:Q7275 }
East Germany
Which state is that title a part of
East Germany
action filter_type
action find
entity Maat (military)
relation country
type state
['Maat (military)', 'country', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:Maat_(military) property:country ?e . ?e rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16957 Q22342730
P27
Q502895
USER
Is Karl Riedrich a civilian of that state ?
(Q22342730,P27,Q16957)
action is_in
entity Q16957
action find
entity Q22342730
relation P27
['Q22342730', 'P27', 'Q16957']
ASK WHERE { resource:Q22342730 property:P27 resource:Q16957 }
East Germany Karl Riedrich
action is_in
entity East Germany
action find
entity Karl Riedrich
relation country of citizenship
['Karl Riedrich', 'country of citizenship', 'East Germany']
ASK WHERE { resource:Karl_Riedrich property:country_of_citizenship resource:East_Germany }
[]
common name
SYSTEM
YES
(Q22342730,P27,Q16957)
action is_in
entity Q16957
action find
entity Q22342730
relation P27
[ANSWER]
['Q22342730', 'P27', 'Q16957']
ASK WHERE { resource:Q22342730 property:P27 resource:Q16957 }
Yes
action is_in
entity East Germany
action find
entity Karl Riedrich
relation country of citizenship
['Karl Riedrich', 'country of citizenship', 'East Germany']
ASK WHERE { resource:Karl_Riedrich property:country_of_citizenship resource:East_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16957
P193
Q2221906
USER
Which geographic location has that state as its building contractor ?
action filter_type
action find_reverse
entity Q16957
relation P193
type Q2221906
SELECT DISTINCT ?s WHERE { ?s property:P193 resource:Q16957 . ?s rdf:type ontology:Q2221906 }
East Germany
action filter_type
action find_reverse
entity East Germany
relation main building contractor
type geographic location
SELECT DISTINCT ?s WHERE { ?s property:main_building_contractor resource:East_Germany . ?s rdf:type ontology:geographic_location }
[]
geographic location
Q151356
SYSTEM
Fernsehturm Berlin
Q151356
action filter_type
action find_reverse
entity Q16957
relation P193
type Q2221906
[ANSWER] has that state as its building contractor
SELECT DISTINCT ?s WHERE { ?s property:P193 resource:Q16957 . ?s rdf:type ontology:Q2221906 }
Fernsehturm Berlin
Fernsehturm Berlin has that state as its building contractor
Fernsehturm Berlin
action filter_type
action find_reverse
entity East Germany
relation main building contractor
type geographic location
SELECT DISTINCT ?s WHERE { ?s property:main_building_contractor resource:East_Germany . ?s rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q151356 Q11996712
P366
Q811430
USER
Is Quality Hotel 33 considered to be the main utilization of that geographic location ?
(Q151356,P366,Q11996712)
action is_in
entity Q11996712
action find
entity Q151356
relation P366
['Q151356', 'P366', 'Q11996712']
ASK WHERE { resource:Q151356 property:P366 resource:Q11996712 }
Fernsehturm Berlin Quality Hotel 33
action is_in
entity Quality Hotel 33
action find
entity Fernsehturm Berlin
relation use
['Fernsehturm Berlin', 'use', 'Quality Hotel 33']
ASK WHERE { resource:Fernsehturm_Berlin property:use resource:Quality_Hotel_33 }
[]
construction
SYSTEM
NO
(Q151356,P366,Q11996712)
action is_in
entity Q11996712
action find
entity Q151356
relation P366
[ANSWER]
['Q151356', 'P366', 'Q11996712']
ASK WHERE { resource:Q151356 property:P366 resource:Q11996712 }
No
action is_in
entity Quality Hotel 33
action find
entity Fernsehturm Berlin
relation use
['Fernsehturm Berlin', 'use', 'Quality Hotel 33']
ASK WHERE { resource:Fernsehturm_Berlin property:use resource:Quality_Hotel_33 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16957 Q34266
P159
Q7210356
USER
How many political organizations have the principal seat at East Germany or Russian Empire ?
(c(Q7210356),P159,Q16957) (c(Q7210356),P159,Q34266)
action count
action union
action filter_type
action find_reverse
entity Q16957
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q34266
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q16957'] [{'concept': 'Q7210356'}, 'P159', 'Q34266']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P159 ?v . VALUES ( ?v ) { ( resource:Q16957 ) ( resource:Q34266 ) } }
East Germany Russian Empire
action count
action union
action filter_type
action find_reverse
entity East Germany
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Russian Empire
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'East Germany'] [{'concept': 'political organization'}, 'headquarters location', 'Russian Empire']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:headquarters_location ?v . VALUES ( ?v ) { ( resource:East_Germany ) ( resource:Russian_Empire ) } }
[]
political organization
SYSTEM
2
Q64780 Q1723321
(c(Q7210356),P159,Q16957) (c(Q7210356),P159,Q34266)
action count
action union
action filter_type
action find_reverse
entity Q16957
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q34266
relation P159
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P159', 'Q16957'] [{'concept': 'Q7210356'}, 'P159', 'Q34266']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P159 ?v . VALUES ( ?v ) { ( resource:Q16957 ) ( resource:Q34266 ) } }
Alash Party League of Struggle for the Emancipation of the Working Class
2
action count
action union
action filter_type
action find_reverse
entity East Germany
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Russian Empire
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'East Germany'] [{'concept': 'political organization'}, 'headquarters location', 'Russian Empire']
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:headquarters_location ?v . VALUES ( ?v ) { ( resource:East_Germany ) ( resource:Russian_Empire ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q56061 Q7275
USER
How many states have approximately 3 cities or administrative territories as their administrative centre ?
(c(Q7275),P36,c(Q515)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q515
action find_tuple_counts
relation P36
type Q7275
type Q56061
value 3
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { { ?s property:P36 ?w . ?s rdf:type ontology:Q7275 . ?w rdf:type ontology:Q515 } UNION { ?s property:P36 ?w . ?s rdf:type ontology:Q7275 . ?w rdf:type ontology:Q56061 } } GROUP BY ?s } . FILTER ( ?g = 3 ) }
action count
action approx
action union
action find_tuple_counts
relation capital
type state
type city
action find_tuple_counts
relation capital
type state
type administrative territorial entity
value 3
[{'concept': 'state'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { { ?s property:capital ?w . ?s rdf:type ontology:state . ?w rdf:type ontology:city } UNION { ?s property:capital ?w . ?s rdf:type ontology:state . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?g = 3 ) }
[]
city administrative territorial entity state
SYSTEM
6
Q172579 Q171150 Q179876 Q13426199 Q75613 Q188586
(c(Q7275),P36,c(Q515)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q515
action find_tuple_counts
relation P36
type Q7275
type Q56061
value 3
[ANSWER]
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { { ?s property:P36 ?w . ?s rdf:type ontology:Q7275 . ?w rdf:type ontology:Q515 } UNION { ?s property:P36 ?w . ?s rdf:type ontology:Q7275 . ?w rdf:type ontology:Q56061 } } GROUP BY ?s } . FILTER ( ?g = 3 ) }
Kingdom of Italy Kingdom of Hungary Kingdom of England Republic of China Almoravid dynasty Kingdom of Sicily
6
action count
action approx
action union
action find_tuple_counts
relation capital
type state
type city
action find_tuple_counts
relation capital
type state
type administrative territorial entity
value 3
[{'concept': 'state'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { { ?s property:capital ?w . ?s rdf:type ontology:state . ?w rdf:type ontology:city } UNION { ?s property:capital ?w . ?s rdf:type ontology:state . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?g = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q151356
P127
Q4830453
USER
Who owns Fernsehturm Berlin ?
(Q151356,P127,c(Q4830453))
action filter_type
action find
entity Q151356
relation P127
type Q4830453
['Q151356', 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { resource:Q151356 property:P127 ?g . ?g rdf:type ontology:Q4830453 }
Fernsehturm Berlin
action filter_type
action find
entity Fernsehturm Berlin
relation owned by
type business enterprise
['Fernsehturm Berlin', 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { resource:Fernsehturm_Berlin property:owned_by ?g . ?g rdf:type ontology:business_enterprise }
[]
business enterprise
Q1202561
SYSTEM
Deutsche Funkturm
Q1202561
(Q151356,P127,c(Q4830453))
action filter_type
action find
entity Q151356
relation P127
type Q4830453
[ANSWER] owns Fernsehturm Berlin
['Q151356', 'P127', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { resource:Q151356 property:P127 ?g . ?g rdf:type ontology:Q4830453 }
Deutsche Funkturm
Deutsche Funkturm owns Fernsehturm Berlin
Deutsche Funkturm
action filter_type
action find
entity Fernsehturm Berlin
relation owned by
type business enterprise
['Fernsehturm Berlin', 'owned by', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { resource:Fernsehturm_Berlin property:owned_by ?g . ?g rdf:type ontology:business_enterprise }
[]