Simple Question (Direct)
Simple Question
Q2482220
P1196
Q1914636
USER
Which situation led to the death of Francisco Ramírez ?
(Q2482220,P1196,c(Q1914636))
action filter_type
action find
entity Q2482220
relation P1196
type Q1914636
['Q2482220', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1914636 . resource:Q2482220 property:P1196 ?y }
Francisco Ramírez
action filter_type
action find
entity Francisco Ramírez
relation manner of death
type activity
['Francisco Ramírez', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:activity . resource:Francisco_Ramírez property:manner_of_death ?y }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q2482220,P1196,c(Q1914636))
action filter_type
action find
entity Q2482220
relation P1196
type Q1914636
The [ANSWER] led to the death of Francisco Ramírez
['Q2482220', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1914636 . resource:Q2482220 property:P1196 ?y }
homicide
The homicide led to the death of Francisco Ramírez
homicide
action filter_type
action find
entity Francisco Ramírez
relation manner of death
type activity
['Francisco Ramírez', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:activity . resource:Francisco_Ramírez property:manner_of_death ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2482220
P27
Q15617994
USER
Which administrative territory does Francisco Ramírez belong to ?
(Q2482220,P27,c(Q15617994))
action filter_type
action find
entity Q2482220
relation P27
type Q15617994
['Q2482220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2482220 property:P27 ?q }
Francisco Ramírez
action filter_type
action find
entity Francisco Ramírez
relation country of citizenship
type designation for an administrative territorial entity
['Francisco Ramírez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Francisco_Ramírez property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q2482220,P27,c(Q15617994))
action filter_type
action find
entity Q2482220
relation P27
type Q15617994
Francisco Ramírez belongs to [ANSWER]
['Q2482220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2482220 property:P27 ?q }
Argentina
Francisco Ramírez belongs to Argentina
Argentina
action filter_type
action find
entity Francisco Ramírez
relation country of citizenship
type designation for an administrative territorial entity
['Francisco Ramírez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Francisco_Ramírez property:country_of_citizenship ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q414 Q38 Q6758534
P530
Q15617994
USER
Does Argentina have diplomatic relations with Italy and Marcus Whitman Central School District ?
(Q414,P530,Q38) (Q414,P530,Q6758534)
action is_in
entity Q414
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q6758534
relation P530
['Q414', 'P530', 'Q38'] ['Q414', 'P530', 'Q6758534']
ASK WHERE { resource:Q414 property:P530 resource:Q38 . resource:Q414 property:P530 resource:Q6758534 }
Argentina Italy Marcus Whitman Central School District
action is_in
entity Argentina
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Marcus Whitman Central School District
relation diplomatic relation
['Argentina', 'diplomatic relation', 'Italy'] ['Argentina', 'diplomatic relation', 'Marcus Whitman Central School District']
ASK WHERE { resource:Argentina property:diplomatic_relation resource:Italy . resource:Argentina property:diplomatic_relation resource:Marcus_Whitman_Central_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q414,P530,Q38) (Q414,P530,Q6758534)
action is_in
entity Q414
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q6758534
relation P530
[ANSWER]
['Q414', 'P530', 'Q38'] ['Q414', 'P530', 'Q6758534']
ASK WHERE { resource:Q414 property:P530 resource:Q38 . resource:Q414 property:P530 resource:Q6758534 }
YES and NO respectively
action is_in
entity Argentina
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Marcus Whitman Central School District
relation diplomatic relation
['Argentina', 'diplomatic relation', 'Italy'] ['Argentina', 'diplomatic relation', 'Marcus Whitman Central School District']
ASK WHERE { resource:Argentina property:diplomatic_relation resource:Italy . resource:Argentina property:diplomatic_relation resource:Marcus_Whitman_Central_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q414 Q334
P530
Q1048835
USER
How many political territories have diplomatic associations with Argentina and Singapore ?
(c(Q1048835),P530,Q414) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q414
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q414'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P530 resource:Q414 . ?k rdf:type ontology:Q1048835 . ?k property:P530 resource:Q334 . ?k rdf:type ontology:Q1048835 }
Argentina Singapore
action count
action intersection
action filter_type
action find_reverse
entity Argentina
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Argentina'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:diplomatic_relation resource:Argentina . ?k rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation resource:Singapore . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q414) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q414
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q414'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P530 resource:Q414 . ?k rdf:type ontology:Q1048835 . ?k property:P530 resource:Q334 . ?k rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Argentina
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Argentina'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:diplomatic_relation resource:Argentina . ?k rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation resource:Singapore . ?k rdf:type ontology:political_territorial_entity }
[]