Examples of wrapResourcePropertiesMapResultSet()


Examples of com.google.refine.org.deri.reconcile.rdf.factories.PreviewResourceCannedQuery.wrapResourcePropertiesMapResultSet()

    Query query = QueryFactory.create(sparql, Syntax.syntaxSPARQL_11);
    QueryExecution qExec = QueryExecutionFactory.create(query, model);
   
    ResultSet res = qExec.execSelect();
    Multimap<String, String> map = cannedQuery.wrapResourcePropertiesMapResultSet(res);
    assertEquals(map.size(),2);
    assertEquals(map.get("labels"), Collections.singletonList("EN-Renaud"));
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.