| | 1 | * '''TERM Chooser widget :''' |
| | 2 | * added Autocompeter functions of Scriptaculous.js & prototype.js |
| | 3 | * !http://localhost:8080/ontocat/version0.6/scriptaculous-js-1.8.3/test/functional/test2.html |
| | 4 | * Debug autocompleter not returning results. Try to fill the table Termtokens in file /ontoCAT-restservice/WebContent/version0.6/scriptaculous-js-1.8.3/test/functional/test2.html with terms from http://localhost:8080/ontocat/rest/json/searchAll/ |
| | 5 | * '''Sparql in javascript library. '''Added the javascript library in test.html : http://sparql.org/ |
| | 6 | * Sparql added : Problem at sending sparql "A script from "!http://localhost:8080" was denied !UniversalBrowserRead privileges. Line 333" |
| | 7 | * solution http://www.mail-archive.com/public-semweb-lifesci@w3.org/msg01081.html |
| | 8 | * Failed to get privilege ?UniversalBrowserRead to open }}} |
| | 9 | |
| | 10 | {{{ |
| | 11 | Firefox security won't in general let a script from a given DNS |
| | 12 | }}} |
| | 13 | {{{ |
| | 14 | domain (like www.thefigtrees.net) read web data from a different domain. |
| | 15 | To change this, |
| | 16 | 1. Type into the main browser URI bar "about:config" and hit |
| | 17 | return to get to the config page. |
| | 18 | 2. Scroll down to the line which says |
| | 19 | signed.applets.codebase_principal_support ... user set ... boolean .. |
| | 20 | false and double-click it to change it to 'true'. |
| | 21 | 3. Go back to the web page, and try again. When the browser asks |
| | 22 | you whether to allow the script to access arbitrary web pages, agree. You |
| | 23 | probably want to check the "remember the answer this question" box. |
| | 24 | |
| | 25 | Note that this is reducing the security of your browser. You end up |
| | 26 | allowing any web page on the site to read data from the web, which could |
| | 27 | include data from inside your firewall. |
| | 28 | }}} |
| | 29 | * signed.applets.codebase_principal_support;true |
| | 30 | * Sparql in D2r. |
| | 31 | * Install Jena.[http://jena.sourceforge.net/documentation.html http://jena.sourceforge.net/documentation.html] |
| | 32 | * Download. |
| | 33 | * Set classpath to include Jena Root & d2R root |
| | 34 | * Create new project, copy & include jar fro Jena & D2R. |
| | 35 | * (D:\despoina\workspace\Jena\src\!HelloJena.java) |
| | 36 | * Using Jena's Model Api: ...[http://www4.wiwiss.fu-berlin.de/bizer/d2rq/spec/#usingmodel http://www4.wiwiss.fu-berlin.de/bizer/d2rq/spec/#usingmodel] |
| | 37 | * Use sparql in Jena |
| | 38 | * * //TODO : NExt query a local mapping file : D:\despoina\d2r\d2r-server-0.7\molgenis.n3 (the mapping was generated by d2r) |
| | 39 | * http://jena.sourceforge.net/ARQ/app_api.html |
| | 40 | * http://www.snee.com/bobdc.blog/2006/11/mapping-relational-data-to-rdf.html |
| | 41 | |
| | 42 | * '''Sparql Prefix bindings :''' |
| | 43 | * '''in javascript lib : query.setPrefix("rdf",(or rdfs, xsd,..)''' |
| | 44 | |
| | 45 | ||Prefix||IRI|| |
| | 46 | ||rdf:||!http://www.w3.org/1999/02/22-rdf-syntax-ns#|| |
| | 47 | ||rdfs:||!http://www.w3.org/2000/01/rdf-schema#|| |
| | 48 | ||xsd:||!http://www.w3.org/2001/XMLSchema#|| |
| | 49 | ||fn:||!http://www.w3.org/2005/xpath-functions#|| |