Patrick Westphal

Results 18 issues of Patrick Westphal

When the SPARQL query ``` SELECT (count(?res) AS ?count) { SELECT DISTINCT ?res { ?s ?p1 ?res . ?res ?p2 ?o } } ``` Sparqlify raises this error: ``` [...]...

bug

Due to an erroneous mapping definition Sparqlify should try to create a URI based on a string like 'foo-bar:FooBar' (uri(?tt)) When firing a query like ``` DESCRIBE ``` via the...

The `hashCode` function of the `util.HashMap` class generates the same hash for, e.g. 23 and '23' (integer and string type, respectively). In this respect the function behaves differently than many...

bug
question

In the devel branch's util.Serializer there is a comment for the `indexClasses` function that (as far as I can interpret) states that a namespace is expected to be a JavaScript...

enhancement
help wanted

In the `NodeFactory`'s method `createFromTalisRdfJson` typed literals are only created when the type `typed-literal` is provided. According to the [RDF 1.1 JSON Alternate Serialization](http://www.w3.org/TR/rdf-json/#overview-of-rdf-json) specs the type must be >...

question

In the `lib/rdf/rdf_datatype/` directory there are the following classes defined: | _«abstract»_RdfDatatype | | --- | | _getUri()__unparse()__parse()_ | | BaseDatatype _(extends RdfDatatype)_ | | --- | | getUri()unparse(value)parse(str)toString() |...

question

In the `NodeFactory` there are two ways to create a blank node (`bNode`): - [`NodeFactory.createAnon(anonId)`](https://github.com/GeoKnow/Jassa-Core/blob/master/lib/rdf/node-factory.js#L28-L30) - [`NodeFactory.createFromTalisRdfJson(talisJson)`](https://github.com/GeoKnow/Jassa-Core/blob/master/lib/rdf/node-factory.js#L83-L115) (e.g. called with `var talisJson = { value : '_:anna', type : 'bnode'...

question

When having set a Sponate mapping, e.g. via ``` js store.addMap({ name: 'castles', template: [{ id: '?s', name: '?l', depiction: '?d', }], from: '{ Select * { ?s a dbpedia-owl:Castle...

enhancement