Javascript MinXML / RDF testbed

see also: JS-RDF Overview, full XML demo (in progress)

This doc shows the use of a simple RDF strawman dump syntax, parsed in Javascript using a syntactic profile of XML (the minXML proposal). The Javascript MinXML parser is used here for convenience; no endorsement or otherwise of MinXML, SML etc should be assumed. Note also that the RDF triple syntax used here is in no way standard.

The parsed RDF in turn can be fed to the Javascript RDF query engine. This could make a nice testbed for looking at the tradeoffs involved in the various XML profile proposals (eg. how do we do namespaces, language-tagging, datatypes etc...?) It should also make for a nice type-and-test query environment for RDF.

TODO:

dan brickley (2000-04-15)


Getting started. (1) select 'append parsed data into RDF query scratchpad' to parse and load the data. (2) select 'go' on the default query below to query the loaded data.

Parser Options

The first textarea contains pseudo-XML triples in a simple (undocumented :-) syntax. Second contains output of parser. There are options for outputting the parsed data to the RDF query engine (second half of the demo...).

Parser Input (pseudo-XML format for RDF triples)



Parser Info (output)

Test code:

Evaluate Result:


RDF Query tester

The data scratchpad here contains rules and data. Triples are represented in a simple prolog-like syntax, with {curly braces} around URIs. Rules can also be represented -- simple subClassOf rule included here for illustration.

Examples

This query lists all triples in the RDF graph

Semantic Web Screenscraper: Scheduling demo

This is a quick RDF/XSLT semantic web screenscraping demonstration, based on discussions with Dan Connolly. See Dan Connolly's RDF Interest Group message for background, or the 'semantic web accessibility' followup.

We show here how to scrape RDF data from HTML web pages, aggregate using RDF, and query using a prolog-like system in Javascript.

Raw materials:

To use: get the tinyProlog data, paste into the textarea below, and enter queries / rules... You might try variations on these too...

find out who is busy...
	busy(dan, Day, Hour, What)

or... list members of groups...

	member(Person,Group)

or... ask about schedule of busy XML experts...

	busyXML(M,D,H,W,PP,P) 

RDF Database


Testing, please ignore: