Simple Question (Direct)
Simple Question
Q3894085
P19
Q56061
USER
Which administrative territory is the birthplace of Paolo Galletti ?
(Q3894085,P19,c(Q56061))
action filter_type
action find
entity Q3894085
relation P19
type Q56061
['Q3894085', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q3894085 property:P19 ?o }
Paolo Galletti
action filter_type
action find
entity Paolo Galletti
relation place of birth
type administrative territorial entity
['Paolo Galletti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Paolo_Galletti property:place_of_birth ?o }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q3894085,P19,c(Q56061))
action filter_type
action find
entity Q3894085
relation P19
type Q56061
The [ANSWER] is the birthplace of Paolo Galletti
['Q3894085', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q3894085 property:P19 ?o }
Florence
The Florence is the birthplace of Paolo Galletti
Florence
action filter_type
action find
entity Paolo Galletti
relation place of birth
type administrative territorial entity
['Paolo Galletti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Paolo_Galletti property:place_of_birth ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3894085
P106
Q151885
USER
What is the profession of that person ?
(Q2044,P106,c(Q151885))
action filter_type
action find
entity Q3894085
relation P106
type Q151885
['Q2044', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q3894085 property:P106 ?r . ?r rdf:type ontology:Q151885 }
Paolo Galletti
action filter_type
action find
entity Paolo Galletti
relation occupation
type concept
['Florence', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Paolo_Galletti property:occupation ?r . ?r rdf:type ontology:concept }
[]
concept
Q10843402
SYSTEM
swimmer
Q10843402
(Q2044,P106,c(Q151885))
action filter_type
action find
entity Q3894085
relation P106
type Q151885
The profession of that person is the [ANSWER]
['Q2044', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q3894085 property:P106 ?r . ?r rdf:type ontology:Q151885 }
swimmer
The profession of that person is the swimmer
swimmer
action filter_type
action find
entity Paolo Galletti
relation occupation
type concept
['Florence', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Paolo_Galletti property:occupation ?r . ?r rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16214464 Q3894085
P106
Q151885
USER
Or Ji Sang-Jun?
OR((Q3894085,P106,c(Q151885)), (Q16214464,P106,c(Q151885)))
action filter_type
action union
action find
entity Q3894085
relation P106
action find
entity Q16214464
relation P106
type Q151885
{'OR': [['Q3894085', 'P106', {'concept': 'Q151885'}], ['Q16214464', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3894085 property:P106 ?t } UNION { resource:Q16214464 property:P106 ?t } } . ?t rdf:type ontology:Q151885 }
Ji Sang-Jun Paolo Galletti
action filter_type
action union
action find
entity Paolo Galletti
relation occupation
action find
entity Ji Sang-Jun
relation occupation
type concept
{'OR': [['Paolo Galletti', 'occupation', {'concept': 'concept'}], ['Ji Sang-Jun', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Paolo_Galletti property:occupation ?t } UNION { resource:Ji_Sang-Jun property:occupation ?t } } . ?t rdf:type ontology:concept }
[]
concept
Q10843402
SYSTEM
swimmer
Q10843402
OR((Q3894085,P106,c(Q151885)), (Q16214464,P106,c(Q151885)))
action filter_type
action union
action find
entity Q3894085
relation P106
action find
entity Q16214464
relation P106
type Q151885
[ANSWER]
{'OR': [['Q3894085', 'P106', {'concept': 'Q151885'}], ['Q16214464', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3894085 property:P106 ?t } UNION { resource:Q16214464 property:P106 ?t } } . ?t rdf:type ontology:Q151885 }
swimmer
swimmer
action filter_type
action union
action find
entity Paolo Galletti
relation occupation
action find
entity Ji Sang-Jun
relation occupation
type concept
{'OR': [['Paolo Galletti', 'occupation', {'concept': 'concept'}], ['Ji Sang-Jun', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Paolo_Galletti property:occupation ?t } UNION { resource:Ji_Sang-Jun property:occupation ?t } } . ?t rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P1376
Q1048835
USER
Which political territory has Florence as its county seat ?
(Q2044,P1376,c(Q1048835))
action filter_type
action find
entity Q2044
relation P1376
type Q1048835
['Q2044', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q2044 property:P1376 ?a . ?a rdf:type ontology:Q1048835 }
Florence
action filter_type
action find
entity Florence
relation capital of
type political territorial entity
['Florence', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Florence property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q18288148
SYSTEM
Metropolitan City of Florence
Q18288148
(Q2044,P1376,c(Q1048835))
action filter_type
action find
entity Q2044
relation P1376
type Q1048835
City [ANSWER] has Florence as its county seat
['Q2044', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q2044 property:P1376 ?a . ?a rdf:type ontology:Q1048835 }
Metropolitan City of Florence
City Metropolitan City of Florence has Florence as its county seat
Metropolitan City of Florence
action filter_type
action find
entity Florence
relation capital of
type political territorial entity
['Florence', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Florence property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q827640
Q1048835
USER
And also tell me about Tumbes?
(Q827640,P1376,c(Q1048835))
action filter_type
action find
entity Q827640
relation P1376
type Q1048835
['Q827640', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . resource:Q827640 property:P1376 ?t }
Tumbes
action filter_type
action find
entity Tumbes
relation capital of
type political territorial entity
['Tumbes', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Tumbes property:capital_of ?t }
[]
political territorial entity
Q209597 Q2039785
SYSTEM
Tumbes department, Tumbes
Q209597 Q2039785
(Q827640,P1376,c(Q1048835))
action filter_type
action find
entity Q827640
relation P1376
type Q1048835
[ANSWERS]
['Q827640', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . resource:Q827640 property:P1376 ?t }
Tumbes department Tumbes
Tumbes department Tumbes
action filter_type
action find
entity Tumbes
relation capital of
type political territorial entity
['Tumbes', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Tumbes property:capital_of ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q827640
P19
Q502895
USER
How many people were born at Tumbes ?
(c(Q502895),P19,Q827640)
action count
action filter_type
action find_reverse
entity Q827640
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q827640']
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P19 resource:Q827640 . ?g rdf:type ontology:Q502895 }
Tumbes
action count
action filter_type
action find_reverse
entity Tumbes
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Tumbes']
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:place_of_birth resource:Tumbes . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q5868545 Q6169909 Q20856772 Q5993760 Q5856311 Q6108084
(c(Q502895),P19,Q827640)
action count
action filter_type
action find_reverse
entity Q827640
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q827640']
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P19 resource:Q827640 . ?g rdf:type ontology:Q502895 }
Frank Sanjinez Yeison Vinces Robinson Matamoro Manuel Merino Juan Montenegro Ricardo Chiroque
6
action count
action filter_type
action find_reverse
entity Tumbes
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Tumbes']
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:place_of_birth resource:Tumbes . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q827640
P17
Q15617994
USER
Which administrative territory does Tumbes belong to ?
(Q827640,P17,c(Q15617994))
action filter_type
action find
entity Q827640
relation P17
type Q15617994
['Q827640', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q827640 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Tumbes
action filter_type
action find
entity Tumbes
relation country
type designation for an administrative territorial entity
['Tumbes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Tumbes property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
(Q827640,P17,c(Q15617994))
action filter_type
action find
entity Q827640
relation P17
type Q15617994
Tumbes belongs to [ANSWER]
['Q827640', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q827640 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Peru
Tumbes belongs to Peru
Peru
action filter_type
action find
entity Tumbes
relation country
type designation for an administrative territorial entity
['Tumbes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Tumbes property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q408 Q827640
P530 P17
Q15617994
USER
Which administrative territories are Tumbes a part of and have diplomatic relationships with Australia ?
AND((Q827640,P17,c(Q15617994)), (Q408,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q827640
relation P17
action find
entity Q408
relation P530
type Q15617994
{'AND': [['Q827640', 'P17', {'concept': 'Q15617994'}], ['Q408', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { resource:Q827640 property:P17 ?z . resource:Q408 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Australia Tumbes
action filter_type
action intersection
action find
entity Tumbes
relation country
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Tumbes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Tumbes property:country ?z . resource:Australia property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
AND((Q827640,P17,c(Q15617994)), (Q408,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q827640
relation P17
action find
entity Q408
relation P530
type Q15617994
[ANSWER] is Tumbes a part of and have diplomatic relationships with Australia
{'AND': [['Q827640', 'P17', {'concept': 'Q15617994'}], ['Q408', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { resource:Q827640 property:P17 ?z . resource:Q408 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Peru
Peru is Tumbes a part of and have diplomatic relationships with Australia
Peru
action filter_type
action intersection
action find
entity Tumbes
relation country
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Tumbes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:Tumbes property:country ?z . resource:Australia property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q419 Q3305646
P17
Q56061
USER
Is Cabana present in that administrative territory ?
(Q3305646,P17,Q419)
action is_in
entity Q419
action find
entity Q3305646
relation P17
['Q3305646', 'P17', 'Q419']
ASK WHERE { resource:Q3305646 property:P17 resource:Q419 }
Peru Cabana
action is_in
entity Peru
action find
entity Cabana
relation country
['Cabana', 'country', 'Peru']
ASK WHERE { resource:Cabana property:country resource:Peru }
[]
administrative territorial entity
SYSTEM
YES
(Q3305646,P17,Q419)
action is_in
entity Q419
action find
entity Q3305646
relation P17
[ANSWER]
['Q3305646', 'P17', 'Q419']
ASK WHERE { resource:Q3305646 property:P17 resource:Q419 }
Yes
action is_in
entity Peru
action find
entity Cabana
relation country
['Cabana', 'country', 'Peru']
ASK WHERE { resource:Cabana property:country resource:Peru }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P159
Q874405
USER
Which social group has the principal seat at Peru ?
(c(Q874405),P159,Q419)
action filter_type
action find_reverse
entity Q419
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q419']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q419 . ?h rdf:type ontology:Q874405 }
Peru
action filter_type
action find_reverse
entity Peru
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Peru']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Peru . ?h rdf:type ontology:social_group }
[]
social group
Q6024634
SYSTEM
Indigenous Peoples Climate Change Assessment Initiative
Q6024634
(c(Q874405),P159,Q419)
action filter_type
action find_reverse
entity Q419
relation P159
type Q874405
[ANSWER] has the principal seat at Peru
[{'concept': 'Q874405'}, 'P159', 'Q419']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q419 . ?h rdf:type ontology:Q874405 }
Indigenous Peoples Climate Change Assessment Initiative
Indigenous Peoples Climate Change Assessment Initiative has the principal seat at Peru
Indigenous Peoples Climate Change Assessment Initiative
action filter_type
action find_reverse
entity Peru
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Peru']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Peru . ?h rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P194
Q1752346
USER
Which assembly is the representative body for Peru ?
(Q419,P194,c(Q1752346))
action filter_type
action find
entity Q419
relation P194
type Q1752346
['Q419', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?j WHERE { resource:Q419 property:P194 ?j . ?j rdf:type ontology:Q1752346 }
Peru
action filter_type
action find
entity Peru
relation legislative body
type assembly
['Peru', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?j WHERE { resource:Peru property:legislative_body ?j . ?j rdf:type ontology:assembly }
[]
assembly
Q1357543
SYSTEM
Congress of the Republic of Peru
Q1357543
(Q419,P194,c(Q1752346))
action filter_type
action find
entity Q419
relation P194
type Q1752346
[ANSWER] is the representative body for Peru
['Q419', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?j WHERE { resource:Q419 property:P194 ?j . ?j rdf:type ontology:Q1752346 }
Congress of the Republic of Peru
Congress of the Republic of Peru is the representative body for Peru
Congress of the Republic of Peru
action filter_type
action find
entity Peru
relation legislative body
type assembly
['Peru', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?j WHERE { resource:Peru property:legislative_body ?j . ?j rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P551
Q502895
USER
Who resides at Peru ?
(c(Q502895),P551,Q419)
action filter_type
action find_reverse
entity Q419
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q419']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q419 . ?v rdf:type ontology:Q502895 }
Peru
action filter_type
action find_reverse
entity Peru
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Peru']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Peru . ?v rdf:type ontology:common_name }
[]
common name
Q16651616
SYSTEM
Álvaro González
Q16651616
(c(Q502895),P551,Q419)
action filter_type
action find_reverse
entity Q419
relation P551
type Q502895
[ANSWER] resides at Peru
[{'concept': 'Q502895'}, 'P551', 'Q419']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q419 . ?v rdf:type ontology:Q502895 }
Álvaro González
Álvaro González resides at Peru
Álvaro González
action filter_type
action find_reverse
entity Peru
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Peru']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Peru . ?v rdf:type ontology:common_name }
[]