Last active
December 15, 2015 00:08
-
-
Save tatiana/5170442 to your computer and use it in GitHub Desktop.
Why adding transitivity breaks language filter in SPARQL Query?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix tpedia: <http://tatipedia.org/> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
tpedia:new_york a tpedia:Place ; | |
rdfs:label "Nova Iorque"@pt ; | |
rdfs:label "New York"@en . | |
tpedia:london a tpedia:Place ; | |
rdfs:label "Londres"@pt ; | |
rdfs:label "London"@en . | |
tpedia:name rdf:type owl:DatatypeProperty ; | |
rdfs:subPropertyOf rdfs:label . | |
tpedia:munich a tpedia:Place ; | |
tpedia:name "Munique"@pt ; | |
tpedia:name "Munich"@en . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue was solved using inference.
First, we need to add the inference rule using the Virtuoso ISQL:
After this, the query bellow will work as expected: