Simple Question (Direct)
Simple Question
Q2747846
P69
Q56061
USER
Which administrative territory is Ramón Hernández an alumni of ?
(Q2747846,P69,c(Q56061))
action filter_type
action find
entity Q2747846
relation P69
type Q56061
['Q2747846', 'P69', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2747846 property:P69 ?l }
Ramón Hernández
action filter_type
action find
entity Ramón Hernández
relation educated at
type administrative territorial entity
['Ramón Hernández', 'educated at', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Ramón_Hernández property:educated_at ?l }
[]
administrative territorial entity
Q319476
SYSTEM
Cumaná
Q319476
(Q2747846,P69,c(Q56061))
action filter_type
action find
entity Q2747846
relation P69
type Q56061
De [ANSWER] is Ramón Hernández an alumni of
['Q2747846', 'P69', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2747846 property:P69 ?l }
Cumaná
De Cumaná is Ramón Hernández an alumni of
Cumaná
action filter_type
action find
entity Ramón Hernández
relation educated at
type administrative territorial entity
['Ramón Hernández', 'educated at', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Ramón_Hernández property:educated_at ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2747846
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q319476,P54,c(Q12973014))
action filter_type
action find
entity Q2747846
relation P54
type Q12973014
['Q319476', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q2747846 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Ramón Hernández
action filter_type
action find
entity Ramón Hernández
relation member of sports team
type sports team
['Cumaná', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Ramón_Hernández property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
sports team
Q650816 Q826751 Q388858
SYSTEM
Baltimore Orioles, Cincinnati Reds, Colorado Rockies
Q650829 Q826751 Q504339 Q3497227 Q334634 Q650816 Q388858 Q721134
(Q319476,P54,c(Q12973014))
action filter_type
action find
entity Q2747846
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q319476', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q2747846 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Toronto Blue Jays Cincinnati Reds Oakland Athletics Huntsville Stars Los Angeles Dodgers Baltimore Orioles Colorado Rockies San Diego Padres
Baltimore Orioles, Cincinnati Reds and Colorado Rockies are that person a member of
Baltimore Orioles Cincinnati Reds Colorado Rockies
action filter_type
action find
entity Ramón Hernández
relation member of sports team
type sports team
['Cumaná', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Ramón_Hernández property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q319476
P840
Q571
USER
Which book has a setting location of Cumaná ?
(c(Q571),P840,Q319476)
action filter_type
action find_reverse
entity Q319476
relation P840
type Q571
[{'concept': 'Q571'}, 'P840', 'Q319476']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q571 . ?i property:P840 resource:Q319476 }
Cumaná
action filter_type
action find_reverse
entity Cumaná
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Cumaná']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:book . ?i property:narrative_location resource:Cumaná }
[]
book
Q22679831
SYSTEM
Voyages en Afrique, Asie, Indes orientales et occidentales
Q22679831
(c(Q571),P840,Q319476)
action filter_type
action find_reverse
entity Q319476
relation P840
type Q571
[ANSWER] has a setting location of Cumaná
[{'concept': 'Q571'}, 'P840', 'Q319476']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q571 . ?i property:P840 resource:Q319476 }
Voyages en Afrique, Asie, Indes orientales et occidentales
Voyages en Afrique, Asie, Indes orientales et occidentales has a setting location of Cumaná
Voyages en Afrique, Asie, Indes orientales et occidentales
action filter_type
action find_reverse
entity Cumaná
relation narrative location
type book
[{'concept': 'book'}, 'narrative location', 'Cumaná']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:book . ?i property:narrative_location resource:Cumaná }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q319476
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q22679831,P17,c(Q15617994))
action filter_type
action find
entity Q319476
relation P17
type Q15617994
['Q22679831', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q319476 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Cumaná
action filter_type
action find
entity Cumaná
relation country
type designation for an administrative territorial entity
['Voyages en Afrique, Asie, Indes orientales et occidentales', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Cumaná property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q717
SYSTEM
Venezuela
Q717
(Q22679831,P17,c(Q15617994))
action filter_type
action find
entity Q319476
relation P17
type Q15617994
That administrative territory is in [ANSWER]
['Q22679831', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q319476 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Venezuela
That administrative territory is in Venezuela
Venezuela
action filter_type
action find
entity Cumaná
relation country
type designation for an administrative territorial entity
['Voyages en Afrique, Asie, Indes orientales et occidentales', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Cumaná property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q26653943 Q319476
P17
Q15617994
USER
Or 2, Crown Street?
OR((Q319476,P17,c(Q15617994)), (Q26653943,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q319476
relation P17
action find
entity Q26653943
relation P17
type Q15617994
{'OR': [['Q319476', 'P17', {'concept': 'Q15617994'}], ['Q26653943', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q319476 property:P17 ?x } UNION { resource:Q26653943 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
2, Crown Street Cumaná
action filter_type
action union
action find
entity Cumaná
relation country
action find
entity 2, Crown Street
relation country
type designation for an administrative territorial entity
{'OR': [['Cumaná', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2, Crown Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Cumaná property:country ?x } UNION { resource:2,_Crown_Street property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q717 Q145
SYSTEM
Venezuela, United Kingdom
Q717 Q145
OR((Q319476,P17,c(Q15617994)), (Q26653943,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q319476
relation P17
action find
entity Q26653943
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q319476', 'P17', {'concept': 'Q15617994'}], ['Q26653943', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q319476 property:P17 ?x } UNION { resource:Q26653943 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Venezuela United Kingdom
Venezuela United Kingdom
action filter_type
action union
action find
entity Cumaná
relation country
action find
entity 2, Crown Street
relation country
type designation for an administrative territorial entity
{'OR': [['Cumaná', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2, Crown Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Cumaná property:country ?x } UNION { resource:2,_Crown_Street property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q201658
USER
How many administrative territories are the origins of greater number of collectables and film genres than that administrative territory ?
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity collectable film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q717
SYSTEM
Did you mean Venezuela ?
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean Venezuela ?
Venezuela
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant United Kingdom. Could you tell me the answer for that?
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
Q145
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(c(Q2342494)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
United States of America
1
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q717
P47
Q15617994
USER
Which administrative territories share border with Venezuela ?
(c(Q15617994),P47,Q717)
action filter_type
action find
entity Q717
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q717']
SELECT DISTINCT ?e WHERE { resource:Q717 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Venezuela
action filter_type
action find
entity Venezuela
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Venezuela']
SELECT DISTINCT ?e WHERE { resource:Venezuela property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30 Q142
SYSTEM
Brazil, United States of America, France
Q739 Q142 Q145 Q155 Q29999 Q784 Q734 Q786 Q30 Q760 Q754
(c(Q15617994),P47,Q717)
action filter_type
action find
entity Q717
relation P47
type Q15617994
[ANSWERS] share border with Venezuela
[{'concept': 'Q15617994'}, 'P47', 'Q717']
SELECT DISTINCT ?e WHERE { resource:Q717 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Colombia France United Kingdom Brazil Kingdom of the Netherlands Dominica Guyana Dominican Republic United States of America Saint Lucia Trinidad and Tobago
Brazil, United States of America and France share border with Venezuela
Brazil United States of America France
action filter_type
action find
entity Venezuela
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Venezuela']
SELECT DISTINCT ?e WHERE { resource:Venezuela property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]