rather limited. Given that SPIN is not an official standard anyway, why not
> make up your own property and do what you want there?
>
> Holger
>
>
> On 24/11/2017 4:25, Martynas Jusevicius wrote:
>
> Hi,
>
> I am using this code to construct class instance:
Hey,
not completely clear from the SPIN spec
(http://spinrdf.org/spin.html#spin-constructors) -- are multiple
spin:constructor values allowed on the same class?
I don't see why not, but just wanted that clarified.
Thanks.
Martynas
atomgraph.com
--
You received this message because you are
mmon scenario, your
> work-around is to not declare the argument twice, for example by having an
> abstract superclass for both templates, where only the subclasses declare
> :property.
>
> Holger
>
>
> On 29/08/2016 2:06, Martynas Jusevicius wrote:
>
> Hey,
>
Hey,
I have a somewhat artificial use case where both a class and its superclass
each have an spl:Argument with the same predicate, but different
spl:defaultValue, and possibly other properties:
:Template a spin:Template ;
spin:constraint [ a spl:Argument ;
There is also the Data Quality Constraints Library:
http://semwebquality.org/ontologies/dq-constraints
On Wednesday, June 8, 2016 at 6:04:45 PM UTC+2, Jack Hodges wrote:
>
> Thank you Holger. I was not aware that the spl had so many
> constraint-related functions. I tend to look in the SPARQL
Hey Holger,
what is up with the following method in SPINConstructors line 154:
public static void constructInstance(Model queryModel, Resource
instance, Resource type, Model targetModel, List newResources,
Set reachedTypes, ProgressMonitor monitor) {
constructInstance(queryModel,
Holger,
sorry to pick up an old thread.
Why would you want to constrain properties on queries at all? I wouldn't
think they interfere with the rest of your code, as long there is sp:text
among them?
What about adding simple metadata to queries, like dct:title and
dct:description - how do you
Thanks, everything works as expected now.
On Wednesday, March 18, 2015 at 2:22:15 AM UTC+1, Holger Knublauch wrote:
HTH
Holger
On 3/18/2015 11:20, Martynas Jusevicius wrote:
Are you saying all the files in etc/ are now .ttl? sp.ttl, spin.ttl,
spl.spin.ttl?
On Tuesday, March 17
use
the provided function SPIN.getModel().
Thanks
Holger
On 3/17/2015 23:07, Martynas Jusevicius wrote:
I checked the logs, and hopefully the problem is simpler than I thought:
com.hp.hpl.jena.shared.NotFoundException: Not found: etc/spin.rdf
Were the vocabulary files removed from
, Martynas Jusevicius wrote:
The constrains are mostly very simple and look like this:
spin:constraint [ a dqc:MissingProperties ;
sp:arg1 #TemplateItem ;
sp:arg2 gp:slug
] ;
I am not seeing instances of #TemplateItem in the files that you mention.
Are there others
, Martynas Jusevicius wrote:
The instances are not in the ontology, they come from user input and then
both are added to tempModel which is validated.
I have tried to make a standalone test case, but so far unsuccessfully.
On Tuesday, March 17, 2015 at 2:34:02 AM UTC+1, Holger Knublauch wrote
RDF files? How do the constraints look like?
Thanks,
Holger
On 3/17/2015 9:44, Martynas Jusevicius wrote:
Hello,
I have a simple piece code that validates an RDF model against SPIN
constraints:
OntModel tempModel =
ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM
Slight correction: dqc: is imported indirectly, via gp: ontology.
On Tuesday, March 17, 2015 at 1:05:05 AM UTC+1, Martynas Jusevicius wrote:
Yes, everything is identical except the SPIN versions in POM -- yet the
behaviour is different. I just double-checked.
In one instance, with 1.3.1
Hello,
I have a simple piece code that validates an RDF model against SPIN
constraints:
OntModel tempModel =
ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM);
tempModel.add(ontModel).add(model);
SPINModuleRegistry.get().registerAll(tempModel, null);
Hey all,
I have a query string in sp:text that includes relative URIs, for example:
?p ?o
When I parse the query resource with ARQ2SPIN, what comes out instead is:
file:///C:/Program%20Files/Apache%20Software%20Foundation/Apache%20Tomcat%207.0.41/bin/
?p ?o
Is there a way to control
Also looking forward to see SPIN API code on GitHub.
On Wednesday, January 7, 2015 at 12:13:27 AM UTC+1, Holger Knublauch wrote:
On 1/6/2015 19:39, Wim wrote:
Hi,
I'm enjoying TBC 4.6 a lot (I really like the features and the UI), as
well as the SPIN java API which is a great companion
Hey,
I have defined a SPIN query using simplified syntax:
[ a sp:Construct ;
sp:text
CONSTRUCT {
...
}
WHERE {}
] .
I am accessing it as Jena Resource. Now how can I add the triples of the
full SPIN RDF syntax? Can the same query bnode be
Hey Scott,
I had exactly the same question couple of months ago:
http://tech.groups.yahoo.com/group/jena-dev/message/45839
Couldn't get a definitive answer, so ended up using
urn:mimetype:application/vnd.oasis.opendocument.text URI format
which I've seen an example of somewhere.
Martynas
Thanks, that would be great!
I was waiting for SDB 1.3.3 because it was supposed to support
min()/max() functions.
Martynas
On Tue, Feb 1, 2011 at 12:29 AM, Holger Knublauch
hol...@topquadrant.com wrote:
Yes, you need to downgrade again. The issue is that ARQ is evolving to track
the SPARQL
19 matches
Mail list logo