- From: Gunnar Bittersmann <gunnar@bittersmann.de>
- Date: Tue, 5 May 2015 08:10:09 +0200
- To: "public-vocabs@w3.org" <public-vocabs@w3.org>
Hi there,
Is there any way in RFDa to gather related property values that are distributed across the document?
Example: `addressLocality` and `streetAddress` in:
On their Earth-wide tour the Kronos ensemble “Art Is a Weapon” will guest on 9 May 2315 at Warsaw’s Och-teatr to perform Wil'yam Shex'pir’s “Hamlet” in original Klingon language.
Address: Grójecka 65, begin 20:00
For “Warsaw” and “Och-teatr” I would open a `location` container:
<article typeof="TheaterEvent" vocab="http://schema.org/">
<p>…at
<span property="location" typeof="PerformingArtsTheater">
<span property="address" typeof="PostalAddress">
<span property="addressLocality">Warsaw</span>’s
</span>
<span property="name" lang="pl">Och-teatr</span>
</span>
to perform
<span property="workPerformed" typeof="CreativeWork">…</span>
</p>
The `location` container has to be closed because it’s followed by information that belongs into the `workPerformed` container.
In the next paragraph, `location` information continues:
<p>
<span property="location" typeof="PerformingArtsTheater">
Address:
<span property="address" typeof="PostalAddress">
<span property="streetAddress"><span lang="pl">Grójecka</span> 65</span>, …
</span>
</span>
…
</p>
</article>
Using the `performance` predicate twice does not mean that their object nodes are identical, does it? Is there any way to make them the same?
Or would I have to notate all `location` information in one place, using `meta` elements?
<article typeof="TheaterEvent" vocab="http://schema.org/">
<p>…at
<span property="location" typeof="PerformingArtsTheater">
<span property="address" typeof="PostalAddress">
<span property="addressLocality">Warsaw</span>’s
<meta property="streetAddress" content="Grójecka 65"/>
</span>
<span property="name" lang="pl">Och-teatr</span>
</span>
to perform
<span property="workPerformed" typeof="CreativeWork">…</span>
</p>
And no further RDFa attributes down below?
<p>
Address: <span lang="pl">Grójecka</span> 65, …
…
</p>
</article>
That would mean duplicated content: “Grójecka 65” appears twice. Is there any way to avoid this?
Thanks,
Gunnar
Received on Tuesday, 5 May 2015 06:21:58 UTC