The web service is deployed in the following URL: https://oops.linkeddata.es/rest. A wadl file with the definition of the RESTFul web service is available in the following URL: http://oops.linkeddata.es/rest/application.wadl.
<?xml version="1.0" encoding="UTF-8"?>
<OOPSRequest>
<OntologyURI>http://www.cc.uah.es/ie/ont/learning-resources.owl</OntologyURI>
<OntologyContent></OntologyContent>
<Pitfalls>10</Pitfalls>
<OutputFormat></OutputFormat>
</OOPSRequest>
In both examples, the ontology analysed is http://www.cc.uah.es/ie/ont/learning-resources.owl. In the first example, OntologyUrl field is used and the output will be a XML file. In the second example, OntologyContent field is used and the output will be a RDF/XML file. In both cases, only pitfall number 10 will be analysed.
<?xml version="1.0" encoding="UTF-8"?>
<OOPSRequest>
<OntologyUrl>http://www.cc.uah.es/ie/ont/learning-resources.owl</OntologyUrl>
<OntologyContent></OntologyContent>
<Pitfalls>10</Pitfalls>
<OutputFormat>XML</OutputFormat>
</OOPSRequest>
<?xml version="1.0" encoding="UTF-8"?>
<oops:OOPSResponse xmlns:oops="http://www.oeg-upm.net/oops">
<oops:Pitfall>
<oops:Code>P10</oops:Code>
<oops:Name>Missing disjointness [1, 2, 3]</oops:Name>
<oops:Description>The ontology lacks disjoint axioms between classes or between properties
that should be defined as disjoint. For example, we can create the classes “Odd” and “Even”
(or the classes “Prime” and “Composite”) without being disjoint; such representation is not
correct based on the definition of these types of numbers.</oops:Description>
</oops:Pitfall>
</oops:OOPSResponse>
<?xml version="1.0" encoding="UTF-8"?> <OOPSRequest> <OntologyUrl></OntologyUrl> <OntologyContent><![CDATA[ <?xml version="1.0"?> <rdf:RDF xmlns="http://www.cc.uah.es/ie/ont/learning-resources#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xml:base="http://www.cc.uah.es/ie/ont/learning-resources"> <owl:Ontology rdf:about=""> <rdfs:comment xml:lang="en">An upper ontology for models of</rdfs:comment> </owl:Ontology> <owl:Class rdf:ID="LearningObject"> <rdfs:comment xml:lang="en">"A digital learning resource"</rdfs:comment> </owl:Class> <owl:Class rdf:ID="ExerciseLO"> <rdfs:comment xml:lang="en">"A task, problem, or other effort performed to develop or maintain fitness or increase skill:"</rdfs:comment> <rdfs:subClassOf rdf:resource="#LearningObject"/> </owl:Class> <owl:ObjectProperty rdf:ID="partOf"> <owl:inverseOf> <owl:TransitiveProperty rdf:ID="hasPart"/> </owl:inverseOf> <rdfs:range rdf:resource="#LearningObject"/> <rdfs:domain rdf:resource="#LearningObject"/> </owl:ObjectProperty> <owl:TransitiveProperty rdf:about="#hasPart"> <rdfs:range rdf:resource="#LearningObject"/> <rdfs:domain rdf:resource="#LearningObject"/> <rdfs:comment xml:lang="en">Specifies that a LO has as one of its constituent another LO.</rdfs:comment> <owl:inverseOf rdf:resource="#partOf"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/> </owl:TransitiveProperty> <LearningObject rdf:ID="aLearningObject"> <hasPart> <ExerciseLO rdf:ID="anExerciseLearningObject"> <partOf rdf:resource="#aLearningObject"/> </ExerciseLO> </hasPart> <partOf> <LearningObject rdf:ID="yetAnotherLearningObject"> <hasPart rdf:resource="#aLearningObject"/> </LearningObject> </partOf> </LearningObject> <LearningObject rdf:ID="anotherLearningObject"/> </rdf:RDF> ]]></OntologyContent> <Pitfalls>10</Pitfalls> <OutputFormat>RDF/XML</OutputFormat> </OOPSRequest>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:oops="http://www.oeg-upm.net/oops#" > <rdf:Description rdf:about= "http://www.oeg-upm.net/oops/64abbced-1570-4067-a079-f8f94722a57e"> <oops:hasPitfall rdf:resource= "http://www.oeg-upm.net/oops/8ed5e4bb-f95d-4641-bc20-ff226466d535"/> <rdf:type rdf:resource= "http://www.oeg-upm.net/oops#response"/> </rdf:Description> <rdf:Description rdf:about= "http://www.oeg-upm.net/oops/8ed5e4bb-f95d-4641-bc20-ff226466d535"> <oops:hasDescription rdf:datatype= "http://www.w3.org/2001/XMLSchema#string">The ontology lacks disjoint axioms between classes or between properties that should be defined as disjoint. For example, we can create the classes “Odd” and “Even” (or the classes “Prime” and “Composite”) without being disjoint; such representation is not correct based on the definition of these types of numbers. </oops:hasDescription> <oops:hasName rdf:datatype= "http://www.w3.org/2001/XMLSchema#string">Missing disjointness [1, 2, 3]</oops:hasName> <oops:hasCode rdf:datatype= "http://www.w3.org/2001/XMLSchema#string">P10</oops:hasCode> <rdf:type rdf:resource="http://www.oeg-upm.net/oops#pitfall"/> </rdf:Description> </rdf:RDF>
Poveda-Villalón, María, Asunción Gómez-Pérez, and Mari Carmen Suárez-Figueroa. "OOPS!(Ontology Pitfall Scanner!): An on-line tool for ontology evaluation." International Journal on Semantic Web and Information Systems (IJSWIS) 10.2 (2014): 7-34.
BibTex:
@article{poveda2014oops,
title={{OOPS! (OntOlogy Pitfall Scanner!): An On-line Tool for Ontology Evaluation}},
author={Poveda-Villal{\'o}n, Mar{\'i}a and G{\'o}mez-P{\'e}rez, Asunci{\'o}n and Su{\'a}rez-Figueroa, Mari Carmen},
journal={International Journal on Semantic Web and Information Systems (IJSWIS)},
volume={10},
number={2},
pages={7--34},
year={2014},
publisher={IGI Global}
}