Re: Writing an ARQ Extension Function

2018-08-09 Thread Lorenz Buehmann
which type? in the function or in the data? both have to match, there is no implicit conversion I guess. On 09.08.2018 21:29, Arunkumar Krishnamoorthy wrote: > But i have given the type as xsd:dateTime, so it should take it right? > > On Thu, Aug 9, 2018 at 3:24 PM, ajs6f wrote: > >>> 13:44:11

Re: feature subset selection using Ontology

2018-08-09 Thread Lorenz Buehmann
I'm not sure what you're asking for here... Prediction needs to train a machine learning (ML) model. Training an ML model, needs to think about relevant features first, then feed the data into the ML algorithm, then use the model to predict things on new data. Why can't you define the relevant

Re: Fuseki on Docker

2018-08-09 Thread Bruno P. Kinoshita
Hi Claude, >I am running the stain/fuseki based version of fuseki on docker. I use the same when running Skosmos or when I want to quickly test something in Jena and don't have my Eclipse workspace. >I am wondering how well the memory mapped files in TDB work inside the >docker container. Or

Re: Writing an ARQ Extension Function

2018-08-09 Thread Arunkumar Krishnamoorthy
But i have given the type as xsd:dateTime, so it should take it right? On Thu, Aug 9, 2018 at 3:24 PM, ajs6f wrote: > > 13:44:11 WARN NodeValue:: Datatype format exception: > > "1969-12-31T19:00:00"^^xsd:date > > No, Jena is just telling you (quite correctly) that

Re: Writing an ARQ Extension Function

2018-08-09 Thread ajs6f
> 13:44:11 WARN NodeValue:: Datatype format exception: > "1969-12-31T19:00:00"^^xsd:date No, Jena is just telling you (quite correctly) that "1969-12-31T19:00:00" is not an xsd:date. Notice the time that is included. xsd:date does not include time. ajs6f > On Aug 9, 2018, at 2:35

RE: Push notification?

2018-08-09 Thread Nouwt, B. (Barry)
Hi Claude, another hack that might work (but is probably a bit devious), is using a GenericRuleReasoner rule instead of a ASK query, like: [myAskRule: (?some pre:pattern bla:Eek) (?some eek:prop "1234"^^xsd:integer) (...) -> print("The condition is TRUE!!!") customBuiltinThatNotifies(?some,

Re: TransactionManager ERROR There are now active transactions

2018-08-09 Thread Dan Pritts
I haven't been following this thread closely, but if you need to log POST (and all other) contents of an HTTP stream, and the application can't log it for you, there are two approaches I'd recommend. 1) sniff the wire.  If you aren't using TLS, this is trivial.  If you are using TLS, it may

Re: Push notification?

2018-08-09 Thread ajs6f
Hey, Claude-- Is it a particular ASK query or just any time any ASK query returns successfully? I don't know enough about ARQ to really answer your question, but a hack might be to see if there is an exact pattern of calls to find() that occur for that ASK and only that ASK on the underlying

Re: exception in 3.7.0 not in 3.6.0

2018-08-09 Thread Claude Warren
I managed to get time to run the build with 3.8.0 and the problem is fixed. with that version. On Thu, Aug 9, 2018 at 3:34 PM, Claude Warren wrote: > I create an RDFConnection to a local Model (from > ModelFactory.createDefaultModel() > ) (yeah I know that is a strange way to go about it but I

Fuseki on Docker

2018-08-09 Thread Claude Warren
I am running the stain/fuseki based version of fuseki on docker. I am wondering how well the memory mapped files in TDB work inside the docker container. Or even if they do at all? Does anyone know? -- I like: Like Like - The likeliest place on the web LinkedIn:

Push notification?

2018-08-09 Thread Claude Warren
Does anyone have a way to have Jena/Fuseki perform push notifications? I am looking for a mechanism whereby I can create an ASK query and be notified when it succeeds. Any ideas would be appreciated. -- I like: Like Like - The likeliest place on the web LinkedIn:

Re: TransactionManager ERROR There are now active transactions

2018-08-09 Thread Andy Seaborne
On 09/08/18 13:20, Mikael Pesonen wrote: Does Fuseki info level log do? No. It does not record the POST content. [3] POST http://semantic-dev.lingsoft.fi:3030/ds Was the database empty to start with? It has all the traffic. Ive got a 400Mb log ready, zipped into 8Mb, here:

Re: exception in 3.7.0 not in 3.6.0

2018-08-09 Thread Andy Seaborne
Sounds familiar. Could you try 3.8.0 please. JENA-1539 On 09/08/18 12:58, Claude Warren wrote: I get the following exception in some code in 3.7.0 but not in 3.6.0 Exception in thread "SemaphoreListener" org.apache.jena.sparql.JenaTransactionException: Already in a transaction of a different

exception in 3.7.0 not in 3.6.0

2018-08-09 Thread Claude Warren
I get the following exception in some code in 3.7.0 but not in 3.6.0 Exception in thread "SemaphoreListener" org.apache.jena.sparql.JenaTransactionException: Already in a transaction of a different type: outer=WRITE : inner=READ The statement is correct. But I thought that a READ was possible

Re: feature subset selection using Ontology

2018-08-09 Thread javed khan
Hello Lorenz, I also have same thinking i.e to make (data property) values (like 1,2,3) > for each feature and then fetch them . For example, we have dataset of a > Student and want to predict their performance, with features, name, > midExam-score, finalExam-score, lecture-attendance, address,

Re: Writing an ARQ Extension Function

2018-08-09 Thread Andy Seaborne
Good question - there is still a noticeable tail of com.hp.hpl, here and on Stackoverflow. Some is due to old apps; that is good in that the software is useful enough to be used for such a long time. I suspect that some of the rest is university courses providing the materials that have not

Re: feature subset selection using Ontology

2018-08-09 Thread Lorenz Buehmann
no no no ... SPARQL is a query language and not a machine learning algorithm. RDF dataset D -> SPARQL query Q -> Q(D) = part of the data by means of graph pattern matching. there is no induction, confidence values, etc.  define "most appropriate", then write the query to select those "features"

Re: feature subset selection using Ontology

2018-08-09 Thread javed khan
Hello Lorenz sorry for inconvenience. Suppose we have a dataset about software effort estimation which have about 100 attributes (line of code, complexity etc). To extract the subset of features (as all 100 attributes are not important), we usually used some data mining algorithms (Genetic