[an error occurred while processing this directive]
Using table.xslt, you can transform queries into a vertical table.
Generate your query url using some resource like the pellet servlet. The example used here is a list of all people in the lab and their homepage:
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?Name ?Homepage FROM <http://www.mindswap.org/2004/owl/mindswappers>
WHERE
{ ?person a foaf:Person;
foaf:name ?Name.
OPTIONAL { ?person foaf:homepage ?Homepage.}
} ORDER BY ?Name
Then include it in your page via xhtml:
<!--#exec cmd="xsltproc table.xslt [query-url]"-->
The result is this:
| Name | Homepage |
|---|---|
| Aaron Mannes | http://www.terrorprofiles.com/ |
| Aditya Kalyanpur | |
| Amy Alford | http://www.sarn.org/ |
| Anant Kaushiva | http://anant.kaushiva.com/ |
| Andrew Schain | http://www.schain.org/ |
| Bernardo Cuenca | |
| Bijan Parsia | http://www.unc.edu/~bparsia/ |
| Bin Zhao | |
| Chris Shenton | http://chris.shenton.org/ |
| Chris Testa | |
| Christian Halaschek-Wiener | |
| Daniel Hewlett | |
| Daniel Krech | http://eikeon.com/ |
| David Wood | http://www.mindswap.org/~dwood/ |
| Debbie Heisler | |
| Edna Ruckhaus | http://www.ldc.usb.ve/~ruckhaus/ |
| Evren Sirin | |
| Femke Reitsma | |
| Grecia C. Lapizco-Encinas | |
| Hamid Haidarian-Shahri | |
| Hidenari Kiyomitsu | |
| Jay Banerjee | |
| Jennifer Golbeck | http://www.cs.umd.edu/~golbeck/ |
| Jim Hendler | |
| Jordan Katz | http://underlevel.net/jordan/ |
| Kaoru Hiramatsu | |
| Katy Newton | |
| Kendall Grant Clark | http://clark.dallas.tx.us/kendall/ |
| Matt Westhoff | |
| Meem Mahmud | |
| Mike Grove | |
| Nada Hashmi | http://www.cs.umd.edu/~nada/ |
| Naiwen Lin | |
| Ron Alford | http://volus.net/~ronwalf/ |
| Ronald P. Reck | |
| Ross Baker | |
| Taowei David Wang | |
| Ugur Kuter | |
| Vladimir Kolovski | |
| Yvonne Shashoua |
Author: Ron Alford
[an error occurred while processing this directive]