├── VERSION ├── cpack ├── .gitignore └── README.txt ├── etc ├── server │ ├── passwd │ ├── README.md │ └── server-key.pem └── README.txt ├── Windows ├── .gitignore ├── Makefile ├── README.TXT └── win-config.c ├── lib ├── cpack │ ├── DEFAULTS.in │ ├── config-available.pl.in │ ├── README.md.in │ ├── pack.ttl.in │ └── TODO.txt ├── bundles │ ├── README.txt │ └── html_page.pl ├── semweb │ ├── README │ └── rdf_description.pl ├── README.txt ├── APPCONF.txt.in ├── http │ └── cp_jquery.pl └── bundle.pl ├── web ├── help │ ├── cpack │ │ ├── ConfigAvailable.txt │ │ ├── Installing.txt │ │ ├── Finding.txt │ │ ├── index.txt │ │ ├── Status.txt │ │ ├── Submitting.txt │ │ ├── granularity.txt │ │ ├── profile.txt │ │ └── Creating.txt │ ├── alert.gif │ ├── GnuEmacsIconOrig.png │ ├── howto │ │ ├── LOD.txt │ │ ├── LocalView.txt │ │ ├── CustomContext.txt │ │ ├── ExploreRDF.txt │ │ ├── ClientAuth.txt │ │ ├── LinkBrowser.txt │ │ ├── LoadRDF.txt │ │ ├── fulltext.txt │ │ └── prophier.pl │ ├── error.svg │ ├── Developing.txt │ ├── memusage.txt │ ├── Browsers.txt │ ├── Download.txt │ ├── versions.txt │ ├── Plugin.txt │ ├── functionality.txt │ ├── index.txt │ ├── restart.txt │ ├── CreateProject.txt │ ├── mbox.pl │ ├── Install.txt │ └── QueryLanguages.txt ├── icons │ ├── doc.png │ ├── th.png │ ├── black40.png │ ├── favicon.ico │ ├── journal.png │ ├── menu-bg.png │ ├── snapshot.png │ ├── title-bg.png │ ├── ul-node.png │ ├── ul-vline.png │ ├── volatile.png │ ├── ul-lastnode.png │ ├── cliopatria-logo.png │ ├── smiley-thinking.gif │ ├── menu-bg-highlight.png │ └── external-link-ltr-icon.png ├── yui │ └── 2.7.0 │ │ ├── build │ │ ├── assets │ │ │ └── skins │ │ │ │ └── sam │ │ │ │ └── sprite.png │ │ ├── treeview │ │ │ └── assets │ │ │ │ └── skins │ │ │ │ └── sam │ │ │ │ ├── treeview-sprite.gif │ │ │ │ ├── treeview-loading.gif │ │ │ │ └── treeview.css │ │ └── autocomplete │ │ │ └── assets │ │ │ └── skins │ │ │ └── sam │ │ │ └── autocomplete.css │ │ └── examples │ │ └── treeview │ │ └── assets │ │ ├── img │ │ └── folders │ │ │ ├── lm.gif │ │ │ ├── lmh.gif │ │ │ ├── ln.gif │ │ │ ├── lp.gif │ │ │ ├── lph.gif │ │ │ ├── tm.gif │ │ │ ├── tmh.gif │ │ │ ├── tn.gif │ │ │ ├── tp.gif │ │ │ ├── tph.gif │ │ │ ├── vline.gif │ │ │ └── loading.gif │ │ └── css │ │ └── folders │ │ └── tree.css ├── css │ ├── fix_menu.css │ ├── ul_tree.css │ ├── rdf.css │ ├── plain.css │ ├── menu.css │ └── httpdoc.css ├── tutorial │ ├── index.txt │ ├── Parsia │ │ ├── xmlhack.xsl │ │ ├── dcgscript.pl │ │ └── scriptresult.html │ ├── PirateExercises.txt │ ├── Piracy.txt │ ├── PiratePage.txt │ ├── LoadPirates.txt │ └── InstallPiracy.txt ├── html │ ├── git-versions.html │ ├── help-config.html │ └── welcome.html └── js │ ├── cliopatria.js │ └── api_test.js ├── win-config.exe ├── client └── Java │ ├── compile │ ├── Makefile │ ├── SesameAddData.java │ ├── SesameTest.java │ └── SesameExtractRDF.java ├── rdfql ├── README.txt └── TODO ├── rdf ├── tool │ ├── Manifest.ttl │ └── graphviz.ttl ├── cpack │ └── Manifest.ttl ├── README.txt └── base │ ├── owlfull.owl │ ├── dcam.rdf │ ├── eor.rdfs │ └── Manifest.ttl ├── .gitignore ├── applications ├── README.txt └── help │ └── .fileheader ├── config-available ├── DEFAULTS ├── flint.pl ├── config.pl ├── store.pl ├── zlib.pl ├── 020-prefixes.pl ├── localhost.pl ├── logging.pl ├── cache.pl ├── pengines.pl ├── README.txt ├── rdfpath.pl ├── skin_fix_menu.pl ├── https.pl ├── authenticate.pl └── lod.pl ├── .gitmodules ├── scripts ├── cliopatria.service └── newversion ├── api ├── README.txt ├── pengines.pl └── journal.pl ├── components └── README.txt ├── entailment ├── README.txt ├── load.pl └── none.pl ├── TODO.txt ├── test ├── README └── test_errors.pl ├── configure ├── w3c └── wiki.txt ├── LICENSE ├── .fileheader ├── run.pl.in └── daemon.pl.in /VERSION: -------------------------------------------------------------------------------- 1 | 3.1.1 2 | -------------------------------------------------------------------------------- /cpack/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /etc/server/passwd: -------------------------------------------------------------------------------- 1 | apenoot1 2 | -------------------------------------------------------------------------------- /cpack/README.txt: -------------------------------------------------------------------------------- 1 | ---+ Packages 2 | -------------------------------------------------------------------------------- /Windows/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | win-config.exe 3 | -------------------------------------------------------------------------------- /lib/cpack/DEFAULTS.in: -------------------------------------------------------------------------------- 1 | config(!NAME!, link). 2 | -------------------------------------------------------------------------------- /web/help/cpack/ConfigAvailable.txt: -------------------------------------------------------------------------------- 1 | ---+ Filling config-available 2 | -------------------------------------------------------------------------------- /win-config.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/win-config.exe -------------------------------------------------------------------------------- /web/help/alert.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/help/alert.gif -------------------------------------------------------------------------------- /web/icons/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/doc.png -------------------------------------------------------------------------------- /web/icons/th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/th.png -------------------------------------------------------------------------------- /web/icons/black40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/black40.png -------------------------------------------------------------------------------- /web/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/favicon.ico -------------------------------------------------------------------------------- /web/icons/journal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/journal.png -------------------------------------------------------------------------------- /web/icons/menu-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/menu-bg.png -------------------------------------------------------------------------------- /web/icons/snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/snapshot.png -------------------------------------------------------------------------------- /web/icons/title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/title-bg.png -------------------------------------------------------------------------------- /web/icons/ul-node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/ul-node.png -------------------------------------------------------------------------------- /web/icons/ul-vline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/ul-vline.png -------------------------------------------------------------------------------- /web/icons/volatile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/volatile.png -------------------------------------------------------------------------------- /lib/cpack/config-available.pl.in: -------------------------------------------------------------------------------- 1 | :- module(conf_@NAME@, []). 2 | 3 | /** @TITLE@ 4 | */ 5 | 6 | -------------------------------------------------------------------------------- /web/icons/ul-lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/ul-lastnode.png -------------------------------------------------------------------------------- /web/help/GnuEmacsIconOrig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/help/GnuEmacsIconOrig.png -------------------------------------------------------------------------------- /web/icons/cliopatria-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/cliopatria-logo.png -------------------------------------------------------------------------------- /web/icons/smiley-thinking.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/smiley-thinking.gif -------------------------------------------------------------------------------- /lib/cpack/README.md.in: -------------------------------------------------------------------------------- 1 | # [ClioPatria](http://cliopatria.swi-prolog.org) cpack @NAME@ -- @TITLE@ 2 | 3 | @DESCRIPTION@ 4 | -------------------------------------------------------------------------------- /web/icons/menu-bg-highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/menu-bg-highlight.png -------------------------------------------------------------------------------- /client/Java/compile: -------------------------------------------------------------------------------- 1 | 2 | test=$1 3 | 4 | javac -classpath /swi40/jan/src/openrdf/build/lib/sesame.jar:. Sesame$test.java 5 | -------------------------------------------------------------------------------- /web/icons/external-link-ltr-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/icons/external-link-ltr-icon.png -------------------------------------------------------------------------------- /web/yui/2.7.0/build/assets/skins/sam/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/build/assets/skins/sam/sprite.png -------------------------------------------------------------------------------- /rdfql/README.txt: -------------------------------------------------------------------------------- 1 | ---+ RDF Query languages 2 | 3 | This directory contains the implementation for standard RDF query 4 | languages: SPARQL en SeRQL. 5 | -------------------------------------------------------------------------------- /lib/bundles/README.txt: -------------------------------------------------------------------------------- 1 | ---+ Library bundles 2 | 3 | This directory holds library `bundles': include files that bundle a set 4 | of libraries and declarations. 5 | -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/lm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/lm.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/lmh.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/lmh.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/ln.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/ln.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/lp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/lp.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/lph.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/lph.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/tm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/tm.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/tmh.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/tmh.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/tn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/tn.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/tp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/tp.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/tph.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/tph.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/vline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/vline.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/examples/treeview/assets/img/folders/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/examples/treeview/assets/img/folders/loading.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/build/treeview/assets/skins/sam/treeview-sprite.gif -------------------------------------------------------------------------------- /web/yui/2.7.0/build/treeview/assets/skins/sam/treeview-loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ClioPatria/ClioPatria/HEAD/web/yui/2.7.0/build/treeview/assets/skins/sam/treeview-loading.gif -------------------------------------------------------------------------------- /web/css/fix_menu.css: -------------------------------------------------------------------------------- 1 | /* Fix the position of the menu and search-form 2 | */ 3 | 4 | div.menu 5 | { position: fixed; 6 | } 7 | 8 | #search_form 9 | { position: fixed; 10 | right: 0.5em; 11 | } 12 | -------------------------------------------------------------------------------- /lib/semweb/README: -------------------------------------------------------------------------------- 1 | ---+ Extensions to the Semantic Web library 2 | 3 | ---++ History management 4 | 5 | The library rdf_history.pl will deal with streamlining and querying the 6 | modification history, aiming at multiuser Wiki style editing 7 | -------------------------------------------------------------------------------- /rdf/tool/Manifest.ttl: -------------------------------------------------------------------------------- 1 | @prefix lib: . 2 | @prefix dcterms: . 3 | 4 | 5 | a lib:Schema ; 6 | dcterms:title "Customise GraphViz rendering of resources" . 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | RDF-store 3 | cache 4 | settings.db 5 | users.db 6 | .pl-history 7 | httpd.log 8 | doc/Makefile 9 | doc/config.log 10 | doc/config.status 11 | doc/serql.tex 12 | run.pl 13 | daemon.pl 14 | config-enabled 15 | cpack-mirrors 16 | -------------------------------------------------------------------------------- /Windows/Makefile: -------------------------------------------------------------------------------- 1 | CC=i686-w64-mingw32-gcc 2 | LIBS=-ladvapi32 3 | 4 | all: win-config.exe 5 | 6 | win-config.exe: win-config.c 7 | $(CC) -Wall -o $@ $< $(LIBS) 8 | 9 | install: 10 | cp win-config.exe .. 11 | 12 | clean: 13 | rm win-config.exe *~ 14 | -------------------------------------------------------------------------------- /applications/README.txt: -------------------------------------------------------------------------------- 1 | ---+ ClioPatria applications 2 | 3 | A _application_ in ClioPatria speech is an HTPP handler and accompanying 4 | predicate that produces a complete HTML page 5 | 6 | Applications typically make use of _components_ that are defined in the 7 | directory ../components. 8 | -------------------------------------------------------------------------------- /client/Java/Makefile: -------------------------------------------------------------------------------- 1 | CLASSPATH=/swi40/jan/src/openrdf/build/lib/sesame.jar 2 | 3 | CLASS= SesameTest.class \ 4 | SesameAddData.class 5 | 6 | all: $(CLASS) 7 | 8 | SesameTest.class: SesameTest.java 9 | javac -classpath $(CLASSPATH) $< 10 | 11 | SesameAddData.class: SesameAddData.java 12 | javac -classpath $(CLASSPATH) $< 13 | -------------------------------------------------------------------------------- /web/help/cpack/Installing.txt: -------------------------------------------------------------------------------- 1 | ---+ Installing a CPACK 2 | 3 | Once you have [[found][Finding.txt]] a CPACK, it can be installed using 4 | the predicate cpack_install/1 as documetented below. By default, 5 | cpack_install/1 searches the central server. This can be changed by 6 | creating a CPACK [[profile][profile.txt]]. 7 | 8 | * [[cpack_install/1]] 9 | 10 | -------------------------------------------------------------------------------- /web/tutorial/index.txt: -------------------------------------------------------------------------------- 1 | ---+ ClioPatria tutorials 2 | 3 | - An [[Open Linked Piracy][Piracy.txt]] tutorial 4 | - [[RDF Applications with Prolog][]], an updated 5 | version of an article written by Bijan Parsia for xml.com. 6 | 7 | @see [[SWI-Prolog HOWTOs][http://www.swi-prolog.org/howto/]] 8 | @see [[Learn Prolog Now!][http://www.learnprolognow.org/]] 9 | -------------------------------------------------------------------------------- /rdf/cpack/Manifest.ttl: -------------------------------------------------------------------------------- 1 | @prefix lib: . 2 | @prefix dcterms: . 3 | @prefix cpack: . 4 | 5 | 6 | a lib:Schema ; 7 | a lib:Virtual ; 8 | dcterms:title "ClioPatria package vocabulary" ; 9 | lib:source cpack: ; 10 | lib:schema . 11 | 12 | -------------------------------------------------------------------------------- /config-available/DEFAULTS: -------------------------------------------------------------------------------- 1 | % Default action when creating an empty configuration directory. 2 | 3 | config('config.pl', link). 4 | config('store.pl', link). 5 | config('network.pl', copy). 6 | config('winpath.pl', link) :- 7 | current_prolog_flag(windows, true). 8 | config('zlib.pl', link) :- 9 | exists_source(library(zlib)). 10 | config('pengines.pl', copy) :- 11 | exists_source(library(pengines)). 12 | 13 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "test/Tests/sparql-1.1"] 2 | path = test/Tests/sparql-1.1 3 | url = ../sparql-1.1-test-cases.git 4 | [submodule "web/yasqe"] 5 | path = web/yasqe 6 | url = https://github.com/YASGUI/YASQE.git 7 | [submodule "web/yasr"] 8 | path = web/yasr 9 | url = https://github.com/YASGUI/YASR.git 10 | [submodule "test/Tests/sparql"] 11 | path = test/Tests/sparql 12 | url = ../sparql-1.1-test-cases.git 13 | -------------------------------------------------------------------------------- /lib/README.txt: -------------------------------------------------------------------------------- 1 | ---+ ClioPatria library extensions 2 | 3 | This directory contains files that are candidate for the SWI-Prolog core 4 | libraries. ClioPatria places it at the start of the standard library 5 | search path. They should be loaded using a normal library loading call 6 | as below, so they can be moved to the SWI-Prolog library without 7 | affecting the application. 8 | 9 | == 10 | :- use_module(library(xyx)). 11 | == 12 | -------------------------------------------------------------------------------- /scripts/cliopatria.service: -------------------------------------------------------------------------------- 1 | # ClioPatria systemd unit 2 | 3 | [Unit] 4 | Description=ClioPatria 5 | 6 | [Service] 7 | UMask=022 8 | Environment=LANG=en_US.utf8 9 | Restart=on-failure 10 | StartLimitInterval=60 11 | StartLimitBurst=5 12 | WorkingDirectory=/home/cliopatria/src/ClioPatria/demo 13 | ExecStart=/usr/bin/swipl daemon.pl --no-fork --port=80 --user=www-data 14 | 15 | [Install] 16 | WantedBy=multi-user.target 17 | ================================================================ 18 | -------------------------------------------------------------------------------- /api/README.txt: -------------------------------------------------------------------------------- 1 | ---+ ClioPatria APIs 2 | 3 | An API is an HTTP handler with accompagnying predicate, but unlike 4 | applications (see ../applications), APIs are targetted on 5 | machine-to-machine interaction. The response-type from an API is 6 | typically either XML or JSON. 7 | 8 | The choice between XML and JSON is sometimes described by standards. 9 | JSON is often the preferred format if the intended client is a 10 | web-browser (using AJAX interaction). 11 | -------------------------------------------------------------------------------- /web/help/cpack/Finding.txt: -------------------------------------------------------------------------------- 1 | ---+ Finding a CPACK 2 | 3 | Available packages can be searched for on a CPACK server. The central 4 | server is 5 | 6 | * http://cliopatria.swi-prolog.org/ 7 | 8 | After locating the name of the desired package, it can be added to your 9 | running ClioPatria instance using the command below. This automatically 10 | installs dependencies that might be required by the package. See 11 | [[installing][Installing.txt]] for details. 12 | 13 | == 14 | ?- cpack_install(). 15 | == 16 | 17 | -------------------------------------------------------------------------------- /rdfql/TODO: -------------------------------------------------------------------------------- 1 | ---+ SPARQL TODO List 2 | 3 | * Complete SORT BY: 4 | * Compare order in test-cases 5 | * Value-specific comparison 6 | * Compare expression results (e.g., ASC(?a+?b)) 7 | 8 | * Implement value based semantics in xsd:dateTime 9 | 10 | * { ?x ?y 1 } cannot be mapped to rdf(X, Y, literal(type(xsd:integer, '1'))) 11 | because it must match :a :b "01"^^xsd:integer. 12 | 13 | * Does SPARQL define a total ordering of literals? If so, we may use 14 | this for the literal AVL-tree and speedup some of these queries a 15 | lot. 16 | 17 | -------------------------------------------------------------------------------- /web/help/cpack/index.txt: -------------------------------------------------------------------------------- 1 | ---+ CPACK: the ClioPatria package management system 2 | 3 | CPACK is the ClioPatria package management system, i.e., the CPAN, CTAN, 4 | ... for ClioPatria. The central package server is located at 5 | http://cliopatria.swi-prolog.org 6 | 7 | * The [[rationale][rationale.txt]] behind CPACK 8 | * [[Finding][Finding.txt]] a CPACK 9 | * [[Installing][Installing.txt]] a CPACK 10 | * [[Creating][Creating.txt]] a CPACK 11 | * [[Submitting][Submitting.txt]] a CPACK 12 | * The [[granularity][granularity.txt]] of a CPACK 13 | -------------------------------------------------------------------------------- /etc/server/README.md: -------------------------------------------------------------------------------- 1 | # HTTPS certificates 2 | 3 | This directory holds a demo HTTPS certificate, key and password. With 4 | this in place, the deamon can be started with the following to start on 5 | port the default HTTPS port (443): 6 | 7 | == 8 | sudo ./daemon.pl --user=www-data --https \ 9 | --certfile=server/server-cert.pem \ 10 | --keyfile=server/server-key.pem \ 11 | --pwfile=server/passwd 12 | == 13 | 14 | Note that the file `server/passwd`, which holds the password for the 15 | private key, only needs to be readable by _root_. 16 | -------------------------------------------------------------------------------- /components/README.txt: -------------------------------------------------------------------------------- 1 | ---+ ClioPatria components 2 | 3 | A _component_ is a DCG rule (-->) to be used with html//1 to produce 4 | _part_ of an HTML page. Components are designed to be stand-alone as far 5 | as possible. Notably, they use html_requires//1 to pull in required 6 | script and CSS files. 7 | 8 | The components here are designed for the ClioPatria developers UI. Most 9 | of them are rather simple. They may be adequate for prototyping and 10 | developer's needs, but are generally inadequate for end-user UIs. 11 | 12 | Components are used by _applications_. The ClioPatria applications are 13 | in the directory ../applications. 14 | -------------------------------------------------------------------------------- /entailment/README.txt: -------------------------------------------------------------------------------- 1 | ---+ Entailment reasoning modules 2 | 3 | The ClioPatria system can deal with pluggable `entailment reasoners'. 4 | Each reasoner must export the predicate rdf/3. This predicate must be 5 | a `pure' predicate: it must accept any instantiation and it must 6 | return consistent results, regardless of the instantiation. 7 | 8 | New entailment modules can be added to load.pl 9 | 10 | The user can use the entailment modules for application reasoning by 11 | importing the desired entailment module: 12 | 13 | == 14 | :- use_module(entailment(rdfs_lite)). 15 | 16 | ..., 17 | rdf(S, rdf:type, rdfs:'Class'), 18 | == 19 | -------------------------------------------------------------------------------- /web/help/howto/LOD.txt: -------------------------------------------------------------------------------- 1 | ---+ Providing LOD services from ClioPatria 2 | 3 | LOD (Linked Open Data) means that URIs (indentiers) and also URLs 4 | (resource locators for which you can get content). The content is 5 | typically either a human explanation or an RDF graph. The RDF graph is 6 | commonly referred to as the `Bounded Description' (see below). 7 | 8 | The file api(lod) implements the ClioPatria LOD server, while 9 | config-available/lod.pl provides a starting point for configuring your 10 | LOD server. 11 | 12 | @see http://linkeddata.org/ for more background on LOD. 13 | @see library(semweb/rdf_describe) for bounded graph implementations 14 | -------------------------------------------------------------------------------- /web/css/ul_tree.css: -------------------------------------------------------------------------------- 1 | /* Turn a nested UL-list into a tree. 2 | See http://odyniec.net/articles/turning-lists-into-trees/ 3 | */ 4 | 5 | ul.tree, ul.tree ul 6 | { list-style-type: none; 7 | background: url('../icons/ul-vline.png') repeat-y; 8 | margin: 0; padding: 0; 9 | } 10 | 11 | ul.tree ul 12 | { margin-left: 10px; 13 | } 14 | 15 | ul.tree li 16 | { margin: 0; 17 | padding: 0 12px; 18 | line-height: 20px; 19 | background: url('../icons/ul-node.png') no-repeat; 20 | } ul.tree 21 | 22 | li.last 23 | { background: #fff url('../icons/ul-lastnode.png') no-repeat; 24 | } 25 | 26 | ul.tree li:last-child 27 | { background: #fff url('../icons/ul-lastnode.png') no-repeat; 28 | } 29 | -------------------------------------------------------------------------------- /Windows/README.TXT: -------------------------------------------------------------------------------- 1 | This directory provides the sources for win-config.exe. This is a 2 | frontend for setting up ClioPatria that is similar to the configure 3 | shell script used for non-Windows systems. 4 | 5 | The program win-config.exe performs two steps: 6 | 7 | - Find Prolog from the registry. It first looks for the 64-bit 8 | version and otherwise falls back to the 32-bit version. 9 | - Change working directory to the place where win-config.exe 10 | is installed. 11 | - Run "swipl-win.exe setup.pl" to configure ClioPatria 12 | 13 | I tried to write this as a .bat file, but handling the registry from 14 | there in a portable way is really a nightmare. 15 | -------------------------------------------------------------------------------- /TODO.txt: -------------------------------------------------------------------------------- 1 | ---+ ClioPatria wishlist 2 | 3 | ---++ Tools 4 | 5 | * Compute labels from resources (per graph) 6 | 7 | ---+++ Quality Assurance 8 | 9 | ---+++ Browser facilities 10 | 11 | * Predicate analysis 12 | - Functional predicates 13 | - Near functional predicates: what are the exceptions? 14 | 15 | ---+++ LOD Support 16 | 17 | * Load unresolved resources through LOD (per graph) 18 | 19 | ---+++ RDF Management 20 | 21 | * Make it possible for code to demand RDF (from the library) 22 | * Make it possible for RDF libraries to depend on other library 23 | by `token' (or, at least not by Manifest path). 24 | 25 | ---+++ Config 26 | 27 | * Extend config frontend to deal with CPACK 28 | 29 | -------------------------------------------------------------------------------- /lib/APPCONF.txt.in: -------------------------------------------------------------------------------- 1 | ---+ ClioPatria Application configuration 2 | 3 | This directory was automatically created by the ClioPatria setup script. 4 | It can be filled with Prolog source-files that configure your 5 | application for your specific needs. ClioPatria contains several example 6 | config files, which are located in the directory: 7 | 8 | @CLIOPATRIA@/config-available 9 | 10 | For example, to enhance the system setup for development, you may wish 11 | to do: 12 | 13 | == 14 | ln -s @CLIOPATRIA@/config-available/debug.pl 15 | == 16 | 17 | This application may provide additional application-specific example 18 | configuration files. 19 | 20 | @see @CLIOPATRIA@/config-available/README.txt 21 | 22 | -------------------------------------------------------------------------------- /web/help/error.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Error message given when graphviz package has not been installed 7 | 8 | 9 | The server does not have the graphviz program dot installed in PATH. 10 | 11 | 12 | See www.graphviz.org for details. 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /web/help/cpack/Status.txt: -------------------------------------------------------------------------------- 1 | ---+ Status and plans with CPACK 2 | 3 | CPACK is still immature. However, it is based on flexible 4 | state-of-the-art technology such as GIT for version tracking and RDF for 5 | metadata. The system is intended as a prototype for a package manager 6 | for SWI-Prolog. New facilities will be added on as-needed basis. Below 7 | is a wishlist. 8 | 9 | * When updating/accepting a package, do some sanity checks first. 10 | * Provide support for removing package, indicating possible dependency 11 | problems. 12 | * Deal with conflicts. For example, allow packages to work only with 13 | a certain branch of another package. 14 | * Provide a rating system. 15 | * Provide ClioPatria 1.0-style clustered search 16 | * Provide a network of trust between users and (cloned) package 17 | servers. 18 | -------------------------------------------------------------------------------- /rdf/README.txt: -------------------------------------------------------------------------------- 1 | ---+ Provided ontologies 2 | 3 | This directory contains ontologies that are distributed with ClioPatria. 4 | The directory is added to the ontology-repository by means of a 5 | user:file_search_path/2 declaration for the alias =ontology_root= in the 6 | file cliopatria(parms). Meta-information about the provided in the 7 | file(s) Manifest.ttl. 8 | 9 | Ontologies can be loaded into ClioPatria by means of the menu File/Load 10 | base ontology. 11 | 12 | * The sub-directory =base= contains core ontologies that are required 13 | in most domains where we see a role for ClioPatria. 14 | 15 | * The sub-directory =tool= contains ontologies that drive parts of 16 | ClioPatria. E.g., =|graphviz.ttl|= provides the vocabulary to 17 | customize (context) graphs. 18 | 19 | @see library(semweb/rdf_library) 20 | -------------------------------------------------------------------------------- /test/README: -------------------------------------------------------------------------------- 1 | ---+ Testing the SPARQL 1.1 implementation 2 | 3 | ---++ Preparation 4 | 5 | First, the test-cases are provided as a git module. To install them, use 6 | 7 | == 8 | % git submodule update --init test/Tests/sparql-1.1 9 | == 10 | 11 | ---++ Running the test cases 12 | 13 | To run the test suite, run 14 | 15 | == 16 | % swipl test_sparql.pl 17 | ?- run_query_tests. 18 | == 19 | 20 | It is possible to zoom into a particular test using query_test/1, 21 | providing the test name as argument. E.g., 22 | 23 | == 24 | ?- query_test('(pp23) Diamond, with tail -- :p+'). 25 | =============== BEGIN '(pp23) Diamond, with tail -- :p+' =============== 26 | % Parsed "data-diamond-tail.ttl" in 0.00 sec; 5 triples 27 | true. 28 | == 29 | 30 | See the module header for more useful predicates to diagnose issues. 31 | -------------------------------------------------------------------------------- /web/help/Developing.txt: -------------------------------------------------------------------------------- 1 | ---+ Developing with ClioPatria 2 | 3 | This page links to issues around programming ClioPatria in some way. 4 | Programming ClioPatria requires a little knowledge about Prolog 5 | programming in general, knowledge about the SWI-Prolog RDF libraries and 6 | knowledge about emitting the result as HTML, JSON, XML, etc. 7 | 8 | * *|Writing ClioPatria applications|* 9 | * [[Linking][howto/LinkBrowser.txt]] to the ClioPatria browser from 10 | your application. 11 | 12 | * *|Styling ClioPatria|* 13 | * Use of CSS.txt within ClioPatria. 14 | 15 | @see [[Learn Prolog Now][http://www.learnprolognow.org/]] is a good 16 | online introduction into Prolog. 17 | @see The ClioPatria whitepaper.txt explains the basic philosophy. 18 | @see The SWI-Prolog [[HTTP HOWTO][http://www.swi-prolog.org/howto/http/]] 19 | -------------------------------------------------------------------------------- /web/help/memusage.txt: -------------------------------------------------------------------------------- 1 | ---+ Comparing main memory stores 2 | 3 | The table below compares the memory usage of a number of main-memory RDF 4 | stores. All versions except for the last row use 64-bit infrastructure. 5 | Only BRAHMS is more efficient, but this is a read-only store. 6 | 7 | == 8 | Small SWETO Big SWETO Univ(50,0) 9 | Jena 304 2669 2793 10 | Sesame 141 2033 3350 11 | Sesame – OWLIM 143 1321 2597 12 | Redland 96 1514 – 13 | BRAHMS 31 461 714 14 | SWI 36 608 988 15 | SWI – 32-bit 24 365 588 16 | == 17 | 18 | The details of this benchmark are described in my PhD thesis 19 | [[PDF][http://www.swi-prolog.org/download/publications/jan-phd.pdf]]. 20 | -------------------------------------------------------------------------------- /rdf/base/owlfull.owl: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | ]> 7 | 8 | 13 | 14 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /web/help/howto/LocalView.txt: -------------------------------------------------------------------------------- 1 | ---+ The Local View for a resource 2 | 3 | The *|Local View|* describes a single resource. It shows four aspects of 4 | a resource. 5 | 6 | 1. A table holding the predicates and objects for this resource 7 | 2. A description of the named graphs involved 8 | 3. Where the resource is used as an object 9 | 4. The _|Context Graph|_ 10 | 11 | ---++ Programming the Local View 12 | 13 | The Local View is provided by the HTML component list_resource//2. Its 14 | view can be customized to satisfy certain datasets: 15 | 16 | * The hook cliopatria:predicate_order/2 may be used to change the 17 | order of predicates in the table or delete predicates from the table. 18 | * The cliopatria:bnode_label//1 can be used to customize the 19 | presentation of blank nodes. 20 | * The context graph may be [[customized][CustomContext.txt]] as well 21 | 22 | @see ExploreRDF.txt for exploring loaded RDF 23 | @see CustomContext.txt for configuring the context graph 24 | -------------------------------------------------------------------------------- /web/tutorial/Parsia/xmlhack.xsl: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | <xsl:value-of select="$title"/> 13 | 14 | 15 |

16 |
    17 | 18 |
19 | 20 | 21 |
22 | 23 |

  • 24 |
  • 25 |
    26 |
    -------------------------------------------------------------------------------- /web/css/rdf.css: -------------------------------------------------------------------------------- 1 | /* CSS file for RDF browser 2 | */ 3 | 4 | td.object 5 | { padding-left: 1em; 6 | } 7 | 8 | a.r_undef 9 | { color: red; 10 | } 11 | 12 | div.graph-fn 13 | { margin-left: 1cm; 14 | } 15 | 16 | div.bnode_attr 17 | { display:inline-block; 18 | text-align: center; 19 | position: relative; 20 | top: 0.5em; 21 | border: 1px; 22 | border-style: dotted; 23 | } 24 | 25 | input.gaction 26 | { width: 2cm; 27 | } 28 | 29 | span.rdf_list /* (values...) */ 30 | { border: 1px; 31 | border-style: outset; 32 | padding: 1px; 33 | background-color: #c0c0c0; 34 | } 35 | 36 | span.rdf_bnode /* [rdf:value...] */ 37 | { border: 1px; 38 | border-style: outset; 39 | padding: 1px; 40 | background-color: #c0c0c0; 41 | } 42 | 43 | span.l_type, span.l_lang 44 | { font-weight: bold; 45 | } 46 | 47 | span.insecure-uri 48 | { color: #fa0; 49 | } 50 | 51 | a.l_count /* linked literal */ 52 | { color: black; 53 | } 54 | 55 | span.rdf_unbound 56 | { font-size: 70%; 57 | font-style: italic; 58 | color: #a0a0a0; 59 | } 60 | -------------------------------------------------------------------------------- /etc/server/server-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | Proc-Type: 4,ENCRYPTED 3 | DEK-Info: DES-EDE3-CBC,0B4105BFAB3B9D6C 4 | 5 | nPpGKZh8xr+whRn+j8YZODKcPD2ooHMiF0MzdCnbscdWHUugEQPCBdtmpayh55sl 6 | bX1U7TRJxYx3c8fex7w3ofDQEWzbISF0iFoL8xDKD8XboHeCEIlS0iZe0N+M719m 7 | D/QkDcnjnUWthwM9fVUp5lml/YjCSjwTuX5FkrQ8ArccwEeqeNnszLytWzYRaFwt 8 | r8+zs+HER+IUZxwYEy+oKgJYXbNt8NYEanJItdBug/EcyoCsu4QCupBpPbuB8bjC 9 | 17M4Df6nH2e18rnk2DDhUMAT1TsvlCdwuz6aMn4zwlm/I3nEFJrK/fMDNfLDizSj 10 | B5US0CFU4idBPqdPypcGw+rJmCFsQCD1mYYsekqlz7U5Fu6i1oFLlqhvvF8OiU+A 11 | fae1qFb8Z2TGT2rmm3SnTR8i9I0QANwnqJG/MiPiHYQji7mhsiDkRQqAq4DLlbWT 12 | +RDbLf/h1rnx91Ro/EGnIjATgG0dR5DvevErMolZyszHKJD8Sd70QHgZUeCNIxhP 13 | GcMrYHfOSfKdiHSpixwBDMlxeQZVnDRAvVoDDohip6aPDO8HbPNBSaacprFbuXw2 14 | TMVuDLrEOPF7ywl3sIcFIdrxhjHTag65sGWOAdcyLBP6cwvNqXOxgg1wpTbPghay 15 | vwINGodX2xa5BU0ximpgE9w7P+W73pDK0pls13n7jewdwvGS4/sG4Vou8SJ/f2M1 16 | XS2+cIAIFem/4/jfsNGotBQ15xS8EEqyDNR31Xwa12yZLFd6pc/ZNSse2NA6TSwe 17 | aJqTaiyzyWroM0lCIOjxiKsf7vY4682rx46eHdT1mkrxp2lRYFKj8g== 18 | -----END RSA PRIVATE KEY----- 19 | -------------------------------------------------------------------------------- /lib/cpack/pack.ttl.in: -------------------------------------------------------------------------------- 1 | @prefix rdf: . 2 | @prefix rdfs: . 3 | @prefix dcterms: . 4 | @prefix foaf: . 5 | @prefix cpack: . 6 | 7 | # This file is a Turtle-format RDF file that describes the package. It 8 | # *must* be located in rdf/cpack/@NAME@.ttl 9 | # 10 | # Author is a FOAF Person. If you have a FOAF profile, you can link to 11 | # this. Otherwise you can specify the information inline as done below. 12 | # See http://xmlns.com/foaf/spec/ for defines fields. 13 | 14 | <> a @PKGCLASS@ ; 15 | cpack:packageName "@NAME@" ; 16 | dcterms:title "@TITLE@" ; 17 | cpack:author [ a foaf:Person ; 18 | foaf:name "@FOAFNAME@" ; 19 | foaf:mbox <@FOAFMBOX@> ; 20 | ] ; 21 | cpack:primaryRepository 22 | [ a cpack:GitRepository ; 23 | cpack:gitURL <@FETCHREPOSITORY@> 24 | ] ; 25 | cpack:description 26 | 27 | """@DESCRIPTION@ 28 | """ . 29 | 30 | 31 | -------------------------------------------------------------------------------- /web/tutorial/PirateExercises.txt: -------------------------------------------------------------------------------- 1 | ---+ More exercises 2 | 3 | 1. Write a variation of the map/1 predicate that takes two dates, and 4 | that shows on a map all piracy events that happened in the 5 | time-interval between those two dates. You will have to use the 6 | predicate parse_time/3 convert between dates and the 7 | internal representation of timestamps as a number. Example: 8 | http://localhost:3020/map?start=2008-01-01&end=2008-12-31 (showing all 9 | piracy events in the year 2008) 10 | 11 | 2. Write a variation of the map/1 predicate that takes a type of ship 12 | and shows on a map all piracy events with that type of ship involved. 13 | Example: http://localhost:3020/map?type=atype_passenger_vessel Make 14 | sure that you take the hierarchy of ship-types into account when 15 | calculating your answer. Of course you can use the code you wrote for 16 | exercise 2 of [[Pack your queries in Prolog 17 | predicates][PiratePredicates.txt]]. 18 | 19 | You can use the predicate [[rdf_global_id/2][]] to translate =atype_passenger_vessel= into a proper resource. 20 | -------------------------------------------------------------------------------- /web/yui/2.7.0/build/autocomplete/assets/skins/sam/autocomplete.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2009, Yahoo! Inc. All rights reserved. 3 | Code licensed under the BSD License: 4 | http://developer.yahoo.net/yui/license.txt 5 | version: 2.7.0 6 | */ 7 | .yui-skin-sam .yui-ac{position:relative;font-family:arial;font-size:100%;}.yui-skin-sam .yui-ac-input{position:absolute;width:100%;}.yui-skin-sam .yui-ac-container{position:absolute;top:1.6em;width:100%;}.yui-skin-sam .yui-ac-content{position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;}.yui-skin-sam .yui-ac-shadow{position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity:.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;}.yui-skin-sam .yui-ac iframe{opacity:0;filter:alpha(opacity=0);padding-right:.3em;padding-bottom:.3em;}.yui-skin-sam .yui-ac-content ul{margin:0;padding:0;width:100%;}.yui-skin-sam .yui-ac-content li{margin:0;padding:2px 5px;cursor:default;white-space:nowrap;list-style:none;zoom:1;}.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight{background:#B3D4FF;}.yui-skin-sam .yui-ac-content li.yui-ac-highlight{background:#426FD9;color:#FFF;} 8 | -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Prepare running ClioPatria by localizing the install scripts. The real 4 | # work is done by the Prolog script setup.pl to maintain portability 5 | # with Windows. Windows users should double-click win-config.exe. This 6 | # executable performs a similar task: locate SWI-Prolog using the 7 | # registry and open `setup.pl` with Prolog. 8 | # 9 | # Running (2nd variation to select a specific SWI-Prolog version) 10 | # 11 | # $ ./configure 12 | # $ SWIPL=swi-prolog ./configure 13 | # 14 | # Author: Jan Wielemaker 15 | # Copyright: Public Domain 16 | 17 | findexe() 18 | { oldifs="$IFS" 19 | IFS=: 20 | for d in $PATH; do 21 | if [ -x $d/$1 ]; then 22 | IFS="$oldifs" 23 | return 0 24 | fi 25 | done 26 | IFS="$oldifs" 27 | return 1 28 | } 29 | 30 | if [ -z "$SWIPL" ]; then 31 | for f in swi-prolog swipl; do 32 | if [ -z "$SWIPL" ] && findexe $f; then 33 | SWIPL=$f 34 | fi 35 | done 36 | fi 37 | 38 | if [ -z "$SWIPL" ]; then 39 | echo "ERROR: Cannot find SWI-Prolog." 40 | exit 1 41 | fi 42 | 43 | setup="$(dirname $0)/setup.pl" 44 | 45 | $SWIPL "$setup" -- $* 46 | -------------------------------------------------------------------------------- /w3c/wiki.txt: -------------------------------------------------------------------------------- 1 | {{Tool 2 | | Name=ClioPatria 3 | | Homepage=cliopatria.swi-prolog.org 4 | | ProgrammingLanguage1=Prolog 5 | | ProgrammingLanguage2=C 6 | | SWTechnology1=RDF 7 | | SWTechnology2=RDFS 8 | | SWTechnology3=SKOS 9 | | SWTechnology4=OWL 10 | | SWTechnology5=SPARQL 11 | | SWTechnology6=LOD 12 | | Category1=Triple Store 13 | | Category2=Programming Environment 14 | | Category3=Reasoner 15 | | Category4=Rule Reasoner 16 | | PublicMailingList=mailman.few.vu.nl/mailman/listinfo/cliopatria-list 17 | | SeeAlso=semanticweb.org/wiki/ClioPatria 18 | | Institution=Free University of Amsterdam 19 | }} 20 | 21 | ''[http://cliopatria.swi-prolog.org/ ClioPatria]'' is a Prolog framework 22 | to construct Semantic Web Applications. It provides a programmatic 23 | environment for [[RDF]], [[RDFS]] and [[OWL]], [[SPARQL]], while the 24 | hosting Prolog system supports rule-based inferencing. 25 | 26 | ClioPatria builds on top of the ''[http://www.swi-prolog.org/ 27 | SWI-Prolog]'' web-server and RDF infrastructure. It adds right 28 | management, a [[SPARQL]] end-point, [[LOD]] services, web tools 29 | for exploring the loaded [[RDF]] data and a package management 30 | system that allows for sharing code conviently between users. 31 | 32 | -------------------------------------------------------------------------------- /etc/README.txt: -------------------------------------------------------------------------------- 1 | ---+ HTTPS/SSL certificate generation 2 | 3 | Last updated: 4 | 5 | * Nov 3, 2010, Jan Wielemaker 6 | - Updated paths and copy commands for OpenSSL 0.9.8k 7 | 8 | 9 | 1. /usr/lib/ssl/misc/CA.pl -newca 10 | 11 | == 12 | apenoot 13 | NL 14 | Noord-Holland 15 | Amsterdam 16 | SWI-Prolog foundation 17 | ClioPatria demo 18 | Jan Wielemaker 19 | jan@swi-prolog.org 20 | ----- extra ----- 21 | nootjes 22 | SWI-Prolog foundation 23 | apenoot 24 | == 25 | 26 | creates: ./demoCA/ 27 | 28 | 2. /usr/lib/ssl/misc/CA.pl -newreq 29 | 30 | == 31 | apenoot1 32 | NL 33 | Noord-Holland 34 | Amsterdam 35 | SWI-Prolog foundation 36 | ClioPatria demo 37 | Jan Wielemaker 38 | jan@swi-prolog.org 39 | ----- extra ----- 40 | nootjes 41 | SWI-Prolog foundation 42 | == 43 | 44 | creates: newkey.pem and newreq.pem 45 | 46 | 3. /usr/lib/ssl/misc/CA.pl -signreq 47 | 48 | == 49 | apenoot 50 | == 51 | 52 | creates: newcert.pem 53 | 54 | 4. Move to server directory: 55 | 56 | == 57 | mv newkey.pem server/server-key.pem 58 | mv newcert.pem server/server-cert.pem 59 | == 60 | 61 | @see config-available/https.pl 62 | -------------------------------------------------------------------------------- /web/help/Browsers.txt: -------------------------------------------------------------------------------- 1 | ---+ Supported browsers 2 | 3 | ClioPatria as a web-platform is not browser specific. Some of the 4 | _backoffice_ facilities (i.e., the ClioPatria web frontend) might not 5 | work on all browsers. Development is based on 6 | [[Firefox][http://www.mozilla.com]] (currently 3.6). In general, the 7 | ClioPatria web frontend uses HTML that _requires_ little styling and is 8 | made prettier using CSS. There are three areas where it uses more 9 | advanced technology. 10 | 11 | * The ClioPatria menu is based on extensive use of CSS. 12 | * The search fields use autocompletion based on the YUI (2.7) 13 | AJAX framework. 14 | * The context graphs (see howto/ExploreRDF.txt) use SVG, embedded 15 | using the HTML =object= element. The _setting_ graphviz:format 16 | can be used to change this into HTML5 using the 17 | [[canviz][http://code.google.com/p/canviz/]] library, but canviz 18 | is slower, does not support all graph features and is not very 19 | portable over browsers either. 20 | 21 | @see The menu is based on http://denilsonsa.selfip.org/~denilson/menu/menu.html 22 | @see The [[YUI][http://developer.yahoo.com/yui/]] framework 23 | @see graphviz_graph//2 embeds the SVG/Canviz graphs. 24 | -------------------------------------------------------------------------------- /rdf/tool/graphviz.ttl: -------------------------------------------------------------------------------- 1 | @prefix rdf: . 2 | @prefix rdfs: . 3 | @base . 4 | 5 | # Define style-parameters to control the representation of resources 6 | # in the context-graph. 7 | # 8 | # see library(semweb/rdf_graphviz) 9 | 10 | 11 | a rdf:Property ; 12 | rdfs:comment "Super-property to find GraphViz shape-defining properties" . 13 | 14 | a rdf:Property ; 15 | rdfs:label "shape" ; 16 | rdfs:seeAlso ; 17 | rdfs:comment "Defines the basic shape of a node" ; 18 | rdfs:subPropertyOf . 19 |