-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Transforming the follwoing content:
@prefix ex:<http://example.com/> .
@prefix sub:<http://example.com/myresource#> .
sub:graph1{
ex:myresource a ex:TrustyUri .
sub:graph1 ex:contains sub:part1 .
}
sub:graph2{
sub:graph2 ex:contains sub:part2 .
}
in a file myresource.trig
using
scripts/TransformRdf.sh myresource.trig http://example.com/myresource
yields
@prefix this: <http://example.com/myresource.RAg3eYqbagUqCN8-PgKHO9fGbp8aY65dMFiZIY_D4MYdc> .
@prefix sub: <http://example.com/myresource.RAg3eYqbagUqCN8-PgKHO9fGbp8aY65dMFiZIY_D4MYdc#> .
@prefix ex: <http://example.com/> .
@prefix sub1: <http://example.com/myresource#> .
sub:%23graph1 {
ex:myresource.RAg3eYqbagUqCN8-PgKHO9fGbp8aY65dMFiZIY_D4MYdc a ex:TrustyUri .
sub:%23graph1 ex:contains sub:%23part1 .
}
sub:%23graph2 {
sub:%23graph2 ex:contains sub:%23part2 .
}
I'd expect the graph names and objects to be sub:graph[12] and sub:part[12]. The result is not incorrect, just not nicely readable and probably not what is intended.
Metadata
Metadata
Assignees
Labels
No labels