Closed VladimirAlexiev closed 1 year ago
The indents of the example aren't quite balanced. For human consumption,
:spiderman
:enemyOf
[ id :green-goblin
:portrayedBy [ id :willem-dafoe
a :Actor
]
] ;
:portrayedBy [ id :tobey-maguire
a :Actor
] .
should be (note the last three lines)
:spiderman
:enemyOf
[ id :green-goblin
:portrayedBy [ id :willem-dafoe
a :Actor
]
] ;
:portrayedBy [ id :tobey-maguire
a :Actor
] .
https://w3c.github.io/N3/spec/#iriprplist shows a feature I've long wanted to see:
:spiderman :enemyOf [ id :green-goblin :portrayedBy [ id :willem-dafoe a :Actor ] ] ; :portrayedBy [ id :tobey-maguire a :Actor ] .
And explains:
IRI property lists build on the predicate object list syntax to group statements about IRIs.
Right, they are very similar. But one must not use
;
~ I think the spec should emphasize this, and maybe explain why;
is not allowed here.
Please add a PR for this (e.g., would you put it in a separate note?)
https://w3c.github.io/N3/spec/#iriprplist shows a feature I've long wanted to see:
And explains:
Right, they are very similar. But one must not use
;
~ I think the spec should emphasize this, and maybe explain why;
is not allowed here.Yes, I tried and using
,
to add objects works fine.Also: this section should have a Note linking to https://w3c.github.io/N3/spec/#bnodeprplist. just like that section links to this one.