Simple Question (Direct)
Simple Question
Q528230
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Barbara Roberts ?
(Q528230,P27,c(Q15617994))
action filter_type
action find
entity Q528230
relation P27
type Q15617994
['Q528230', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q528230 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Barbara Roberts
action filter_type
action find
entity Barbara Roberts
relation country of citizenship
type designation for an administrative territorial entity
['Barbara Roberts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Barbara_Roberts property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q528230,P27,c(Q15617994))
action filter_type
action find
entity Q528230
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Barbara Roberts
['Q528230', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q528230 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Barbara Roberts
United States of America
action filter_type
action find
entity Barbara Roberts
relation country of citizenship
type designation for an administrative territorial entity
['Barbara Roberts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Barbara_Roberts property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q528230
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q528230
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q528230 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Barbara Roberts
action filter_type
action find
entity Barbara Roberts
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Barbara_Roberts property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q748474
SYSTEM
Corvallis
Q748474
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q528230
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q528230 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Corvallis
Corvallis is the place of birth of that person
Corvallis
action filter_type
action find
entity Barbara Roberts
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Barbara_Roberts property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q528230
P50
Q2342494
USER
Which collectable has that person as its author ?
(c(Q2342494),P50,Q748474)
action filter_type
action find_reverse
entity Q528230
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q748474']
SELECT DISTINCT ?b WHERE { ?b property:P50 resource:Q528230 . ?b rdf:type ontology:Q2342494 }
Barbara Roberts
action filter_type
action find_reverse
entity Barbara Roberts
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Corvallis']
SELECT DISTINCT ?b WHERE { ?b property:author resource:Barbara_Roberts . ?b rdf:type ontology:collectable }
[]
collectable
Q5247255
SYSTEM
Death Without Denial Grief Without Apology: A Guide for Facing Death and Loss
Q5247255
(c(Q2342494),P50,Q748474)
action filter_type
action find_reverse
entity Q528230
relation P50
type Q2342494
Death Without Denial Grief Without Apology: A Guide for facing Death and Loss has that person as its author
[{'concept': 'Q2342494'}, 'P50', 'Q748474']
SELECT DISTINCT ?b WHERE { ?b property:P50 resource:Q528230 . ?b rdf:type ontology:Q2342494 }
Death Without Denial Grief Without Apology: A Guide for Facing Death and Loss
Death Without Denial Grief Without Apology: A Guide for facing Death and Loss has that person as its author
Death Without Denial Grief Without Apology: A Guide for Facing Death and Loss
action filter_type
action find_reverse
entity Barbara Roberts
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Corvallis']
SELECT DISTINCT ?b WHERE { ?b property:author resource:Barbara_Roberts . ?b rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748474
P1408
Q4830453
USER
Which business enterprise has procured license for broadcasting to Corvallis ?
(c(Q4830453),P1408,Q748474)
action filter_type
action find_reverse
entity Q748474
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q748474']
SELECT DISTINCT ?l WHERE { ?l property:P1408 resource:Q748474 . ?l rdf:type ontology:Q4830453 }
Corvallis
action filter_type
action find_reverse
entity Corvallis
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Corvallis']
SELECT DISTINCT ?l WHERE { ?l property:licensed_to_broadcast_to resource:Corvallis . ?l rdf:type ontology:business_enterprise }
[]
business enterprise
Q6326375
SYSTEM
KBVR
Q6326375
(c(Q4830453),P1408,Q748474)
action filter_type
action find_reverse
entity Q748474
relation P1408
type Q4830453
[ANSWER] has procured license for broadcasting to Corvallis
[{'concept': 'Q4830453'}, 'P1408', 'Q748474']
SELECT DISTINCT ?l WHERE { ?l property:P1408 resource:Q748474 . ?l rdf:type ontology:Q4830453 }
KBVR
KBVR has procured license for broadcasting to Corvallis
KBVR
action filter_type
action find_reverse
entity Corvallis
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Corvallis']
SELECT DISTINCT ?l WHERE { ?l property:licensed_to_broadcast_to resource:Corvallis . ?l rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q748474
P190
Q515
USER
Which city is sister town of that administrative territory ?
(Q6326375,P190,c(Q515))
action filter_type
action find
entity Q748474
relation P190
type Q515
['Q6326375', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q748474 property:P190 ?d . ?d rdf:type ontology:Q515 }
Corvallis
action filter_type
action find
entity Corvallis
relation sister city
type city
['KBVR', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Corvallis property:sister_city ?d . ?d rdf:type ontology:city }
[]
city
Q3612
SYSTEM
Antofagasta
Q3612
(Q6326375,P190,c(Q515))
action filter_type
action find
entity Q748474
relation P190
type Q515
[ANSWER] is sister town of that administrative territory
['Q6326375', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q748474 property:P190 ?d . ?d rdf:type ontology:Q515 }
Antofagasta
Antofagasta is sister town of that administrative territory
Antofagasta
action filter_type
action find
entity Corvallis
relation sister city
type city
['KBVR', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Corvallis property:sister_city ?d . ?d rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748474
P17
Q15617994
USER
Which administrative territory is Corvallis situated in ?
(Q748474,P17,c(Q15617994))
action filter_type
action find
entity Q748474
relation P17
type Q15617994
['Q748474', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q748474 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Corvallis
action filter_type
action find
entity Corvallis
relation country
type designation for an administrative territorial entity
['Corvallis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Corvallis property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q748474,P17,c(Q15617994))
action filter_type
action find
entity Q748474
relation P17
type Q15617994
Corvallis is situated in [ANSWER]
['Q748474', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q748474 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
Corvallis is situated in United States of America
United States of America
action filter_type
action find
entity Corvallis
relation country
type designation for an administrative territorial entity
['Corvallis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Corvallis property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6783903
Q15617994
USER
And what about Sothayan?
(Q6783903,P17,c(Q15617994))
action filter_type
action find
entity Q6783903
relation P17
type Q15617994
['Q6783903', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q6783903 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Sothayan
action filter_type
action find
entity Sothayan
relation country
type designation for an administrative territorial entity
['Sothayan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sothayan property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q837
SYSTEM
Nepal
Q837
(Q6783903,P17,c(Q15617994))
action filter_type
action find
entity Q6783903
relation P17
type Q15617994
[ANSWER]
['Q6783903', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q6783903 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Nepal
Nepal
action filter_type
action find
entity Sothayan
relation country
type designation for an administrative territorial entity
['Sothayan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sothayan property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7347283 Q6326375
P27 P17
Q15617994
USER
Which administrative territories do KBVR belong to and are Robert Maheu a civilian of ?
AND((Q6326375,P17,c(Q15617994)), (Q7347283,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6326375
relation P17
action find
entity Q7347283
relation P27
type Q15617994
{'AND': [['Q6326375', 'P17', {'concept': 'Q15617994'}], ['Q7347283', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q6326375 property:P17 ?u . resource:Q7347283 property:P27 ?u }
Robert Maheu KBVR
action filter_type
action intersection
action find
entity KBVR
relation country
action find
entity Robert Maheu
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['KBVR', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Robert Maheu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:KBVR property:country ?u . resource:Robert_Maheu property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q6326375,P17,c(Q15617994)), (Q7347283,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6326375
relation P17
action find
entity Q7347283
relation P27
type Q15617994
KBVR belong to the [ANSWER] and are Robert Maheu a civilian of
{'AND': [['Q6326375', 'P17', {'concept': 'Q15617994'}], ['Q7347283', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q6326375 property:P17 ?u . resource:Q7347283 property:P27 ?u }
United States of America
KBVR belong to the United States of America and are Robert Maheu a civilian of
United States of America
action filter_type
action intersection
action find
entity KBVR
relation country
action find
entity Robert Maheu
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['KBVR', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Robert Maheu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:KBVR property:country ?u . resource:Robert_Maheu property:country_of_citizenship ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q837 Q174002
P159
Q43229
USER
How many organizations have their HQ location at Nepal or Colombes ?
(c(Q43229),P159,Q837) (c(Q43229),P159,Q174002)
action count
action union
action filter_type
action find_reverse
entity Q837
relation P159
type Q43229
action filter_type
action find_reverse
entity Q174002
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q837'] [{'concept': 'Q43229'}, 'P159', 'Q174002']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P159 ?x . VALUES ( ?x ) { ( resource:Q837 ) ( resource:Q174002 ) } }
Nepal Colombes
action count
action union
action filter_type
action find_reverse
entity Nepal
relation headquarters location
type organization
action filter_type
action find_reverse
entity Colombes
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Nepal'] [{'concept': 'organization'}, 'headquarters location', 'Colombes']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:headquarters_location ?x . VALUES ( ?x ) { ( resource:Nepal ) ( resource:Colombes ) } }
[]
organization
SYSTEM
5
Q81204 Q3519457 Q787719 Q673327 Q3049347
(c(Q43229),P159,Q837) (c(Q43229),P159,Q174002)
action count
action union
action filter_type
action find_reverse
entity Q837
relation P159
type Q43229
action filter_type
action find_reverse
entity Q174002
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q837'] [{'concept': 'Q43229'}, 'P159', 'Q174002']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P159 ?x . VALUES ( ?x ) { ( resource:Q837 ) ( resource:Q174002 ) } }
Oberthur Technologies Thales Communications Automobiles Rally Arkema Eiffel
5
action count
action union
action filter_type
action find_reverse
entity Nepal
relation headquarters location
type organization
action filter_type
action find_reverse
entity Colombes
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Nepal'] [{'concept': 'organization'}, 'headquarters location', 'Colombes']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:headquarters_location ?x . VALUES ( ?x ) { ( resource:Nepal ) ( resource:Colombes ) } }
[]