Simple Question (Direct)
Simple Question
Q7145945
P1038
Q502895
USER
Which person is a relative of Patricio Freire ?
(Q7145945,P1038,c(Q502895))
action filter_type
action find
entity Q7145945
relation P1038
type Q502895
['Q7145945', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q7145945 property:P1038 ?e }
Patricio Freire
action filter_type
action find
entity Patricio Freire
relation relative
type common name
['Patricio Freire', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Patricio_Freire property:relative ?e }
[]
common name
Q7147891
SYSTEM
Patricky Freire
Q7147891
(Q7145945,P1038,c(Q502895))
action filter_type
action find
entity Q7145945
relation P1038
type Q502895
[ANSWER] is a relative of Patricio Freire
['Q7145945', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q7145945 property:P1038 ?e }
Patricky Freire
Patricky Freire is a relative of Patricio Freire
Patricky Freire
action filter_type
action find
entity Patricio Freire
relation relative
type common name
['Patricio Freire', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Patricio_Freire property:relative ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7147891
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q7147891,P27,c(Q15617994))
action filter_type
action find
entity Q7147891
relation P27
type Q15617994
['Q7147891', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7147891 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Patricky Freire
action filter_type
action find
entity Patricky Freire
relation country of citizenship
type designation for an administrative territorial entity
['Patricky Freire', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Patricky_Freire property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q7147891,P27,c(Q15617994))
action filter_type
action find
entity Q7147891
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q7147891', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7147891 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Brazil
Brazil is the native country of that person
Brazil
action filter_type
action find
entity Patricky Freire
relation country of citizenship
type designation for an administrative territorial entity
['Patricky Freire', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Patricky_Freire property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7147891
P551
Q1048835
USER
Where did that person live ?
(Q155,P551,c(Q1048835))
action filter_type
action find
entity Q7147891
relation P551
type Q1048835
['Q155', 'P551', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q7147891 property:P551 ?e . ?e rdf:type ontology:Q1048835 }
Patricky Freire
action filter_type
action find
entity Patricky Freire
relation residence
type political territorial entity
['Brazil', 'residence', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Patricky_Freire property:residence ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q131620
SYSTEM
Natal
Q131620
(Q155,P551,c(Q1048835))
action filter_type
action find
entity Q7147891
relation P551
type Q1048835
That person lived in [ANSWER]
['Q155', 'P551', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q7147891 property:P551 ?e . ?e rdf:type ontology:Q1048835 }
Natal
That person lived in Natal
Natal
action filter_type
action find
entity Patricky Freire
relation residence
type political territorial entity
['Brazil', 'residence', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Patricky_Freire property:residence ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131620
P190
Q56061
USER
Which administrative territories are partner towns of that political territory ?
(Q131620,P190,c(Q56061))
action filter_type
action find
entity Q131620
relation P190
type Q56061
['Q131620', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q131620 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Natal
action filter_type
action find
entity Natal
relation sister city
type administrative territorial entity
['Natal', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Natal property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678 Q5776 Q40269
SYSTEM
Rio de Janeiro, Bethlehem, Porto Alegre
Q44210 Q8678 Q40269 Q5776
(Q131620,P190,c(Q56061))
action filter_type
action find
entity Q131620
relation P190
type Q56061
[ANSWERS] are partner towns of that political territory
['Q131620', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q131620 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Córdoba Rio de Janeiro Porto Alegre Bethlehem
Rio de Janeiro, Bethlehem and Porto Alegre are partner towns of that political territory
Rio de Janeiro Bethlehem Porto Alegre
action filter_type
action find
entity Natal
relation sister city
type administrative territorial entity
['Natal', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Natal property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131620
P17
Q15617994
USER
Which administrative territory is Natal present in ?
(Q131620,P17,c(Q15617994))
action filter_type
action find
entity Q131620
relation P17
type Q15617994
['Q131620', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q131620 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Natal
action filter_type
action find
entity Natal
relation country
type designation for an administrative territorial entity
['Natal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Natal property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q131620,P17,c(Q15617994))
action filter_type
action find
entity Q131620
relation P17
type Q15617994
Natal is a [ANSWER]
['Q131620', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q131620 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Brazil
Natal is a Brazil
Brazil
action filter_type
action find
entity Natal
relation country
type designation for an administrative territorial entity
['Natal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Natal property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3420359
Q15617994
USER
And how about Ravine à Jacques?
(Q3420359,P17,c(Q15617994))
action filter_type
action find
entity Q3420359
relation P17
type Q15617994
['Q3420359', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3420359 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Ravine à Jacques
action filter_type
action find
entity Ravine à Jacques
relation country
type designation for an administrative territorial entity
['Ravine à Jacques', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ravine_à_Jacques property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3420359,P17,c(Q15617994))
action filter_type
action find
entity Q3420359
relation P17
type Q15617994
[ANSWER]
['Q3420359', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3420359 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Ravine à Jacques
relation country
type designation for an administrative territorial entity
['Ravine à Jacques', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ravine_à_Jacques property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q717
P47
Q15617994
USER
Is Venezuela bordered by that one ?
(Q142,P47,Q717)
action is_in
entity Q717
action find
entity Q142
relation P47
['Q142', 'P47', 'Q717']
ASK WHERE { resource:Q142 property:P47 resource:Q717 }
France Venezuela
action is_in
entity Venezuela
action find
entity France
relation shares border with
['France', 'shares border with', 'Venezuela']
ASK WHERE { resource:France property:shares_border_with resource:Venezuela }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P47,Q717)
action is_in
entity Q717
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q717']
ASK WHERE { resource:Q142 property:P47 resource:Q717 }
Yes
action is_in
entity Venezuela
action find
entity France
relation shares border with
['France', 'shares border with', 'Venezuela']
ASK WHERE { resource:France property:shares_border_with resource:Venezuela }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7145945
P106
Q12737077
USER
What does Patricio Freire do for a living ?
(Q7145945,P106,c(Q12737077))
action filter_type
action find
entity Q7145945
relation P106
type Q12737077
['Q7145945', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q7145945 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Patricio Freire
action filter_type
action find
entity Patricio Freire
relation occupation
type occupation
['Patricio Freire', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Patricio_Freire property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q11607585
SYSTEM
mixed martial artist
Q11607585
(Q7145945,P106,c(Q12737077))
action filter_type
action find
entity Q7145945
relation P106
type Q12737077
Patricio Freire does as [ANSWER] for a living
['Q7145945', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q7145945 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
mixed martial artist
Patricio Freire does as mixed martial artist for a living
mixed martial artist
action filter_type
action find
entity Patricio Freire
relation occupation
type occupation
['Patricio Freire', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Patricio_Freire property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11607585
P425
Q349
USER
Which sport has that one as thier associated field of occupation ?
(Q11607585,P425,c(Q349))
action filter_type
action find
entity Q11607585
relation P425
type Q349
['Q11607585', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q11607585 property:P425 ?m . ?m rdf:type ontology:Q349 }
mixed martial artist
action filter_type
action find
entity mixed martial artist
relation field of this occupation
type sport
['mixed martial artist', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:mixed_martial_artist property:field_of_this_occupation ?m . ?m rdf:type ontology:sport }
[]
sport
Q114466
SYSTEM
mixed martial arts
Q114466
(Q11607585,P425,c(Q349))
action filter_type
action find
entity Q11607585
relation P425
type Q349
Arts [ANSWER] has that one as thier associated field of occupation
['Q11607585', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q11607585 property:P425 ?m . ?m rdf:type ontology:Q349 }
mixed martial arts
Arts mixed martial arts has that one as thier associated field of occupation
mixed martial arts
action filter_type
action find
entity mixed martial artist
relation field of this occupation
type sport
['mixed martial artist', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:mixed_martial_artist property:field_of_this_occupation ?m . ?m rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17521562 Q7147891
P106
Q12737077
USER
Which occupations are the professions of Patricky Freire or Bernhard Binkowski ?
OR((Q7147891,P106,c(Q12737077)), (Q17521562,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7147891
relation P106
action find
entity Q17521562
relation P106
type Q12737077
{'OR': [['Q7147891', 'P106', {'concept': 'Q12737077'}], ['Q17521562', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q7147891 ) ( resource:Q17521562 ) } . ?v property:P106 ?e } . ?e rdf:type ontology:Q12737077 }
Bernhard Binkowski Patricky Freire
action filter_type
action union
action find
entity Patricky Freire
relation occupation
action find
entity Bernhard Binkowski
relation occupation
type occupation
{'OR': [['Patricky Freire', 'occupation', {'concept': 'occupation'}], ['Bernhard Binkowski', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Patricky_Freire ) ( resource:Bernhard_Binkowski ) } . ?v property:occupation ?e } . ?e rdf:type ontology:occupation }
[]
occupation
Q16145150 Q37226 Q11607585 Q1622272
SYSTEM
music educator, teacher, mixed martial artist, university teacher
Q16145150 Q37226 Q11607585 Q1622272
OR((Q7147891,P106,c(Q12737077)), (Q17521562,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7147891
relation P106
action find
entity Q17521562
relation P106
type Q12737077
The professions of Patricky Freire or Bernhard Binkowski are professional [ANSWERS]
{'OR': [['Q7147891', 'P106', {'concept': 'Q12737077'}], ['Q17521562', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q7147891 ) ( resource:Q17521562 ) } . ?v property:P106 ?e } . ?e rdf:type ontology:Q12737077 }
music educator teacher mixed martial artist university teacher
The professions of Patricky Freire or Bernhard Binkowski are professional music educator, teacher, mixed martial artist and university teacher
music educator teacher mixed martial artist university teacher
action filter_type
action union
action find
entity Patricky Freire
relation occupation
action find
entity Bernhard Binkowski
relation occupation
type occupation
{'OR': [['Patricky Freire', 'occupation', {'concept': 'occupation'}], ['Bernhard Binkowski', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Patricky_Freire ) ( resource:Bernhard_Binkowski ) } . ?v property:occupation ?e } . ?e rdf:type ontology:occupation }
[]