We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listing 18 in the reference documentation lists this:
module example is import skos @skos:prefLabel = [ "example"@en "exemple"@fr "例子"@zh-CH ] end
Saving the above to file test.sdm and running sdml --no-color convert -f rdf -o test.ttl -i test.sdm results in the following:
test.sdm
sdml --no-color convert -f rdf -o test.ttl -i test.sdm
@prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix sdml: <http://sdml.io/sdml-owl.ttl#> . @prefix skos: <http://www.w3.org/2004/02/skos/core#> . example: rdf:type owl:Ontology , sdml:Module ; owl:imports <http://www.w3.org/2004/02/skos/core#> ; skos:prefLabel ( "example"@en "exemple"@fr "例子"@zh-CH ) ; sdml:srcLabel "example" .
Notice how skos:prefLabel is encapsulated as a list, with the english local being preferred.
Compare that with Example 10 in the SKOS reference documentation, where prefLabel is independent entries.
The text was updated successfully, but these errors were encountered:
I'll take a look this week
Sorry, something went wrong.
johnstonskj
No branches or pull requests
Listing 18 in the reference documentation lists this:
Saving the above to file
test.sdm
and runningsdml --no-color convert -f rdf -o test.ttl -i test.sdm
results in the following:Notice how skos:prefLabel is encapsulated as a list, with the english local being preferred.
Compare that with Example 10 in the SKOS reference documentation, where prefLabel is independent entries.
The text was updated successfully, but these errors were encountered: