Simple Question (Direct)
Simple Question
Q1536550
P921
Q12737077
USER
What was the main subject in the work Shinobi: Heart Under Blade ?
(Q1536550,P921,c(Q12737077))
action filter_type
action find
entity Q1536550
relation P921
type Q12737077
['Q1536550', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q1536550 property:P921 ?m }
Shinobi: Heart Under Blade
action filter_type
action find
entity Shinobi: Heart Under Blade
relation main subject
type occupation
['Shinobi: Heart Under Blade', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Shinobi:_Heart_Under_Blade property:main_subject ?m }
[]
occupation
Q9402
SYSTEM
ninja
Q9402
(Q1536550,P921,c(Q12737077))
action filter_type
action find
entity Q1536550
relation P921
type Q12737077
The main subject in the work Shinobi : Heart Under Blade was the [ANSWER]
['Q1536550', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q1536550 property:P921 ?m }
ninja
The main subject in the work Shinobi : Heart Under Blade was the ninja
ninja
action filter_type
action find
entity Shinobi: Heart Under Blade
relation main subject
type occupation
['Shinobi: Heart Under Blade', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Shinobi:_Heart_Under_Blade property:main_subject ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1536550
P462
Q1075
USER
Which color is Shinobi: Heart Under Blade associated with ?
(Q1536550,P462,c(Q1075))
action filter_type
action find
entity Q1536550
relation P462
type Q1075
['Q1536550', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { resource:Q1536550 property:P462 ?s . ?s rdf:type ontology:Q1075 }
Shinobi: Heart Under Blade
action filter_type
action find
entity Shinobi: Heart Under Blade
relation color
type color
['Shinobi: Heart Under Blade', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { resource:Shinobi:_Heart_Under_Blade property:color ?s . ?s rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q1536550,P462,c(Q1075))
action filter_type
action find
entity Q1536550
relation P462
type Q1075
[ANSWER]
['Q1536550', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { resource:Q1536550 property:P462 ?s . ?s rdf:type ontology:Q1075 }
color
color
action filter_type
action find
entity Shinobi: Heart Under Blade
relation color
type color
['Shinobi: Heart Under Blade', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { resource:Shinobi:_Heart_Under_Blade property:color ?s . ?s rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1536550
P136
Q1792379
USER
What can be considered as category for Shinobi: Heart Under Blade ?
(Q1536550,P136,c(Q1792379))
action filter_type
action find
entity Q1536550
relation P136
type Q1792379
['Q1536550', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1792379 . resource:Q1536550 property:P136 ?o }
Shinobi: Heart Under Blade
action filter_type
action find
entity Shinobi: Heart Under Blade
relation genre
type art genre
['Shinobi: Heart Under Blade', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:art_genre . resource:Shinobi:_Heart_Under_Blade property:genre ?o }
[]
art genre
Q1033891 Q1054574 Q130232
SYSTEM
martial arts film, romance film, drama film
Q1033891 Q1054574 Q130232
(Q1536550,P136,c(Q1792379))
action filter_type
action find
entity Q1536550
relation P136
type Q1792379
[ANSWERS] can be considered as category for Shinobi: Heart Under Blade
['Q1536550', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1792379 . resource:Q1536550 property:P136 ?o }
martial arts film romance film drama film
Martial arts film, romance film and drama film can be considered as category for Shinobi: Heart Under Blade
martial arts film romance film drama film
action filter_type
action find
entity Shinobi: Heart Under Blade
relation genre
type art genre
['Shinobi: Heart Under Blade', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:art_genre . resource:Shinobi:_Heart_Under_Blade property:genre ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19845305
Q1792379
USER
And also tell me about Where’s the Beer and When Do We Get Paid??
(Q19845305,P136,c(Q1792379))
action filter_type
action find
entity Q19845305
relation P136
type Q1792379
['Q19845305', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q19845305 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
Where’s the Beer and When Do We Get Paid?
action filter_type
action find
entity Where’s the Beer and When Do We Get Paid?
relation genre
type art genre
['Where’s the Beer and When Do We Get Paid?', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:Where’s_the_Beer_and_When_Do_We_Get_Paid? property:genre ?k . ?k rdf:type ontology:art_genre }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
(Q19845305,P136,c(Q1792379))
action filter_type
action find
entity Q19845305
relation P136
type Q1792379
[ANSWER] And also tell me about ’s the Beer and Do We Get Paid
['Q19845305', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q19845305 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
documentary film
Documentary film And also tell me about ’s the Beer and Do We Get Paid
documentary film
action filter_type
action find
entity Where’s the Beer and When Do We Get Paid?
relation genre
type art genre
['Where’s the Beer and When Do We Get Paid?', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:Where’s_the_Beer_and_When_Do_We_Get_Paid? property:genre ?k . ?k rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q230 Q19845305
P530 P495
Q1048835
USER
Which political territories are the countries of origin of Where’s the Beer and When Do We Get Paid? and holds diplomatic relationship with Georgia ?
AND((Q19845305,P495,c(Q1048835)), (Q230,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q19845305
relation P495
action find
entity Q230
relation P530
type Q1048835
{'AND': [['Q19845305', 'P495', {'concept': 'Q1048835'}], ['Q230', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { resource:Q19845305 property:P495 ?z . resource:Q230 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Georgia Where’s the Beer and When Do We Get Paid?
action filter_type
action intersection
action find
entity Where’s the Beer and When Do We Get Paid?
relation country of origin
action find
entity Georgia
relation diplomatic relation
type political territorial entity
{'AND': [['Where’s the Beer and When Do We Get Paid?', 'country of origin', {'concept': 'political territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Where’s_the_Beer_and_When_Do_We_Get_Paid? property:country_of_origin ?z . resource:Georgia property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q19845305,P495,c(Q1048835)), (Q230,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q19845305
relation P495
action find
entity Q230
relation P530
type Q1048835
[ANSWER] is the countries of origin of Where’s the Beer and When Do We Get Paid and holds diplomatic relationship with Georgia
{'AND': [['Q19845305', 'P495', {'concept': 'Q1048835'}], ['Q230', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { resource:Q19845305 property:P495 ?z . resource:Q230 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Germany is the countries of origin of Where’s the Beer and When Do We Get Paid and holds diplomatic relationship with Georgia
Germany
action filter_type
action intersection
action find
entity Where’s the Beer and When Do We Get Paid?
relation country of origin
action find
entity Georgia
relation diplomatic relation
type political territorial entity
{'AND': [['Where’s the Beer and When Do We Get Paid?', 'country of origin', {'concept': 'political territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Where’s_the_Beer_and_When_Do_We_Get_Paid? property:country_of_origin ?z . resource:Georgia property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q53758
P530
Q15617994
USER
Does Kentzlin have a diplomatic relationship with that political territory ?
(Q183,P530,Q53758)
action is_in
entity Q53758
action find
entity Q183
relation P530
['Q183', 'P530', 'Q53758']
ASK WHERE { resource:Q183 property:P530 resource:Q53758 }
Germany Kentzlin
action is_in
entity Kentzlin
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Kentzlin']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Kentzlin }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q53758)
action is_in
entity Q53758
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q53758']
ASK WHERE { resource:Q183 property:P530 resource:Q53758 }
No
action is_in
entity Kentzlin
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Kentzlin']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Kentzlin }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P163
Q14660
USER
What is associated with that political territory ?
action filter_type
action find
entity Q183
relation P163
type Q14660
SELECT DISTINCT ?p WHERE { resource:Q183 property:P163 ?p . ?p rdf:type ontology:Q14660 }
Germany
action filter_type
action find
entity Germany
relation flag
type flag
SELECT DISTINCT ?p WHERE { resource:Germany property:flag ?p . ?p rdf:type ontology:flag }
[]
flag
Q48160
SYSTEM
flag of Germany
Q48160
action filter_type
action find
entity Q183
relation P163
type Q14660
The [ANSWER] is associated with that political territory
SELECT DISTINCT ?p WHERE { resource:Q183 property:P163 ?p . ?p rdf:type ontology:Q14660 }
flag of Germany
The flag of Germany is associated with that political territory
flag of Germany
action filter_type
action find
entity Germany
relation flag
type flag
SELECT DISTINCT ?p WHERE { resource:Germany property:flag ?p . ?p rdf:type ontology:flag }
[]