Simple Question (Direct)
Simple Question
Q444217
P19
Q56061
USER
Which administrative territory is the place of birth of Tom Towles ?
(Q444217,P19,c(Q56061))
action filter_type
action find
entity Q444217
relation P19
type Q56061
['Q444217', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q444217 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Tom Towles
action filter_type
action find
entity Tom Towles
relation place of birth
type administrative territorial entity
['Tom Towles', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Tom_Towles property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1297
SYSTEM
Chicago
Q1297
(Q444217,P19,c(Q56061))
action filter_type
action find
entity Q444217
relation P19
type Q56061
[ANSWER] is the place of birth of Tom Towles
['Q444217', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q444217 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Chicago
Chicago is the place of birth of Tom Towles
Chicago
action filter_type
action find
entity Tom Towles
relation place of birth
type administrative territorial entity
['Tom Towles', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Tom_Towles property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q444217
P106
Q12737077
USER
Which occupations have Tom Towles as his/her 's career ?
(Q444217,P106,c(Q12737077))
action filter_type
action find
entity Q444217
relation P106
type Q12737077
['Q444217', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q444217 property:P106 ?q }
Tom Towles
action filter_type
action find
entity Tom Towles
relation occupation
type occupation
['Tom Towles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Tom_Towles property:occupation ?q }
[]
occupation
Q10798782 Q33999
SYSTEM
television actor, actor
Q10798782 Q33999
(Q444217,P106,c(Q12737077))
action filter_type
action find
entity Q444217
relation P106
type Q12737077
The [ANSWERS] have Tom Towles as his/her 's career
['Q444217', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q444217 property:P106 ?q }
television actor actor
The television actor and actor have Tom Towles as his/her 's career
television actor actor
action filter_type
action find
entity Tom Towles
relation occupation
type occupation
['Tom Towles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Tom_Towles property:occupation ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3711 Q1297
P190
Q56061
USER
Which administrative territories are the sister cities of Chicago and Belgrade ?
AND((Q1297,P190,c(Q56061)), (Q3711,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q1297
relation P190
action find
entity Q3711
relation P190
type Q56061
{'AND': [['Q1297', 'P190', {'concept': 'Q56061'}], ['Q3711', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1297 property:P190 ?d . resource:Q3711 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Belgrade Chicago
action filter_type
action intersection
action find
entity Chicago
relation sister city
action find
entity Belgrade
relation sister city
type administrative territorial entity
{'AND': [['Chicago', 'sister city', {'concept': 'administrative territorial entity'}], ['Belgrade', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Chicago property:sister_city ?d . resource:Belgrade property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524 Q987 Q1718
SYSTEM
Athens, New Delhi, Düsseldorf
Q1524 Q987 Q1718
AND((Q1297,P190,c(Q56061)), (Q3711,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q1297
relation P190
action find
entity Q3711
relation P190
type Q56061
[ANSWERS] are the sister cities of Chicago and Belgrade
{'AND': [['Q1297', 'P190', {'concept': 'Q56061'}], ['Q3711', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1297 property:P190 ?d . resource:Q3711 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Athens New Delhi Düsseldorf
Athens, New Delhi and Düsseldorf are the sister cities of Chicago and Belgrade
Athens New Delhi Düsseldorf
action filter_type
action intersection
action find
entity Chicago
relation sister city
action find
entity Belgrade
relation sister city
type administrative territorial entity
{'AND': [['Chicago', 'sister city', {'concept': 'administrative territorial entity'}], ['Belgrade', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Chicago property:sister_city ?d . resource:Belgrade property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3022456
P190
Q56061
USER
Are Dengel Ber sister town of those ones ?
(Q3022456,P190,Q1524) (Q3022456,P190,Q987) (Q3022456,P190,Q1718)
action is_in
entity prev_answer
action find
entity Q3022456
relation P190
['Q3022456', 'P190', 'Q1524'] ['Q3022456', 'P190', 'Q987'] ['Q3022456', 'P190', 'Q1718']
ASK WHERE { VALUES ( ?o ) { ( resource:Q1524 ) ( resource:Q987 ) ( resource:Q1718 ) } . resource:Q3022456 property:P190 ?o }
Dengel Ber
action is_in
entity prev_answer
action find
entity Dengel Ber
relation sister city
['Dengel Ber', 'sister city', 'Athens'] ['Dengel Ber', 'sister city', 'New Delhi'] ['Dengel Ber', 'sister city', 'Düsseldorf']
ASK WHERE { VALUES ( ?o ) { ( resource:Athens ) ( resource:New_Delhi ) ( resource:Düsseldorf ) } . resource:Dengel_Ber property:sister_city ?o }
[]
administrative territorial entity
SYSTEM
NO
(Q3022456,P190,Q1524) (Q3022456,P190,Q987) (Q3022456,P190,Q1718)
action is_in
entity prev_answer
action find
entity Q3022456
relation P190
[ANSWER]
['Q3022456', 'P190', 'Q1524'] ['Q3022456', 'P190', 'Q987'] ['Q3022456', 'P190', 'Q1718']
ASK WHERE { VALUES ( ?o ) { ( resource:Q1524 ) ( resource:Q987 ) ( resource:Q1718 ) } . resource:Q3022456 property:P190 ?o }
No
action is_in
entity prev_answer
action find
entity Dengel Ber
relation sister city
['Dengel Ber', 'sister city', 'Athens'] ['Dengel Ber', 'sister city', 'New Delhi'] ['Dengel Ber', 'sister city', 'Düsseldorf']
ASK WHERE { VALUES ( ?o ) { ( resource:Athens ) ( resource:New_Delhi ) ( resource:Düsseldorf ) } . resource:Dengel_Ber property:sister_city ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1718
P47
Q15617994
USER
How many administrative territories share border with Düsseldorf ?
(Q1718,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1718
relation P47
type Q15617994
['Q1718', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1718 property:P47 ?l }
Düsseldorf
action count
action filter_type
action find
entity Düsseldorf
relation shares border with
type designation for an administrative territorial entity
['Düsseldorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Düsseldorf property:shares_border_with ?l }
[]
designation for an administrative territorial entity
SYSTEM
6
Q3791 Q6968 Q4105 Q4094 Q14878 Q4048
(Q1718,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1718
relation P47
type Q15617994
[ANSWER]
['Q1718', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1718 property:P47 ?l }
Ratingen Erkrath Meerbusch Hilden Mettmann Langenfeld
6
action count
action filter_type
action find
entity Düsseldorf
relation shares border with
type designation for an administrative territorial entity
['Düsseldorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Düsseldorf property:shares_border_with ?l }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q286365
Q15617994
USER
And how about Musei?
(Q286365,P47,c(Q15617994))
action count
action filter_type
action find
entity Q286365
relation P47
type Q15617994
['Q286365', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q286365 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Musei
action count
action filter_type
action find
entity Musei
relation shares border with
type designation for an administrative territorial entity
['Musei', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Musei property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
(Q286365,P47,c(Q15617994))
action count
action filter_type
action find
entity Q286365
relation P47
type Q15617994
[ANSWER]
['Q286365', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q286365 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
4
action count
action filter_type
action find
entity Musei
relation shares border with
type designation for an administrative territorial entity
['Musei', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Musei property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P30
Q2221906
USER
Where is Athens located ?
(Q1524,P30,c(Q2221906))
action filter_type
action find
entity Q1524
relation P30
type Q2221906
['Q1524', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1524 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Athens
action filter_type
action find
entity Athens
relation continent
type geographic location
['Athens', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Athens property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q1524,P30,c(Q2221906))
action filter_type
action find
entity Q1524
relation P30
type Q2221906
Athens is located in [ANSWER]
['Q1524', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1524 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe
Athens is located in Europe
Europe
action filter_type
action find
entity Athens
relation continent
type geographic location
['Athens', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Athens property:continent ?y . ?y rdf:type ontology:geographic_location }
[]