33
AllegroGraph WebView AGWebView is the browser interface for managing triple stores.

AllegroGraph - AGWebView

Embed Size (px)

Citation preview

Page 1: AllegroGraph - AGWebView

AllegroGraph WebView

AGWebView is the browser interface for managing triple stores.

Page 2: AllegroGraph - AGWebView

AllegroGraph WebView

The AllegroGraph Web View (AGWebView) is a user interface for exploring, querying, and managing AllegroGraph triple stores.

AGWebView is included in your AllegroGraph installation.

Page 3: AllegroGraph - AGWebView

AGWebView Features

Using AGWebView, you can:• Browse available catalogs and repositories • Create (also delete) a repository • Load RDF data into a repository, or into a specific graph of a repository• Configure triple indices for a repository (SPOGI, etc.)• Set up free-text indices for a repository • Issue SPARQL and Prolog queries, which can be saved and reused • Walk from query results to related triples and resources • View and add namespaces

(continued on next slide)

Page 4: AllegroGraph - AGWebView

AGWebView Features

Using AGWebView, you can also:• Manage AllegroGraph users and "roles," and their access to repositories • Capture a query as a web URL for embedding in applications • Apply Prolog rules and functors to repositories • Open transaction sessions for commit and rollback. • Activate RDFS++ reasoning on a repository • Federate local and remote repositories into a single point of access • Open telnet connections to AllegroGraph processes for debugging • View graphs of "construct" and "describe" SPARQL query results • Plot geospatial query results in a Google Maps display.

Page 5: AllegroGraph - AGWebView

Starting AGWebView

To start AGWebView, direct a Web browser to the AllegroGraph server port:

http://localhost:10035

Page 6: AllegroGraph - AGWebView

Logging In

Log in (the first time) using your AllegroGraph superuser account, from agraph.cfg:

SuperUser test:xyzzy

Page 7: AllegroGraph - AGWebView

Opening Page

The opening page shows non-root catalogs, plus the repositories of the root catalog.

Choose one to drill deeper.

Page 8: AllegroGraph - AGWebView

Repository Page

This page lets you manage a repository.

Access to queries is in the header.

Page 9: AllegroGraph - AGWebView

New Query Page

Run a SPARQL or Prolog query here.

Click on a URI in the result table to "walk" the RDF graph...

Page 10: AllegroGraph - AGWebView

Walking the Graph

Clicking on the #person55 URI displays all triples of that resource.

Click on an object value to see all triples with that value...

Page 11: AllegroGraph - AGWebView

Walking the Graph

This table lists all persons born in 1957.

AGWebView lets you explore the triple store simply by clicking on URIs and values.

Page 12: AllegroGraph - AGWebView

Create a Repository

To create a repository (in the Root Catalog as shown here) simply type in its name.

Page 13: AllegroGraph - AGWebView

Load Data

Options on the AGWebView page expand into pop-up forms to let you load different types of files.

Page 14: AllegroGraph - AGWebView

Triple Indices

Add or remove triple indices to speed up loading and searching. Each index contains all triples, sorted in a specific way.

SPOGI index is sorted by:

S = subject URI

P = predicate URI

O = object URI or literal value

G = graph URI

I = triple ID number

Page 15: AllegroGraph - AGWebView

Triple Indices

Since the SPOGI index is sorted by subject URI, all triples with the same subject are found in a block in that index.

The POSGI index has all triples with the same predicate in a block.

The OSPGI index is sorted by object value, which is good for retrieving ranges of object values.

The "G" indexes segregate graphs from one another.

The "I" index is for deleting triples by ID number.

Page 16: AllegroGraph - AGWebView

Triple Indices

AllegroGraph provides seven standard indices, but you can request a custom index sorted in any order.

Page 17: AllegroGraph - AGWebView

Free-Text Indices

AllegroGraph supports free-text searches through multiple text indices, each tightly configured to support efficient search.

Page 18: AllegroGraph - AGWebView

Free-Text Indices

Page 19: AllegroGraph - AGWebView

Free-Text Indices

Page 20: AllegroGraph - AGWebView

Default Namespaces

AGWebView lets you define and manage a set of namespaces, to make query and browse operations easier. These namespaces are present by default:

Page 21: AllegroGraph - AGWebView

Select Namespaces

Page 22: AllegroGraph - AGWebView

Custom Namespaces

You can create your own namespaces for use with specific users and repositories:

Page 23: AllegroGraph - AGWebView

Users Management

Initial superuser: Created by the installation script.

• create and manage other users• start sessions• evaluate arbitrary code• read/write access to all repositories in all catalogs

In Franz documentation, the initial superuser is usually identified as "text" with password "xyzzy".

Page 24: AllegroGraph - AGWebView

New User

The "manage" link in the banner opens the user management page.

Page 25: AllegroGraph - AGWebView

Permissions

• Superuser: Can do everything to everything.• Start Sessions: Supports transactions.• Evaluate arbitrary code: Prolog queries, and Lisp by way

of Prolog. • Control replication: Set up replication of data between

triple stores.

Page 26: AllegroGraph - AGWebView

Access

• Read, Write or Read/Write access• Access to specific repositories, or to "all"• Use / for the root catalog.

Page 27: AllegroGraph - AGWebView

Roles

• Roles let you profile a group of users to have the same permissions and access.

• More important, a role lets you revoke privileges from a group of users all at the same time.

Page 28: AllegroGraph - AGWebView

Anonymous Login

• Create a user "anonymous" with no password.• Grant appropriate permissions and access.• All visitors are logged in automatically.

Page 29: AllegroGraph - AGWebView

Self-Enrollment

• When "anonymous" access is enabled, you can also enable "self-enrollment."

• Anonymous users can create their own accounts. • These accounts have the same privileges and access as

"anonymous" has. • The self-enrolled accounts have their own namespaces

and saved queries.

Page 30: AllegroGraph - AGWebView

Sessions (Federation)

• The "session specification" control lets you federate repositories using a special syntax.

Page 31: AllegroGraph - AGWebView

Google Maps

• AGWebView can display query results in Google Maps format when:

– You have provided a GM key.– The query results contain geospatial data.

Page 32: AllegroGraph - AGWebView

Graph Display

• AGWebView can display a graph of RDF resources when you use a SPARQL "describe" or "construct" query.

• Look for "Display as a map?" above the table of query results.

Page 33: AllegroGraph - AGWebView

Thank You

Franz Inc.

www.franz.com

[email protected]