001/**
002 * Copyright (C) 2007 - 2016, Jens Lehmann
003 *
004 * This file is part of DL-Learner.
005 *
006 * DL-Learner is free software; you can redistribute it and/or modify
007 * it under the terms of the GNU General Public License as published by
008 * the Free Software Foundation; either version 3 of the License, or
009 * (at your option) any later version.
010 *
011 * DL-Learner is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014 * GNU General Public License for more details.
015 *
016 * You should have received a copy of the GNU General Public License
017 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
018 */
019package org.dllearner.utilities;
020
021import org.semanticweb.owlapi.model.IRI;
022import org.semanticweb.owlapi.model.OWLAnnotationProperty;
023import org.semanticweb.owlapi.model.OWLClass;
024import org.semanticweb.owlapi.model.OWLDataFactory;
025import org.semanticweb.owlapi.model.OWLDataProperty;
026import org.semanticweb.owlapi.model.OWLObjectProperty;
027
028import uk.ac.manchester.cs.owl.owlapi.OWLDataFactoryImpl;
029
030public class EnrichmentVocabulary {
031        
032        private static final OWLDataFactory factory = new OWLDataFactoryImpl();
033        
034        //the default namespace
035        public static final String NS = "http://www.dl-learner.org/ontologies/enrichment.owl#";
036        
037        
038        //the classes
039        public static final OWLClass ChangeSet = factory.getOWLClass(IRI.create(NS + "ChangeSet"));
040        
041        public static final OWLClass SuggestionSet = factory.getOWLClass(IRI.create(NS + "SuggestionSet"));
042        
043        public static final OWLClass Suggestion = factory.getOWLClass(IRI.create(NS + "Suggestion"));
044        
045        public static final OWLClass AddSuggestion = factory.getOWLClass(IRI.create(NS + "AddSuggestion"));
046        
047        public static final OWLClass DeleteSuggestion = factory.getOWLClass(IRI.create(NS + "DeleteSuggestion"));
048        
049        public static final OWLClass Parameter = factory.getOWLClass(IRI.create(NS + "Parameter"));
050        
051        public static final OWLClass Creation = factory.getOWLClass(IRI.create(NS + "Creation"));
052        
053        public static final OWLClass AlgorithmRun = factory.getOWLClass(IRI.create(NS + "AlgorithmRun"));
054        
055        public static final OWLClass SPARQLEndpoint = factory.getOWLClass(IRI.create(NS + "SPARQL_Endpoint"));
056        
057        public static final OWLClass OWLFile = factory.getOWLClass(IRI.create(NS + "OWL_File"));
058        
059        
060        //the object properties
061        public static final OWLObjectProperty creator = factory.getOWLObjectProperty(IRI.create(NS + "creator"));
062        
063//      public static final OWLObjectProperty hasAxiom = factory.getOWLObjectProperty(IRI.create(NS + "hasAxiom"));
064        
065        public static final OWLObjectProperty hasChange = factory.getOWLObjectProperty(IRI.create(NS + "hasChange"));
066        
067        public static final OWLObjectProperty hasInput = factory.getOWLObjectProperty(IRI.create(NS + "hasInput"));
068        
069        public static final OWLObjectProperty hasSuggestion = factory.getOWLObjectProperty(IRI.create(NS + "hasSuggestion"));
070        
071        public static final OWLObjectProperty hasParameter = factory.getOWLObjectProperty(IRI.create(NS + "hasParameter"));
072        
073        public static final OWLObjectProperty usedAlgorithm = factory.getOWLObjectProperty(IRI.create(NS + "usedAlgorithm"));
074        
075        public static final OWLObjectProperty defaultGraph = factory.getOWLObjectProperty(IRI.create(NS + "defaultGraph"));
076        
077        
078        //the data properties
079        public static final OWLDataProperty confidence = factory.getOWLDataProperty(IRI.create(NS + "confidence"));
080        
081        public static final OWLDataProperty explanation = factory.getOWLDataProperty(IRI.create(NS + "explanation"));
082        
083        public static final OWLDataProperty parameterName = factory.getOWLDataProperty(IRI.create(NS + "parameterName"));
084        
085        public static final OWLDataProperty parameterValue = factory.getOWLDataProperty(IRI.create(NS + "parameterValue"));
086        
087        public static final OWLDataProperty timestamp = factory.getOWLDataProperty(IRI.create(NS + "timestamp"));
088        
089        public static final OWLDataProperty version = factory.getOWLDataProperty(IRI.create(NS + "version"));
090        
091        public static final OWLDataProperty hasAxiom = factory.getOWLDataProperty(IRI.create(NS + "hasAxiom"));
092        
093        
094        //the annotation properties
095        public static final OWLAnnotationProperty belongsTo = factory.getOWLAnnotationProperty(IRI.create(NS + "belongsTo"));
096        
097}