Simple Question (Direct)
Simple Question
Q10312847
P1344
Q2312410
USER
Which sport discipline did Juliana Paula dos Santos take part in ?
(Q10312847,P1344,c(Q2312410))
action filter_type
action find
entity Q10312847
relation P1344
type Q2312410
['Q10312847', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?k WHERE { resource:Q10312847 property:P1344 ?k . ?k rdf:type ontology:Q2312410 }
Juliana Paula dos Santos
action filter_type
action find
entity Juliana Paula dos Santos
relation participant of
type sport discipline
['Juliana Paula dos Santos', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?k WHERE { resource:Juliana_Paula_dos_Santos property:participant_of ?k . ?k rdf:type ontology:sport_discipline }
[]
sport discipline
Q18193712
SYSTEM
athletics at the 2016 Summer Olympics
Q18193712
(Q10312847,P1344,c(Q2312410))
action filter_type
action find
entity Q10312847
relation P1344
type Q2312410
Juliana Paula dos Santos took in part in [ANSWER]
['Q10312847', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?k WHERE { resource:Q10312847 property:P1344 ?k . ?k rdf:type ontology:Q2312410 }
athletics at the 2016 Summer Olympics
Juliana Paula dos Santos took in part in athletics at the 2016 Summer Olympics
athletics at the 2016 Summer Olympics
action filter_type
action find
entity Juliana Paula dos Santos
relation participant of
type sport discipline
['Juliana Paula dos Santos', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?k WHERE { resource:Juliana_Paula_dos_Santos property:participant_of ?k . ?k rdf:type ontology:sport_discipline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10312847
P21
Q290
USER
Which sex does Juliana Paula dos Santos belong to ?
(Q10312847,P21,c(Q290))
action filter_type
action find
entity Q10312847
relation P21
type Q290
['Q10312847', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q10312847 property:P21 ?r . ?r rdf:type ontology:Q290 }
Juliana Paula dos Santos
action filter_type
action find
entity Juliana Paula dos Santos
relation gender
type sex
['Juliana Paula dos Santos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Juliana_Paula_dos_Santos property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q10312847,P21,c(Q290))
action filter_type
action find
entity Q10312847
relation P21
type Q290
Juliana Paula dos Santos belongs to [ANSWER]
['Q10312847', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q10312847 property:P21 ?r . ?r rdf:type ontology:Q290 }
female
Juliana Paula dos Santos belongs to female
female
action filter_type
action find
entity Juliana Paula dos Santos
relation gender
type sex
['Juliana Paula dos Santos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Juliana_Paula_dos_Santos property:gender ?r . ?r rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19314569 Q18193712
P17
Q15617994
USER
Which administrative territories are athletics at the 2016 Summer Olympics or Krommeweg located in ?
OR((Q18193712,P17,c(Q15617994)), (Q19314569,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18193712
relation P17
action find
entity Q19314569
relation P17
type Q15617994
{'OR': [['Q18193712', 'P17', {'concept': 'Q15617994'}], ['Q19314569', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:Q18193712 ) ( resource:Q19314569 ) } . ?o property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
Krommeweg athletics at the 2016 Summer Olympics
action filter_type
action union
action find
entity athletics at the 2016 Summer Olympics
relation country
action find
entity Krommeweg
relation country
type designation for an administrative territorial entity
{'OR': [['athletics at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Krommeweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:athletics_at_the_2016_Summer_Olympics ) ( resource:Krommeweg ) } . ?o property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q55
SYSTEM
Brazil, Netherlands
Q155 Q55
OR((Q18193712,P17,c(Q15617994)), (Q19314569,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18193712
relation P17
action find
entity Q19314569
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q18193712', 'P17', {'concept': 'Q15617994'}], ['Q19314569', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:Q18193712 ) ( resource:Q19314569 ) } . ?o property:P17 ?c } . ?c rdf:type ontology:Q15617994 }
Brazil Netherlands
Which administrative territories are athletics at the 2016 Summer Olympics or Krommeweg located in
Brazil Netherlands
action filter_type
action union
action find
entity athletics at the 2016 Summer Olympics
relation country
action find
entity Krommeweg
relation country
type designation for an administrative territorial entity
{'OR': [['athletics at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Krommeweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:athletics_at_the_2016_Summer_Olympics ) ( resource:Krommeweg ) } . ?o property:country ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4487
P551
Q502895
USER
Does Federico Gamboa dwell at those administrative territories ?
(Q4487,P551,Q155) (Q4487,P551,Q55)
action is_in
entity prev_answer
action find
entity Q4487
relation P551
['Q4487', 'P551', 'Q155'] ['Q4487', 'P551', 'Q55']
ASK WHERE { VALUES ( ?a ) { ( resource:Q155 ) ( resource:Q55 ) } . resource:Q4487 property:P551 ?a }
Federico Gamboa
action is_in
entity prev_answer
action find
entity Federico Gamboa
relation residence
['Federico Gamboa', 'residence', 'Brazil'] ['Federico Gamboa', 'residence', 'Netherlands']
ASK WHERE { VALUES ( ?a ) { ( resource:Brazil ) ( resource:Netherlands ) } . resource:Federico_Gamboa property:residence ?a }
[]
common name
SYSTEM
YES
(Q4487,P551,Q155) (Q4487,P551,Q55)
action is_in
entity prev_answer
action find
entity Q4487
relation P551
[ANSWER]
['Q4487', 'P551', 'Q155'] ['Q4487', 'P551', 'Q55']
ASK WHERE { VALUES ( ?a ) { ( resource:Q155 ) ( resource:Q55 ) } . resource:Q4487 property:P551 ?a }
Yes
action is_in
entity prev_answer
action find
entity Federico Gamboa
relation residence
['Federico Gamboa', 'residence', 'Brazil'] ['Federico Gamboa', 'residence', 'Netherlands']
ASK WHERE { VALUES ( ?a ) { ( resource:Brazil ) ( resource:Netherlands ) } . resource:Federico_Gamboa property:residence ?a }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q10312847 Q155 Q4721000
P27
Q15617994
USER
Is Juliana Paula dos Santos a native of Brazil and Alexandria Township School District ?
(Q10312847,P27,Q155) (Q10312847,P27,Q4721000)
action is_in
entity Q10312847
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q4721000
relation P27
['Q10312847', 'P27', 'Q155'] ['Q10312847', 'P27', 'Q4721000']
ASK WHERE { resource:Q10312847 property:P27 resource:Q155 . resource:Q10312847 property:P27 resource:Q4721000 }
Juliana Paula dos Santos Brazil Alexandria Township School District
action is_in
entity Juliana Paula dos Santos
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Alexandria Township School District
relation country of citizenship
['Juliana Paula dos Santos', 'country of citizenship', 'Brazil'] ['Juliana Paula dos Santos', 'country of citizenship', 'Alexandria Township School District']
ASK WHERE { resource:Juliana_Paula_dos_Santos property:country_of_citizenship resource:Brazil . resource:Juliana_Paula_dos_Santos property:country_of_citizenship resource:Alexandria_Township_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q10312847,P27,Q155) (Q10312847,P27,Q4721000)
action is_in
entity Q10312847
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q4721000
relation P27
[ANSWER]
['Q10312847', 'P27', 'Q155'] ['Q10312847', 'P27', 'Q4721000']
ASK WHERE { resource:Q10312847 property:P27 resource:Q155 . resource:Q10312847 property:P27 resource:Q4721000 }
YES and NO respectively
action is_in
entity Juliana Paula dos Santos
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Alexandria Township School District
relation country of citizenship
['Juliana Paula dos Santos', 'country of citizenship', 'Brazil'] ['Juliana Paula dos Santos', 'country of citizenship', 'Alexandria Township School District']
ASK WHERE { resource:Juliana_Paula_dos_Santos property:country_of_citizenship resource:Brazil . resource:Juliana_Paula_dos_Santos property:country_of_citizenship resource:Alexandria_Township_School_District }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4931217 Q18193712
P17
Q15617994
USER
Which administrative territories are athletics at the 2016 Summer Olympics and Boacica River located in ?
AND((Q18193712,P17,c(Q15617994)), (Q4931217,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18193712
relation P17
action find
entity Q4931217
relation P17
type Q15617994
{'AND': [['Q18193712', 'P17', {'concept': 'Q15617994'}], ['Q4931217', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q18193712 property:P17 ?k . resource:Q4931217 property:P17 ?k }
Boacica River athletics at the 2016 Summer Olympics
action filter_type
action intersection
action find
entity athletics at the 2016 Summer Olympics
relation country
action find
entity Boacica River
relation country
type designation for an administrative territorial entity
{'AND': [['athletics at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Boacica River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:athletics_at_the_2016_Summer_Olympics property:country ?k . resource:Boacica_River property:country ?k }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
AND((Q18193712,P17,c(Q15617994)), (Q4931217,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18193712
relation P17
action find
entity Q4931217
relation P17
type Q15617994
Which administrative territories is athletics at the 2016 Summer Olympics and Boacica River located in
{'AND': [['Q18193712', 'P17', {'concept': 'Q15617994'}], ['Q4931217', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q18193712 property:P17 ?k . resource:Q4931217 property:P17 ?k }
Brazil
Which administrative territories is athletics at the 2016 Summer Olympics and Boacica River located in
Brazil
action filter_type
action intersection
action find
entity athletics at the 2016 Summer Olympics
relation country
action find
entity Boacica River
relation country
type designation for an administrative territorial entity
{'AND': [['athletics at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Boacica River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:athletics_at_the_2016_Summer_Olympics property:country ?k . resource:Boacica_River property:country ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7425004 Q19314569
P17
Q15617994
USER
Which administrative territories are Krommeweg or Sasang located in ?
OR((Q19314569,P17,c(Q15617994)), (Q7425004,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19314569
relation P17
action find
entity Q7425004
relation P17
type Q15617994
{'OR': [['Q19314569', 'P17', {'concept': 'Q15617994'}], ['Q7425004', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { VALUES ( ?i ) { ( resource:Q19314569 ) ( resource:Q7425004 ) } . ?i property:P17 ?a } }
Sasang Krommeweg
action filter_type
action union
action find
entity Krommeweg
relation country
action find
entity Sasang
relation country
type designation for an administrative territorial entity
{'OR': [['Krommeweg', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sasang', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?i ) { ( resource:Krommeweg ) ( resource:Sasang ) } . ?i property:country ?a } }
[]
designation for an administrative territorial entity
Q55 Q794
SYSTEM
Netherlands, Iran
Q55 Q794
OR((Q19314569,P17,c(Q15617994)), (Q7425004,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19314569
relation P17
action find
entity Q7425004
relation P17
type Q15617994
Krommeweg or Sasang are located in [ANSWERS]
{'OR': [['Q19314569', 'P17', {'concept': 'Q15617994'}], ['Q7425004', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { VALUES ( ?i ) { ( resource:Q19314569 ) ( resource:Q7425004 ) } . ?i property:P17 ?a } }
Netherlands Iran
Krommeweg or Sasang are located in Netherlands and Iran
Netherlands Iran
action filter_type
action union
action find
entity Krommeweg
relation country
action find
entity Sasang
relation country
type designation for an administrative territorial entity
{'OR': [['Krommeweg', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sasang', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?i ) { ( resource:Krommeweg ) ( resource:Sasang ) } . ?i property:country ?a } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7442869
P530
Q15617994
USER
Do Secaucus Public Schools have ambassadorial relations with those ones ?
(Q7442869,P530,Q55) (Q7442869,P530,Q794)
action is_in
entity prev_answer
action find
entity Q7442869
relation P530
['Q7442869', 'P530', 'Q55'] ['Q7442869', 'P530', 'Q794']
ASK WHERE { resource:Q7442869 property:P530 ?u . VALUES ( ?u ) { ( resource:Q55 ) ( resource:Q794 ) } }
Secaucus Public Schools
action is_in
entity prev_answer
action find
entity Secaucus Public Schools
relation diplomatic relation
['Secaucus Public Schools', 'diplomatic relation', 'Netherlands'] ['Secaucus Public Schools', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Secaucus_Public_Schools property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Netherlands ) ( resource:Iran ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7442869,P530,Q55) (Q7442869,P530,Q794)
action is_in
entity prev_answer
action find
entity Q7442869
relation P530
[ANSWER]
['Q7442869', 'P530', 'Q55'] ['Q7442869', 'P530', 'Q794']
ASK WHERE { resource:Q7442869 property:P530 ?u . VALUES ( ?u ) { ( resource:Q55 ) ( resource:Q794 ) } }
No
action is_in
entity prev_answer
action find
entity Secaucus Public Schools
relation diplomatic relation
['Secaucus Public Schools', 'diplomatic relation', 'Netherlands'] ['Secaucus Public Schools', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Secaucus_Public_Schools property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Netherlands ) ( resource:Iran ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q55 Q51901 Q43055
P47
Q15617994
USER
Is Netherlands next to the border of Carpino and Gorgonzola ?
(Q55,P47,Q51901) (Q55,P47,Q43055)
action is_in
entity Q55
action intersection
action find_reverse
entity Q51901
relation P47
action find_reverse
entity Q43055
relation P47
['Q55', 'P47', 'Q51901'] ['Q55', 'P47', 'Q43055']
ASK WHERE { resource:Q55 property:P47 resource:Q51901 . resource:Q55 property:P47 resource:Q43055 }
Netherlands Carpino Gorgonzola
action is_in
entity Netherlands
action intersection
action find_reverse
entity Carpino
relation shares border with
action find_reverse
entity Gorgonzola
relation shares border with
['Netherlands', 'shares border with', 'Carpino'] ['Netherlands', 'shares border with', 'Gorgonzola']
ASK WHERE { resource:Netherlands property:shares_border_with resource:Carpino . resource:Netherlands property:shares_border_with resource:Gorgonzola }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q55,P47,Q51901) (Q55,P47,Q43055)
action is_in
entity Q55
action intersection
action find_reverse
entity Q51901
relation P47
action find_reverse
entity Q43055
relation P47
[ANSWER]
['Q55', 'P47', 'Q51901'] ['Q55', 'P47', 'Q43055']
ASK WHERE { resource:Q55 property:P47 resource:Q51901 . resource:Q55 property:P47 resource:Q43055 }
No
action is_in
entity Netherlands
action intersection
action find_reverse
entity Carpino
relation shares border with
action find_reverse
entity Gorgonzola
relation shares border with
['Netherlands', 'shares border with', 'Carpino'] ['Netherlands', 'shares border with', 'Gorgonzola']
ASK WHERE { resource:Netherlands property:shares_border_with resource:Carpino . resource:Netherlands property:shares_border_with resource:Gorgonzola }
[]