de.fuberlin.wiwiss.semmf.descr
Class MatchingDescriptionReader
java.lang.Object
de.fuberlin.wiwiss.semmf.descr.MatchingDescriptionReader
public abstract class MatchingDescriptionReader
- extends java.lang.Object
This class reads a matching description from an RDF-file and returns
a GraphMatchingDescription object.
NOTE: This class does not validate the correctness of the matching description.
I hope I can add this in the future.
- Version:
- 1.1
last modified on 29.11.2006
- Author:
- Radoslaw Oldakowski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchingDescriptionReader
public MatchingDescriptionReader()
read
public static GraphMatchingDescription read(java.lang.String mdURL,
java.lang.String lang)
- Reads a matching description
- Parameters:
mdURL
- location of the RDF representation of a matching descriptionlang
- - serialization language: "RDF/XML" or "N3"
- Returns:
- SemMF internal representation of a matching description.
readCMD
private static ClusterMatchingDescription readCMD(com.hp.hpl.jena.rdf.model.Model m,
com.hp.hpl.jena.rdf.model.Resource cmdJ)
readNMD
private static NodeMatchingDescription readNMD(com.hp.hpl.jena.rdf.model.Model m,
com.hp.hpl.jena.rdf.model.Resource nmdJ)
readPMD
private static PropertyMatchingDescription readPMD(com.hp.hpl.jena.rdf.model.Model m,
com.hp.hpl.jena.rdf.model.Resource pmdJ)