You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(8) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(6) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(13) |
Jun
(18) |
Jul
(9) |
Aug
(7) |
Sep
(2) |
Oct
(31) |
Nov
(2) |
Dec
(2) |
2007 |
Jan
|
Feb
(7) |
Mar
(12) |
Apr
(8) |
May
(8) |
Jun
(10) |
Jul
(7) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(6) |
Jun
(2) |
Jul
|
Aug
(37) |
Sep
(9) |
Oct
(5) |
Nov
(5) |
Dec
(10) |
2009 |
Jan
(10) |
Feb
(9) |
Mar
(3) |
Apr
(4) |
May
(25) |
Jun
(61) |
Jul
(24) |
Aug
(12) |
Sep
(7) |
Oct
(1) |
Nov
(4) |
Dec
(1) |
2010 |
Jan
(12) |
Feb
(14) |
Mar
|
Apr
(1) |
May
|
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(21) |
Oct
(2) |
Nov
|
Dec
(5) |
2011 |
Jan
(3) |
Feb
(7) |
Mar
(1) |
Apr
|
May
(4) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jean-Marc V. <jea...@gm...> - 2013-05-16 19:58:50
|
Hi I tried mvn test with this pom : <dependency> <groupId>org.apache.jena</groupId> <artifactId>jena-tdb</artifactId> <version>0.10.1</version> </dependency> The result is rather bad : Tests run: 235, Failures: 0, Errors: 104, Skipped: 0 I guess that NG4J uses some deep API in Jena, and upgrading is not easy. The context is that I'd like to add NG4J in EulerGUI , a semantic GUI client ( which is up to date with Jena ). -- Jean-Marc Vanel Déductions SARL - Consulting, services, training, Rule-based programming, Semantic Web http://deductions-software.com/ +33 (0)6 89 16 29 52 Twitter: @jmvanel ; chat: irc://irc.freenode.net#eulergui |
From: Anne B. <bj...@si...> - 2012-06-08 12:17:50
|
Hi! I'm playing around with the Semantic Web Cllient Library. I have been trying to get the example from the website to work, but without luck. Could you tell me what is going wrong with it. My code is: public void queryWeb(){ SemanticWebClient semweb = new SemanticWebClient(); semweb.getConfig().setValue(SemanticWebClientConfig.MAXSTEPS, "5" ); // Specify the query. String queryString1 = "PREFIX foaf:<http://xmlns.com/foaf/0.1/> " + "SELECT DISTINCT ?friendsname ?friendshomepage ?foafsname ?foafshomepage " + "WHERE {" + " { <http://richard.cyganiak.de/foaf.rdf#cygri> foaf:knows ?friend ." + " ?friend foaf:mbox_sha1sum ?mbox . " + " ?friendsURI foaf:mbox_sha1sum ?mbox ." + " ?friendsURI foaf:name ?friendsname ." + " ?friendsURI foaf:homepage ?friendshomepage . }" + " OPTIONAL { ?friendsURI foaf:knows ?foaf ." + " ?foaf foaf:name ?foafsname ." + " ?foaf foaf:homepage ?foafshomepage ." + " } " + " }" ; // Execute the query and obtain results. Query query = QueryFactory.create(queryString1); QueryExecution qe = QueryExecutionFactory.create(query, semweb.asJenaModel("default")); ResultSet results = qe.execSelect(); //Output query results. ResultSetFormatter.out(System.out, results, query); List<String> suc = semweb.successfullyDereferencedURIs(); Set<String> unsuc = semweb.unsuccessfullyDereferencedURIs(); semweb.close(); System.out.println("Successfull uris"); for(String s : suc){System.out.println(s);} System.out.println("Unsuccessfull uris"); for(String s : unsuc){System.out.println(s);} } and the result is: INFO: ----------------------------------------------------------------------------------------------- | friendsname | friendshomepage | foafsname | foafshomepage | =============================================================================================== | "Max Völkel" | <http://www.xam.de/> | | | | "Sven Schwarz" | <http://www.dfki.uni-kl.de/~schwarz/> | | | | "Arne Handt" | <http://handtwerk.de/> | | | | "Arne Handt" | <http://www.handtwerk.de<http://www.handtwerk.de/>> | | | | "David Best" | <http://www.david-best.de/> | | | | "Giovanni Tummarello" | <http://g1o.net/> | | | | "Thomas Roth-Berghofer" | <http://thomas.roth-berghofer.de/> | | | | "Robert Tolksdorf" | <http://www.robert-tolksdorf.de<http://www.robert-tolksdorf.de/>> | | | ----------------------------------------------------------------------------------------------- INFO: Successfull uris INFO: Unsuccessfull uris INFO: http://www.david-best.de/foaf.rdf INFO: http://thomas.roth-berghofer.de/foaf.xml INFO: http://www.handtwerk.de/foaf.rdf INFO: http://people.aifb.kit.edu/mvo/foaf.rdf.xml INFO: http://leo.gnowsis.com/outlook/contact/00000000ECD4B99358B9814B9DAFE2255CD8AE9A44B42F00 INFO: http://g1o.net/ INFO: http://g1o.net/g1ofoaf.xml INFO: http://page.mi.fu-berlin.de/best/foaf.rdf INFO: http://www.david-best.de/ So, I don't seem to be able to get on from the original uri???? Kind regards Anne |
From: Marcus C. <li...@ma...> - 2011-12-07 15:37:20
|
I've cloned the CVS repo onto github, and re-created most of this patch against the latest revision. https://github.com/leth/ng4j Regards, Marcus On 10/02/2011 09:20, Marcus Cobden wrote: > Attached is a (gzipped) patch to v0.9.3 which adds java generics to NG4J. > > Also, the patch cleans up a bunch of compiler warnings and tidies up the import statements. > > Regards, > Marcus Cobden |
From: landong z. <lan...@go...> - 2011-10-06 15:12:48
|
Hi, I am using SWPNamedGraphSet.assertWithSignature function to semantically sign two N-triple files with the same semantic statements. The N-triple files are from the different states of the publishing work flow, i.e. before/after the file being loaded into the triple-store. These two files might be slightly different in terms of order-of-triples and naming-of-Bnode. The equality of semantic is proven by Jena Model.isIsomorphic() function as True. Presumably, what I got from two files would be the same signature regardless the meaningless change of the RDF serialisation. However, I am surprised to receive two different signatures from NG4J output. Can anyone help me to understand the cause of difference? or I've missed out any significant concept? Thanks in advance. The following is how the N-triple file is signed: ArrayList<Node> propertiestoBePublished = new ArrayList<Node>(); propertiestoBePublished.add(SWP.X509Certificate); result = set.assertWithSignature(auth, SWP.JjcRdfC14N_rsa_sha1, SWP.JjcRdfC14N_sha1, propertiestoBePublished, p12keystore, password); set.write(output, "RDF/XML", ""); I can attach more details if it would help. Regards, Landong |
From: Cristina S. <csa...@vi...> - 2011-06-13 07:48:25
|
Thanks for the information. Kind regards, Cristina 2011/6/10 Olaf Hartig <ha...@in...> > Hello Cristina, > > No, SWClLib does not support v2 or v3 of the Sindice API. You may > instead use SQUIN (http://squin.org) which -since a few weeks- contains > its own link traversal based query system. This query system provides the > same functionality as SWClLib. I just released a new version of SQUIN for > which I reimplemented the URI search component. This component accesses > v2 of the Sindice API. > > Cheers, > Olaf > > > > On Tuesday 07 June 2011 23:48:34 Cristina Sarasua wrote: > > Hi, > > > > I would like to ask whether the Semantic Web Client Library also supports > > Sindice API v2 or v3. > > > > After running this command: > > > > sh ./bin/semwebquery -verbose -maxsteps 5 -sindice -sparql "PREFIX foaf: > < > > http://xmlns.com/foaf/0.1/> PREFIX rdf: < > > http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?s WHERE {?s > rdf:type > > foaf:Person}" > > > > I get this information: > > > > DEBUG [URISearchThread_16] (SemanticWebClient.java:434) - Searching > failed > > (Execution failed: Unexpected response code: 400 ( > > > http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F > > 0.1%2FPerson)): http://xmlns.com/foaf/0.1/Person > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessingException: > > Execution failed: Unexpected response code: 400 ( > > > http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F > > 0.1%2FPerson ) > > at > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.proc > > ess(HTTPbasedQueryProcessor.java:40) at > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessorSindice.proces > > s(QueryProcessorSindice.java:54) at > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask( > > URISearchThread.java:46) at > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask( > > URISearchThread.java:27) at > > > de.fuberlin.wiwiss.ng4j.semwebclient.threadutils.TaskExecutorBase.run(TaskE > > xecutorBase.java:100) Caused by: > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor$Quer > > yExecutionException: Unexpected response code: 400 ( > > > http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F > > 0.1%2FPerson ) > > at > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.chec > > kResult(HTTPbasedQueryProcessor.java:106) at > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.exec > > uteQuery(HTTPbasedQueryProcessor.java:76) at > > > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.proc > > ess(HTTPbasedQueryProcessor.java:38) ... 4 more > > > > Clicking on the URL referenced I get: > > > > "This api v1 is deprecated and has been disabled. Please switch to api v2 > > or v3. See documentation at http://sindice.com/developers/welcome" > > > > Thanks in advance. > > > > Kind regards, > > > > Cristina > -- Cristina Sarasua Garmendia Investigadora / Researcher eTurismo y Patrimonio / eTourism & Cultural Heritage Vicomtech-IK4 - Visual Interaction Communication Technologies Mikeletegi Pasealekua, 57 - Parque Tecnológico 20009 Donostia - San Sebastián - Spain Tel: +[34] 943 30 92 30 Fax: +[34] 943 30 93 93 e-mail: csa...@vi... www.vicomtech.org *** member of IK4 Research Alliance **** www.ik4.es *** member of GraphicsMedia.net **** www.graphicsmedia.net ----------------------------------------------------- Vicomtech-IK4 is an ISO 9001:2000 certified institute ----------------------------------------------------- Este mensaje se dirige exclusivamente a su destinatario. La información incluida en el presente correo es confidencial sometida a secreto profesional, especialmente en lo que respecta a los datos de carácter personal, cuya divulgación está prohibida, en virtud de la legislación vigente. Si usted no es el destinatario legítimo y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo. En todo caso abstengase de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje así como los ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Cualquier opinión contenida en este correo es exclusiva de su autor y no representa necesariamente la opinión de ASOCIACIÓN CENTRO DE TECNOLOGÍAS DE INTERACCIÓN VISUAL Y COMUNICACIONES VICOMTECH (en adelante Vicomtech-IK4) El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros. Con motivo de la entrada en vigor de la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de la Información y de Comercio Electrónico, le informamos que pueden revocar en cualquier momento, de forma sencilla y gratuita, el consentimiento para la recepción de mensajes de vicomtech.org en inf...@vi.... |
From: Olaf H. <ha...@in...> - 2011-06-10 17:27:28
|
Hello Cristina, No, SWClLib does not support v2 or v3 of the Sindice API. You may instead use SQUIN (http://squin.org) which -since a few weeks- contains its own link traversal based query system. This query system provides the same functionality as SWClLib. I just released a new version of SQUIN for which I reimplemented the URI search component. This component accesses v2 of the Sindice API. Cheers, Olaf On Tuesday 07 June 2011 23:48:34 Cristina Sarasua wrote: > Hi, > > I would like to ask whether the Semantic Web Client Library also supports > Sindice API v2 or v3. > > After running this command: > > sh ./bin/semwebquery -verbose -maxsteps 5 -sindice -sparql "PREFIX foaf: < > http://xmlns.com/foaf/0.1/> PREFIX rdf: < > http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?s WHERE {?s rdf:type > foaf:Person}" > > I get this information: > > DEBUG [URISearchThread_16] (SemanticWebClient.java:434) - Searching failed > (Execution failed: Unexpected response code: 400 ( > http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F > 0.1%2FPerson)): http://xmlns.com/foaf/0.1/Person > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessingException: > Execution failed: Unexpected response code: 400 ( > http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F > 0.1%2FPerson ) > at > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.proc > ess(HTTPbasedQueryProcessor.java:40) at > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessorSindice.proces > s(QueryProcessorSindice.java:54) at > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask( > URISearchThread.java:46) at > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask( > URISearchThread.java:27) at > de.fuberlin.wiwiss.ng4j.semwebclient.threadutils.TaskExecutorBase.run(TaskE > xecutorBase.java:100) Caused by: > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor$Quer > yExecutionException: Unexpected response code: 400 ( > http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F > 0.1%2FPerson ) > at > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.chec > kResult(HTTPbasedQueryProcessor.java:106) at > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.exec > uteQuery(HTTPbasedQueryProcessor.java:76) at > de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.proc > ess(HTTPbasedQueryProcessor.java:38) ... 4 more > > Clicking on the URL referenced I get: > > "This api v1 is deprecated and has been disabled. Please switch to api v2 > or v3. See documentation at http://sindice.com/developers/welcome" > > Thanks in advance. > > Kind regards, > > Cristina |
From: Cristina S. <csa...@vi...> - 2011-06-07 22:17:56
|
Hi, I would like to ask whether the Semantic Web Client Library also supports Sindice API v2 or v3. After running this command: sh ./bin/semwebquery -verbose -maxsteps 5 -sindice -sparql "PREFIX foaf: < http://xmlns.com/foaf/0.1/> PREFIX rdf: < http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?s WHERE {?s rdf:type foaf:Person}" I get this information: DEBUG [URISearchThread_16] (SemanticWebClient.java:434) - Searching failed (Execution failed: Unexpected response code: 400 ( http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson)): http://xmlns.com/foaf/0.1/Person de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessingException: Execution failed: Unexpected response code: 400 ( http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson ) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.process(HTTPbasedQueryProcessor.java:40) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessorSindice.process(QueryProcessorSindice.java:54) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask(URISearchThread.java:46) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask(URISearchThread.java:27) at de.fuberlin.wiwiss.ng4j.semwebclient.threadutils.TaskExecutorBase.run(TaskExecutorBase.java:100) Caused by: de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor$QueryExecutionException: Unexpected response code: 400 ( http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson ) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.checkResult(HTTPbasedQueryProcessor.java:106) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.executeQuery(HTTPbasedQueryProcessor.java:76) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.process(HTTPbasedQueryProcessor.java:38) ... 4 more Clicking on the URL referenced I get: "This api v1 is deprecated and has been disabled. Please switch to api v2 or v3. See documentation at http://sindice.com/developers/welcome" Thanks in advance. Kind regards, Cristina -- Cristina Sarasua Garmendia Investigadora / Researcher eTurismo y Patrimonio / eTourism & Cultural Heritage Vicomtech-IK4 - Visual Interaction Communication Technologies Mikeletegi Pasealekua, 57 - Parque Tecnológico 20009 Donostia - San Sebastián - Spain Tel: +[34] 943 30 92 30 Fax: +[34] 943 30 93 93 e-mail: csa...@vi... www.vicomtech.org *** member of IK4 Research Alliance **** www.ik4.es *** member of GraphicsMedia.net **** www.graphicsmedia.net ----------------------------------------------------- Vicomtech-IK4 is an ISO 9001:2000 certified institute ----------------------------------------------------- Este mensaje se dirige exclusivamente a su destinatario. La información incluida en el presente correo es confidencial sometida a secreto profesional, especialmente en lo que respecta a los datos de carácter personal, cuya divulgación está prohibida, en virtud de la legislación vigente. Si usted no es el destinatario legítimo y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo. En todo caso abstengase de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje así como los ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Cualquier opinión contenida en este correo es exclusiva de su autor y no representa necesariamente la opinión de ASOCIACIÓN CENTRO DE TECNOLOGÍAS DE INTERACCIÓN VISUAL Y COMUNICACIONES VICOMTECH (en adelante Vicomtech-IK4) El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros. Con motivo de la entrada en vigor de la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de la Información y de Comercio Electrónico, le informamos que pueden revocar en cualquier momento, de forma sencilla y gratuita, el consentimiento para la recepción de mensajes de vicomtech.org en inf...@vi.... |
From: Olaf H. <ha...@in...> - 2011-05-16 10:56:10
|
Hey Tim, On Tuesday 10 May 2011 15:29:00 Tim Pizey wrote: > There are later versions available for most dependencies: > [...] > I performed this locally and then built and regenerated site, > so these updates could be applied. Feel free to commit. Unfortunately, I won't find the time in the future to work on NG4J. Greetings, Olaf |
From: Olaf H. <ha...@in...> - 2011-05-16 10:54:36
|
Hey Tim, On Tuesday 10 May 2011 15:13:44 Tim Pizey wrote: > Hi > > I have updated the pom.xml to maven3. > > This means explicit version numbers for all plugins, a retrograde step > in my view. Thanks! > It would be really nice to have the dependency upon GRDDL 0.3 removed, > as this is not in any maven repositories, so I have to host it at > http://paneris.net/maven2/com/hp/hpl/jena/grddl/ I removed GRDDL support in SWClLib (it was already deprecated in NG4J 0.9.1). Cheers, Olaf > The ant build still calls some failing tests, I have not investigated. > > The compile dependency upon com.hp.hpl.jena.jena-2.6.4-tests is a bad > smell. > > CyberNeko HTML Parser is now at version 1.9.14 > > The Maven generated site: http://paneris.net/ng4j/project-reports.html > The Jenkins build: http://jenkins.paneris.net/job/ng4j/ > The maven repository: http://paneris.net/maven2/ > The deployed artifact: > http://paneris.net/maven2/de/fuberlin/wiwss/ng4j/ng4j/ > > cheers > Tim |
From: Tim P. <ti...@pa...> - 2011-05-10 13:29:27
|
There are later versions available for most dependencies: mvn versions:use-latest-versions [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building NG4J 0.9.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- versions-maven-plugin:1.2:use-latest-versions (default-cli) @ ng4j -- - [INFO] Updated antlr:antlr:jar:null:2.7.7 to version 20030911 [INFO] Updated commons-codec:commons-codec:jar:null:1.3 to version 1.5 [INFO] Updated log4j:log4j:jar:null:1.2.14 to version 1.2.16 [INFO] Updated hsqldb:hsqldb:jar:null:1.8.0.7 to version 1.8.0.10 [INFO] Updated junit:junit:jar:null:3.8.2 to version 4.8.2 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.293s [INFO] Finished at: Tue May 10 14:24:28 BST 2011 [INFO] Final Memory: 7M/504M [INFO] ------------------------------------------------------------------------ I performed this locally and then built and regenerated site, so these updates could be applied. cheers Tim -- Tim Pizey http://pizey.net/~timp |
From: Tim P. <ti...@pa...> - 2011-05-10 13:14:12
|
Hi I have updated the pom.xml to maven3. This means explicit version numbers for all plugins, a retrograde step in my view. It would be really nice to have the dependency upon GRDDL 0.3 removed, as this is not in any maven repositories, so I have to host it at http://paneris.net/maven2/com/hp/hpl/jena/grddl/ The ant build still calls some failing tests, I have not investigated. The compile dependency upon com.hp.hpl.jena.jena-2.6.4-tests is a bad smell. CyberNeko HTML Parser is now at version 1.9.14 The Maven generated site: http://paneris.net/ng4j/project-reports.html The Jenkins build: http://jenkins.paneris.net/job/ng4j/ The maven repository: http://paneris.net/maven2/ The deployed artifact: http://paneris.net/maven2/de/fuberlin/wiwss/ng4j/ng4j/ cheers Tim -- Tim Pizey http://pizey.net/~timp |
From: wenlei z. <wen...@gm...> - 2011-03-27 03:32:19
|
Hi, guys When I execute "semwebquery -sparqlfile tabulator-devs.sparql -retrieveduris". I get such result: ----------------------------- | name | mbox | projectName | ============================= ----------------------------- Successfully dereferenced URIs: http://usefulinc.com/ns/doap -------------------------------- The tabulator-devs.sparql's content is as same as Example1 in http://www4.wiwiss.fu-berlin.de/bizer/ng4j/semwebclient/index.html#sindice . However, the result is not the same as the tutorial's. I don't know where the problem comes from. Does anybody know the answer? Thank you very much! Zhou Wenlei |
From: Marcus C. <li...@ma...> - 2011-02-10 09:21:06
|
Attached is a (gzipped) patch to v0.9.3 which adds java generics to NG4J. Also, the patch cleans up a bunch of compiler warnings and tidies up the import statements. Regards, Marcus Cobden |
From: Graeme S. <ac...@gm...> - 2011-02-09 22:17:25
|
On 9 February 2011 21:44, Marcus Cobden <li...@ma...> wrote: > One of the things I wanted was for the inferred triples to be placed in > different graphs, depending on which graphs the antecedents came from. Would > that be possible? > > Yes, this is straightforward. As an example, here's the Jess version of the RDFS rule for inferring the type of a resource from a property domain: ;;; prp-dom: infer resource type from property domain (defrule prp-dom (declare (salience 100)) (logan-quad (graph ?g) (subject ?p) (predicate "http://www.w3.org/2000/01/rdf-schema#domain") (object ?t) ) (logan-quad (graph ?h) (subject ?s) (predicate ?p) (object ?o) ) => (assert (logan-quad (graph "urn://inferred") (subject ?s) (predicate "http://www.w3.org/1999/02/22-rdf-syntax-ns#type") (object ?t) ) ) ) While in this instance the consequent asserts the entailed triple in the "urn://inferred" graph, you can easily set this to be ?g, ?h (the graphs in the anticedents), or define a function that selects somewhere else for it to go. > > Btw: I spent an hour or so today adding generics to all the NG4J classes, > if you're working with NG4J it might make things a bit easier ;) I'll be > posting the diff tomorrow. > > Sounds useful! Cheers, Graeme. |
From: Marcus C. <li...@ma...> - 2011-02-09 22:15:28
|
That's what I've done, thanks. Though I've had to extend about 6 classes along the way, to get down to RETEConflictSet where the magic happens :P The RuleDerivation logs most of the stuff, but not what created the rule in the first place (things like sub-properties create new rules). On 09/02/2011 21:50, Chris Shellenbarger wrote: > The derivation logging object in Jena (RuleDerivation.java) contains the whole picture of what triggered the rule. You'll have to extend/override the area where Jena actually does the logging, but the information that you need is there. > > Hope that helps a little. > > Chris > > -----Original Message----- > From: Marcus Cobden [mailto:li...@ma...] > Sent: Wednesday, February 09, 2011 2:44 PM > To: ng4...@li... > Subject: Re: [namedgraphs] Reasoning with Named Graphs > > Looks promising, thanks! > > One of the things I wanted was for the inferred triples to be placed in different graphs, depending on which graphs the antecedents came from. Would that be possible? > > This isn't possible with the Jena Reasoner: while you can enable derivation logging, it doesn't log what triggered the creation of a rule, so you don't get the full picture. > > Btw: I spent an hour or so today adding generics to all the NG4J classes, if you're working with NG4J it might make things a bit easier ;) I'll be posting the diff tomorrow. > > On 09/02/2011 20:36, Graeme Stevenson wrote: >> Hi Marcus, >> >> I developed an extension for NG4J that uses Jess as a back end. The software is available from [1]. >> >> I didn't get around to finishing the RDFS and OWL rules files for Jess when I first published the code, as work took me in another direction. However, I've turned my attention back to it this week and should hopefully get something online soon. Nevertheless, you can always have a look to see if it fits your needs. >> >> Give me a shout if you've got any questions. >> >> Cheers, >> Graeme. >> >> [1] Logan: http://logan.ontonym.org/ >> >> On 9 February 2011 14:32, Marcus Cobden<li...@ma...<mailto:li...@ma...>> wrote: >> >> Has anyone created a reasoner which works over named graphs? >> >> Thanks, >> Marcus >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> ng4j-namedgraphs mailing list >> ng4...@li...<mailto:ng4...@li...> >> https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs >> >> >> >> >> ---------------------------------------------------------------------- >> -------- The ultimate all-in-one performance toolkit: Intel(R) >> Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> >> >> >> _______________________________________________ >> ng4j-namedgraphs mailing list >> ng4...@li... >> https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs > |
From: Chris S. <chr...@is...> - 2011-02-09 22:06:01
|
The derivation logging object in Jena (RuleDerivation.java) contains the whole picture of what triggered the rule. You'll have to extend/override the area where Jena actually does the logging, but the information that you need is there. Hope that helps a little. Chris -----Original Message----- From: Marcus Cobden [mailto:li...@ma...] Sent: Wednesday, February 09, 2011 2:44 PM To: ng4...@li... Subject: Re: [namedgraphs] Reasoning with Named Graphs Looks promising, thanks! One of the things I wanted was for the inferred triples to be placed in different graphs, depending on which graphs the antecedents came from. Would that be possible? This isn't possible with the Jena Reasoner: while you can enable derivation logging, it doesn't log what triggered the creation of a rule, so you don't get the full picture. Btw: I spent an hour or so today adding generics to all the NG4J classes, if you're working with NG4J it might make things a bit easier ;) I'll be posting the diff tomorrow. On 09/02/2011 20:36, Graeme Stevenson wrote: > Hi Marcus, > > I developed an extension for NG4J that uses Jess as a back end. The software is available from [1]. > > I didn't get around to finishing the RDFS and OWL rules files for Jess when I first published the code, as work took me in another direction. However, I've turned my attention back to it this week and should hopefully get something online soon. Nevertheless, you can always have a look to see if it fits your needs. > > Give me a shout if you've got any questions. > > Cheers, > Graeme. > > [1] Logan: http://logan.ontonym.org/ > > On 9 February 2011 14:32, Marcus Cobden <li...@ma... <mailto:li...@ma...>> wrote: > > Has anyone created a reasoner which works over named graphs? > > Thanks, > Marcus > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... <mailto:ng4...@li...> > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs > > > > > ---------------------------------------------------------------------- > -------- The ultimate all-in-one performance toolkit: Intel(R) > Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ ng4j-namedgraphs mailing list ng4...@li... https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs |
From: Marcus C. <li...@ma...> - 2011-02-09 21:44:27
|
Looks promising, thanks! One of the things I wanted was for the inferred triples to be placed in different graphs, depending on which graphs the antecedents came from. Would that be possible? This isn't possible with the Jena Reasoner: while you can enable derivation logging, it doesn't log what triggered the creation of a rule, so you don't get the full picture. Btw: I spent an hour or so today adding generics to all the NG4J classes, if you're working with NG4J it might make things a bit easier ;) I'll be posting the diff tomorrow. On 09/02/2011 20:36, Graeme Stevenson wrote: > Hi Marcus, > > I developed an extension for NG4J that uses Jess as a back end. The software is available from [1]. > > I didn't get around to finishing the RDFS and OWL rules files for Jess when I first published the code, as work took me in another direction. However, I've turned my attention back to it this week and should hopefully get something online soon. Nevertheless, you can always have a look to see if it fits your needs. > > Give me a shout if you've got any questions. > > Cheers, > Graeme. > > [1] Logan: http://logan.ontonym.org/ > > On 9 February 2011 14:32, Marcus Cobden <li...@ma... <mailto:li...@ma...>> wrote: > > Has anyone created a reasoner which works over named graphs? > > Thanks, > Marcus > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... <mailto:ng4...@li...> > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs > > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs |
From: Graeme S. <ac...@gm...> - 2011-02-09 20:36:39
|
Hi Marcus, I developed an extension for NG4J that uses Jess as a back end. The software is available from [1]. I didn't get around to finishing the RDFS and OWL rules files for Jess when I first published the code, as work took me in another direction. However, I've turned my attention back to it this week and should hopefully get something online soon. Nevertheless, you can always have a look to see if it fits your needs. Give me a shout if you've got any questions. Cheers, Graeme. [1] Logan: http://logan.ontonym.org/ On 9 February 2011 14:32, Marcus Cobden <li...@ma...> wrote: > Has anyone created a reasoner which works over named graphs? > > Thanks, > Marcus > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs > |
From: Marcus C. <li...@ma...> - 2011-02-09 14:50:36
|
Has anyone created a reasoner which works over named graphs? Thanks, Marcus |
From: Frederic R. <fre...@un...> - 2011-01-12 14:57:26
|
Olaf, thanks for taking into account my problem (and for opening your code). Le 12/01/2011 12:53, Olaf Hartig a écrit : > Hello Frédéric, > > You may try to increase the number of maximal depth of link following a bit. > To do this you just have to add the following line after the creation of the > semweb object: > > semweb.getConfig().setValue( SemanticWebClientConfig.MAXSTEPS, "5" ); > > Please report whether that helped. > Well it doesn't changed anything... so I tried another way using a triple query : --------------------------------------------------------- SemanticWebClient semweb = new SemanticWebClient(); semweb.getConfig().setValue(SemanticWebClientConfig.MAXSTEPS,"5"); Triple triple = new Triple( Node.createURI("http://www.w3.org/People/Berners-Lee/card#i"), Node.createURI("http://xmlns.com/foaf/0.1/knows"), Node.ANY ); SemWebIterator iter = semweb.find(triple); System.out.println("find returns"); while (iter.hasNext()) { SemWebTriple t = iter.next(); if (t.predicateMatches(Node.createURI("http://xmlns.com/foaf/0.1/knows"))){ System.out.println("triple match, object="+t.getObject()); } } System.out.println("no more triple"); semweb.close(); --------------------------------------------------------- but it doesnt found anything neither : --------------------------------------------------------- find returns no more triple --------------------------------------------------------- But when I rewrite the triple pattern as : --------------------------------------------------------- Triple triple = new Triple( Node.createURI("http://www.w3.org/People/Berners-Lee/card#i"), Node.ANY, Node.ANY ); --------------------------------------------------------- 58 triple matches are reported : --------------------------------------------------------- find returns triple match, object=http://www.cs.umd.edu/~hendler/2003/foaf.rdf#jhendler triple match, object=http://my.opera.com/chaals/xml/foaf#me triple match, object=http://people.w3.org/simon/foaf#i triple match, object=http://dbpedia.org/resource/John_Gage triple match, object=http://www.lassila.org/ora.rdf#me triple match, object=http://eikeon.com/foaf.rdf#eikeon triple match, object=http://presbrey.mit.edu/foaf.rdf#presbrey triple match, object=http://qdos.com/people/tom.xrdf#me triple match, object=http://www.w3.org/People/Berners-Lee/card#amy triple match, object=http://dbpedia.org/resource/John_Klensin triple match, object=http://www.w3.org/People/EM/contact#me triple match, object=http://www.mindswap.org/2004/owl/mindswappers#Bijan.Parsia triple match, object=http://people.apache.org/~oshani/foaf.rdf#me triple match, object=http://dig.csail.mit.edu/People/RRS triple match, object=http://people.csail.mit.edu/lkagal/foaf#me triple match, object=http://teole.jfouffa.org/People/Teole/card.rdf#me triple match, object=http://www.aaronsw.com/about.xrdf#aaronsw triple match, object=http://dig.csail.mit.edu/2007/wiki/people/JoeLambda#JL triple match, object=http://people.csail.mit.edu/psz/foaf.rdf#me triple match, object=http://dig.csail.mit.edu/People/yosi#YES triple match, object=http://dbpedia.org/resource/Tim_Bray triple match, object=http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf#edd triple match, object=http://web.mit.edu/shinnyih/foaf.rdf# triple match, object=http://danbri.org/foaf#danbri triple match, object=http://rit.mellon.org/Members/ihf/foaf.rdf#me triple match, object=http://dbpedia.org/resource/John_Markoff triple match, object=http://research.microsoft.com/~henrikn/foaf.xml#me triple match, object=http://id.ecs.soton.ac.uk/person/60 triple match, object=http://www.w3.org/People/karl/karl-foaf.xrdf#me triple match, object=http://www.mindswap.org/2004/owl/mindswappers#Jennifer.Golbeck triple match, object=http://id.ecs.soton.ac.uk/person/2686 triple match, object=http://norman.walsh.name/knows/who#norman-walsh triple match, object=http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf#ss triple match, object=http://www.dajobe.org/foaf.rdf#i triple match, object=http://www.isi.edu/~gil/foaf.rdf#me triple match, object=http://web.mit.edu/ruthdhan/www/foaf.rdf#ruthdhan triple match, object=http://my.opera.com/howcome/xml/foaf#howcome triple match, object=http://www.w3.org/People/djweitzner/foaf#DJW triple match, object=http://www.w3.org/People/Connolly/#me triple match, object=http://www.ivan-herman.net/foaf.rdf#me triple match, object=http://id.ecs.soton.ac.uk/person/1269 triple match, object=http://www.w3.org/People/Jacobs/contact.rdf#IanJacobs triple match, object=http://people.csail.mit.edu/ryanlee/about#ryanlee triple match, object=http://inamidst.com/sbp/foaf#Sean triple match, object=http://people.csail.mit.edu/crowell/foaf.rdf#crowell triple match, object=http://myopenlink.net/dataspace/person/kidehen#this triple match, object=http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf#libby triple match, object=http://users.ecs.soton.ac.uk/mc/mcfoaf.rdf#me triple match, object=http://www.kjetil.kjernsmo.net/foaf#me triple match, object=http://id.ecs.soton.ac.uk/person/1650 triple match, object=http://dbpedia.org/resource/John_Seely_Brown triple match, object=http://hometown.aol.com/chbussler/foaf/chbussler.foaf#me triple match, object=http://bblfish.net/people/henry/card#me triple match, object=http://www.cambridgesemantics.com/people/about/lee triple match, object=http://heddley.com/edd/foaf.rdf#edd triple match, object=http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf#cm triple match, object=-6f30c6e0:12d7aaca772:-7fe3 triple match, object=http://dig.csail.mit.edu/2007/wiki/people/RobertHoffmann#RMH no more triple --------------------------------------------------------- does somebody as the same behavior ? Greetings, Fred > Greetings, > Olaf > > > On Monday 10 January 2011 20:42:42 Frederic Raimbault wrote: >> Hi, >> >> I'm trying to run the Java example given in section 5.2 of the >> documentation page >> http://www4.wiwiss.fu-berlin.de/bizer/ng4j/semwebclient/#using >> >> --------------------------------------------------- >> SemanticWebClient semweb = new SemanticWebClient(); >> //Logger.getLogger("de.fuberlin.wiwiss.ng4j.semwebclient").setLevel(Level.T >> RACE); >> >> String queryString = >> "PREFIX foaf:<http://xmlns.com/foaf/0.1/> " + >> "SELECT DISTINCT ?i WHERE {" + >> "<http://www.w3.org/People/Berners-Lee/card#i> foaf:knows ?p . " + >> "?p foaf:interest ?i ." + >> "}"; >> >> Query query = QueryFactory.create(queryString); >> QueryExecution qe = QueryExecutionFactory.create( >> query,semweb.asJenaModel("default")); >> ResultSet results = qe.execSelect(); >> >> ResultSetFormatter.out(System.out, results, query); >> >> //semweb.close(); >> -------------------------------------------------- >> >> The program terminated but returns : >> ----- >> >> | i | >> >> ===== >> ----- >> >> In fact, the simpler query : >> >> ------------------------------------------------------------------- >> "PREFIX foaf:<http://xmlns.com/foaf/0.1/> " + >> "SELECT DISTINCT ?p WHERE {" + >> "<http://www.w3.org/People/Berners-Lee/card#i> foaf:knows ?p . " + >> "}" >> ------------------------------------------------------------------- >> >> doesnt return any triple neither. >> While tracing the execution with the logger I saw this : >> >> ----------------------------------------------------------------- >> Queue result graph:<http://www.w3.org/People/Berners-Lee/card> (76 >> triples) ----------------------------------------------------------------- >> >> so I dont understand why there is no match against the triple set >> retreived from<http://www.w3.org/People/Berners-Lee/card> ... >> >> whats wrong ? >> >> (I'm using ng4j-0.9.3 and jena-2.6.2) >> >> Greetings, > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs |
From: Olaf H. <ha...@in...> - 2011-01-12 11:53:51
|
Hello Frédéric, You may try to increase the number of maximal depth of link following a bit. To do this you just have to add the following line after the creation of the semweb object: semweb.getConfig().setValue( SemanticWebClientConfig.MAXSTEPS, "5" ); Please report whether that helped. Greetings, Olaf On Monday 10 January 2011 20:42:42 Frederic Raimbault wrote: > Hi, > > I'm trying to run the Java example given in section 5.2 of the > documentation page > http://www4.wiwiss.fu-berlin.de/bizer/ng4j/semwebclient/#using > > --------------------------------------------------- > SemanticWebClient semweb = new SemanticWebClient(); > //Logger.getLogger("de.fuberlin.wiwiss.ng4j.semwebclient").setLevel(Level.T > RACE); > > String queryString = > "PREFIX foaf: <http://xmlns.com/foaf/0.1/> " + > "SELECT DISTINCT ?i WHERE {" + > "<http://www.w3.org/People/Berners-Lee/card#i> foaf:knows ?p . " + > "?p foaf:interest ?i ." + > "}"; > > Query query = QueryFactory.create(queryString); > QueryExecution qe = QueryExecutionFactory.create( > query,semweb.asJenaModel("default")); > ResultSet results = qe.execSelect(); > > ResultSetFormatter.out(System.out, results, query); > > //semweb.close(); > -------------------------------------------------- > > The program terminated but returns : > ----- > > | i | > > ===== > ----- > > In fact, the simpler query : > > ------------------------------------------------------------------- > "PREFIX foaf: <http://xmlns.com/foaf/0.1/> " + > "SELECT DISTINCT ?p WHERE {" + > "<http://www.w3.org/People/Berners-Lee/card#i> foaf:knows ?p . " + > "}" > ------------------------------------------------------------------- > > doesnt return any triple neither. > While tracing the execution with the logger I saw this : > > ----------------------------------------------------------------- > Queue result graph: <http://www.w3.org/People/Berners-Lee/card> (76 > triples) ----------------------------------------------------------------- > > so I dont understand why there is no match against the triple set > retreived from <http://www.w3.org/People/Berners-Lee/card> ... > > whats wrong ? > > (I'm using ng4j-0.9.3 and jena-2.6.2) > > Greetings, |
From: Frederic R. <fre...@un...> - 2011-01-10 21:11:00
|
Hi, I'm trying to run the Java example given in section 5.2 of the documentation page http://www4.wiwiss.fu-berlin.de/bizer/ng4j/semwebclient/#using --------------------------------------------------- SemanticWebClient semweb = new SemanticWebClient(); //Logger.getLogger("de.fuberlin.wiwiss.ng4j.semwebclient").setLevel(Level.TRACE); String queryString = "PREFIX foaf: <http://xmlns.com/foaf/0.1/> " + "SELECT DISTINCT ?i WHERE {" + "<http://www.w3.org/People/Berners-Lee/card#i> foaf:knows ?p . " + "?p foaf:interest ?i ." + "}"; Query query = QueryFactory.create(queryString); QueryExecution qe = QueryExecutionFactory.create( query,semweb.asJenaModel("default")); ResultSet results = qe.execSelect(); ResultSetFormatter.out(System.out, results, query); //semweb.close(); -------------------------------------------------- The program terminated but returns : ----- | i | ===== ----- In fact, the simpler query : ------------------------------------------------------------------- "PREFIX foaf: <http://xmlns.com/foaf/0.1/> " + "SELECT DISTINCT ?p WHERE {" + "<http://www.w3.org/People/Berners-Lee/card#i> foaf:knows ?p . " + "}" ------------------------------------------------------------------- doesnt return any triple neither. While tracing the execution with the logger I saw this : ----------------------------------------------------------------- Queue result graph: <http://www.w3.org/People/Berners-Lee/card> (76 triples) ----------------------------------------------------------------- so I dont understand why there is no match against the triple set retreived from <http://www.w3.org/People/Berners-Lee/card> ... whats wrong ? (I'm using ng4j-0.9.3 and jena-2.6.2) Greetings, -- Frédéric Raimbault |
From: Fahad A. <fal...@gm...> - 2010-12-17 12:07:26
|
Thanks Olaf so much, very useful information. Regards, Fahad |
From: Olaf H. <ha...@in...> - 2010-12-16 19:14:34
|
Hey Fahad, On Thursday 16 December 2010 19:50:14 Fahad Alahmari wrote: > [...] > In terms of using SWCILib, how can I avoid the issue of query results > caching. SWClLib does not cache query result. The only thing that SWClLib does which can be understood as something like caching is that it reuses the queried dataset for subsequent queries. This means, it keeps all RDF graphs retrieved during the execution of a query and uses these graphs as the seed data for the execution of the next query. If you want to start the execution of a query with an empty queried dataset, you may use the 'clear' method of the 'SemanticWebClient' object. Or are you talking about SQUIN, which, indeed, caches query results? You can disable the query result cache in SQUIN by using the configuration option squin.servlet.useQueryResultCache - see: http://sourceforge.net/apps/mediawiki/squin/index.php?title=Configure_a_SQUIN_service Greetings, Olaf |
From: Fahad A. <fal...@gm...> - 2010-12-16 18:50:20
|
Hi Olaf, Thank you so much. I got it working properly. foaf:Document needs to be pointed specifically to the vocabulary in the local file. e.g: foaf:Document rdfs:seeAlso <http://localhost:8080/newspaper/vocabulary/news /sports> foaf:Document rdfs:seeAlso <http://localhost:8080/newspaper/vocabulary/news/ national> .... In terms of using SWCILib, how can I avoid the issue of query results caching. Thanks again for help Regards, Fahad |