Simple Question (Direct)
Simple Question
Q1336186
P462
Q1075
USER
Which color is associated with Mansquito ?
(Q1336186,P462,c(Q1075))
action filter_type
action find
entity Q1336186
relation P462
type Q1075
['Q1336186', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1075 . resource:Q1336186 property:P462 ?i }
Mansquito
action filter_type
action find
entity Mansquito
relation color
type color
['Mansquito', 'color', {'concept': 'color'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:color . resource:Mansquito property:color ?i }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q1336186,P462,c(Q1075))
action filter_type
action find
entity Q1336186
relation P462
type Q1075
[ANSWER]
['Q1336186', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1075 . resource:Q1336186 property:P462 ?i }
color
color
action filter_type
action find
entity Mansquito
relation color
type color
['Mansquito', 'color', {'concept': 'color'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:color . resource:Mansquito property:color ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1336186
P136
Q1792379
USER
What can be considered as category for Mansquito ?
(Q1336186,P136,c(Q1792379))
action filter_type
action find
entity Q1336186
relation P136
type Q1792379
['Q1336186', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1792379 . resource:Q1336186 property:P136 ?v }
Mansquito
action filter_type
action find
entity Mansquito
relation genre
type art genre
['Mansquito', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:art_genre . resource:Mansquito property:genre ?v }
[]
art genre
Q471839 Q200092
SYSTEM
science fiction film, horror film
Q471839 Q200092
(Q1336186,P136,c(Q1792379))
action filter_type
action find
entity Q1336186
relation P136
type Q1792379
[ANSWERS]
['Q1336186', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1792379 . resource:Q1336186 property:P136 ?v }
science fiction film horror film
science fiction film horror film
action filter_type
action find
entity Mansquito
relation genre
type art genre
['Mansquito', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:art_genre . resource:Mansquito property:genre ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1336186
P915
Q15617994
USER
Which location was Mansquito filmed ?
(Q1336186,P915,c(Q15617994))
action filter_type
action find
entity Q1336186
relation P915
type Q15617994
['Q1336186', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1336186 property:P915 ?z . ?z rdf:type ontology:Q15617994 }
Mansquito
action filter_type
action find
entity Mansquito
relation filming location
type designation for an administrative territorial entity
['Mansquito', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Mansquito property:filming_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q1336186,P915,c(Q15617994))
action filter_type
action find
entity Q1336186
relation P915
type Q15617994
[ANSWER]
['Q1336186', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1336186 property:P915 ?z . ?z rdf:type ontology:Q15617994 }
Bulgaria
Bulgaria
action filter_type
action find
entity Mansquito
relation filming location
type designation for an administrative territorial entity
['Mansquito', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Mansquito property:filming_location ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q547120
Q15617994
USER
And also tell me about The Fall?
(Q547120,P915,c(Q15617994))
action filter_type
action find
entity Q547120
relation P915
type Q15617994
['Q547120', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q547120 property:P915 ?n . ?n rdf:type ontology:Q15617994 }
The Fall
action filter_type
action find
entity The Fall
relation filming location
type designation for an administrative territorial entity
['The Fall', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:The_Fall property:filming_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q547120,P915,c(Q15617994))
action filter_type
action find
entity Q547120
relation P915
type Q15617994
[ANSWER]
['Q547120', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q547120 property:P915 ?n . ?n rdf:type ontology:Q15617994 }
Indonesia
Indonesia
action filter_type
action find
entity The Fall
relation filming location
type designation for an administrative territorial entity
['The Fall', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:The_Fall property:filming_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q1048835
USER
How many administrative territories and political territories are bordered by that administrative territory ?
(c(Q56061),P47,Q252) (c(Q1048835),P47,Q252) (c(Q56061),P47,Q252) (c(Q1048835),P47,Q252)
action count
action union
action filter_type
action find_reverse
entity Q252
relation P47
type Q56061
action filter_type
action find_reverse
entity Q252
relation P47
type Q1048835
[{'concept': 'Q56061'}, 'P47', 'Q252'] [{'concept': 'Q1048835'}, 'P47', 'Q252'] [{'concept': 'Q56061'}, 'P47', 'Q252'] [{'concept': 'Q1048835'}, 'P47', 'Q252']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P47 resource:Q252 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P47 resource:Q252 . ?q rdf:type ontology:Q1048835 } }
action count
action union
action filter_type
action find_reverse
entity Indonesia
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Indonesia
relation shares border with
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Indonesia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Indonesia'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Indonesia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Indonesia']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:shares_border_with resource:Indonesia . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:shares_border_with resource:Indonesia . ?q rdf:type ontology:political_territorial_entity } }
[]
administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 2 political territories
Q334 Q408 Q691
(c(Q56061),P47,Q252) (c(Q1048835),P47,Q252) (c(Q56061),P47,Q252) (c(Q1048835),P47,Q252)
action count
action union
action filter_type
action find_reverse
entity Q252
relation P47
type Q56061
action filter_type
action find_reverse
entity Q252
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q252'] [{'concept': 'Q1048835'}, 'P47', 'Q252'] [{'concept': 'Q56061'}, 'P47', 'Q252'] [{'concept': 'Q1048835'}, 'P47', 'Q252']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P47 resource:Q252 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P47 resource:Q252 . ?q rdf:type ontology:Q1048835 } }
Singapore Australia Papua New Guinea
1 administrative territories and 2 political territories
action count
action union
action filter_type
action find_reverse
entity Indonesia
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Indonesia
relation shares border with
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Indonesia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Indonesia'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Indonesia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Indonesia']
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:shares_border_with resource:Indonesia . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:shares_border_with resource:Indonesia . ?q rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219
P30
Q2221906
USER
Which geographic location is Bulgaria located in ?
(Q219,P30,c(Q2221906))
action filter_type
action find
entity Q219
relation P30
type Q2221906
['Q219', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q219 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Bulgaria
action filter_type
action find
entity Bulgaria
relation continent
type geographic location
['Bulgaria', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Bulgaria property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q219,P30,c(Q2221906))
action filter_type
action find
entity Q219
relation P30
type Q2221906
[ANSWER]
['Q219', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q219 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe
Europe
action filter_type
action find
entity Bulgaria
relation continent
type geographic location
['Bulgaria', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Bulgaria property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3303846
Q2221906
USER
And what about Robertson Island?
(Q3303846,P30,c(Q2221906))
action filter_type
action find
entity Q3303846
relation P30
type Q2221906
['Q3303846', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q3303846 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Robertson Island
action filter_type
action find
entity Robertson Island
relation continent
type geographic location
['Robertson Island', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Robertson_Island property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q3303846,P30,c(Q2221906))
action filter_type
action find
entity Q3303846
relation P30
type Q2221906
[ANSWER]
['Q3303846', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q3303846 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Robertson Island
relation continent
type geographic location
['Robertson Island', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Robertson_Island property:continent ?c . ?c rdf:type ontology:geographic_location }
[]