[rdflib-dev] SPARQL issue

2022-06-21 Thread richarddi...@gmail.com
What is wrong with the following? I would expect 233.33 in the last variable. Thank you. d = Graph().parse(data = """ "100"^^. "200"^^

[rdflib-dev] Re: serialisation issue

2021-11-12 Thread richarddi...@gmail.com
Solved: changed accidentally Literal(template) into URIRef(template) Literal(DATA['dv_{}']) works fine. On Friday, November 12, 2021 at 7:33:27 PM UTC+1 richarddi...@gmail.com wrote: > Trace back was > > File > "C:\Users\richa\AppData\Roaming\Python\Python39\s

[rdflib-dev] Re: serialisation issue

2021-11-12 Thread richarddi...@gmail.com
cha\AppData\Roaming\Python\Python39\site-packages\rdflib\term.py", line 268, in n3 raise Exception( Exception: "http://id/sensire/data/dv_{}"; does not look like a valid URI, I cannot serialize this as N3/Turtle. Perhaps you wanted to urlencode it? On Friday, November 12, 2021

[rdflib-dev] serialisation issue

2021-11-12 Thread richarddi...@gmail.com
I do not understand the following while making RML mappings and thus uri templates. mapping.add(( bnode , RR.template , URIRef("dv3{}") )) works fine when serializing :) while DATA = Namespace('http://data/') DATA["dv3{}"] gives at serialisation: "dv3{}" does not look like a valid URI, I can

Re: [rdflib-dev] Python based SPARQl endpoint

2021-11-12 Thread richarddi...@gmail.com
d.net/?_view=reg - large Postgres back-end > > We are working on a next-gen API that auto-configures a lot more: just > give it data and it will work out how to make the API. > > Cheers, > > Nick > > On Tue, Jun 1, 2021 at 5:53 AM richarddi...@gmail.com < > richard

Re: [rdflib-dev] owl2shacl using pyshacl

2021-11-03 Thread richarddi...@gmail.com
com/uwlib-cams/shaclgen a while ago. It does > the job, but could use a good refactoring. Might serve as a starting point? > > Best, > > Miel > > Op wo 3 nov. 2021 om 12:23 schreef richarddi...@gmail.com < > richarddi...@gmail.com>: > >> Dear all, >> >>

[rdflib-dev] owl2shacl using pyshacl

2021-11-03 Thread richarddi...@gmail.com
Dear all, I would love to create shapes from a owl file. Holger has created an initial version . Sparna did updates on it. In my idea pyshacl should be able to create a shapes file bas

Re: [rdflib-dev] Python based SPARQl endpoint

2021-05-31 Thread richarddi...@gmail.com
can be used to handle requests and return responses > in a manner consistent with Linked Data principles of operation. > > The intention is to make it easy to "Linked Data-enable" web APIs. > > These for Django would be cool; it'd be great to be able to use the &

Re: [rdflib-dev] Python based SPARQl endpoint

2021-05-30 Thread richarddi...@gmail.com
RF > - Flask, because I want to reinvent auth/authz for every implementation > - Flask, because it's more async > - ? > > > > On Sun, May 30, 2021, 06:59 richarddi...@gmail.com > wrote: > >> As far as I know no Python based sparql-endpoint (like Fuseki, >>

[rdflib-dev] Python based SPARQl endpoint

2021-05-30 Thread richarddi...@gmail.com
As far as I know no Python based sparql-endpoint (like Fuseki, https://jena.apache.org/documentation/fuseki2/) implementations exist. Do (previous) initiatives exist with this goal? -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdfl

Re: [rdflib-dev] Pyshacl inference

2021-05-27 Thread richarddi...@gmail.com
Without inference during validation the triple is inferred in my environment too. Thank you. On Thursday, May 27, 2021 at 8:07:30 AM UTC+2 richarddi...@gmail.com wrote: > Thank you Boris. I'll have a look. > > On Thursday, May 27, 2021 at 2:54:55 AM UTC+2 Boris Pelakh wrote: &

Re: [rdflib-dev] Pyshacl inference

2021-05-26 Thread richarddi...@gmail.com
ords'), rdflib.term.URIRef('http://example.org#Sam' > )) > > If you turn off inference, it is the only triple added. So perhaps some > sort of an environment issue. > > On Wed, May 26, 2021 at 1:24 PM richarddi...@gmail.com < > richarddi...@gmail.com>

[rdflib-dev] Pyshacl inference

2021-05-26 Thread richarddi...@gmail.com
A new conversation because I can not add a new to the previous. @Boris, Yes, sometimes even inference within TB Composer is complex. So I hoped pyshacl is an alternative. But a minimal running example does not give inferred triples; sorry to be a hard learner. Here I try to infer keyWords for

[rdflib-dev] Deleted message

2021-05-25 Thread richarddi...@gmail.com
Dear rdflib dev's, I wanted to respond in a threat that I have created; but this message was deleted instantly. How is this possible? regards, Richard -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdflib-dev" group. To unsubscrib

Re: [rdflib-dev] Materialize inferred triples

2021-05-21 Thread richarddi...@gmail.com
sed the following to show up in the graph diff: > > (rdflib.term.URIRef('http://kennedys.com/CarolineKennedy'), > rdflib.term.URIRef('http://schema.org/age'), rdflib.term.Literal('64', > datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#integer

Re: [rdflib-dev] Materialize inferred triples

2021-05-20 Thread richarddi...@gmail.com
wn main, you should be > able to inspect the data graph you passed in after running and determine > the new triples introduced. > > On Thu, May 20, 2021 at 11:55 AM richarddi...@gmail.com < > richarddi...@gmail.com> wrote: > >> Using shacl-af withpyshacl -a

[rdflib-dev] Materialize inferred triples

2021-05-20 Thread richarddi...@gmail.com
Using shacl-af withpyshacl -a I want to materialize the inferred triples using shacl-rules. It is however not clear to me in what result the triples are collected. Any hint is appreciated. kind regards, Richard -- http://github.com/RDFLib --- You received this message because you are su

Re: [rdflib-dev] insert with No auth

2020-08-23 Thread richarddi...@gmail.com
need to be remove these lines: > sparql.setHTTPAuth(DIGEST) > sparql.setCredentials("login", "password") > > I hope it helps > > Best, > > Carlos Tejo > > On Thu, Aug 20, 2020 at 12:55 PM richarddi...@gmail.com < > richarddi...@gmail.com> wrote:

[rdflib-dev] insert with No auth

2020-08-20 Thread richarddi...@gmail.com
Dear all, Ik want to insert triples in a sparql endpoint that has no authorisation because it runs on my local machine. I do get an 500 error and assume that is caused by permissions. I do not use any authorisation so both sparql.setHTTPAuth(BASIC or *DIGEST* ) are not approperiate, None is n