Simple Question (Direct)
Simple Question
Q1220796
P19
Q515
USER
Which city is the place of birth of Lajos Németh ?
(Q1220796,P19,c(Q515))
action filter_type
action find
entity Q1220796
relation P19
type Q515
['Q1220796', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1220796 property:P19 ?w . ?w rdf:type ontology:Q515 }
Lajos Németh
action filter_type
action find
entity Lajos Németh
relation place of birth
type city
['Lajos Németh', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Lajos_Németh property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
city
Q732300
SYSTEM
Gyomaendrőd
Q732300
(Q1220796,P19,c(Q515))
action filter_type
action find
entity Q1220796
relation P19
type Q515
[ANSWER] is the place of birth of Lajos Németh
['Q1220796', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1220796 property:P19 ?w . ?w rdf:type ontology:Q515 }
Gyomaendrőd
Gyomaendrőd is the place of birth of Lajos Németh
Gyomaendrőd
action filter_type
action find
entity Lajos Németh
relation place of birth
type city
['Lajos Németh', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Lajos_Németh property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q732300
P1383
Q56061
USER
Which administrative territories are contained in that city ?
(Q732300,P1383,c(Q56061))
action filter_type
action find
entity Q732300
relation P1383
type Q56061
['Q732300', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q732300 property:P1383 ?q . ?q rdf:type ontology:Q56061 }
Gyomaendrőd
action filter_type
action find
entity Gyomaendrőd
relation contains settlement
type administrative territorial entity
['Gyomaendrőd', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gyomaendrőd property:contains_settlement ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18980272 Q18980200 Q1214955
SYSTEM
Gyoma, Endrőd, Nagylapos
Q18980272 Q18980200 Q1214955
(Q732300,P1383,c(Q56061))
action filter_type
action find
entity Q732300
relation P1383
type Q56061
[ANSWERS] are contained in that city
['Q732300', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q732300 property:P1383 ?q . ?q rdf:type ontology:Q56061 }
Gyoma Endrőd Nagylapos
Gyoma, Endrőd and Nagylapos are contained in that city
Gyoma Endrőd Nagylapos
action filter_type
action find
entity Gyomaendrőd
relation contains settlement
type administrative territorial entity
['Gyomaendrőd', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gyomaendrőd property:contains_settlement ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]