Package edu.isi.karma.kr2rml.planning

Examples of edu.isi.karma.kr2rml.planning.TriplesMap


    }
    if (objectUri.indexOf("<") != -1 && objectUri.indexOf(">") != -1) {
      String tmp = objectUri.substring(1, objectUri.length() - 1);
      objectUri = "<" + normalizeURI(tmp) + ">";
    }
    TriplesMap subjTriplesMap = predicateObjectMap.getTriplesMap();
    bloomFilterManager.addUriToBloomFilter(subjTriplesMap.getId(), subjUri);
    if(predicateUri.equalsIgnoreCase(formattedTypeURI))
    {
      return;
    }
    bloomFilterManager.addUriToBloomFilter(predicateObjectMap.getId(), subjUri);
View Full Code Here


      String literalType) {
    if (subjUri.indexOf("<") != -1 && subjUri.indexOf(">") != -1) {
      String tmp = subjUri.substring(1, subjUri.length() - 1);
      subjUri = "<" + normalizeURI(tmp) + ">";
    }
    TriplesMap subjTriplesMap = predicateObjectMap.getTriplesMap();
    bloomFilterManager.addUriToBloomFilter(subjTriplesMap.getId(), subjUri);
    if(predicateUri.equalsIgnoreCase(formattedTypeURI))
    {
      return;
    }
    bloomFilterManager.addUriToBloomFilter(predicateObjectMap.getId(), subjUri);
View Full Code Here

      String literalType, String graph) {
    if (subjUri.indexOf("<") != -1 && subjUri.indexOf(">") != -1) {
      String tmp = subjUri.substring(1, subjUri.length() - 1);
      subjUri = "<" + normalizeURI(tmp) + ">";
    }
    TriplesMap subjTriplesMap = predicateObjectMap.getTriplesMap();
    bloomFilterManager.addUriToBloomFilter(subjTriplesMap.getId(), subjUri);
    if(predicateUri.equalsIgnoreCase(formattedTypeURI))
    {
      return;
    }
    bloomFilterManager.addUriToBloomFilter(predicateObjectMap.getId(), subjUri);
View Full Code Here

      RefObjectMap rfMap = pom.getObject().getRefObjectMap();
      URI rfUri = f.createURI(Namespaces.KARMA_DEV + rfMap.getId());
      con.add(rfUri, RDF.TYPE, repoURIs.get(Uris.RR_REF_OBJECT_MAP_CLASS_URI));
      con.add(rfUri, RDF.TYPE, repoURIs.get(Uris.RR_OBJECTMAP_CLASS_URI));
     
      TriplesMap prMap = rfMap.getParentTriplesMap();
      URI prMapUri = f.createURI(Namespaces.KARMA_DEV + prMap.getId());
      con.add(rfUri, repoURIs.get(Uris.RR_PARENT_TRIPLE_MAP_URI), prMapUri);
      con.add(rfUri, repoURIs.get(Uris.KM_IS_PART_OF_MAPPING_URI), mappingRes);
      con.add(mappingRes, repoURIs.get(Uris.KM_HAS_OBJECT_MAP_URI), rfUri);
      // Add the RefObjectMap as the object map of current POMap
      con.add(pomUri, repoURIs.get(Uris.RR_OBJECTMAP_URI), rfUri);
View Full Code Here

      SPARQLGeneratorUtil genObj = new SPARQLGeneratorUtil();
      String query = null;
      if(rootNodeId != null) {
 
        List<TriplesMap> triples = mappingGen.getKR2RMLMapping().getTriplesMapList();
        TriplesMap root_node = null;
        // get the root node first
        for (TriplesMap row : triples) {
          if (row.getSubject().getId().equalsIgnoreCase(rootNodeId) ) {
            root_node = row;
            break;
View Full Code Here

TOP

Related Classes of edu.isi.karma.kr2rml.planning.TriplesMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.