@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix test: <http://example.org/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix nrl: <http://tracker.api.gnome.org/ontology/v3/nrl#> .

test: a nrl:Namespace, nrl:Ontology ;
        nrl:lastModified "2011-03-24T11:00:04Z" ;
        nrl:prefix "test" .

test:A a rdfs:Class ;
    rdfs:subClassOf rdfs:Resource .

test:B a rdfs:Class ;
    rdfs:subClassOf rdfs:Resource .

test:b_range_boolean_string a rdf:Property ;
    rdfs:range xsd:string ;
    rdfs:domain test:B .

test:b_a_domain a rdf:Property ;
    rdfs:range xsd:integer ;
    rdfs:domain test:A .

test:a_b_domain_range a rdf:Property ;
    rdfs:range test:A ;
    rdfs:domain test:B .

# ******* UPDATES *******
test:a_b_domain a rdf:Property ;
    rdfs:range xsd:integer ;
    rdfs:domain test:A . # Was test:B
# ***********************
