@prefix : <http://example.org/> .
@prefix xsd:        <http://www.w3.org/2001/XMLSchema#> .

:x1 a :A .
:x2 a :A .
:x3 a :A .
:x4 a :A .

:x1 :p "1"^^xsd:integer .
:x2 :p "2"^^xsd:integer .
:x3 :p "3"^^xsd:integer .
:x4 :p "4"^^xsd:integer .

<a> a :B .
<b> a :B .
<c> a :B .

