@base          <http://example.org/resource/> .
@prefix :  <http://example.org/ontology/> .
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<person/C1234>  rdf:type  :NaturalPerson ;
        :id          "C1234" ;
        :firstName   "John" ;
        :lastName    "Smith" ;
        :gender      "male" ;
        :religion    "Catholic" ;
        :hasAddress  <person/C1234/address> ;
        :hasEvent    <person/C1234/birth> ;
        :hasEvent    <person/C1234/education> .

<person/C1234/address>
        rdf:type      :Address ;
        :houseNumber  "123" ;
        :street       "Capitol Str" ;
        :postalCode   "1A2 3B4" ;
        :city         <country/UK/city/London> ;
        :country      <country/UK> .

<country/UK/city/London>
        rdf:type  :City ;
        :country  <country/UK> ;
        :name     "London" .

<country/UK>  rdf:type  :Country ;
        :code   "UK" .

<person/C1234/birth>  rdf:type  :BirthEvent ;
        :hasDate  "1950-01-02"^^xsd:date .

<person/C1234/education>
        rdf:type     :EducationEvent ;
        :hasDate     "1970-03-04"^^xsd:date ;
        :university  <university/North_State_University> ;
        :degree      <degree/MBA> .

<person/C3456>  rdf:type  :NaturalPerson ;
        :id          "C3456" ;
        :firstName   "Иван" ;
        :lastName    "Петров" ;
        :gender      "male" ;
        :religion    "Orthodox" ;
        :hasAddress  <person/C3456/address> ;
        :hasEvent    <person/C3456/birth> ;
        :hasEvent    <person/C3456/education> .

<person/C3456/address>
        rdf:type      :Address ;
        :houseNumber  "432" ;
        :street       "ул.Черни връх" ;
        :postalCode   "1000" ;
        :city         <country/BG/city/Sofia> ;
        :country      <country/BG> .

<country/BG/city/Sofia>
        rdf:type  :City ;
        :country  <country/BG> ;
        :name     "Sofia" .

<country/BG>  rdf:type  :Country ;
        :code   "BG" .

<person/C3456/birth>  rdf:type  :BirthEvent ;
        :hasDate  "1952-05-06"^^xsd:date .

<person/C3456/education>
        rdf:type     :EducationEvent ;
        :hasDate     "1972-12-01"^^xsd:date ;
        :university  <university/Sofia_University> ;
        :degree      <degree/computer_science> .
