Re: TDB transaction documentation Not Found

2012-05-22 Thread Andy Seaborne

On 22/05/12 08:32, Dave Reynolds wrote:

The link from the TDB page is:

http://jena.apache.org/documentation/tdb/tdb_transactions.html

which works.

Dave


On 21/05/12 22:45, Stephan Zednik wrote:

http://jena.apache.org/documentation/tdb/transactions

Not Found

The requested URL /documentation/tdb/transactions was not found on
this server.


--Stephan




Stephan -- where did you find that link?

Andy


RE: Expanding LARQ... (Was: LARQ usage, dependencies)

2012-05-22 Thread 陶信东
Thanks Paolo,

Yes we're planning to change LARQ's code. Below are the changes we want to
make:
1. To replace the default tokenizer with our Chinese tokenizer.
2. To replace the Lucene scores with some other similarity scores, such as
med(query, literal) divided by (query. length + literal. length) (med
means minimum edit distance), which ranges from 0 to 1. 
3. To add a property argument to the pf:textMatch function so that pattern
{?x pf:textMatch (bookxxx 1 ex:authorOf)} bounds ?x to the first object of
property ex:authorOf that matches bookxxx, instead of the first object of
all matches. (I suggested using sparql sub-queries but our sparql users
prefer the extended pf:textMatch.

As to the pom.xml patch, can we change it so that the LARQ dependence point
to our local LARQ.jar, instead of the official maven repository? (I'm not
familiar with maven)


Thanks
Tao

-Original Message-
From: Paolo Castagna [mailto:castagna.li...@googlemail.com] 
Sent: Tuesday, May 22, 2012 4:20 PM
To: users@jena.apache.org
Subject: Expanding LARQ... (Was: LARQ usage, dependencies)

Hi Tao,
if you can share your requirements, that would be great. Maybe others need
the same features/capabilities and we can do something about it together.

I am not sure exactly what you mean with 'expanding LARQ'. Are you changing
LARQ's code?

LARQ is an additional jar which extends ARQ adding support for free text
searches in SPARQL queries. It can be simply added to a classpath of any
Java application using ARQ. Fuseki is one of such applications and the way
you do this with Maven is adding a dependency to LARQ in the Fuseki's
pom.xml file as shown in the patch attached to JENA-63 [1] (for example).
Would that work for you?

Is it the scores you are trying to change [2]? ;-)

Paolo

 [1] https://issues.apache.org/jira/browse/JENA-63
 [2] https://issues.apache.org/jira/browse/JENA-242

Tao wrote:
 Hi Paolo,

 One of our index guys is working on expanding LARQ to meet our own 
 requirements. However, I'm not sure how to assemble it with Fuseki 
 when he finished. Can you suggest how?

 Thanks
 Tao



RDF editor

2012-05-22 Thread 陶信东
Hi everyone,

Is there an RDF editor that can let the users edit RDF data, which may be
stored in TDB and exposed by Joseki/Fuseki? A web-based one is preferred.

I know Protégé and web protégé. But they seem not working when there's
too much data.


Thanks
Tao



Re: RDF editor

2012-05-22 Thread Jean-Marc Vanel
There is EulerGUI; it has a notion of project with several sources,
including SPARQL, and an N3 editor with syntax coloring. For your purpose,
better take EulerGUI minimal [1] .
But if your files are huge, it may not be adapted.
If you really want to edit huge files, gvim [2] with N3 or XML syntax is
the best.

But do you really need to edit huge files ? You can just extract a few
triples with SPARQL (thtough EulerGUI), and send back the modified stuff
with SPARQL 1.1 update.

[1] EulerGUI minimal
https://sourceforge.net/projects/eulergui/files/eulergui/1.11/
[2] gvim http://www.vim.org/download.php

2012/5/22 Tao (陶信东) taoxind...@myhexin.com

 Hi everyone,

 Is there an RDF editor that can let the users edit RDF data, which may be
 stored in TDB and exposed by Joseki/Fuseki? A web-based one is preferred.

 I know Protégé and web protégé. But they seem not working when there's
 too much data.


 Thanks
 Tao




-- 
Jean-Marc Vanel
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/ - EulerGUI, a turntable GUI for Semantic Web +
rules, XML, UML, eCore, Java bytecode
+33 (0)6 89 16 29 52
chat :  irc://irc.freenode.net#eulergui


Re: TDB transaction documentation Not Found

2012-05-22 Thread Stephan Zednik
Sorry, I forgot to mention the source of the bad link. :-P

http://jena.apache.org/documentation/tdb/java_api.html, in Concurrency section.

--Stephan

On May 22, 2012, at 3:09 AM, Andy Seaborne wrote:

 On 22/05/12 08:32, Dave Reynolds wrote:
 The link from the TDB page is:
 
 http://jena.apache.org/documentation/tdb/tdb_transactions.html
 
 which works.
 
 Dave
 
 
 On 21/05/12 22:45, Stephan Zednik wrote:
 http://jena.apache.org/documentation/tdb/transactions
 
 Not Found
 
 The requested URL /documentation/tdb/transactions was not found on
 this server.
 
 
 --Stephan
 
 
 Stephan -- where did you find that link?
 
   Andy