Simple Question (Direct)
Simple Question
Q8014121
P20
Q56061
USER
Where did the expiration of William Kueffner occur ?
(Q8014121,P20,c(Q56061))
action filter_type
action find
entity Q8014121
relation P20
type Q56061
['Q8014121', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q8014121 property:P20 ?x . ?x rdf:type ontology:Q56061 }
William Kueffner
action filter_type
action find
entity William Kueffner
relation place of death
type administrative territorial entity
['William Kueffner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:William_Kueffner property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79892
SYSTEM
Belleville
Q79892
(Q8014121,P20,c(Q56061))
action filter_type
action find
entity Q8014121
relation P20
type Q56061
The expiration of William Kueffner occurred at [ANSWER]
['Q8014121', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q8014121 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Belleville
The expiration of William Kueffner occurred at Belleville
Belleville
action filter_type
action find
entity William Kueffner
relation place of death
type administrative territorial entity
['William Kueffner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:William_Kueffner property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8014121
P21
Q290
USER
What is the sex of William Kueffner ?
(Q8014121,P21,c(Q290))
action filter_type
action find
entity Q8014121
relation P21
type Q290
['Q8014121', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q8014121 property:P21 ?d . ?d rdf:type ontology:Q290 }
William Kueffner
action filter_type
action find
entity William Kueffner
relation gender
type sex
['William Kueffner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:William_Kueffner property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8014121,P21,c(Q290))
action filter_type
action find
entity Q8014121
relation P21
type Q290
The sex of William Kueffner is the [ANSWER]
['Q8014121', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q8014121 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of William Kueffner is the male
male
action filter_type
action find
entity William Kueffner
relation gender
type sex
['William Kueffner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:William_Kueffner property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3048818
Q290
USER
And also tell me about Edwin Thumboo?
(Q3048818,P21,c(Q290))
action filter_type
action find
entity Q3048818
relation P21
type Q290
['Q3048818', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3048818 property:P21 ?l . ?l rdf:type ontology:Q290 }
Edwin Thumboo
action filter_type
action find
entity Edwin Thumboo
relation gender
type sex
['Edwin Thumboo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Edwin_Thumboo property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3048818,P21,c(Q290))
action filter_type
action find
entity Q3048818
relation P21
type Q290
[ANSWER]
['Q3048818', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3048818 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Edwin Thumboo
relation gender
type sex
['Edwin Thumboo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Edwin_Thumboo property:gender ?l . ?l rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q14048465
P21
Q502895
USER
Is Victoriano Minguez Herreros a that sex ?
(Q14048465,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q14048465
relation P21
['Q14048465', 'P21', 'Q6581097']
ASK WHERE { resource:Q14048465 property:P21 resource:Q6581097 }
male Victoriano Minguez Herreros
action is_in
entity male
action find
entity Victoriano Minguez Herreros
relation gender
['Victoriano Minguez Herreros', 'gender', 'male']
ASK WHERE { resource:Victoriano_Minguez_Herreros property:gender resource:male }
[]
common name
SYSTEM
YES
(Q14048465,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q14048465
relation P21
[ANSWER]
['Q14048465', 'P21', 'Q6581097']
ASK WHERE { resource:Q14048465 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Victoriano Minguez Herreros
relation gender
['Victoriano Minguez Herreros', 'gender', 'male']
ASK WHERE { resource:Victoriano_Minguez_Herreros property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q79892 Q30 Q1201657
P17
Q15617994
USER
Is Belleville present in United States of America and Donghe District ?
(Q79892,P17,Q30) (Q79892,P17,Q1201657)
action is_in
entity Q79892
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1201657
relation P17
['Q79892', 'P17', 'Q30'] ['Q79892', 'P17', 'Q1201657']
ASK WHERE { resource:Q79892 property:P17 resource:Q30 . resource:Q79892 property:P17 resource:Q1201657 }
Belleville United States of America Donghe District
action is_in
entity Belleville
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Donghe District
relation country
['Belleville', 'country', 'United States of America'] ['Belleville', 'country', 'Donghe District']
ASK WHERE { resource:Belleville property:country resource:United_States_of_America . resource:Belleville property:country resource:Donghe_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q79892,P17,Q30) (Q79892,P17,Q1201657)
action is_in
entity Q79892
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1201657
relation P17
[ANSWER]
['Q79892', 'P17', 'Q30'] ['Q79892', 'P17', 'Q1201657']
ASK WHERE { resource:Q79892 property:P17 resource:Q30 . resource:Q79892 property:P17 resource:Q1201657 }
YES and NO respectively
action is_in
entity Belleville
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Donghe District
relation country
['Belleville', 'country', 'United States of America'] ['Belleville', 'country', 'Donghe District']
ASK WHERE { resource:Belleville property:country resource:United_States_of_America . resource:Belleville property:country resource:Donghe_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8014121 Q302477
P27
Q15617994
USER
Does William Kueffner belong to Habach ?
(Q8014121,P27,Q302477)
action is_in
entity Q302477
action find
entity Q8014121
relation P27
['Q8014121', 'P27', 'Q302477']
ASK WHERE { resource:Q8014121 property:P27 resource:Q302477 }
William Kueffner Habach
action is_in
entity Habach
action find
entity William Kueffner
relation country of citizenship
['William Kueffner', 'country of citizenship', 'Habach']
ASK WHERE { resource:William_Kueffner property:country_of_citizenship resource:Habach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q8014121,P27,Q302477)
action is_in
entity Q302477
action find
entity Q8014121
relation P27
[ANSWER]
['Q8014121', 'P27', 'Q302477']
ASK WHERE { resource:Q8014121 property:P27 resource:Q302477 }
No
action is_in
entity Habach
action find
entity William Kueffner
relation country of citizenship
['William Kueffner', 'country of citizenship', 'Habach']
ASK WHERE { resource:William_Kueffner property:country_of_citizenship resource:Habach }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q79892
P190 P421
Q56061
USER
Which administrative territories are twin town of Belleville and are UTC+01:00 a time zone for ?
AND((c(Q56061),P190,Q79892), (c(Q56061),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q79892
relation P190
action find_reverse
entity Q6655
relation P421
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q79892'], [{'concept': 'Q56061'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?x WHERE { ?x property:P421 resource:Q6655 . ?x property:P190 resource:Q79892 . ?x rdf:type ontology:Q56061 }
UTC+01:00 Belleville
action filter_type
action intersection
action find_reverse
entity Belleville
relation sister city
action find_reverse
entity UTC+01:00
relation located in time zone
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Belleville'], [{'concept': 'administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?x WHERE { ?x property:located_in_time_zone resource:UTC+01:00 . ?x property:sister_city resource:Belleville . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2971
SYSTEM
Paderborn
Q2971
AND((c(Q56061),P190,Q79892), (c(Q56061),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q79892
relation P190
action find_reverse
entity Q6655
relation P421
type Q56061
[ANSWER] is twin town of Belleville and is UTC+01:00 a time zone for
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q79892'], [{'concept': 'Q56061'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?x WHERE { ?x property:P421 resource:Q6655 . ?x property:P190 resource:Q79892 . ?x rdf:type ontology:Q56061 }
Paderborn
Paderborn is twin town of Belleville and is UTC+01:00 a time zone for
Paderborn
action filter_type
action intersection
action find_reverse
entity Belleville
relation sister city
action find_reverse
entity UTC+01:00
relation located in time zone
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Belleville'], [{'concept': 'administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?x WHERE { ?x property:located_in_time_zone resource:UTC+01:00 . ?x property:sister_city resource:Belleville . ?x rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2971 Q4129389
P47
Q15617994
USER
Does Vysokohirne have a shared border with that administrative territory ?
(Q2971,P47,Q4129389)
action is_in
entity Q4129389
action find
entity Q2971
relation P47
['Q2971', 'P47', 'Q4129389']
ASK WHERE { resource:Q2971 property:P47 resource:Q4129389 }
Paderborn Vysokohirne
action is_in
entity Vysokohirne
action find
entity Paderborn
relation shares border with
['Paderborn', 'shares border with', 'Vysokohirne']
ASK WHERE { resource:Paderborn property:shares_border_with resource:Vysokohirne }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2971,P47,Q4129389)
action is_in
entity Q4129389
action find
entity Q2971
relation P47
[ANSWER]
['Q2971', 'P47', 'Q4129389']
ASK WHERE { resource:Q2971 property:P47 resource:Q4129389 }
No
action is_in
entity Vysokohirne
action find
entity Paderborn
relation shares border with
['Paderborn', 'shares border with', 'Vysokohirne']
ASK WHERE { resource:Paderborn property:shares_border_with resource:Vysokohirne }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79892
P1408
Q4830453
USER
Which business enterprise is responsible for broadcasting to Belleville ?
(c(Q4830453),P1408,Q79892)
action filter_type
action find_reverse
entity Q79892
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q79892']
SELECT DISTINCT ?k WHERE { ?k property:P1408 resource:Q79892 . ?k rdf:type ontology:Q4830453 }
Belleville
action filter_type
action find_reverse
entity Belleville
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Belleville']
SELECT DISTINCT ?k WHERE { ?k property:licensed_to_broadcast_to resource:Belleville . ?k rdf:type ontology:business_enterprise }
[]
business enterprise
Q7955567
SYSTEM
WSDZ
Q7955567
(c(Q4830453),P1408,Q79892)
action filter_type
action find_reverse
entity Q79892
relation P1408
type Q4830453
And [ANSWER] is responsible for broadcasting to Belleville
[{'concept': 'Q4830453'}, 'P1408', 'Q79892']
SELECT DISTINCT ?k WHERE { ?k property:P1408 resource:Q79892 . ?k rdf:type ontology:Q4830453 }
WSDZ
And WSDZ is responsible for broadcasting to Belleville
WSDZ
action filter_type
action find_reverse
entity Belleville
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Belleville']
SELECT DISTINCT ?k WHERE { ?k property:licensed_to_broadcast_to resource:Belleville . ?k rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1056
Q11410 Q166142 Q4830453
USER
How many business enterprises produce atleast 1 games and applications ?
(c(Q4830453),P1056,c(Q11410)|c(Q166142))
action count
action atleast
action union
action find_tuple_counts
relation P1056
type Q4830453
type Q11410
action find_tuple_counts
relation P1056
type Q4830453
type Q166142
value 1
[{'concept': 'Q4830453'}, 'P1056', [{'concept': 'Q11410'}, {'concept': 'Q166142'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?h WHERE { { ?h property:P1056 ?e . ?h rdf:type ontology:Q4830453 . ?e rdf:type ontology:Q166142 } UNION { ?h property:P1056 ?e . ?h rdf:type ontology:Q4830453 . ?e rdf:type ontology:Q11410 } } GROUP BY ?h } . FILTER ( ?a >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation product
type business enterprise
type game
action find_tuple_counts
relation product
type business enterprise
type application
value 1
[{'concept': 'business enterprise'}, 'product', [{'concept': 'game'}, {'concept': 'application'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?h WHERE { { ?h property:product ?e . ?h rdf:type ontology:business_enterprise . ?e rdf:type ontology:application } UNION { ?h property:product ?e . ?h rdf:type ontology:business_enterprise . ?e rdf:type ontology:game } } GROUP BY ?h } . FILTER ( ?a >= 1 ) }
[]
game application business enterprise
SYSTEM
5
Q3604604 Q1688472 Q22120978 Q24228 Q215639
(c(Q4830453),P1056,c(Q11410)|c(Q166142))
action count
action atleast
action union
action find_tuple_counts
relation P1056
type Q4830453
type Q11410
action find_tuple_counts
relation P1056
type Q4830453
type Q166142
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P1056', [{'concept': 'Q11410'}, {'concept': 'Q166142'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?h WHERE { { ?h property:P1056 ?e . ?h rdf:type ontology:Q4830453 . ?e rdf:type ontology:Q166142 } UNION { ?h property:P1056 ?e . ?h rdf:type ontology:Q4830453 . ?e rdf:type ontology:Q11410 } } GROUP BY ?h } . FILTER ( ?a >= 1 ) }
Acornsoft JetBrains Flock Inc. 343 Industries Opera Software
5
action count
action atleast
action union
action find_tuple_counts
relation product
type business enterprise
type game
action find_tuple_counts
relation product
type business enterprise
type application
value 1
[{'concept': 'business enterprise'}, 'product', [{'concept': 'game'}, {'concept': 'application'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?h WHERE { { ?h property:product ?e . ?h rdf:type ontology:business_enterprise . ?e rdf:type ontology:application } UNION { ?h property:product ?e . ?h rdf:type ontology:business_enterprise . ?e rdf:type ontology:game } } GROUP BY ?h } . FILTER ( ?a >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q4830453 Q740752
USER
Which transport companies are approximately 3 business enterprises the subordinate of ?
(c(Q740752),P355,c(Q4830453))
action approx
action find_tuple_counts
relation P355
type Q740752
type Q4830453
value 3
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?o ) WHERE { ?w property:P355 ?s . ?w rdf:type ontology:Q740752 . ?s rdf:type ontology:Q4830453 } GROUP BY ?w } . FILTER ( ?o = 3 ) }
action approx
action find_tuple_counts
relation subsidiary
type transport company
type business enterprise
value 3
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?o ) WHERE { ?w property:subsidiary ?s . ?w rdf:type ontology:transport_company . ?s rdf:type ontology:business_enterprise } GROUP BY ?w } . FILTER ( ?o = 3 ) }
[]
business enterprise transport company
Q18853
SYSTEM
DB Regio
Q18853
(c(Q740752),P355,c(Q4830453))
action approx
action find_tuple_counts
relation P355
type Q740752
type Q4830453
value 3
[ANSWER] is approximately 3 business enterprises the subordinate of
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?o ) WHERE { ?w property:P355 ?s . ?w rdf:type ontology:Q740752 . ?s rdf:type ontology:Q4830453 } GROUP BY ?w } . FILTER ( ?o = 3 ) }
DB Regio
DB Regio is approximately 3 business enterprises the subordinate of
DB Regio
action approx
action find_tuple_counts
relation subsidiary
type transport company
type business enterprise
value 3
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?o ) WHERE { ?w property:subsidiary ?s . ?w rdf:type ontology:transport_company . ?s rdf:type ontology:business_enterprise } GROUP BY ?w } . FILTER ( ?o = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q1269299 Q740752
USER
How many business organizations are around 1 transport company the parent company of ?
(c(Q740752),P355,c(Q1269299))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q740752
value 1
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:P355 ?o . ?o rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q740752 } GROUP BY ?o } }
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type transport company
value 1
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:subsidiary ?o . ?o rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:transport_company } GROUP BY ?o } }
[]
type of business entity transport company
SYSTEM
3
Q11471181 Q680991 Q17193081
(c(Q740752),P355,c(Q1269299))
action count
action approx
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q740752
value 1
[ANSWER]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:P355 ?o . ?o rdf:type ontology:Q1269299 . ?t rdf:type ontology:Q740752 } GROUP BY ?o } }
Sanyo Department Store Arriva Izukyu Holdings
3
action count
action approx
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type transport company
value 1
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:subsidiary ?o . ?o rdf:type ontology:type_of_business_entity . ?t rdf:type ontology:transport_company } GROUP BY ?o } }
[]