| Service Details | |
Service Name: | SchemaWeb REST Web Service |
| Technical Contact: | victor@schemaweb.info |
GetRDF | |
| Description: | Returns the raw RDF/XML schema for a namespace. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetRDF.aspx |
| Request Parameters: | |
| namespace | The namespace of the schema. |
| Response: | The RDF/XML schema. |
Examples: | |
| namespace = http://xmlns.com/foaf/0.1/ | |
| http://www.schemaweb.info/webservices/rest/GetRDF.aspx?namespace=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2f | |
| namespace = http://purl.org/vocab/bio/0.1/ | |
| http://www.schemaweb.info/webservices/rest/GetRDF.aspx?namespace=http%3a%2f%2fpurl.org%2fvocab%2fbio%2f0.1%2f | |
GetRDFTriples | |
| Description: | Returns the RDF triples of a schema for a namespace in XML format. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetRDFTriples.aspx |
| Request Parameters: | |
| namespace | The namespace of the schema. |
| Response: | An array of triples. |
Examples: | |
| namespace = http://xmlns.com/foaf/0.1/ | |
| http://www.schemaweb.info/webservices/rest/GetRDFTriples.aspx?namespace=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2f | |
| namespace = http://purl.org/vocab/bio/0.1/ | |
| http://www.schemaweb.info/webservices/rest/GetRDFTriples.aspx?namespace=http%3a%2f%2fpurl.org%2fvocab%2fbio%2f0.1%2f | |
GetRDFNTriples | |
| Description: | Returns the RDF triples of a schema for a namespace in N-Triples format. |
| Method: | GET |
| Response Content-Type: | text/plain |
| Location: | http://www.schemaweb.info/webservices/rest/GetRDFNTriples.aspx |
| Request Parameters: | |
| namespace | The namespace of the schema. |
| Response: | The N-Triples. |
Examples: | |
| namespace = http://xmlns.com/foaf/0.1/ | |
| http://www.schemaweb.info/webservices/rest/GetRDFNTriples.aspx?namespace=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2f | |
| namespace = http://purl.org/vocab/bio/0.1/ | |
| http://www.schemaweb.info/webservices/rest/GetRDFNTriples.aspx?namespace=http%3a%2f%2fpurl.org%2fvocab%2fbio%2f0.1%2f | |
GetSchemaLocation | |
| Description: | Returns physical URL of a schema. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetSchemaLocation.aspx |
| Request Parameters: | |
| namespace | The namespace of the schema. |
| Response: | The location of the schema. |
Examples: | |
| namespace = http://psi.ontopia.net/rdf/# | |
| http://www.schemaweb.info/webservices/rest/GetSchemaLocation.aspx?namespace=http%3a%2f%2fpsi.ontopia.net%2frdf%2f%23 | |
| namespace = http://www.w3.org/2002/12/cal/ical# | |
| http://www.schemaweb.info/webservices/rest/GetSchemaLocation.aspx?namespace=http%3a%2f%2fwww.w3.org%2f2002%2f12%2fcal%2fical%23 | |
GetSubjects | |
| Description: | Returns the subjects for a predicate and an object. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetSubjects.aspx |
| Request Parameters: | |
| predicate | The predicate of an RDF triple. |
| object | The object of an RDF triple. |
| Response: | An array of subjects. |
Examples: |
| predicate = http://www.w3.org/2000/01/rdf-schema#domain |
| object = http://xmlns.com/foaf/0.1/Person |
| http://www.schemaweb.info/webservices/rest/GetSubjects.aspx?predicate=http%3a%2f%2fwww.w3.org%2f2000%2f01%2frdf-schema%23domain&object=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fPerson |
| predicate = http://www.w3.org/2000/01/rdf-schema#subPropertyOf |
| object = http://purl.org/dc/elements/1.1/creator |
| http://www.schemaweb.info/webservices/rest/GetSubjects.aspx?predicate=http%3a%2f%2fwww.w3.org%2f2000%2f01%2frdf-schema%23subPropertyOf&object=http%3a%2f%2fpurl.org%2fdc%2felements%2f1.1%2fcreator |
GetObjects | |
| Description: | Returns the objects for a subject and a predicate. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetObjects.aspx |
| Request Parameters: | |
| subject | The subject of an RDF triple. |
| predicate | The predicate of an RDF triple. |
| Response: | An array of objects. |
Examples: |
| subject = http://xmlns.com/foaf/0.1/Person |
| predicate = http://www.w3.org/2000/01/rdf-schema#subClassOf |
| http://www.schemaweb.info/webservices/rest/GetObjects.aspx?subject=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fPerson&predicate=http%3a%2f%2fwww.w3.org%2f2000%2f01%2frdf-schema%23subClassOf |
| subject = http://purl.org/vocab/bio/0.1/date |
| predicate = http://www.w3.org/1999/02/22-rdf-syntax-ns#type |
| http://www.schemaweb.info/webservices/rest/GetObjects.aspx?subject=http%3a%2f%2fpurl.org%2fvocab%2fbio%2f0.1%2fdate&predicate=http%3a%2f%2fwww.w3.org%2f1999%2f02%2f22-rdf-syntax-ns%23type |
GetSubClasses | |
| Description: | Returns the sub-classes of a class. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetSubClasses.aspx |
| Request Parameters: | |
| class | A class name. |
| Response: | An array of classes. |
Examples: |
| class = http://xmlns.com/foaf/0.1/Agent |
| http://www.schemaweb.info/webservices/rest/GetSubClasses.aspx?class=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fAgent |
| class = http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing |
| http://www.schemaweb.info/webservices/rest/GetSubClasses.aspx?class=http%3a%2f%2fwww.w3.org%2f2003%2f01%2fgeo%2fwgs84_pos%23SpatialThing |
GetSuperClasses | |
| Description: | Returns the super-classes of a class. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetSuperClasses.aspx |
| Request Parameters: | |
| class | A class name. |
| Response: | An array of classes. |
Examples: |
| class = http://xmlns.com/foaf/0.1/Agent |
| http://www.schemaweb.info/webservices/rest/GetSuperClasses.aspx?class=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fAgent |
| class = http://www.mindswap.org/2003/vegetarian.owl#Vegan |
| http://www.schemaweb.info/webservices/rest/GetSuperClasses.aspx?class=http%3a%2f%2fwww.mindswap.org%2f2003%2fvegetarian.owl%23Vegan |
GetSubProperties | |
| Description: | Returns the sub-properties of a property. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetSubProperties.aspx |
| Request Parameters: | |
| property | A property name. |
| Response: | An array of properties. |
Examples: |
| property = http://xmlns.com/foaf/0.1/knows |
| http://www.schemaweb.info/webservices/rest/GetSubProperties.aspx?property=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fknows |
| property = http://purl.org/dc/elements/1.1/date |
| http://www.schemaweb.info/webservices/rest/GetSubProperties.aspx?property=http%3a%2f%2fpurl.org%2fdc%2felements%2f1.1%2fdate |
GetSuperProperties | |
| Description: | Returns the super-properties of a property. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetSuperProperties.aspx |
| Request Parameters: | |
| property | A property name. |
| Response: | An array of properties. |
Examples: |
| property = http://purl.org/vocab/bio/0.1/keywords |
| http://www.schemaweb.info/webservices/rest/GetSuperProperties.aspx?property=http%3a%2f%2fpurl.org%2fvocab%2fbio%2f0.1%2fkeywords |
| property = http://purl.org/net/inkel/rdf/schemas/lang/1.1#speaks |
| http://www.schemaweb.info/webservices/rest/GetSuperProperties.aspx?property=http%3a%2f%2fpurl.org%2fnet%2finkel%2frdf%2fschemas%2flang%2f1.1%23speaks |
GetDomains | |
| Description: | Returns the classes which are the domain of a property. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetDomains.aspx |
| Request Parameters: | |
| property | A property name. |
| Response: | An array of classes. |
Examples: |
| property = http://xmlns.com/foaf/0.1/knows |
| http://www.schemaweb.info/webservices/rest/GetDomains.aspx?property=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fknows |
| property = http://purl.org/vocab/bio/0.1/event |
| http://www.schemaweb.info/webservices/rest/GetDomains.aspx?property=http%3a%2f%2fpurl.org%2fvocab%2fbio%2f0.1%2fevent |
GetDomainProperties | |
| Description: | For a given class, returns the properties which declare the class as a domain. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetDomainProperties.aspx |
| Request Parameters: | |
| class | A class name. |
| Response: | An array of properties. |
Examples: |
| class = http://xmlns.com/foaf/0.1/Person |
| http://www.schemaweb.info/webservices/rest/GetDomainProperties.aspx?class=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fPerson |
| class = http://www.w3.org/2000/01/rdf-schema#Resource |
| http://www.schemaweb.info/webservices/rest/GetDomainProperties.aspx?class=http%3a%2f%2fwww.w3.org%2f2000%2f01%2frdf-schema%23Resource |
GetRanges | |
| Description: | Returns the classes which are the range of a property. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetRanges.aspx |
| Request Parameters: | |
| property | A property name. |
| Response: | An array of classes. |
Examples: |
| property = http://xmlns.com/foaf/0.1/interest |
| http://www.schemaweb.info/webservices/rest/GetRanges.aspx?property=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2finterest |
| property = http://xmlns.com/foaf/0.1/knows |
| http://www.schemaweb.info/webservices/rest/GetRanges.aspx?property=http%3a%2f%2fxmlns.com%2ffoaf%2f0.1%2fknows |
GetRangeProperties | |
| Description: | For a given class, returns the properties which declare the class as a range. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetRangeProperties.aspx |
| Request Parameters: | |
| class | A class name. |
| Response: | An array of properties. |
Examples: |
| class = http://www.semanticworld.org/model/fundamental/money_0.5.owl#Currency |
| http://www.schemaweb.info/webservices/rest/GetRangeProperties.aspx?class=http%3a%2f%2fwww.semanticworld.org%2fmodel%2ffundamental%2fmoney_0.5.owl%23Currency |
| class = http://www.w3.org/2000/01/rdf-schema#Resource |
| http://www.schemaweb.info/webservices/rest/GetRangeProperties.aspx?class=http%3a%2f%2fwww.w3.org%2f2000%2f01%2frdf-schema%23Resource |
GetRDFByID | |
| Description: | Returns the raw RDF/XML schema by SchemaWeb ID. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetRDFByID.aspx |
| Request Parameters: | |
| id | The SchemaWeb ID for a schema. |
| Response: | The RDF/XML schema. |
Examples: |
| id = 12 |
| http://www.schemaweb.info/webservices/rest/GetRDFByID.aspx?id=12 |
| id = 41 |
| http://www.schemaweb.info/webservices/rest/GetRDFByID.aspx?id=41 |
GetRDFTriplesByID | |
| Description: | Returns the RDF triples of a schema in XML format for a SchemaWeb ID. |
| Method: | GET |
| Response Content-Type: | text/xml |
| Location: | http://www.schemaweb.info/webservices/rest/GetRDFTriplesByID.aspx |
| Request Parameters: | |
| id | The SchemaWeb ID for a schema. |
| Response: | An array of triples. |
Examples: |
| id = 12 |
| http://www.schemaweb.info/webservices/rest/GetRDFTriplesByID.aspx?id=12 |
| id = 41 |
| http://www.schemaweb.info/webservices/rest/GetRDFTriplesByID.aspx?id=41 |
GetRDFNTriplesByID | |
| Description: | Returns the RDF triples of a schema in N-Triples format for a SchemaWeb ID. |
| Method: | GET |
| Response Content-Type: | text/plain |
| Location: | http://www.schemaweb.info/webservices/rest/GetRDFNTriplesByID.aspx |
| Request Parameters: | |
| id | The SchemaWeb ID for a schema. |
| Response: | The N-Triples. |
Examples: |
| id = 12 |
| http://www.schemaweb.info/webservices/rest/GetRDFNTriplesByID.aspx?id=12 |
| id = 41 |
| http://www.schemaweb.info/webservices/rest/GetRDFNTriplesByID.aspx?id=41 |