I want to create below tripples using RDFLIB in python and add it to apache 
jena database. I am not exactly getting how can I create classes and 
peoperties using RDFLIB. Please let me know regarding this.

```
State a rdfs:Class .
:City a rdfs:Class .
:locatedIn a rdf:Property .
:capitalOf rdfs:subPropertyOf :locatedIn . 
:capitalOf rdfs:domain :City .
:capitalOf rdfs:range :State .
```

and also for this


```
Example:UsedCarForSale    RDF:type    RDF:Class
Example:Price RDF:type RDFS:Property
Example:PastOwners RDF:Type RDFS:Property
```

-- 
http://github.com/RDFLib
--- 
You received this message because you are subscribed to the Google Groups 
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/9d57e692-4fe9-4225-b6f0-94b81b18bb32%40googlegroups.com.

Reply via email to