RDF demo / Items
How To: Visualize Twine RDF Graphs (Illustrated, Step by Step)
Get Feed-
Special Preface: This is the first item I create for Raven's Twine Tutorials, whose future content & nature remain somewhat undecided. Your help via comments, critique or pointers on what should be here is greatly appreciated!
In the recently released Twine Guide, the Radarians explain in short the Semantic Web and their underlying RDF (Resource Description Framework [Wikipedia]) which is, in part, what Twine's Artificial Intelligence uses to draw inferences about things (see the Twine Guide for more on RDF).
They also show us how we can view Twine's RDF, and visualize the Jurassic Park book's RDF graph with all its connections. But what's missing is exactly how to make those hot visualizations!
Here's my profile's RDF data visualization, for example, and this is what I'll show you how to do in this tutorial, step by step with screenshots:
0. Prerequisites
The program we'll be using is a Java Network Launching Protocol Application (JNLP) so it'll run on virtually any system (OS X, Linux, Windows, ...) provided that you have the latest Java & Java Web Start installed (which you probably do, but if not download Java here).
You'll then need to download the visualization program, RDF Gravity.
Once you have the file (rdf-gravity.jnlp), continue to the next step.
Sidenote: The file is small (4kb) because Java Network Launching Protocol is what it sounds like: It launches an application from another location via the internet.1. Launch RDF Gravity
Double-click the rdf-gravity.jnlp - if everything works as it should the application launches and you'll get a dialog asking whether you trust this signature's certificate.
Click "Trust" if you trust it (you have to if you want to continue this tutorial).2. Find the RDF You Want to Visualize
Now that it's running (you should see an open, ugly gray window) go back to your browser and find an item on Twine that you'd like to visualize. I'm going to use my profile as an example, but as described in the Twine Tour, and in the Feedback and Feature Suggestion twine, you can get RDF from any item by adding "?rdf" at the end of the URL in question (without the quotes!).
So, the specific URL I'll be using is: http://www.twine.com/user/hthorisson?rdf3. Give the URL to RDF Gravity
Copy the URL you want to visualize, with the added "?rdf", and switch back to the RDF Gravity application.
From the FILE menu, choose "Open URL" and paste in the URL:
(Note that the above image doesn't show the full URL I pasted, but it's still there!)Now click OK.4. Enter Your Twine Login Info
Because Twine is in a private, invitation-only beta - you'll have to enter your Twine username and password to access the URLs RDF data. Enter your information in the dialog that appears (depicted below). That is, not your e-mail but your Twine username - "hthorisson" or "whateveryourloginnameis".
5. Bathe in the RDF Visualization Glory!
Once you've entered your password information - RDF Gravity should turn the ugly gray window into a (somewhat prettier) display of the RDF extracted from the URL! That's it! We're done!
(Note that I manually moved nodes around for clarity before I took the screenshot.)
ADDITIONAL TIDBITS- To show edge (connection) tags like "isPerson" and "createdDate"; go to the "Configure" menu and select "Show Edges"
- To stop Gravity from truncating the information boxes, go to "Configure" and select "Show Full Label"
- The Filter windows on the side allow you to turn edges and nodes On and Off.
- See more help on RDF-Gravity's Documentation Page
- Note the related item How to view RDF Data for Twine Items
Thanks for reading! Hope it helps and feel free to share additional tips & tricks in the comments.
Comments
Report ThisTwine is about discovering, collecting and sharing the content that interests you. Learn More
Join TwineStats
- 12 Twines
- 13 Comments
Tags
Community Tags
- artificial intelligence,
- Click "Trust",
- Computer science,
- Configure,
- Double-click,
- graph,
- Gravity,
- Hrafn Th. Thorisson,
- Hrafn Th. Thorisson,
- Hrafn Th. Thorisson,
- Hrafn Thorisson,
- Hrafn Thorisson,
- Items,
- Java,
- java,
- Java & Java Web Start,
- Java Network Launching ...,
- jung,
- Jurassic Park,
- Launch RDF Gravity,
- Linux,
- Login,
- Ok,
- Open URL,
- Radarians,
- Raven,
- Raven,
- Raven,
- rdf,
- RDF,
- RDF Data,
- RDF You Want,
- rdf-gravity.jnlp,
- Semantic Web,
- Show Edges,
- Show Full Label,
- Sidenote,
- Special Preface,
- tutorial,
- Tutorials,
- twine,
- Twine Guide,
- Twine Power Users,
- Twine Tour,
- Twinerians,
- Twinerians,
- URL,
- URLs RDF,
- visualizations,
- World Wide Web
Who's Interested In This?
-
Hrafn Thorri Thorisson added to Nova Spivack - My Public Twine, , Raven's Twine Tutorials, Web 3.0 - Semantic Web, Think Artificial, Tips and Tricks, Semantic Applications, Hrafn Thorisson's Public Twine 21 months ago
-
Lew Tucker added to RDF demo 21 months ago
-
James Huckenpahler added to Visualization 21 months ago
-
Kurt Laitner added to Information Visualization 21 months ago
-
Mark Nolan added to Apps :: On Semantic Web & Related … 20 months ago
-
Hrafn Thorri Thorisson added to RDF Graph for All Twinerians 20 months ago
Hrafn Thorri Thorisson
peter royal
Public Comments
-
Hrafn Thorri Thorisson
21 months ago
-
Lew Tucker
21 months ago
-
Murray Peat
20 months ago
-
Hrafn Thorri Thorisson
20 months ago
-
Bent Rasmussen
20 months ago
- Some HTML is allowed.
- Cancel
- Submit
-
peter royal
21 months ago
-
Hrafn Thorri Thorisson
21 months ago
-
Scott White
21 months ago
-
Hrafn Thorri Thorisson
21 months ago
-
Hrafn Thorri Thorisson
20 months ago
-
Clive Thompson
21 months ago
-
Nova Spivack
21 months ago
-
Jack D. Logan
19 months ago
- Some HTML is allowed.
- Cancel
- Submit
Add a Comment- Some HTML is allowed.
- Reply
- Cancel
- Submit
Raven's Twine Tutorials- Some HTML is allowed.
- Reply
- Cancel
- Submit
Raven's Twine Tutorials- Some HTML is allowed.
- Reply
- Cancel
- Submit
Apps :: On Semantic Web & Related Applications- Some HTML is allowed.
- Reply
- Cancel
- Submit
Apps :: On Semantic Web & Related Applications- Some HTML is allowed.
- Reply
- Cancel
- Submit
Raven's Twine Tutorials- Some HTML is allowed.
- Reply
- Cancel
- Submit
Raven's Twine Tutorials- Some HTML is allowed.
- Reply
- Cancel
- Submit
Raven's Twine Tutorials- Some HTML is allowed.
- Reply
- Cancel
- Submit
Raven's Twine Tutorials- Some HTML is allowed.
- Reply
- Cancel
- Submit
RDF Graph for All Twinerians- Some HTML is allowed.
- Reply
- Cancel
- Submit
Web 3.0 - Semantic Web- Some HTML is allowed.
- Reply
- Cancel
- Submit
Web 3.0 - Semantic Web