Simple Question (Direct)
Simple Question
Q3296455
P19
Q15617994
USER
Which administrative territory was María Luisa García born at ?
(Q3296455,P19,c(Q15617994))
action filter_type
action find
entity Q3296455
relation P19
type Q15617994
['Q3296455', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3296455 property:P19 ?v . ?v rdf:type ontology:Q15617994 }
María Luisa García
action filter_type
action find
entity María Luisa García
relation place of birth
type designation for an administrative territorial entity
['María Luisa García', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:María_Luisa_García property:place_of_birth ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q3296455,P19,c(Q15617994))
action filter_type
action find
entity Q3296455
relation P19
type Q15617994
María Luisa García was born in [ANSWER]
['Q3296455', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3296455 property:P19 ?v . ?v rdf:type ontology:Q15617994 }
Spain
María Luisa García was born in Spain
Spain
action filter_type
action find
entity María Luisa García
relation place of birth
type designation for an administrative territorial entity
['María Luisa García', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:María_Luisa_García property:place_of_birth ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P176
Q2235308
USER
Which ship type was manufactured by that administrative territory ?
(c(Q2235308),P176,Q29)
action filter_type
action find_reverse
entity Q29
relation P176
type Q2235308
[{'concept': 'Q2235308'}, 'P176', 'Q29']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2235308 . ?l property:P176 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Spain']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:ship_type . ?l property:manufacturer resource:Spain }
[]
ship type
Q1935564
SYSTEM
Ictineo II
Q1935564
(c(Q2235308),P176,Q29)
action filter_type
action find_reverse
entity Q29
relation P176
type Q2235308
[ANSWER] was manufactured by that administrative territory
[{'concept': 'Q2235308'}, 'P176', 'Q29']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2235308 . ?l property:P176 resource:Q29 }
Ictineo II
Ictineo II was manufactured by that administrative territory
Ictineo II
action filter_type
action find_reverse
entity Spain
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Spain']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:ship_type . ?l property:manufacturer resource:Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q334
P530
Q1048835
USER
How many political territories have diplomatic associations with Spain and Singapore ?
(c(Q1048835),P530,Q29) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q29
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q29'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:Q1048835 . ?e property:P530 resource:Q29 . ?e property:P530 resource:Q334 . ?e rdf:type ontology:Q1048835 }
Spain Singapore
action count
action intersection
action filter_type
action find_reverse
entity Spain
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', 'Spain'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation resource:Spain . ?e property:diplomatic_relation resource:Singapore . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q29) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q29
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q29'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:Q1048835 . ?e property:P530 resource:Q29 . ?e property:P530 resource:Q334 . ?e rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Spain
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', 'Spain'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation resource:Spain . ?e property:diplomatic_relation resource:Singapore . ?e rdf:type ontology:political_territorial_entity }
[]