net.antidot.semantic.rdf.rdb2rdf.r2rml.model.PredicateObjectMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of db2triples Show documentation
Show all versions of db2triples Show documentation
RDB2RDF Implementation from Antidot
/*
* Copyright 2011 Antidot [email protected]
* https://github.com/antidot/db2triples
*
* DB2Triples is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* DB2Triples is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
/***************************************************************************
*
* R2RML Model : PredicateObjectMap Interface
*
* A predicate-object map is a function
* that creates predicate-object pairs from logical
* table rows. It is used in conjunction with a subject
* map to generate RDF triples in a triples map.
*
****************************************************************************/
package net.antidot.semantic.rdf.rdb2rdf.r2rml.model;
import java.util.Set;
public interface PredicateObjectMap {
/**
* A predicate-object map is represented by a resource that references
* one or more predicate maps.
*/
public Set getPredicateMaps();
public void setPredicateMaps(Set predicateMaps);
/**
* A predicate-object map is represented by a resource that references
* one or more object map or one referencing object map. If this method
* returns NULL therefore getReferencingObjectMap method will not.
*/
public Set getObjectMaps();
public void setObjectMaps(Set objectMaps);
/**
* A predicate-object map is represented by a resource that references
* exactly one object map or one referencing object map. If this method
* returns NULL therefore getObjectMap method will not.
*/
public Set getReferencingObjectMaps();
public void setReferencingObjectMap(Set referencingOjectMap);
/**
* Indicates if a ReferencingObjectMap is associated with this
* PredicateObjectMap. If true, it is a ReferencingObjectMap, a "simple"
* ObjectMap otherwise.
*/
public boolean hasReferencingObjectMaps();
/**
* A Predicate Object Map knows in own Triples Map container.
*/
public TriplesMap getOwnTriplesMap();
public void setOwnTriplesMap(TriplesMap ownTriplesMap);
/**
* Any predicate-object map may have one or more associated graph maps.
*/
public Set getGraphMaps();
public void setGraphMaps(Set graphmaps);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy