Disambiguating properties when using typeof lists.

Hi there,

I'm trying to describe an object (a court house) having two types:
CourtHouse and GovernmentOrganization, from schema.org.

<section vocab="http://schema.org/" typeof="CourtHouse GovernmentOrganization">
  <p property="openingHoursSpecification">…</p> <!-- from Place -->
  <p property="contactPoint">…</p> <!-- from Organization -->
</section>

But it turns out that both types have a "title" property. So if I want
to use it, I need to disambiguate title. I think I can write:

 <p property="http://schema.org/CourtHouse#title">…</p>

But can I shorten that using prefixes:

<section prefix="sc: http://schema.org/" typeof="sc:CourtHouse
sc:GovernmentOrganization">
  <p property="openingHoursSpecification">…</p> <!-- from Place -->
  <p property="contactPoint">…</p> <!-- from Organization -->
  <p property="dc:CourtHouse#title">…</p>
</section>

At least dc:CourtHouse#title is a syntactically correct CURIE, but is
the whole construct a correct expression of the RDF graph I expect?

Max.

Received on Monday, 24 June 2013 09:52:44 UTC