2

次の有効なタートル構文があります。

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix sc: <http://education.data.gov.uk/def/school/School#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos>.

<http://example.com/schools/#1000> a <http://education.data.gov.uk/def/school/School> . 
<http://example.com/schools/#1000> <http://education.data.gov.uk/def/school/establishmentName>    "Atherstone Early Years Centre". 
<http://example.com/schools/#1000> <http://education.data.gov.uk/def/school/establishmentNumber> "1000". 
<http://example.com/schools/#1000> <http://education.data.gov.uk/def/school/Address>  [<http://education.data.gov.uk/def/school/address1> "RATCLIFFE ROAD";     <http://education.data.gov.uk/def/school/postcode> "CV9 1LF"]. 
<http://example.com/schools/#1000> <http://education.data.gov.uk/def/school/establishmentType> "Nursery".
<http://example.com/schools/#1000> <http://education.data.gov.uk/def/school/districtAdministrative> "North Warwickshire".
<http://example.com/schools/#1000> <http://education.data.gov.uk/def/school/uniqueReferenceNumber> "2016".
<http://example.com/schools/#1000> geo:lat "52.5786677".
<http://example.com/schools/#1000> geo:long "-1.5420408".

基本的に学校オブジェクトを定義しid#1000、その後にプロパティを追加します。すべての属性の前に定義を取り除き<http://example.com/schools/#1000>、何らかの方法で属性を括弧などで囲むことができるかどうか疑問に思っていました。何か案は?

4

1 に答える 1

7

セミコロン:

<http://example.com/schools/#1000>
  a <http://education.data.gov.uk/def/school/School> ;
  <http://education.data.gov.uk/def/school/establishmentName>    "Atherstone Early Years Centre" ;
  ...
  <http://example.com/schools/#1000> geo:long "-1.5420408" .
于 2014-03-05T14:46:24.580 に答える