Questions tagged [spin-rdf]

SPARQL Inferencing Notation (SPIN) is a W3C Member Submission that specifies a SPARQL-based rule and constraint language for the Semantic Web. SPIN is also a mechanism to represent reusable SPARQL queries as templates and to define new SPARQL functions.

From spinrdf.org:

SPIN is a W3C Member Submission that has become the de-facto industry standard to represent SPARQL rules and constraints on Semantic Web models. SPIN also provides meta-modeling capabilities that allow users to define their own SPARQL functions and query templates.

Before you explore SPIN further, you may want to read From SPIN to SHACL.

22 questions
1
vote
1 answer

How to use CONSTRUCT / WHERE in a SPARQL SPIN rule declaration

Summary Thank you in advance for helping me write a CONSTRUCT/WHERE statement that can be declared as a SPIN Rule in TopBraid Composer Free Edition and used. I am trying to embed a SPARQL CONSTRUCT/WHERE statement in a spin:rule declaration and then…
0
votes
1 answer

RDFising data with SPARQL and SPIN

I want to RDFising data, I need construct with a SPARQL query (I'm using SPIN) an object (Book) with two properties (Title and Author). All books have "Title" but sometime haven't "Author". When this happens, it doesn't create this "Book", and I…
Wences
  • 71
  • 8
0
votes
2 answers

Parse Required Bandwidth out of FCC Designator in SPARQL/SPIN?

I need to parse the rather arcane FCC Emission Designator using SPARQL/SPIN from a compound string encoding to values I can easily reason over. The first task is to get the "required bandwidth" out of the designator. Here are examples of what the…
Greg Cox
  • 287
  • 1
  • 12
0
votes
0 answers

Executing SPIN rule outside of TBC

I created a spin rule with TBC to query my ontology. I don't want to use TopBraid Composer every time I want to execute the SPIN rule. Is there anyway to automatic invoke the SPIN rule. I heard about the SPIN API. Anybody got some code examples how…
Richy
  • 27
  • 6
0
votes
1 answer

Plug in for Protege to Create/Edit SPIN Constraints and Constructors?

Is there a plug-in or other means to create and edit SPARQL/SPIN constraints and constructors in Protege? As I understand it, to capture SPIN constraints in RDF, the SPARQL code for the ASK or CONSTRUCT queries needs to be parsed and encoded. …
Greg Cox
  • 287
  • 1
  • 12
0
votes
0 answers

How to call a registered SPIN function in Allegrograph with AGWebView?

I'm using Allegrograph as my triplestore and I try to use SPIN functions. I managed to register a simple SPIN function via the HTTP API of the AGWebView tool. Now, I'm trying to call the SPIN function in a SPARQL query, but AGWebView tells me it…
0
votes
1 answer

Multithreading in SPIN model checker

How do we parametrize the SPIN model with the number of threads? I am using the standard SPIN model checker. Does it have options to set the number of parallel threads? I checked the reference but didn't find anything useful
sheetal_158
  • 7,391
  • 6
  • 27
  • 44
1
2