Simple Question (Direct)
Simple Question
Q11531260
P106
Q12737077
USER
Which occupations are the professions of Michiho Matsumoto ?
(Q11531260,P106,c(Q12737077))
action filter_type
action find
entity Q11531260
relation P106
type Q12737077
['Q11531260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11531260 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Michiho Matsumoto
action filter_type
action find
entity Michiho Matsumoto
relation occupation
type occupation
['Michiho Matsumoto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Michiho_Matsumoto property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q5716684 Q33999 Q3357567
SYSTEM
dancer, actor, fashion model
Q3357567 Q970153 Q33999 Q5716684 Q622807
(Q11531260,P106,c(Q12737077))
action filter_type
action find
entity Q11531260
relation P106
type Q12737077
[ANSWERS] the professions of Michiho Matsumoto
['Q11531260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11531260 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
fashion model child actor actor dancer seiyū
Dancer, actor and fashion model the professions of Michiho Matsumoto
dancer actor fashion model
action filter_type
action find
entity Michiho Matsumoto
relation occupation
type occupation
['Michiho Matsumoto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Michiho_Matsumoto property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11531260
P734
Q82799
USER
Which name is associated with Michiho Matsumoto ?
(Q11531260,P734,c(Q82799))
action filter_type
action find
entity Q11531260
relation P734
type Q82799
['Q11531260', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q11531260 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Michiho Matsumoto
action filter_type
action find
entity Michiho Matsumoto
relation family name
type name
['Michiho Matsumoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Michiho_Matsumoto property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q19939021
SYSTEM
Matsumoto
Q19939021
(Q11531260,P734,c(Q82799))
action filter_type
action find
entity Q11531260
relation P734
type Q82799
To [ANSWER] is associated with Michiho [ANSWER]
['Q11531260', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q11531260 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Matsumoto
To Matsumoto is associated with Michiho Matsumoto
Matsumoto
action filter_type
action find
entity Michiho Matsumoto
relation family name
type name
['Michiho Matsumoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Michiho_Matsumoto property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11531260
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Michiho Matsumoto ?
(Q11531260,P27,c(Q15617994))
action filter_type
action find
entity Q11531260
relation P27
type Q15617994
['Q11531260', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q11531260 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Michiho Matsumoto
action filter_type
action find
entity Michiho Matsumoto
relation country of citizenship
type designation for an administrative territorial entity
['Michiho Matsumoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Michiho_Matsumoto property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11531260,P27,c(Q15617994))
action filter_type
action find
entity Q11531260
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of Michiho Matsumoto
['Q11531260', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q11531260 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Japan
The Japan is the country of citizenship of Michiho Matsumoto
Japan
action filter_type
action find
entity Michiho Matsumoto
relation country of citizenship
type designation for an administrative territorial entity
['Michiho Matsumoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Michiho_Matsumoto property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11531260
P21
Q290
USER
What is the sex of that person ?
(Q17,P21,c(Q290))
action filter_type
action find
entity Q11531260
relation P21
type Q290
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q11531260 property:P21 ?s . ?s rdf:type ontology:Q290 }
Michiho Matsumoto
action filter_type
action find
entity Michiho Matsumoto
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Michiho_Matsumoto property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q17,P21,c(Q290))
action filter_type
action find
entity Q11531260
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q11531260 property:P21 ?s . ?s rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Michiho Matsumoto
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Michiho_Matsumoto property:gender ?s . ?s rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q719883 Q17
P530 P1001
Q15617994
USER
Which administrative territories have diplomatic relationships with Japan and belong to jurisdiction of Statute of Westminster 1931 ?
AND((Q17,P530,c(Q15617994)), (Q719883,P1001,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P530
action find
entity Q719883
relation P1001
type Q15617994
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q719883', 'P1001', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q719883 property:P1001 ?j . resource:Q17 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Statute of Westminster 1931 Japan
action filter_type
action intersection
action find
entity Japan
relation diplomatic relation
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Statute of Westminster 1931', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Statute_of_Westminster_1931 property:applies_to_jurisdiction ?j . resource:Japan property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q17,P530,c(Q15617994)), (Q719883,P1001,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P530
action find
entity Q719883
relation P1001
type Q15617994
[ANSWER] have diplomatic relationships with Japan and belong to jurisdiction of Statute of Westminster 1931
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q719883', 'P1001', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q719883 property:P1001 ?j . resource:Q17 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom have diplomatic relationships with Japan and belong to jurisdiction of Statute of Westminster 1931
United Kingdom
action filter_type
action intersection
action find
entity Japan
relation diplomatic relation
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Statute of Westminster 1931', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Statute_of_Westminster_1931 property:applies_to_jurisdiction ?j . resource:Japan property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q1639135
P530
Q1048835
USER
Does Aldehuela de Liestos have diplomatic relations with that administrative territory ?
(Q145,P530,Q1639135)
action is_in
entity Q1639135
action find
entity Q145
relation P530
['Q145', 'P530', 'Q1639135']
ASK WHERE { resource:Q145 property:P530 resource:Q1639135 }
United Kingdom Aldehuela de Liestos
action is_in
entity Aldehuela de Liestos
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Aldehuela de Liestos']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Aldehuela_de_Liestos }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q1639135)
action is_in
entity Q1639135
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q1639135']
ASK WHERE { resource:Q145 property:P530 resource:Q1639135 }
No
action is_in
entity Aldehuela de Liestos
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Aldehuela de Liestos']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Aldehuela_de_Liestos }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26693748
Q1048835
USER
And also tell me about mayor of Santo Domingo-Caudilla?
(Q26693748,P1001,c(Q1048835))
action filter_type
action find
entity Q26693748
relation P1001
type Q1048835
['Q26693748', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q26693748 property:P1001 ?z . ?z rdf:type ontology:Q1048835 }
mayor of Santo Domingo-Caudilla
action filter_type
action find
entity mayor of Santo Domingo-Caudilla
relation applies to jurisdiction
type political territorial entity
['mayor of Santo Domingo-Caudilla', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:mayor_of_Santo_Domingo-Caudilla property:applies_to_jurisdiction ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1641146
SYSTEM
Santo Domingo-Caudilla
Q1641146
(Q26693748,P1001,c(Q1048835))
action filter_type
action find
entity Q26693748
relation P1001
type Q1048835
[ANSWER]
['Q26693748', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q26693748 property:P1001 ?z . ?z rdf:type ontology:Q1048835 }
Santo Domingo-Caudilla
Santo Domingo-Caudilla
action filter_type
action find
entity mayor of Santo Domingo-Caudilla
relation applies to jurisdiction
type political territorial entity
['mayor of Santo Domingo-Caudilla', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:mayor_of_Santo_Domingo-Caudilla property:applies_to_jurisdiction ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1641146
P19
Q502895
USER
Who have location of birth at that political territory ?
(c(Q502895),P19,Q1641146)
action filter_type
action find_reverse
entity Q1641146
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1641146']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q1641146 }
Santo Domingo-Caudilla
action filter_type
action find_reverse
entity Santo Domingo-Caudilla
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Santo Domingo-Caudilla']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Santo_Domingo-Caudilla }
[]
common name
Q13635316 Q20001293
SYSTEM
Máximo Rodríguez Valverde, Francisco Gómez-Hidalgo y Álvarez
Q13635316 Q20001293
(c(Q502895),P19,Q1641146)
action filter_type
action find_reverse
entity Q1641146
relation P19
type Q502895
[ANSWERS] have location of birth at that political territory
[{'concept': 'Q502895'}, 'P19', 'Q1641146']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q1641146 }
Máximo Rodríguez Valverde Francisco Gómez-Hidalgo y Álvarez
Máximo Rodríguez Valverde and Francisco Gómez-Hidalgo y Álvarez have location of birth at that political territory
Máximo Rodríguez Valverde Francisco Gómez-Hidalgo y Álvarez
action filter_type
action find_reverse
entity Santo Domingo-Caudilla
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Santo Domingo-Caudilla']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Santo_Domingo-Caudilla }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20001293
P937
Q56061
USER
Where did that person work ?
(Q20001293,P937,c(Q56061))
action filter_type
action find
entity Q20001293
relation P937
type Q56061
['Q20001293', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q20001293 property:P937 ?a }
Francisco Gómez-Hidalgo y Álvarez
action filter_type
action find
entity Francisco Gómez-Hidalgo y Álvarez
relation work location
type administrative territorial entity
['Francisco Gómez-Hidalgo y Álvarez', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Francisco_Gómez-Hidalgo_y_Álvarez property:work_location ?a }
[]
administrative territorial entity
Clarification for simple ques.
Q13635316
SYSTEM
Did you mean Máximo Rodríguez Valverde ?
Q13635316 Q20001293
(Q13635316,P937,c(Q56061)) (Q20001293,P937,c(Q56061))
[ANSWER]
['Q13635316', 'P937', {'concept': 'Q56061'}] ['Q20001293', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q20001293 property:P937 ?a }
Máximo Rodríguez Valverde Francisco Gómez-Hidalgo y Álvarez
Did you mean Máximo Rodríguez Valverde ?
Máximo Rodríguez Valverde
['Máximo Rodríguez Valverde', 'work location', {'concept': 'administrative territorial entity'}] ['Francisco Gómez-Hidalgo y Álvarez', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Francisco_Gómez-Hidalgo_y_Álvarez property:work_location ?a }
[]
Simple Question (Coreferenced)
USER
No, I meant Francisco Gómez-Hidalgo y Álvarez. Could you tell me the answer for that?
(Q20001293,P937,c(Q56061))
Q20001293
['Q20001293', 'P937', {'concept': 'Q56061'}]
['Francisco Gómez-Hidalgo y Álvarez', 'work location', {'concept': 'administrative territorial entity'}]
[]
Q2807
SYSTEM
Madrid
Q2807
(Q20001293,P937,c(Q56061))
action filter_type
action find
entity Q20001293
relation P937
type Q56061
That person worked in [ANSWER]
['Q20001293', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q20001293 property:P937 ?a }
Madrid
That person worked in Madrid
Madrid
action filter_type
action find
entity Francisco Gómez-Hidalgo y Álvarez
relation work location
type administrative territorial entity
['Francisco Gómez-Hidalgo y Álvarez', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Francisco_Gómez-Hidalgo_y_Álvarez property:work_location ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P1376
Q13220204
USER
Which administrative country subdivision has that administrative territory as its county seat ?
(Q2807,P1376,c(Q13220204))
action filter_type
action find
entity Q2807
relation P1376
type Q13220204
['Q2807', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q2807 property:P1376 ?r . ?r rdf:type ontology:Q13220204 }
Madrid
action filter_type
action find
entity Madrid
relation capital of
type second-level administrative country subdivision
['Madrid', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Madrid property:capital_of ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q24069437
SYSTEM
Madrid Province
Q24069437
(Q2807,P1376,c(Q13220204))
action filter_type
action find
entity Q2807
relation P1376
type Q13220204
[ANSWER] has that administrative territory as its county seat
['Q2807', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q2807 property:P1376 ?r . ?r rdf:type ontology:Q13220204 }
Madrid Province
Madrid Province has that administrative territory as its county seat
Madrid Province
action filter_type
action find
entity Madrid
relation capital of
type second-level administrative country subdivision
['Madrid', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Madrid property:capital_of ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2267729 Q2807
P1376
Q13220204
USER
Or Mityana?
OR((Q2807,P1376,c(Q13220204)), (Q2267729,P1376,c(Q13220204)))
action filter_type
action union
action find
entity Q2807
relation P1376
action find
entity Q2267729
relation P1376
type Q13220204
{'OR': [['Q2807', 'P1376', {'concept': 'Q13220204'}], ['Q2267729', 'P1376', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2807 property:P1376 ?p } UNION { resource:Q2267729 property:P1376 ?p } } . ?p rdf:type ontology:Q13220204 }
Mityana Madrid
action filter_type
action union
action find
entity Madrid
relation capital of
action find
entity Mityana
relation capital of
type second-level administrative country subdivision
{'OR': [['Madrid', 'capital of', {'concept': 'second-level administrative country subdivision'}], ['Mityana', 'capital of', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Madrid property:capital_of ?p } UNION { resource:Mityana property:capital_of ?p } } . ?p rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q24069437 Q1230005
SYSTEM
Madrid Province, Mityana District
Q24069437 Q1230005
OR((Q2807,P1376,c(Q13220204)), (Q2267729,P1376,c(Q13220204)))
action filter_type
action union
action find
entity Q2807
relation P1376
action find
entity Q2267729
relation P1376
type Q13220204
[ANSWERS]
{'OR': [['Q2807', 'P1376', {'concept': 'Q13220204'}], ['Q2267729', 'P1376', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2807 property:P1376 ?p } UNION { resource:Q2267729 property:P1376 ?p } } . ?p rdf:type ontology:Q13220204 }
Madrid Province Mityana District
Madrid Province Mityana District
action filter_type
action union
action find
entity Madrid
relation capital of
action find
entity Mityana
relation capital of
type second-level administrative country subdivision
{'OR': [['Madrid', 'capital of', {'concept': 'second-level administrative country subdivision'}], ['Mityana', 'capital of', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Madrid property:capital_of ?p } UNION { resource:Mityana property:capital_of ?p } } . ?p rdf:type ontology:second-level_administrative_country_subdivision }
[]