[d2rq-dev] Problem with inference

2011-11-29 Thread Tran Thai Binh
Dear all, I have a problem with inference value. I create two rdf files. One for schema, one for data For schema rdf file, I create subclass a2 of a1, and one dataproperty p1. a2 have definition "a1 and p1 some float[>2]" I expect some instant when I query for a2 but Jena returns nothing. I attac

[d2rq-dev] error with d2rq mapping file

2011-11-24 Thread Tran Thai Binh
Dear, I got error when create a model --- package mappingfile; import com.hp.hpl.jena.query.Query; import com.hp.hpl.jena.query.QueryExecution; import com.hp.hpl.jena.query.QueryExecutionFactory; import com.hp.hpl.jena.query.QueryFactory; import com.hp.hpl.jena.query.ResultSetFormatter; import com

[d2rq-dev] Error with model using mapping file

2011-11-24 Thread Tran Thai Binh
Dear, I got error -- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at de.fuberlin.wiwiss.d2rq.map.ClassMap.(ClassMap.java:29) at de.fuberlin.wiwiss.d2rq.parser.MapParser.parseClassMaps(MapParser.java:339) at de.fuberlin.wiwiss.d2rq.pars

[d2rq-dev] Object Property

2011-11-18 Thread Tran Thai Binh
Dear all, I created a mapping file, then dump it to RDF. In the mapping file I defined a BridgeProperty, I open the RDF file with Protege, unfortunately, the Properties are shown as annotation. How can I define the object property for instant in mapping file? Please help me. Cheers, Binh -- Trần