├── .gitignore ├── .travis.yml ├── COPYING.LESSER.txt ├── COPYING.txt ├── LICENSE.txt ├── README.md ├── distribution ├── pom.xml └── src │ └── main │ └── assembly │ └── bin.xml ├── pom.xml ├── skos-core ├── pom.xml └── src │ └── main │ └── java │ └── org │ └── semanticweb │ └── skos │ ├── AddAssertion.java │ ├── RemoveAssertion.java │ ├── SKOSAnnotation.java │ ├── SKOSAnnotationAssertion.java │ ├── SKOSAnnotationProperty.java │ ├── SKOSAssertion.java │ ├── SKOSAssertionVisitor.java │ ├── SKOSChange.java │ ├── SKOSChangeException.java │ ├── SKOSCollection.java │ ├── SKOSConcept.java │ ├── SKOSConceptScheme.java │ ├── SKOSContentManager.java │ ├── SKOSCreationException.java │ ├── SKOSDataFactory.java │ ├── SKOSDataProperty.java │ ├── SKOSDataRelationAssertion.java │ ├── SKOSDataType.java │ ├── SKOSDataset.java │ ├── SKOSEntity.java │ ├── SKOSEntityAssertion.java │ ├── SKOSEntityVisitor.java │ ├── SKOSException.java │ ├── SKOSFormat.java │ ├── SKOSInputSource.java │ ├── SKOSLiteral.java │ ├── SKOSLiteralVisitor.java │ ├── SKOSObject.java │ ├── SKOSObjectProperty.java │ ├── SKOSObjectRelationAssertion.java │ ├── SKOSObjectVisitor.java │ ├── SKOSOrderedCollection.java │ ├── SKOSProperty.java │ ├── SKOSPropertyVisitor.java │ ├── SKOSResource.java │ ├── SKOSStorageException.java │ ├── SKOSTypedLiteral.java │ ├── SKOSUnkownFormatException.java │ ├── SKOSUntypedLiteral.java │ ├── extensions │ ├── SKOSLabelRelation.java │ ├── SKOSLabelRelationAssertion.java │ └── SKOSSeeLabelRelationProperty.java │ └── properties │ ├── SKOSAltLabelProperty.java │ ├── SKOSBroadMatchProperty.java │ ├── SKOSBroaderProperty.java │ ├── SKOSBroaderTransitiveProperty.java │ ├── SKOSChangeNoteDataProperty.java │ ├── SKOSChangeNoteObjectProperty.java │ ├── SKOSCloseMatchProperty.java │ ├── SKOSDefinitionDataProperty.java │ ├── SKOSDefinitionObjectProperty.java │ ├── SKOSEditorialNoteDataProperty.java │ ├── SKOSEditorialNoteObjectProperty.java │ ├── SKOSExactMatchProperty.java │ ├── SKOSExampleDataProperty.java │ ├── SKOSExampleObjectProperty.java │ ├── SKOSHasTopConceptProperty.java │ ├── SKOSHiddenLabelProperty.java │ ├── SKOSHistoryNoteDataProperty.java │ ├── SKOSHistoryNoteObjectProperty.java │ ├── SKOSInSchemeProperty.java │ ├── SKOSMappingRelationProperty.java │ ├── SKOSMemberListProperty.java │ ├── SKOSMemberProperty.java │ ├── SKOSNarrowMatchProperty.java │ ├── SKOSNarrowerProperty.java │ ├── SKOSNarrowerTransitiveProperty.java │ ├── SKOSNotationProperty.java │ ├── SKOSNoteDataProperty.java │ ├── SKOSNoteObjectProperty.java │ ├── SKOSPrefLabelProperty.java │ ├── SKOSRelatedMatchProperty.java │ ├── SKOSRelatedProperty.java │ ├── SKOSScopeNoteDataProperty.java │ ├── SKOSScopeNoteObjectProperty.java │ ├── SKOSSemanticRelationProperty.java │ └── SKOSTopConceptOfProperty.java ├── skos-example ├── pom.xml └── src │ └── main │ └── java │ └── example │ ├── CreateSKOSExample.java │ ├── Example1.java │ ├── Example2.java │ ├── Example3.java │ ├── Example4.java │ ├── ReadInferredSKOS.java │ └── ReadSKOSExample.java └── skos-impl ├── pom.xml └── src └── main └── java ├── org └── semanticweb │ └── skosapibinding │ ├── SKOSChangeUtility.java │ ├── SKOSFormatExt.java │ ├── SKOSManager.java │ ├── SKOSReasoner.java │ └── SKOStoOWLConverter.java └── uk └── ac └── manchester └── cs └── skos ├── SKOSAnnotationAssertionImpl.java ├── SKOSAnnotationPropertyImpl.java ├── SKOSAssertionImpl.java ├── SKOSCollectionImpl.java ├── SKOSConceptImpl.java ├── SKOSConceptSchemeImpl.java ├── SKOSDataFactoryImpl.java ├── SKOSDataPropertyImpl.java ├── SKOSDataRelationAssertionImpl.java ├── SKOSDataTypeImpl.java ├── SKOSDatasetImpl.java ├── SKOSEntityAssertionImpl.java ├── SKOSLabelRelationAssertionImpl.java ├── SKOSLabelRelationImpl.java ├── SKOSObjectPropertyImpl.java ├── SKOSObjectPropertyUtility.java ├── SKOSObjectRelationAssertionImpl.java ├── SKOSOrderedCollectionImpl.java ├── SKOSRDFVocabulary.java ├── SKOSResourceImpl.java ├── SKOSTypedLiteralImpl.java ├── SKOSUntypedLiteralImpl.java └── properties ├── SKOSAltLabelPropertyImpl.java ├── SKOSAnnotationImpl.java ├── SKOSBroadMatchPropertyImpl.java ├── SKOSBroaderPropertyImpl.java ├── SKOSBroaderTransitivePropertyImpl.java ├── SKOSChangeNoteDataPropertyImpl.java ├── SKOSChangeNoteObjectPropertyImpl.java ├── SKOSCloseMatchPropertyImpl.java ├── SKOSDefinitionDataPropertyImpl.java ├── SKOSDefinitionObjectPropertyImpl.java ├── SKOSEditorialNoteDataPropertyImpl.java ├── SKOSEditorialNoteObjectPropertyImpl.java ├── SKOSExactMatchPropertyImpl.java ├── SKOSExampleDataPropertyImpl.java ├── SKOSExampleObjectPropertyImpl.java ├── SKOSHasTopConceptPropertyImpl.java ├── SKOSHiddenLabelPropertyImpl.java ├── SKOSHistoryNoteDataPropertyImpl.java ├── SKOSHistoryNoteObjectPropertyImpl.java ├── SKOSInSchemePropertyImpl.java ├── SKOSMappingRelationPropertyImpl.java ├── SKOSMemberListPropertyImpl.java ├── SKOSMemberPropertyImpl.java ├── SKOSNarrowMatchPropertyImpl.java ├── SKOSNarrowerPropertyImpl.java ├── SKOSNarrowerTransitivePropertyImpl.java ├── SKOSNotationPropertyImpl.java ├── SKOSNoteDataPropertyImpl.java ├── SKOSNoteObjectPropertyImpl.java ├── SKOSPrefLabelPropertyImpl.java ├── SKOSRelatedMatchPropertyImpl.java ├── SKOSRelatedPropertyImpl.java ├── SKOSScopeNoteDataPropertyImpl.java ├── SKOSScopeNoteObjectPropertyImpl.java ├── SKOSSeeLabelRelationPropertyImpl.java ├── SKOSSemanticRelationPropertyImpl.java └── SKOSTopConceptOfPropertyImpl.java /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | *.idea 3 | .DS_Store 4 | *.class 5 | *.class 6 | target/ 7 | .project 8 | .classpath 9 | *.core.prefs 10 | .jazzignore 11 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | jdk: 3 | - openjdk7 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | SKOS API 2 | ======== 3 | 4 | The SKOS API provides a Java interface and OWL API based implementation of the Simple Knowledge Organization System (SKOS). SKOS is a W3C vocabulary for describing Knowledge Organization Systems (KOS) such as thesauri or concept schemes. For more information about SKOS see [here](http://www.w3.org/2004/02/skos/). An implementation of the SKOS API is provided using the [OWL API](http://owlcs.github.io/owlapi/). 5 | 6 | The SKOS API is available in a single jar in [Releases](https://github.com/simonjupp/java-skos-api/releases) 7 | 8 | Build from source 9 | ------------ 10 | 11 | The SKOS API can be built using Apache Maven. This will create a jar in the distribution/target/ folder. 12 | 13 | _mvn clean install_ 14 | 15 | Documentation 16 | ------------- 17 | 18 | Please refer to [skosapi.sourceforge.net](http://skosapi.sourceforge.net) for documentation. Some examples are available in the skos-example module. 19 | 20 | Support 21 | ------- 22 | 23 | Please post all question to skos-dev@googlegroups.com 24 | 25 | 26 | -------------------------------------------------------------------------------- /distribution/src/main/assembly/bin.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | project 9 | 10 | 11 | 12 | 13 | jar 14 | 15 | 16 | false 17 | 18 | 19 | 20 | 21 | true 22 | 23 | skos-api:skos-example 24 | 25 | 26 | . 27 | true 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | true 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | 9 | 10 | maven-assembly-plugin 11 | 2.4 12 | 13 | 14 | 15 | 16 | 17 | distribution/src/main/assembly/bin.xml 18 | 19 | 20 | 21 | 22 | 23 | org.apache.maven.plugins 24 | maven-compiler-plugin 25 | 3.1 26 | 27 | 1.6 28 | 1.6 29 | 30 | 31 | 32 | 33 | 34 | skos-api 35 | skos-api 36 | pom 37 | 3.2 38 | 39 | skos-core 40 | skos-impl 41 | skos-example 42 | distribution 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /skos-core/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | skos-api 7 | skos-api 8 | 3.2 9 | 10 | 4.0.0 11 | 12 | skos-core 13 | 14 | 15 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/AddAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Mar 12, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | */ 32 | public class AddAssertion extends SKOSChange { 33 | 34 | public AddAssertion (SKOSDataset dataSet, SKOSAssertion assertion) { 35 | super(dataSet, assertion); 36 | } 37 | 38 | public boolean isAdd() { 39 | return true; 40 | } 41 | 42 | public boolean isRemove() { 43 | return false; 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/RemoveAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Mar 12, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public class RemoveAssertion extends SKOSChange { 32 | 33 | public RemoveAssertion(SKOSDataset dataSet, SKOSAssertion assertion) { 34 | super(dataSet, assertion); 35 | } 36 | 37 | public boolean isAdd() { 38 | return false; 39 | } 40 | 41 | public boolean isRemove() { 42 | return true; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSAnnotation.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | import java.net.URI; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Apr 25, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSAnnotation extends SKOSObject { 34 | 35 | URI getURI(); 36 | 37 | SKOSLiteral getAnnotationValueAsConstant(); 38 | 39 | SKOSEntity getAnnotationValue(); 40 | 41 | boolean isAnnotationByConstant(); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSAnnotationAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Apr 17, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | */ 32 | public interface SKOSAnnotationAssertion extends SKOSAssertion { 33 | 34 | public SKOSEntity getSubject(); 35 | 36 | public SKOSAnnotation getSKOSAnnotation(); 37 | 38 | } 39 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSAnnotationProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos;/* 2 | * Copyright (C) 2007, University of Manchester 3 | * 4 | * Modifications to the initial code base are copyright of their 5 | * respective authors, or their employers as appropriate. Authorship 6 | * of the modifications may be determined from the ChangeLog placed at 7 | * the end of this file. 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | 14 | * This library is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with this library; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | /** 25 | * Author: Simon Jupp
26 | * Date: Nov 27, 2010
27 | * The University of Manchester
28 | * Bio-Health Informatics Group
29 | */ 30 | public interface SKOSAnnotationProperty extends SKOSProperty { 31 | } 32 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 28, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSAssertion extends SKOSObject { 32 | 33 | void accept(SKOSAssertionVisitor visitor); 34 | 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSAssertionVisitor.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Aug 22, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | */ 32 | public interface SKOSAssertionVisitor { 33 | 34 | void visit(SKOSObjectRelationAssertion skosObjectRelationAssertion); 35 | 36 | void visit(SKOSDataRelationAssertion skosDataRelationAssertion); 37 | 38 | void visit(SKOSAnnotationAssertion skosAnnotationAssertion); 39 | 40 | void visit(SKOSEntityAssertion skosEntityAssertion); 41 | } 42 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSChange.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public abstract class SKOSChange { 32 | 33 | private SKOSDataset set; 34 | private SKOSAssertion ass; 35 | 36 | public SKOSChange (SKOSDataset dataSet, SKOSAssertion assertion) { 37 | this.set = dataSet; 38 | this.ass = assertion; 39 | } 40 | 41 | public SKOSDataset getSKOSDataset() { 42 | return set; 43 | } 44 | 45 | public SKOSAssertion getSKOSAssertion () { 46 | return ass; 47 | } 48 | 49 | public abstract boolean isAdd(); 50 | 51 | public abstract boolean isRemove(); 52 | 53 | } 54 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSChangeException.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public class SKOSChangeException extends SKOSException { 32 | 33 | private SKOSChange change; 34 | 35 | public SKOSChangeException(SKOSChange change, String message) { 36 | super(message); 37 | this.change = change; 38 | } 39 | 40 | public SKOSChangeException(SKOSChange change, String message, Throwable cause) { 41 | super(message, cause); 42 | this.change = change; 43 | } 44 | 45 | public SKOSChangeException(SKOSChange change, Throwable cause) { 46 | super(cause); 47 | this.change = change; 48 | } 49 | 50 | public SKOSChange getSKOSChange() { 51 | return change; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSCollection.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | import org.semanticweb.skos.extensions.SKOSLabelRelation; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSCollection extends SKOSEntity { 35 | 36 | boolean isSKOSConcept(); 37 | 38 | SKOSConcept asSKOSConcept(); 39 | 40 | boolean isSKOSConceptScheme(); 41 | 42 | SKOSConceptScheme asSKOSConceptScheme(); 43 | 44 | boolean isSKOSLabelRelation(); 45 | 46 | SKOSLabelRelation asSKOSLabelRelation(); 47 | 48 | boolean isSKOSResource(); 49 | 50 | SKOSResource asSKOSResource(); 51 | 52 | } 53 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSConcept.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | import java.util.Set; 4 | import java.net.URI; 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | *
34 | * This object has a set of convenience methods for getting information from your vocabularies about this SKOS concept 35 | */ 36 | public interface SKOSConcept extends SKOSEntity { 37 | 38 | Set getObjectRelationAssertions(SKOSDataset dataset); 39 | 40 | Set getDataRelationAssertions(SKOSDataset dataset); 41 | 42 | Set getSKOSRelatedEntitiesByProperty(SKOSDataset dataset, SKOSObjectProperty property); 43 | 44 | Set getSKOSRelatedConstantByProperty(SKOSDataset dataset, SKOSDataProperty property); 45 | 46 | Set getSKOSRelatedConstantByProperty(SKOSDataset dataset, SKOSAnnotationProperty property); 47 | 48 | Set getSKOSAnnotations(SKOSDataset dataset); 49 | 50 | Set getSKOSAnnotationsByURI(SKOSDataset dataset, URI uri); 51 | 52 | } 53 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSConceptScheme.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | import java.util.Set; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Apr 21, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | *
33 | * You can have multiple concept schemes in a SKOSDataset. Each concpet scheme can contain 34 | * concepts. This class provides some conenience methods for getting access to those concepts. 35 | *
36 | * SKOS reference has a notion of importing concept schemes but the spec is not satisfactory at the moment to provide any concrete implementatiuon. 37 | */ 38 | public interface SKOSConceptScheme extends SKOSEntity { 39 | 40 | Set getTopConcepts(SKOSDataset dataset); 41 | 42 | Set getConceptsInScheme (SKOSDataset dataset); 43 | 44 | // Set getImportedConceptSchemes (SKOSDataset dataset); 45 | } 46 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSCreationException.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public class SKOSCreationException extends SKOSException { 32 | 33 | 34 | public SKOSCreationException(String message) { 35 | super(message); 36 | } 37 | 38 | public SKOSCreationException(String message, Throwable cause) { 39 | super(message, cause); 40 | } 41 | 42 | public SKOSCreationException(Throwable cause) { 43 | super(cause); 44 | } 45 | 46 | 47 | } 48 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Apr 23, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | *
32 | * Represent a SKOS data property 33 | */ 34 | public interface SKOSDataProperty extends SKOSProperty { 35 | 36 | 37 | } 38 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSDataRelationAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Apr 22, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | */ 32 | public interface SKOSDataRelationAssertion extends SKOSAssertion { 33 | 34 | SKOSEntity getSKOSSubject(); 35 | 36 | SKOSLiteral getSKOSObject(); 37 | 38 | SKOSDataProperty getSKOSProperty(); 39 | } 40 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSDataType.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Sep 8, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | * 31 | * Represents a data type, currently only minimal suppport for data types 32 | * 33 | */ 34 | public interface SKOSDataType extends SKOSEntity { 35 | 36 | } 37 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSEntity.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | import org.semanticweb.skos.extensions.SKOSLabelRelation; 4 | 5 | import java.net.URI; 6 | import java.util.Set; 7 | 8 | /* 9 | * Copyright (C) 2007, University of Manchester 10 | * 11 | * Modifications to the initial code base are copyright of their 12 | * respective authors, or their employers as appropriate. Authorship 13 | * of the modifications may be determined from the ChangeLog placed at 14 | * the end of this file. 15 | * 16 | * This library is free software; you can redistribute it and/or 17 | * modify it under the terms of the GNU Lesser General Public 18 | * License as published by the Free Software Foundation; either 19 | * version 2.1 of the License, or (at your option) any later version. 20 | 21 | * This library is distributed in the hope that it will be useful, 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 24 | * Lesser General Public License for more details. 25 | 26 | * You should have received a copy of the GNU Lesser General Public 27 | * License along with this library; if not, write to the Free Software 28 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 29 | */ 30 | 31 | /** 32 | * Author: Simon Jupp
33 | * Date: Mar 25, 2008
34 | * The University of Manchester
35 | * Bio-Health Informatics Group
36 | *
37 | * A SKOS entity represent the main types of SKOS objects avaialable, from the SKOS reference we currently 38 | * have Concept, ConceptScheme, LabelRelation, Collection, Ordered Collection as SKOS enitites. 39 | */ 40 | public interface SKOSEntity extends SKOSObject { 41 | 42 | boolean isSKOSConcept(); 43 | 44 | SKOSConcept asSKOSConcept(); 45 | 46 | boolean isSKOSConceptScheme(); 47 | 48 | SKOSConceptScheme asSKOSConceptScheme(); 49 | 50 | boolean isSKOSLabelRelation(); 51 | 52 | SKOSLabelRelation asSKOSLabelRelation(); 53 | 54 | boolean isSKOSResource(); 55 | 56 | SKOSResource asSKOSResource(); 57 | /** 58 | * @return The URI for the SKOS entity 59 | */ 60 | URI getURI(); 61 | 62 | Set getSKOSAnnotations(SKOSDataset dataset); 63 | 64 | void accept(SKOSEntityVisitor visitor); 65 | 66 | } 67 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSEntityAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Sep 8, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSEntityAssertion extends SKOSAssertion { 32 | 33 | } 34 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSEntityVisitor.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Sep 5, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSEntityVisitor { 32 | 33 | void visit(SKOSConceptScheme entity); 34 | 35 | void visit(SKOSConcept entity); 36 | 37 | void visit(SKOSCollection entity); 38 | 39 | void visit(SKOSOrderedCollection entity); 40 | 41 | void visit(SKOSResource entity); 42 | 43 | void visit(SKOSDataType entity); 44 | } 45 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSException.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public abstract class SKOSException extends Exception{ 32 | 33 | public SKOSException(String message) { 34 | super(message); 35 | } 36 | 37 | public SKOSException(String message, Throwable cause) { 38 | super(message, cause); 39 | } 40 | 41 | public SKOSException(Throwable cause) { 42 | super(cause); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSFormat.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Aug 26, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | */ 32 | public interface SKOSFormat { 33 | 34 | Object getFormat() throws SKOSUnkownFormatException; 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSInputSource.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSInputSource { 32 | } 33 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSLiteral.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | *
31 | * Represents a literal (typed or untyped). 32 | */ 33 | public abstract interface SKOSLiteral { 34 | 35 | String getLiteral(); 36 | 37 | boolean isTyped(); 38 | 39 | SKOSUntypedLiteral getAsSKOSUntypedLiteral(); 40 | 41 | SKOSTypedLiteral getAsSKOSTypedLiteral(); 42 | 43 | void accept(SKOSLiteralVisitor visitor); 44 | 45 | 46 | } 47 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSLiteralVisitor.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Sep 5, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSLiteralVisitor { 32 | 33 | void visit(SKOSTypedLiteral literal); 34 | 35 | void visit(SKOSUntypedLiteral literal); 36 | 37 | } 38 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSObject.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 28, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSObject { 32 | 33 | void accept(SKOSObjectVisitor visitor); 34 | 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Apr 23, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | */ 32 | public interface SKOSObjectProperty extends SKOSProperty { 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSObjectRelationAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Apr 22, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | *
32 | * A SKOSObjectRelationAssertion represents a relationship along a Object property between two 33 | * SKOS entities. A SKOS object relationship has a suject, property and object, where the object is some resource. 34 | * 35 | */ 36 | public interface SKOSObjectRelationAssertion extends SKOSAssertion { 37 | 38 | SKOSEntity getSKOSSubject(); 39 | 40 | SKOSEntity getSKOSObject(); 41 | 42 | SKOSObjectProperty getSKOSProperty(); 43 | } 44 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSObjectVisitor.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Sep 5, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSObjectVisitor { 32 | 33 | void visit(SKOSEntity entity); 34 | 35 | void visit(SKOSProperty property); 36 | 37 | void visit(SKOSAssertion assertion); 38 | 39 | void visit(SKOSLiteral literal); 40 | 41 | void visit(SKOSAnnotation annotation); 42 | } 43 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSOrderedCollection.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | import org.semanticweb.skos.extensions.SKOSLabelRelation; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSOrderedCollection extends SKOSEntity{ 35 | boolean isSKOSConcept(); 36 | 37 | SKOSConcept asSKOSConcept(); 38 | 39 | boolean isSKOSConceptScheme(); 40 | 41 | SKOSConceptScheme asSKOSConceptScheme(); 42 | 43 | boolean isSKOSLabelRelation(); 44 | 45 | SKOSLabelRelation asSKOSLabelRelation(); 46 | } 47 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | 3 | import java.net.URI; 4 | import java.util.Set; 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 28, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSProperty extends SKOSObject { 35 | 36 | URI getURI(); 37 | 38 | Set getReferencingEntities (SKOSDataset dataset); 39 | 40 | void accept(SKOSPropertyVisitor visitor); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSResource.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Aug 27, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSResource extends SKOSEntity{ 32 | } 33 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSStorageException.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public class SKOSStorageException extends SKOSException{ 32 | public SKOSStorageException(String message) { 33 | super(message); 34 | } 35 | 36 | public SKOSStorageException(String message, Throwable cause) { 37 | super(message, cause); 38 | } 39 | 40 | public SKOSStorageException(Throwable cause) { 41 | super(cause); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSTypedLiteral.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Aug 27, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSTypedLiteral extends SKOSLiteral { 32 | 33 | SKOSDataType getDataType(); 34 | 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSUnkownFormatException.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Sep 8, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public class SKOSUnkownFormatException extends SKOSException { 32 | 33 | public SKOSUnkownFormatException(String message) { 34 | super(message); 35 | } 36 | 37 | public SKOSUnkownFormatException(String message, Throwable cause) { 38 | super(message, cause); 39 | } 40 | 41 | public SKOSUnkownFormatException(Throwable cause) { 42 | super(cause); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/SKOSUntypedLiteral.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos; 2 | /* 3 | * Copyright (C) 2007, University of Manchester 4 | * 5 | * Modifications to the initial code base are copyright of their 6 | * respective authors, or their employers as appropriate. Authorship 7 | * of the modifications may be determined from the ChangeLog placed at 8 | * the end of this file. 9 | * 10 | * This library is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | 15 | * This library is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with this library; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | /** 26 | * Author: Simon Jupp
27 | * Date: Apr 25, 2008
28 | * The University of Manchester
29 | * Bio-Health Informatics Group
30 | */ 31 | public interface SKOSUntypedLiteral extends SKOSLiteral { 32 | 33 | public String getLang(); 34 | 35 | boolean hasLang(); 36 | 37 | boolean hasLang(String lang); 38 | 39 | } 40 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/extensions/SKOSLabelRelation.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.extensions; 2 | 3 | import org.semanticweb.skos.SKOSEntity; 4 | import org.semanticweb.skos.SKOSDataProperty; 5 | import org.semanticweb.skos.SKOSLiteral; 6 | 7 | import java.util.List; 8 | /* 9 | * Copyright (C) 2007, University of Manchester 10 | * 11 | * Modifications to the initial code base are copyright of their 12 | * respective authors, or their employers as appropriate. Authorship 13 | * of the modifications may be determined from the ChangeLog placed at 14 | * the end of this file. 15 | * 16 | * This library is free software; you can redistribute it and/or 17 | * modify it under the terms of the GNU Lesser General Public 18 | * License as published by the Free Software Foundation; either 19 | * version 2.1 of the License, or (at your option) any later version. 20 | 21 | * This library is distributed in the hope that it will be useful, 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 24 | * Lesser General Public License for more details. 25 | 26 | * You should have received a copy of the GNU Lesser General Public 27 | * License along with this library; if not, write to the Free Software 28 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 29 | */ 30 | 31 | /** 32 | * Author: Simon Jupp
33 | * Date: Apr 21, 2008
34 | * The University of Manchester
35 | * Bio-Health Informatics Group
36 | */ 37 | public interface SKOSLabelRelation extends SKOSEntity { 38 | 39 | SKOSDataProperty getLabelProperty (); 40 | 41 | List getLabels (); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/extensions/SKOSLabelRelationAssertion.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.extensions; 2 | 3 | /* 4 | * Copyright (C) 2007, University of Manchester 5 | * 6 | * Modifications to the initial code base are copyright of their 7 | * respective authors, or their employers as appropriate. Authorship 8 | * of the modifications may be determined from the ChangeLog placed at 9 | * the end of this file. 10 | * 11 | * This library is free software; you can redistribute it and/or 12 | * modify it under the terms of the GNU Lesser General Public 13 | * License as published by the Free Software Foundation; either 14 | * version 2.1 of the License, or (at your option) any later version. 15 | 16 | * This library is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 | * Lesser General Public License for more details. 20 | 21 | * You should have received a copy of the GNU Lesser General Public 22 | * License along with this library; if not, write to the Free Software 23 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 | */ 25 | 26 | /** 27 | * Author: Simon Jupp
28 | * Date: Apr 22, 2008
29 | * The University of Manchester
30 | * Bio-Health Informatics Group
31 | */ 32 | public interface SKOSLabelRelationAssertion { 33 | } 34 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/extensions/SKOSSeeLabelRelationProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.extensions; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSSeeLabelRelationProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSAltLabelProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSAnnotationProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSAltLabelProperty extends SKOSAnnotationProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSBroadMatchProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSBroadMatchProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSBroaderProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSBroaderProperty extends SKOSObjectProperty { 35 | 36 | } 37 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSBroaderTransitiveProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSBroaderTransitiveProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSChangeNoteDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSChangeNoteDataProperty extends SKOSDataProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSChangeNoteObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSChangeNoteObjectProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSCloseMatchProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSCloseMatchProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSDefinitionDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSDefinitionDataProperty extends SKOSDataProperty { 35 | 36 | } 37 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSDefinitionObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSDefinitionObjectProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSEditorialNoteDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 22, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSEditorialNoteDataProperty extends SKOSDataProperty { 35 | 36 | } 37 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSEditorialNoteObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSEditorialNoteObjectProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSExactMatchProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSExactMatchProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSExampleDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSExampleDataProperty extends SKOSDataProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSExampleObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSExampleObjectProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSHasTopConceptProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSHasTopConceptProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSHiddenLabelProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSAnnotationProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSHiddenLabelProperty extends SKOSAnnotationProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSHistoryNoteDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSHistoryNoteDataProperty extends SKOSDataProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSHistoryNoteObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSHistoryNoteObjectProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSInSchemeProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSInSchemeProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSMappingRelationProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSMappingRelationProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSMemberListProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSMemberListProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSMemberProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSMemberProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSNarrowMatchProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSNarrowMatchProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSNarrowerProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Apr 21, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSNarrowerProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSNarrowerTransitiveProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSNarrowerTransitiveProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSNotationProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Aug 27, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSNotationProperty extends SKOSDataProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSNoteDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSNoteDataProperty extends SKOSDataProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSNoteObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSNoteObjectProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSPrefLabelProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSAnnotationProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSPrefLabelProperty extends SKOSAnnotationProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSRelatedMatchProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSRelatedMatchProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSRelatedProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 21, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSRelatedProperty extends SKOSObjectProperty{ 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSScopeNoteDataProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSDataProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Aug 27, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSScopeNoteDataProperty extends SKOSDataProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSScopeNoteObjectProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | 5 | /* 6 | * Copyright (C) 2007, University of Manchester 7 | * 8 | * Modifications to the initial code base are copyright of their 9 | * respective authors, or their employers as appropriate. Authorship 10 | * of the modifications may be determined from the ChangeLog placed at 11 | * the end of this file. 12 | * 13 | * This library is free software; you can redistribute it and/or 14 | * modify it under the terms of the GNU Lesser General Public 15 | * License as published by the Free Software Foundation; either 16 | * version 2.1 of the License, or (at your option) any later version. 17 | 18 | * This library is distributed in the hope that it will be useful, 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | * Lesser General Public License for more details. 22 | 23 | * You should have received a copy of the GNU Lesser General Public 24 | * License along with this library; if not, write to the Free Software 25 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 26 | */ 27 | 28 | /** 29 | * Author: Simon Jupp
30 | * Date: Apr 22, 2008
31 | * The University of Manchester
32 | * Bio-Health Informatics Group
33 | */ 34 | public interface SKOSScopeNoteObjectProperty extends SKOSObjectProperty { 35 | } 36 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSSemanticRelationProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSSemanticRelationProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-core/src/main/java/org/semanticweb/skos/properties/SKOSTopConceptOfProperty.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skos.properties; 2 | 3 | import org.semanticweb.skos.SKOSObjectProperty; 4 | /* 5 | * Copyright (C) 2007, University of Manchester 6 | * 7 | * Modifications to the initial code base are copyright of their 8 | * respective authors, or their employers as appropriate. Authorship 9 | * of the modifications may be determined from the ChangeLog placed at 10 | * the end of this file. 11 | * 12 | * This library is free software; you can redistribute it and/or 13 | * modify it under the terms of the GNU Lesser General Public 14 | * License as published by the Free Software Foundation; either 15 | * version 2.1 of the License, or (at your option) any later version. 16 | 17 | * This library is distributed in the hope that it will be useful, 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 | * Lesser General Public License for more details. 21 | 22 | * You should have received a copy of the GNU Lesser General Public 23 | * License along with this library; if not, write to the Free Software 24 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 | */ 26 | 27 | /** 28 | * Author: Simon Jupp
29 | * Date: Sep 4, 2008
30 | * The University of Manchester
31 | * Bio-Health Informatics Group
32 | */ 33 | public interface SKOSTopConceptOfProperty extends SKOSObjectProperty { 34 | } 35 | -------------------------------------------------------------------------------- /skos-example/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | skos-api 7 | skos-api 8 | 3.2 9 | 10 | 4.0.0 11 | 12 | skos-example 13 | 14 | 15 | 16 | skos-api 17 | skos-impl 18 | 3.2 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /skos-impl/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | skos-api 7 | skos-api 8 | 3.2 9 | 10 | 4.0.0 11 | 12 | skos-impl 13 | 14 | 15 | 16 | 17 | skos-api 18 | skos-core 19 | 3.2 20 | 21 | 22 | 23 | net.sourceforge.owlapi 24 | owlapi-osgidistribution 25 | 4.2.8 26 | 27 | 28 | 29 | com.google.guava 30 | guava 31 | 18.0 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/org/semanticweb/skosapibinding/SKOSFormatExt.java: -------------------------------------------------------------------------------- 1 | package org.semanticweb.skosapibinding; 2 | 3 | import org.coode.owlapi.manchesterowlsyntax.ManchesterOWLSyntaxOntologyFormat; 4 | import org.coode.owlapi.turtle.TurtleOntologyFormat; 5 | import org.semanticweb.owlapi.io.OWLXMLOntologyFormat; 6 | import org.semanticweb.owlapi.io.RDFXMLOntologyFormat; 7 | import org.semanticweb.owlapi.model.OWLOntologyFormat; 8 | import org.semanticweb.skos.SKOSFormat; 9 | import org.semanticweb.skos.SKOSUnkownFormatException; 10 | 11 | /* 12 | * Copyright (C) 2007, University of Manchester 13 | * 14 | * Modifications to the initial code base are copyright of their 15 | * respective authors, or their employers as appropriate. Authorship 16 | * of the modifications may be determined from the ChangeLog placed at 17 | * the end of this file. 18 | * 19 | * This library is free software; you can redistribute it and/or 20 | * modify it under the terms of the GNU Lesser General Public 21 | * License as published by the Free Software Foundation; either 22 | * version 2.1 of the License, or (at your option) any later version. 23 | 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 27 | * Lesser General Public License for more details. 28 | 29 | * You should have received a copy of the GNU Lesser General Public 30 | * License along with this library; if not, write to the Free Software 31 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 32 | */ 33 | 34 | /** 35 | * Author: Simon Jupp
36 | * Date: Aug 27, 2008
37 | * The University of Manchester
38 | * Bio-Health Informatics Group
39 | */ 40 | public enum SKOSFormatExt implements SKOSFormat { 41 | 42 | // RDFXML(new OWLXMLVocabulary()); 43 | 44 | RDFXML("RDFXML") , 45 | 46 | TURTRLE("TURTLE"), 47 | 48 | OWLXML("OWLXML"), 49 | 50 | MOS("MOS"); 51 | 52 | private String localName; 53 | 54 | 55 | SKOSFormatExt(String localname) { 56 | this.localName = localname; 57 | } 58 | 59 | 60 | public OWLOntologyFormat getFormat() throws SKOSUnkownFormatException { 61 | 62 | if (localName.equals("RDFXML")) { 63 | return new RDFXMLOntologyFormat(); 64 | } 65 | else if (localName.equals("OWLXML")) { 66 | return new OWLXMLOntologyFormat(); 67 | } 68 | else if (localName.equals("MOS")) { 69 | return new ManchesterOWLSyntaxOntologyFormat(); 70 | } 71 | else if (localName.equals("TURTLE")) { 72 | return new TurtleOntologyFormat(); 73 | } 74 | 75 | throw new SKOSUnkownFormatException("Unknown format: " + localName); 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/SKOSAnnotationAssertionImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos; 2 | 3 | import org.semanticweb.owlapi.model.OWLAnnotationAxiom; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.*; 6 | import org.semanticweb.skosapibinding.SKOStoOWLConverter; 7 | /* 8 | * Copyright (C) 2007, University of Manchester 9 | * 10 | * Modifications to the initial code base are copyright of their 11 | * respective authors, or their employers as appropriate. Authorship 12 | * of the modifications may be determined from the ChangeLog placed at 13 | * the end of this file. 14 | * 15 | * This library is free software; you can redistribute it and/or 16 | * modify it under the terms of the GNU Lesser General Public 17 | * License as published by the Free Software Foundation; either 18 | * version 2.1 of the License, or (at your option) any later version. 19 | 20 | * This library is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 23 | * Lesser General Public License for more details. 24 | 25 | * You should have received a copy of the GNU Lesser General Public 26 | * License along with this library; if not, write to the Free Software 27 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | /** 31 | * Author: Simon Jupp
32 | * Date: Apr 22, 2008
33 | * The University of Manchester
34 | * Bio-Health Informatics Group
35 | */ 36 | public class SKOSAnnotationAssertionImpl implements SKOSAnnotationAssertion { 37 | 38 | OWLAnnotationAxiom ax; 39 | SKOSEntity subject; 40 | SKOSAnnotation annotation; 41 | public SKOSAnnotationAssertionImpl(OWLDataFactory factory, SKOSEntity subject, SKOSAnnotation annotation) { 42 | 43 | SKOStoOWLConverter converter = new SKOStoOWLConverter(); 44 | this.subject = subject; 45 | this.annotation = annotation; 46 | 47 | ax = factory.getOWLAnnotationAssertionAxiom(converter.getAsOWLIndiviudal(subject).getIRI(), converter.getAsOWLAnnotation(annotation)); 48 | } 49 | 50 | public SKOSEntity getSubject() { 51 | return subject; 52 | } 53 | 54 | public SKOSAnnotation getSKOSAnnotation() { 55 | return annotation; 56 | } 57 | 58 | public OWLAnnotationAxiom getAssertionAxiom() { 59 | return ax; 60 | } 61 | 62 | public SKOSEntity getReferencedEntities() { 63 | return null; 64 | } 65 | 66 | public void accept(SKOSAssertionVisitor visitor) { 67 | visitor.visit(this); 68 | } 69 | 70 | public void accept(SKOSObjectVisitor visitor) { 71 | visitor.visit(this); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/SKOSAnnotationPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLAnnotationProperty; 5 | import org.semanticweb.owlapi.model.OWLDataFactory; 6 | import org.semanticweb.skos.*; 7 | 8 | import java.net.URI; 9 | import java.util.Set;/* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Nov 27, 2010
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSAnnotationPropertyImpl implements SKOSAnnotationProperty{ 39 | 40 | 41 | OWLAnnotationProperty property; 42 | 43 | public SKOSAnnotationPropertyImpl (OWLDataFactory factory, IRI iri) { 44 | this.property = factory.getOWLAnnotationProperty(iri); 45 | } 46 | 47 | public URI getURI() { 48 | return property.getIRI().toURI(); 49 | } 50 | 51 | public IRI getIRI() { 52 | return property.getIRI(); 53 | } 54 | 55 | public OWLAnnotationProperty getProperty() { 56 | return property; 57 | } 58 | 59 | public Set getReferencingEntities(SKOSDataset dataset) { 60 | return null; 61 | } 62 | 63 | public void accept(SKOSPropertyVisitor visitor) { 64 | visitor.visit(this); 65 | } 66 | 67 | public void accept(SKOSObjectVisitor visitor) { 68 | visitor.visit(this); 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/SKOSAssertionImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos; 2 | 3 | import org.semanticweb.owlapi.model.OWLAxiom; 4 | import org.semanticweb.skos.SKOSAssertion; 5 | import org.semanticweb.skos.SKOSAssertionVisitor; 6 | /* 7 | * Copyright (C) 2007, University of Manchester 8 | * 9 | * Modifications to the initial code base are copyright of their 10 | * respective authors, or their employers as appropriate. Authorship 11 | * of the modifications may be determined from the ChangeLog placed at 12 | * the end of this file. 13 | * 14 | * This library is free software; you can redistribute it and/or 15 | * modify it under the terms of the GNU Lesser General Public 16 | * License as published by the Free Software Foundation; either 17 | * version 2.1 of the License, or (at your option) any later version. 18 | 19 | * This library is distributed in the hope that it will be useful, 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 | * Lesser General Public License for more details. 23 | 24 | * You should have received a copy of the GNU Lesser General Public 25 | * License along with this library; if not, write to the Free Software 26 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 | */ 28 | 29 | /** 30 | * Author: Simon Jupp
31 | * Date: Aug 26, 2008
32 | * The University of Manchester
33 | * Bio-Health Informatics Group
34 | */ 35 | public abstract class SKOSAssertionImpl implements SKOSAssertion { 36 | 37 | OWLAxiom ax; 38 | 39 | 40 | public SKOSAssertionImpl(OWLAxiom assAx) { 41 | this.ax = assAx; 42 | } 43 | 44 | public OWLAxiom getAxiom() { 45 | return ax; 46 | } 47 | 48 | public void accept(SKOSAssertionVisitor visitor) { 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/SKOSDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.owlapi.model.OWLDataProperty; 6 | import org.semanticweb.skos.*; 7 | 8 | import java.net.URI; 9 | import java.util.Set; 10 | /* 11 | * Copyright (C) 2007, University of Manchester 12 | * 13 | * Modifications to the initial code base are copyright of their 14 | * respective authors, or their employers as appropriate. Authorship 15 | * of the modifications may be determined from the ChangeLog placed at 16 | * the end of this file. 17 | * 18 | * This library is free software; you can redistribute it and/or 19 | * modify it under the terms of the GNU Lesser General Public 20 | * License as published by the Free Software Foundation; either 21 | * version 2.1 of the License, or (at your option) any later version. 22 | 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26 | * Lesser General Public License for more details. 27 | 28 | * You should have received a copy of the GNU Lesser General Public 29 | * License along with this library; if not, write to the Free Software 30 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 31 | */ 32 | 33 | /** 34 | * Author: Simon Jupp
35 | * Date: Aug 26, 2008
36 | * The University of Manchester
37 | * Bio-Health Informatics Group
38 | */ 39 | public class SKOSDataPropertyImpl implements SKOSDataProperty { 40 | 41 | OWLDataProperty property; 42 | 43 | public SKOSDataPropertyImpl (OWLDataFactory factory, URI uri) { 44 | this.property = factory.getOWLDataProperty(IRI.create(uri)); 45 | } 46 | 47 | public SKOSDataPropertyImpl (OWLDataProperty property) { 48 | this.property = property; 49 | } 50 | 51 | public IRI getIRI() { 52 | return property.getIRI(); 53 | } 54 | 55 | public URI getURI() { 56 | return property.getIRI().toURI(); 57 | } 58 | 59 | public Set getReferencingEntities(SKOSDataset dataset) { 60 | return null; 61 | } 62 | 63 | public OWLDataProperty getDataObjectProperty() { 64 | return property; 65 | } 66 | 67 | public void accept(SKOSObjectVisitor visitor) { 68 | visitor.visit(this); 69 | } 70 | 71 | 72 | public void accept(SKOSPropertyVisitor visitor) { 73 | visitor.visit(this); 74 | } 75 | } 76 | 77 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/SKOSLabelRelationAssertionImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos; 2 | 3 | import org.semanticweb.owlapi.model.OWLDataFactory; 4 | import org.semanticweb.owlapi.model.OWLIndividual; 5 | import org.semanticweb.owlapi.model.OWLObjectPropertyExpression; 6 | import org.semanticweb.skos.extensions.SKOSLabelRelationAssertion; 7 | import uk.ac.manchester.cs.owl.owlapi.OWLObjectPropertyAssertionAxiomImpl; 8 | 9 | import java.util.HashSet; 10 | /* 11 | * Copyright (C) 2007, University of Manchester 12 | * 13 | * Modifications to the initial code base are copyright of their 14 | * respective authors, or their employers as appropriate. Authorship 15 | * of the modifications may be determined from the ChangeLog placed at 16 | * the end of this file. 17 | * 18 | * This library is free software; you can redistribute it and/or 19 | * modify it under the terms of the GNU Lesser General Public 20 | * License as published by the Free Software Foundation; either 21 | * version 2.1 of the License, or (at your option) any later version. 22 | 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26 | * Lesser General Public License for more details. 27 | 28 | * You should have received a copy of the GNU Lesser General Public 29 | * License along with this library; if not, write to the Free Software 30 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 31 | */ 32 | 33 | /** 34 | * Author: Simon Jupp
35 | * Date: Apr 18, 2008
36 | * The University of Manchester
37 | * Bio-Health Informatics Group
38 | */ 39 | public class SKOSLabelRelationAssertionImpl extends OWLObjectPropertyAssertionAxiomImpl implements SKOSLabelRelationAssertion { 40 | 41 | public SKOSLabelRelationAssertionImpl(OWLDataFactory dataFactory, OWLIndividual subject, OWLObjectPropertyExpression property, OWLIndividual object) { 42 | super(subject, property, object, new HashSet()); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/SKOSObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.owlapi.model.OWLObjectProperty; 6 | import org.semanticweb.skos.*; 7 | 8 | import java.net.URI; 9 | import java.util.Set; 10 | 11 | /* 12 | * Copyright (C) 2007, University of Manchester 13 | * 14 | * Modifications to the initial code base are copyright of their 15 | * respective authors, or their employers as appropriate. Authorship 16 | * of the modifications may be determined from the ChangeLog placed at 17 | * the end of this file. 18 | * 19 | * This library is free software; you can redistribute it and/or 20 | * modify it under the terms of the GNU Lesser General Public 21 | * License as published by the Free Software Foundation; either 22 | * version 2.1 of the License, or (at your option) any later version. 23 | 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 27 | * Lesser General Public License for more details. 28 | 29 | * You should have received a copy of the GNU Lesser General Public 30 | * License along with this library; if not, write to the Free Software 31 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 32 | */ 33 | 34 | /** 35 | * Author: Simon Jupp
36 | * Date: Aug 26, 2008
37 | * The University of Manchester
38 | * Bio-Health Informatics Group
39 | */ 40 | public class SKOSObjectPropertyImpl implements SKOSObjectProperty { 41 | 42 | OWLObjectProperty property; 43 | 44 | public SKOSObjectPropertyImpl (OWLDataFactory factory, URI uri) { 45 | this.property = factory.getOWLObjectProperty(IRI.create(uri)); 46 | } 47 | 48 | public SKOSObjectPropertyImpl (OWLObjectProperty property) { 49 | this.property = property; 50 | } 51 | 52 | public IRI getIRI() { 53 | return property.getIRI(); 54 | } 55 | 56 | public URI getURI() { 57 | return property.getIRI().toURI(); 58 | } 59 | 60 | public Set getReferencingEntities(SKOSDataset dataset) { 61 | return null; 62 | } 63 | 64 | public void accept(SKOSPropertyVisitor visitor) { 65 | visitor.visit(this); 66 | } 67 | 68 | public OWLObjectProperty getOWLObjectProperty() { 69 | return property; 70 | } 71 | 72 | public void accept(SKOSObjectVisitor visitor) { 73 | visitor.visit(this); 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSAltLabelPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSAltLabelProperty; 7 | import uk.ac.manchester.cs.skos.SKOSAnnotationPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | 10 | /* 11 | * Copyright (C) 2007, University of Manchester 12 | * 13 | * Modifications to the initial code base are copyright of their 14 | * respective authors, or their employers as appropriate. Authorship 15 | * of the modifications may be determined from the ChangeLog placed at 16 | * the end of this file. 17 | * 18 | * This library is free software; you can redistribute it and/or 19 | * modify it under the terms of the GNU Lesser General Public 20 | * License as published by the Free Software Foundation; either 21 | * version 2.1 of the License, or (at your option) any later version. 22 | 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26 | * Lesser General Public License for more details. 27 | 28 | * You should have received a copy of the GNU Lesser General Public 29 | * License along with this library; if not, write to the Free Software 30 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 31 | */ 32 | 33 | /** 34 | * Author: Simon Jupp
35 | * Date: Mar 12, 2008
36 | * The University of Manchester
37 | * Bio-Health Informatics Group
38 | */ 39 | public class SKOSAltLabelPropertyImpl extends SKOSAnnotationPropertyImpl implements SKOSAltLabelProperty { 40 | 41 | public SKOSAltLabelPropertyImpl(OWLDataFactory dataFactory) { 42 | super(dataFactory, IRI.create(SKOSRDFVocabulary.ALTLABEL.getURI())); 43 | 44 | } 45 | 46 | public void accept(SKOSPropertyVisitor visitor) { 47 | visitor.visit(this); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSBroadMatchPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSBroadMatchProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSBroadMatchPropertyImpl extends SKOSObjectPropertyImpl implements SKOSBroadMatchProperty { 39 | 40 | public SKOSBroadMatchPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.BROADMATCH.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSBroaderPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSBroaderProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSBroaderPropertyImpl extends SKOSObjectPropertyImpl implements SKOSBroaderProperty { 39 | 40 | public SKOSBroaderPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.BROADER.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSBroaderTransitivePropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSBroaderTransitiveProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSBroaderTransitivePropertyImpl extends SKOSObjectPropertyImpl implements SKOSBroaderTransitiveProperty { 39 | 40 | public SKOSBroaderTransitivePropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.BROADERTRANS.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSChangeNoteDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSChangeNoteDataProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSChangeNoteDataPropertyImpl extends SKOSDataPropertyImpl implements SKOSChangeNoteDataProperty { 39 | 40 | public SKOSChangeNoteDataPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.CHANGENOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSChangeNoteObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSChangeNoteObjectProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSChangeNoteObjectPropertyImpl extends SKOSObjectPropertyImpl implements SKOSChangeNoteObjectProperty { 39 | 40 | public SKOSChangeNoteObjectPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.CHANGENOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSCloseMatchPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSCloseMatchProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSCloseMatchPropertyImpl extends SKOSObjectPropertyImpl implements SKOSCloseMatchProperty { 39 | public SKOSCloseMatchPropertyImpl(OWLDataFactory factory) { 40 | super(factory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.CLOSEMATCH.getURI()))); 41 | } 42 | 43 | public void accept(SKOSPropertyVisitor visitor) { 44 | visitor.visit(this); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSDefinitionDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSDefinitionDataProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSDefinitionDataPropertyImpl extends SKOSDataPropertyImpl implements SKOSDefinitionDataProperty { 39 | 40 | public SKOSDefinitionDataPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.DEFINITION.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSDefinitionObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSDefinitionObjectProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSDefinitionObjectPropertyImpl extends SKOSObjectPropertyImpl implements SKOSDefinitionObjectProperty { 39 | 40 | public SKOSDefinitionObjectPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.DEFINITION.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSEditorialNoteDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSEditorialNoteDataProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSEditorialNoteDataPropertyImpl extends SKOSDataPropertyImpl implements SKOSEditorialNoteDataProperty { 39 | 40 | public SKOSEditorialNoteDataPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.EDITORIALNOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSEditorialNoteObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSEditorialNoteObjectProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSEditorialNoteObjectPropertyImpl extends SKOSObjectPropertyImpl implements SKOSEditorialNoteObjectProperty { 39 | 40 | public SKOSEditorialNoteObjectPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.EDITORIALNOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSExactMatchPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSExactMatchProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSExactMatchPropertyImpl extends SKOSObjectPropertyImpl implements SKOSExactMatchProperty { 39 | 40 | public SKOSExactMatchPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.EXACTMATCH.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSExampleDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSExampleDataProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSExampleDataPropertyImpl extends SKOSDataPropertyImpl implements SKOSExampleDataProperty { 39 | 40 | public SKOSExampleDataPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.EXAMPLE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSExampleObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSExampleObjectProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSExampleObjectPropertyImpl extends SKOSObjectPropertyImpl implements SKOSExampleObjectProperty { 39 | 40 | public SKOSExampleObjectPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.EXAMPLE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSHasTopConceptPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSHasTopConceptProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSHasTopConceptPropertyImpl extends SKOSObjectPropertyImpl implements SKOSHasTopConceptProperty { 39 | 40 | public SKOSHasTopConceptPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.HASTOPCONCEPT.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSHiddenLabelPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSHiddenLabelProperty; 7 | import uk.ac.manchester.cs.skos.SKOSAnnotationPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSHiddenLabelPropertyImpl extends SKOSAnnotationPropertyImpl implements SKOSHiddenLabelProperty { 39 | 40 | public SKOSHiddenLabelPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory, IRI.create(SKOSRDFVocabulary.HIDDENLABEL.getURI())); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSHistoryNoteDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSHistoryNoteDataProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSHistoryNoteDataPropertyImpl extends SKOSDataPropertyImpl implements SKOSHistoryNoteDataProperty { 39 | 40 | public SKOSHistoryNoteDataPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.HISTORYNOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSHistoryNoteObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSHistoryNoteObjectProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSHistoryNoteObjectPropertyImpl extends SKOSObjectPropertyImpl implements SKOSHistoryNoteObjectProperty { 39 | 40 | public SKOSHistoryNoteObjectPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.HISTORYNOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSInSchemePropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSInSchemeProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSInSchemePropertyImpl extends SKOSObjectPropertyImpl implements SKOSInSchemeProperty { 39 | 40 | public SKOSInSchemePropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.INSCHEME.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSMappingRelationPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSMappingRelationProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSMappingRelationPropertyImpl extends SKOSObjectPropertyImpl implements SKOSMappingRelationProperty { 39 | 40 | public SKOSMappingRelationPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.MAPPINGRELATION.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSMemberListPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSMemberListProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSMemberListPropertyImpl extends SKOSObjectPropertyImpl implements SKOSMemberListProperty { 39 | 40 | public SKOSMemberListPropertyImpl(OWLDataFactory factory) { 41 | super(factory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.MEMBERLIST.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSMemberPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSMemberProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSMemberPropertyImpl extends SKOSObjectPropertyImpl implements SKOSMemberProperty { 39 | 40 | public SKOSMemberPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.MEMBER.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSNarrowMatchPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSNarrowMatchProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSNarrowMatchPropertyImpl extends SKOSObjectPropertyImpl implements SKOSNarrowMatchProperty { 39 | 40 | public SKOSNarrowMatchPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.NARROWMATCH.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSNarrowerPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSNarrowerProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | 10 | /* 11 | * Copyright (C) 2007, University of Manchester 12 | * 13 | * Modifications to the initial code base are copyright of their 14 | * respective authors, or their employers as appropriate. Authorship 15 | * of the modifications may be determined from the ChangeLog placed at 16 | * the end of this file. 17 | * 18 | * This library is free software; you can redistribute it and/or 19 | * modify it under the terms of the GNU Lesser General Public 20 | * License as published by the Free Software Foundation; either 21 | * version 2.1 of the License, or (at your option) any later version. 22 | 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 26 | * Lesser General Public License for more details. 27 | 28 | * You should have received a copy of the GNU Lesser General Public 29 | * License along with this library; if not, write to the Free Software 30 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 31 | */ 32 | 33 | /** 34 | * Author: Simon Jupp
35 | * Date: Mar 12, 2008
36 | * The University of Manchester
37 | * Bio-Health Informatics Group
38 | */ 39 | public class SKOSNarrowerPropertyImpl extends SKOSObjectPropertyImpl implements SKOSNarrowerProperty { 40 | 41 | public SKOSNarrowerPropertyImpl(OWLDataFactory dataFactory) { 42 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.NARROWER.getURI()))); 43 | } 44 | 45 | public void accept(SKOSPropertyVisitor visitor) { 46 | visitor.visit(this); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSNarrowerTransitivePropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSNarrowerTransitiveProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSNarrowerTransitivePropertyImpl extends SKOSObjectPropertyImpl implements SKOSNarrowerTransitiveProperty { 39 | public SKOSNarrowerTransitivePropertyImpl(OWLDataFactory factory) { 40 | super(factory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.NARROWERTRANS.getURI()))); 41 | } 42 | 43 | public void accept(SKOSPropertyVisitor visitor) { 44 | visitor.visit(this); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSNotationPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSNotationProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Aug 27, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSNotationPropertyImpl extends SKOSDataPropertyImpl implements SKOSNotationProperty { 39 | 40 | public SKOSNotationPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.NOTATION.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSNoteDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSNoteDataProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSNoteDataPropertyImpl extends SKOSDataPropertyImpl implements SKOSNoteDataProperty { 39 | 40 | public SKOSNoteDataPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.NOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSNoteObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSNoteObjectProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSNoteObjectPropertyImpl extends SKOSObjectPropertyImpl implements SKOSNoteObjectProperty { 39 | public SKOSNoteObjectPropertyImpl(OWLDataFactory dataFactory) { 40 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.NOTE.getURI()))); 41 | } 42 | 43 | public void accept(SKOSPropertyVisitor visitor) { 44 | visitor.visit(this); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSPrefLabelPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSPrefLabelProperty; 7 | import uk.ac.manchester.cs.skos.SKOSAnnotationPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSPrefLabelPropertyImpl extends SKOSAnnotationPropertyImpl implements SKOSPrefLabelProperty { 39 | 40 | public SKOSPrefLabelPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory, IRI.create(SKOSRDFVocabulary.PREFLABEL.getURI())); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSRelatedMatchPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSRelatedMatchProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSRelatedMatchPropertyImpl extends SKOSObjectPropertyImpl implements SKOSRelatedMatchProperty { 39 | 40 | public SKOSRelatedMatchPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.RELATEDMATCH.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSRelatedPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSRelatedProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSRelatedPropertyImpl extends SKOSObjectPropertyImpl implements SKOSRelatedProperty { 39 | 40 | public SKOSRelatedPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.RELATED.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSScopeNoteDataPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSScopeNoteDataProperty; 7 | import uk.ac.manchester.cs.skos.SKOSDataPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Aug 27, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSScopeNoteDataPropertyImpl extends SKOSDataPropertyImpl implements SKOSScopeNoteDataProperty { 39 | public SKOSScopeNoteDataPropertyImpl(OWLDataFactory dataFactory) { 40 | super(dataFactory.getOWLDataProperty(IRI.create(SKOSRDFVocabulary.SCOPENOTE.getURI()))); 41 | } 42 | 43 | public void accept(SKOSPropertyVisitor visitor) { 44 | visitor.visit(this); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSScopeNoteObjectPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSScopeNoteObjectProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSScopeNoteObjectPropertyImpl extends SKOSObjectPropertyImpl implements SKOSScopeNoteObjectProperty { 39 | 40 | public SKOSScopeNoteObjectPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.SCOPENOTE.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | 49 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSSeeLabelRelationPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.extensions.SKOSSeeLabelRelationProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Mar 12, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSSeeLabelRelationPropertyImpl extends SKOSObjectPropertyImpl implements SKOSSeeLabelRelationProperty { 39 | 40 | public SKOSSeeLabelRelationPropertyImpl(OWLDataFactory dataFactory) { 41 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.SEELABELRELATION.getURI()))); 42 | } 43 | 44 | public void accept(SKOSPropertyVisitor visitor) { 45 | visitor.visit(this); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSSemanticRelationPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSSemanticRelationProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSSemanticRelationPropertyImpl extends SKOSObjectPropertyImpl implements SKOSSemanticRelationProperty { 39 | public SKOSSemanticRelationPropertyImpl(OWLDataFactory dataFactory) { 40 | super(dataFactory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.SEMANTICRELATION.getURI()))); 41 | } 42 | 43 | public void accept(SKOSPropertyVisitor visitor) { 44 | visitor.visit(this); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /skos-impl/src/main/java/uk/ac/manchester/cs/skos/properties/SKOSTopConceptOfPropertyImpl.java: -------------------------------------------------------------------------------- 1 | package uk.ac.manchester.cs.skos.properties; 2 | 3 | import org.semanticweb.owlapi.model.IRI; 4 | import org.semanticweb.owlapi.model.OWLDataFactory; 5 | import org.semanticweb.skos.SKOSPropertyVisitor; 6 | import org.semanticweb.skos.properties.SKOSTopConceptOfProperty; 7 | import uk.ac.manchester.cs.skos.SKOSObjectPropertyImpl; 8 | import uk.ac.manchester.cs.skos.SKOSRDFVocabulary; 9 | /* 10 | * Copyright (C) 2007, University of Manchester 11 | * 12 | * Modifications to the initial code base are copyright of their 13 | * respective authors, or their employers as appropriate. Authorship 14 | * of the modifications may be determined from the ChangeLog placed at 15 | * the end of this file. 16 | * 17 | * This library is free software; you can redistribute it and/or 18 | * modify it under the terms of the GNU Lesser General Public 19 | * License as published by the Free Software Foundation; either 20 | * version 2.1 of the License, or (at your option) any later version. 21 | 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 | * Lesser General Public License for more details. 26 | 27 | * You should have received a copy of the GNU Lesser General Public 28 | * License along with this library; if not, write to the Free Software 29 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 | */ 31 | 32 | /** 33 | * Author: Simon Jupp
34 | * Date: Sep 4, 2008
35 | * The University of Manchester
36 | * Bio-Health Informatics Group
37 | */ 38 | public class SKOSTopConceptOfPropertyImpl extends SKOSObjectPropertyImpl implements SKOSTopConceptOfProperty { 39 | public SKOSTopConceptOfPropertyImpl(OWLDataFactory factory) { 40 | super(factory.getOWLObjectProperty(IRI.create(SKOSRDFVocabulary.TOPCONCEPTOF.getURI()))); 41 | } 42 | 43 | public void accept(SKOSPropertyVisitor visitor) { 44 | visitor.visit(this); 45 | } 46 | } 47 | --------------------------------------------------------------------------------