TopBraid Suite 4.5 - TopQuadrant, Inc.

TopBraid Suite 4.5
New and Enhanced Capabilities
August 2014
© Copyright 2014 TopQuadrant Inc.
Slide 1
Contents
 This presentation provides an overview of new
capabilities and changes in TopBraid 4.5 for:
– TopBraid EVN (including add-on modules)
– TopBraid Insight
– TopBraid Platform (capabilities available in TopBraid Live, TopBraid
Composer and for any TBL application)
– Key application development technologies: SPIN,
SPARQLMotion, SWP, SWP Application Component Library (SWA)
– Server administration and configuration screens
© Copyright 2014 TopQuadrant Inc.
Slide 2
TopBraid EVN 4.5
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 3
TopBraid Enterprise Vocabulary Net (EVN)
 Supports different perspectives and versions
 Enables creation of links between terminology elements
that were un-connectable
 Enables incremental growth / evolution of a ‘Dynamic
Web of Terminology’
© Copyright 2014 TopQuadrant Inc.
Slide 4
Business Problems Solved
 TopBraid EVN manages disparate, varied
taxonomies, ontologies and reference data
 To improve search, achieve clarity on
enterprise terminology, align the meaning of
data across data sources and ensure optimal
content re-use, delivery and navigation.
© Copyright 2014 TopQuadrant Inc.
Slide 5
TopBraid EVN
Key Features and Capabilities
 Intuitive graphical user interface for editing and search
 Flexible data model
 Built-in and user-defined rules
 Cross-enterprise collaboration
 Change tracking, full audit trails
 Sandboxed versions
 Controlled role-based access
 Import/Export and web services integration
 Support of all relevant W3C standards
 Easy extensibility of features
© Copyright 2014 TopQuadrant Inc.
Slide 6
New capabilities: Why should you care?- 1
 Improved configurability
– Web editor for forms configuration
– Custom trees – any relationship, configurable icons
– Dynamic multi-window displays – users can open multiple (view)
forms, tree and chart windows and resize them.
– Ease of configuration for create-dialogs to implement URI policies and
perform any housekeeping items on create actions
 Collaborative workflow
both within the vocabulary development
team and across the communities of interest
– Publishing to EVN Explorer server for the community to view and
comment
– Comments from the community are sent to the editorial/ governance
team
© Copyright 2014 TopQuadrant Inc.
Slide 7
New capabilities: Why should you care?- 2
 Additional workflow for promoting changes
– Promotion of selective changes from a working copy
 Enhanced audit trails
– Capturing changes resulting from the import of files
– Capturing comments made on save
 Improved search form in EVN
– Enables search on cardinalities, regular expressions,
aggregates in the search (counts)
– Charting of results
 Ability to manage labels as independent resources
– Supports use cases requiring metadata on labels (SKOS-XL)
 More …
© Copyright 2014 TopQuadrant Inc.
Slide 8
TopBraid EVN: Configurability
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 9
Form Builder
 Available for EVN Ontologies
 Create a custom form definition for a class
– applies to all instances
– EVN will detect the class of a resource, including schema types, and
apply the definition
© Copyright 2014 TopQuadrant Inc.
Slide 10
Form Builder UI
 Opens in a new window in browser
– changes are applied immediately
– …can swap between the windows to see the results
Shows SWP source
code for the form
Select Root
Container
© Copyright 2014 TopQuadrant Inc.
Select to create
a new section
Slide 11
Creating Sections with Form Builder
 Sections can be used to group properties
Fill in to name a
section
States whether the
section is collapsible
Can drag and drop properties between sections
© Copyright 2014 TopQuadrant Inc.
Slide 12
Adding Properties with Form Builder
 Select a section and use one of the two ‘create’
icons to include a property in the section
Select a property
from the drop down
If desired, specify
cardinality
If desired, type
‘search’, ‘view’ or
‘edit’ to hide a
property in the
corresponding forms
Create a property widget or
an inverse property widget
© Copyright 2014 TopQuadrant Inc.
Optionally, specify
a widget to use
e.g., rich text,
nested, etc.
Slide 13
Selecting Widgets with Form Builder
 Widgets can be selected for view, edit and search
form modes
•
If none are selected, EVN will
use the most appropriate
widget for the range of values
editing data
using rich text
widget
insert
hyperlink
choose rich text
widget
© Copyright 2014 TopQuadrant Inc.
Slide 14
Customized Form Result
 Since this form was
defined for the class
Territory it is
applicable to all
members of the class
such as Anguilla
© Copyright 2014 TopQuadrant Inc.
Slide 15
Display ‘Custom’ Trees
 Showing associative relationships in any ontology
e.g, people with their children
2 Dropdown makes available all
relevant relationships (object
properties for Person)
Select the relationship to
use. Schema.org
3
example has no
‘children’ relationships,
so use the inverse of
‘parent’
With the class ‘Person’
selected, select ‘Show
hierarchy’
© Copyright 2014 TopQuadrant Inc.
1
This feature is specific to
ontologies, SKOS
taxonomies use a prebuilt skos:broader tree
Slide 16
4
Customizing Trees with Icons
 Custom icons can be defined
& displayed for each class
from myPersonIcon.png, as
defined in PersonStyle of my.css
© Copyright 2014 TopQuadrant Inc.
Slide 17
Dynamically Opening a New Window
 Useful for comparing values, etc.
Window opens in a
new panel, can be
resized, closed
© Copyright 2014 TopQuadrant Inc.
Slide 18
Defining Single-Valued Properties
 When defining a property, set the cardinality to 1
unit allows one value
only
© Copyright 2014 TopQuadrant Inc.
Slide 19
Plugin for Create Resource Dialog
 Specify any algorithm for generating a URI when
creating a new resource in EVN
– Can remove URI from the editable fields in the dialog.
– If desired, can remove all information about the URI
 Perform any other activities on create
– For example, generate a numeric ID
 Example found in:
– evn.topbraidlive.org/evndoc.www/samples/evn-plugins.ui.ttlx.txt
– to enable these examples, modify name to remove .txt and Refresh TopBraid
System Registries
© Copyright 2014 TopQuadrant Inc.
Slide 20
Example – Create Resource Dialog
 Create a RDF/SWP file (will be named .ui.ttlx)
– import
teamwork.topbraidlive.org/system/teamworkrules.ui.ttlx
– create a subclass of swa:CreateResourceDialogPlugins
 swa:CreateResourceDialogPlugins example
– subclass swa:CreateResourceDialogPlugins – see evnplugins:UUIDCreateResourceDialogPlugin
– swa:createResourceDialogPluginWeight
defines when the plugin is applicable
• in this case for EVN
taxonomies when
creating a datatype
property
© Copyright 2014 TopQuadrant Inc.
Slide 21
TopBraid EVN: Collaboration
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 22
A Use Case for Community Review
 Once a vocabulary is published to the EVN
Vocabulary Explorer, a broader community can
comment on the published vocabularies:
– comments are received in TopBraid EVN by the
governance/editorial team
– EVN editors can then act on or decline the comments
– When publishing a vocabulary, one must enable the
commenting feature
 This is in addition to the already existing capability
for exchanging comments between the members of
the editorial team (TopBraid EVN users)
© Copyright 2014 TopQuadrant Inc.
Slide 23
EVN Vocabulary Explorer
 Publishing to EVN Vocabulary Explorer is now
supported for ontologies as well as SKOS taxonomies
The Vocabulary Explorer can be installed on a separate server.
The publishing action will push the vocabulary being published to the
server specified in the configuration parameters.
© Copyright 2014 TopQuadrant Inc.
Slide 24
Sending Comments from the EVN
Vocabulary Explorer
 Users of EVN Vocabulary Explorer use Send Comment
 Users of TopBraid EVN receive comments
Comment from a
user in EVN
Vocabulary Explorer
Comment seen in
TopBraid EVN when
looking at the
commented item (Brazil)
© Copyright 2014 TopQuadrant Inc.
Slide 25
Convenient listing of Comments from
the Community of Interest
 Multiple Explorer servers can be
set up for one TopBraid EVN server
Status of comments
© Copyright 2014 TopQuadrant Inc.
Slide 26
TopBraid EVN: Managing Change and
Evolution
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 27
A Use Case for Promoting Changes
 A single working copy of a vocabulary is used to
capture all changes
– Each change, as it gets approved and agreed on, can
be individually committed to the production version of
a vocabulary
– Changes that are disapproved, can be either
deleted/reverted from a working copy or kept for
historical purposes in the working copy, marked with a
status such as ‘declined’ and never promoted
 This is in addition to the already existing
capabilities for committing to production an
entire working copy and working with several
working copies (of any vocabulary) in parallel
© Copyright 2014 TopQuadrant Inc.
Slide 28
Selective commits of changes from
working copies
 View Change History
Commit these changes
only to production

With this new capability, users can elect to continue working with the same
working copy indefinitely, while committing select changes from it as they
become ready to be promoted
© Copyright 2014 TopQuadrant Inc.
Slide 29
TopBraid EVN: Enhanced Audit Trails
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 30
Capturing in the Audit Trail Additions
from the Imported Files
 Provenance data can be captured on import
– by just checking a check box (see figure below)
– audit trail will include the file name
Will add all triples
to change history
© Copyright 2014 TopQuadrant Inc.
Slide 31
Full Audit Trails
 Display history shows each creation step
– including imports
© Copyright 2014 TopQuadrant Inc.
Slide 32
Full Audit trails
© Copyright 2014 TopQuadrant Inc.
Slide 33
Save ‘Notes’ in the Audit Trails
 Notes entered on Save now appear in Show History
© Copyright 2014 TopQuadrant Inc.
Slide 34
Importing Data to Working Copies
 RDF files and
spreadsheets can now be
imported into a working
copy as well as into a
production copy
– change information is
included
© Copyright 2014 TopQuadrant Inc.
Slide 35
TopBraid EVN: Search Form
Enhancements
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 36
EVN Search Form Enhancements
 Three new options:
– regular expressions
– cardinality
Finds all concepts with
a preferred label
– counts
starting with “al”, not
case-sensitive
© Copyright 2014 TopQuadrant Inc.
Slide 37
EVN Search - Cardinality
 Searching based on the number of values
Min and Max number
of values
© Copyright 2014 TopQuadrant Inc.
Slide 38
EVN Search - Counts
 Example:
Search for all members of
Person with “kennedy” for the
last name and get a number of
children for each
 Click twice in search field to get ‘#’
– result is a count of the number of
properties for each matching resource
Click twice on the
checkbox to get a count
icon
Result shows matching criteria
and the number of matches
for the properties with a ‘#’
© Copyright 2014 TopQuadrant Inc.
Slide 39
EVN Search – Charting Search Results
 Pie chart of the Gender counts in a dataset
Select type of a chart
(e.g., pie, bar, …)
Modify query to
be charted (if
desired)
3
1
Run a search
query
2
Select ‘Display
chart of
search results’
from the
menu
Also available in TBI and as a generic charting component.
© Copyright 2014 TopQuadrant Inc.
Slide 40
TopBraid EVN Taxonomy Editor: Labels
as Resources (SKOS-XL support)
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 41
SKOS-XL Support - 1
 Provides support needed to manage labels as objects
– i.e., as resources in their own right with their own
associated information
– useful for various purposes, e.g., to capture a source for a
label, or to provide directions to text mining tools on how
to use a label
 TopBraid EVN's support for SKOS-XL is limited to
alternative, hidden and display labels
– preferred labels can only be strings
• …i.e. uses skos:prefLabel, not skosxl:prefLabel
– skos:prefLabel represents the concept, and therefore other
information about the “concept” can be maintained
without another layer of labels
• label metadata can be placed directly on the concept
© Copyright 2014 TopQuadrant Inc.
Slide 42
SKOS-XL Support - 2
 Activate by importing the SKOS-XL vocabulary
into a taxonomy
– includes skosxl:altLabel, skosxl:hiddenLabel
 Language tags allowed in skosxl:Label objects
– i.e. multiple language tagged values of skosxl:literalForm
– judiciously ignores SKOS-XL spec requiring one label
property per Label instance
– allows creation of separate instances of skosxl:Label, if
desired
© Copyright 2014 TopQuadrant Inc.
Slide 43
SKOS-XL: Label Objects
 Displaying label objects
© Copyright 2014 TopQuadrant Inc.
Slide 44
Editing SKOS-XL
 Properties defining
the Label class as
their domain appear
by default
 In this case: end
date, original source,
Editing an
start date and
existing label
verified date
Creating a new label
© Copyright 2014 TopQuadrant Inc.
Slide 45
TopBraid EVN: Miscellaneous
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 46
Symmetric Properties in EVN
 Properties defined as owl:SymmetricProperty type will create
two triples
– the triple specified by the user and its inverse
 Example skos:related is symmetric
Algeria skos:related
Morocco is
automatically created
Choose Morocco as
skos:related to Algeria
© Copyright 2014 TopQuadrant Inc.
Slide 47
EVN Role Management by LDAP Roles
 EVN Roles can be assigned by LDAP roles
– all users with the LDAP role will have the assigned EVN Role
Roles defined in LDAP
(or tomcat-users.xml)
Assigned EVN Roles
(manager, editor, viewer)
Role assignments for users that no longer exist are
now automatically deleted when a vocabulary's
manager logs into the vocabulary's main page.
© Copyright 2014 TopQuadrant Inc.
Slide 48
EVN Vocabulary Types
 Change in
terminology –
same functionality
– Taxonomy (SKOS)
• Used to say
‘Vocabulary’
– Ontology
(RDFS/OWL)
© Copyright 2014 TopQuadrant Inc.
Slide 49
EVN Help Page
 Change of location for the link to the EVN Help page
Note EVN Help link
(access to User Guides)
has changed!
© Copyright 2014 TopQuadrant Inc.
Slide 50
Class Views in EVN Taxonomy
 Terminology change: “Class Hierarchy”
instead of “Concept Types Hierarchy”
 Defining root of Class Hierarchy
1. Edit Project to set class tree root
2. Option to start class view with owl:Thing
3. See result in Class Hierarchy
1
3
2
© Copyright 2014 TopQuadrant Inc.
Slide 51
Search in EVN Tagger
 Tagger makes it now easier to find concepts that
have not been tagged yet
– the search form on the left side (if the subjects graph is another EVN
vocabulary) can be used to find concepts that have no value for, e.g.
has exact match.
 Tagger can also be used to map two vocabularies
© Copyright 2014 TopQuadrant Inc.
Slide 52
EVN Explorer Module
© Copyright 2014 TopQuadrant Inc.
Slide 53
Published Vocabularies
 Published vocabularies appear in EVN Explorer
(previously called EVN Viewer)
– http://[host]:[port]/evn/tbl/evnhome
© Copyright 2014 TopQuadrant Inc.
Post comments that will be
sent to the editorial team
Slide 54
Enabling Comments for a Published
Vocabulary
 Publishing to an EVN Explorer
– check “Allow sending comments…”
Note definition for
Short id below
2
Publish creates an entry
for a Published vocabulary
on the EVN Explorer server
1
© Copyright 2014 TopQuadrant Inc.
Slide 55
EVN Explorer Setup
 TopBraid EVN Configuration Parameters
– set EVN Explorer server to the server EVN Explorer is
installed on
– this can be the same as TopBraid EVN server
(but not recommended when EVN Explorer has a high volume)
Viewer setup
Editor setup – may be
the same as the server
being configured
© Copyright 2014 TopQuadrant Inc.
Slide 56
TopBraid Insight 4.5
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 57
The growth of enterprise data sources
© Copyright 2013 TopQuadrant Inc.
Slide 58
The Problem (from the Data User’s perspective)
• Domain experts (the
users of the data) know
that data exists
-
Within an organization
-
In external data sources
 …and know both actual and potential questions that
could be asked of the data IF…and this is a big IF…
 …the data could be integrated.
© Copyright 2014 TopQuadrant Inc.
Slide 59
TopBraid Insight (TBI)
Connect the dots   New Insights
from virtually integrated data
Interactive Exploration
 Federated queries
Over distributed data
 Surface answers using
W3C semantic standards
 Running on commodity
internet technologies
HTTP, URI, ReST, etc.
© Copyright 2014 TopQuadrant Inc.
Slide 60
Why Semantic Virtual Data Integration?
 Lower cost
 More user /domain-expert-centric – Less technology
centric
 Enables Deeper insight into data
 Less development time
 Increased flexibility and evolutionary capabilities
Domain experts can
ask “unexpected
questions” after the
integration has been
done.
© Copyright 2014 TopQuadrant Inc.
Slide 61
New capabilities: Why should you care?
 Provenance of the retrieved information
(TopBraid Insight (TBI) federates queries over disparate data
sources and dynamically brings back the merged information)
– Provenance shows where each value came from
 TBI takes advantage of all platform improvements
– More options on the search form including charts
– Better ability to customize icons and forms
– Faster displays
© Copyright 2014 TopQuadrant Inc.
Slide 62
Displaying Provenance
 Show data sources
– displays which data source
a property comes from
Federated search across Books,
Movies, and Kennedys
© Copyright 2014 TopQuadrant Inc.
Slide 63
TopBraid Platform 4.5
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 64
TopBraid Platform powers TopQuadrant and
Customer-built Solutions
• TopQuadrant offers configurable, out-of-the box solutions
enabling organizations to evolve their information
infrastructure into a semantic ecosystem
• Customers can use capabilities of the platform to quickly built
their own applications
Solutions
Solutions
Solutions
Solutions
Solutions
Search / Content
Enrichment
Reference Data
Management
Information Discovery
Asset
Management
Information
Exchange
Solutions
Compose your own
TopBraid Platform
Solution Engine
© Copyright 2014 TopQuadrant Inc.
IDE
Slide 65
New capabilities: Why should you care?
 Performance
– Faster database writes with concurrency
– Faster form displays
 Enterprise readiness
–
–
–
–
Better handling of database connections
Hot-hot failover configuration
Improved cache management including selective caching of functions
Better error messages
 Support of UPDATE protocol for SPARQL Endpoint
 Support for JSON-LD
 Teamwork APIs
– Use of working copies and audit rails programmatically
 Also see SPIN, SPARQLMotion, SWP, SWA section
© Copyright 2014 TopQuadrant Inc.
Slide 66
SDB Triple Store
(and other improvements for database backends)
 Maintenance of Jena SDB code base
– performance improvements
– bug fixes
– named graph support (TDB also)
 Better handling of database connections and connection pooling
– applies to all supported databases
 Support for hot-hot failover configurations through dynamic
caching
– applies to all supported databases
 Dynamic named graphs
– name such as http://example.org/mysdb/graph1 resolves to the
connector:
• http://example.org/mysdb/
– i.e. create the connector http://example.org/mysdb
• ..and named graphs with that “prefix” are automatically added to the SDB
dataset
– same for TDB
© Copyright 2014 TopQuadrant Inc.
Slide 67
SPARQL Endpoint UPDATE
 Submit SPARQL INSERT/DELETE statement to sparql
servlet
– http:/[host]:[port]/{evn,tbl}/tbl/sparql?update=[update
query]
– must set Server Config Parameter
• Access controls apply if set to true
http://localhost:8083/tbl/sparql?update=INSERT{%20%20GRAPH%20%3Chttp://topbraid.org/examples/kennedys%3E{%2
0%3Chttp://topbraid.org/examples/kennedys%23JohnKennedy%3E%20%3Chttp://www.w3.org/2000/01/rdfschema%23comment%3E%20%22another%20comment%22}}WHERE%20{}
Note: prefixes are currently not interpreted in an UPDATE
© Copyright 2014 TopQuadrant Inc.
Slide 68
Improved Error Messages for End User
 Possible cause displayed
– details accessed via button
Error message
Error stack details
© Copyright 2014 TopQuadrant Inc.
Slide 69
JSON-LD Support
 JSON-LD export support
– in TBC, open any model and “Save As…”
– use .jsonld as the file ending
– result will be in JSON-LD
© Copyright 2014 TopQuadrant Inc.
Slide 70
JSON-LD
 .jsonld file is converted into triples as with any other RDF text
serialization
JSON-LD Text
serialization
© Copyright 2014 TopQuadrant Inc.
Slide 71
Teamworks API
 Enhancements
– creating a working copy
– archiving teamworks
changes
 API enhancements
– updates validated
– consistent JSON response
 Documentation
– see Teamworks Framework
page
© Copyright 2014 TopQuadrant Inc.
Slide 72
Performance Improvements
 SDB
– Concurrent writes for SDB significantly improving
performance of write operations
 Performance improvements for SWP forms
and views
© Copyright 2014 TopQuadrant Inc.
Slide 73
Other Changes
 API to support deployment
– Supports automated release management
• create initial loads of TopBraid applications from a TBC workspace
to TBL/EVN server
– URLs to build server – compatible with maven, etc.
 Verbose logging Server Config Parameter
– display additional info for SPIN templates, SWP servlets,
SPARQLMotion
 Anonymous access to server
– in Server Configuration Parameters set “allow anonymous
access” to true
• false by default
© Copyright 2014 TopQuadrant Inc.
Slide 74
SPIN, SPARQLMotion, SWP, SWA
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 75
New capabilities: Why should you care?




New functions
New SPARQLMotion modules
New and improved user interface components
Improvements for SPIN and SWP development in
TopBraid Composer
– Better form layouts for spin:Functions and
MagicProperties
– Improved error handling on editing body of magic
properties.
– Easier ways to create SWA forms
© Copyright 2014 TopQuadrant Inc.
Slide 76
Generic Tree Component
 (Used for viewing object properties in TopBraid EVN)
 See Help > SWA Help/Examples
– 5.3 Flexible Trees using swa:GenericTreeGadget
 Using sample from the SWA help
page:
Simple SWP file with a
ui:prototype
© Copyright 2014 TopQuadrant Inc.
Slide 77
Customizing Tree Icons
 Works with TopBraid EVN
 Allows different icons to be used in the tree view
– can specify different icons for classes
– see
http://localhost:8080/evn/tbl/lib/evndoc/adminguide.htm
l#customizing-icons
 Second example: modifying icon view for instances of
Person in schema.org example
– create a new RDF/SWP File
• e.g. CustomSchemaOrgIcons.ui.ttlx
– Create a subfolder of a project named
my.www
• necessary to create a library the application can access
• create my.css in the my.www folder
• add a custom icon – should be no more than 15x12 px
© Copyright 2014 TopQuadrant Inc.
Slide 78
css for Customizing icons
 Create a style using the icon
Image in same
directory as .css file
@CHARSET "UTF-8";
.PersonStyle { background-image:url('myPersonIcon.png') !important;
background-position: 0 0 !important;
}
Overrides default
settings
© Copyright 2014 TopQuadrant Inc.
Slide 79
Defining Instance icon with swa:typeIcon
 Import the data model into the
SWP file
Defined on class,
applied to instances
– /sample.evn.topbraidlive.org/schema
example/schemaexample.tdb for this
example
– use style name in the swa:typeIcon
property for the class definitions
• this will be applied to all instances when
displayed in the tree view
© Copyright 2014 TopQuadrant Inc.
Slide 80
Include css style sheet in Application
 For the EVN Ontology Editor
– make sure /TopBraid/SWA/swa.ui.ttlx is imported into the
SWP file
– add link to my.css in ui:headIncludes of swa:Elements
•
•
•
ui:lib() gets the local URL for
the “lib” servlet
…used to access static files
my.www is mapped to
‘ui:lib()/my’
Caveat: May need to flush
browser cache to get new
definitions of the .css file
link to
TreeIconDemo.topquadrant.com/
my.www/my.css file
© Copyright 2014 TopQuadrant Inc.
Slide 81
Icons Used in Tree Views
 Use “Open hierarchy of instances” to view the
custom icons, as defined here
from myPersonIcon.png, as
defined in PersonStyle of my.css
© Copyright 2014 TopQuadrant Inc.
Slide 82
Import file from URL SM Module
 SPARQLMotion module
– download a file and save it in workspace
– file in workspace can subsequently be used in TopBraid
features
This example of use gets a file
from topquadrant.com
/docs/examples and copies it
into the TopBraid Workspace
© Copyright 2014 TopQuadrant Inc.
Slide 83
spif:shortestSubjectPath Function
 Finds shortest path to an object
– returns a string of resources that define the shortest path,
for a given property
– runs inverse of spif:shortestObjectPath
Data
kennedys:JosephKennedy kennedys:hasChild kennedys:JohnKennedy .
kennedys:JohnKennedy kennedys:hasChild kennedys:JohnKennedyJr.
Result is a space-delimited set of URIs
representing the shortest path
[path]
http://topbraid.org/examples/kennedys#JohnKennedyJr.
Result
http://topbraid.org/examples/kennedys#:JohnKennedy
http://topbraid.org/examples/kennedys#JosephKennedy
© Copyright 2014 TopQuadrant Inc.
Slide 84
Creating SWA Forms
 Creating default instance forms for a class
– automatically finds properties for a given class
• …as defined by a local class restriction on the the
property
• or the class defined in the property’s domain
 Example: defining a kennedys:College view
–
–
–
–
create a New > RDF/SWP file
import TopBraid/examples/kennedys.ttl
choose the kennedys:College class
in ui:instanceView, choose Create
default SWA form from context menu
– can edit results ad desired
© Copyright 2014 TopQuadrant Inc.
Slide 85
Extending the SWA Default Application
 Provides a way to define a custom application
– start by creating an application from a template
– in a new project, choose New > SWP Application
based on Template
 Details in SWA help
– interactive Help page – must be running TBC-ME
http://localhost:8083/tbl/swp?_viewClass=swadoc:Index#architecture
© Copyright 2014 TopQuadrant Inc.
Slide 86
Other changes to SPIN, SM and SWP
 New:
– built-in functions spin:ask, spin:construct and spin:select
to execute SPIN queries
– SPIN function spr:colWithName.
– magic properties to query user authentication assets,
permissions, roles
– SWP function ui:encodeContext for context-sensitive Ajax
support
– control element <ui:setResponseHeader /> to set the HTTP
response status code.
 SWP support for temp graphs
– ui:tempGraph[any character]
© Copyright 2014 TopQuadrant Inc.
Slide 87
Other changes to SWA
 Support for flexible portal-like windowing. Used by SWA default app
and all EVN apps. See EVN section for more details.
 Mechanism to declare dependencies between properties so that
the range of one property changes depending on other values of a
given resource (spl:dynamicEnumRange).
 Charts components: swa:BarChart, DonutChart, FilledAreaChart,
LineChart, PieChart. Used by EVN & TBI. See EVN for more details.
 swa:BorderLayout and FullScreenBorderLayout now have an option
to remember the layout in the browser.
 SWA auto-complete field editors now have a placeholder text such
as "Select Concept" to indicate the expected type
 Search form enhancements to support calculation of counts and
searches based on cardinality and regex. Used by SWA default app,
EVN & TBI. See EVN for more details.
© Copyright 2014 TopQuadrant Inc.
Slide 88
Installation and Administration
Back>>
© Copyright 2014 TopQuadrant Inc.
Slide 89
New TopBraid EVN Configuration Page
 Licenses now entered in Product Registration page
© Copyright 2014 TopQuadrant Inc.
Slide 90
Product Registration
 Server Administration > Product Registration
© Copyright 2014 TopQuadrant Inc.
Slide 91
Product Registration (2)
 Technical Support and Maintenance (TSM) expiration
dates appear when licenses are entered
© Copyright 2014 TopQuadrant Inc.
Slide 92
New: Password Manager page
 Server Administration > Password Management
© Copyright 2014 TopQuadrant Inc.
Slide 93
Permission Group Manager
• Enhancement to UI
– management of roles and groups
make a copy
edit group name
© Copyright 2014 TopQuadrant Inc.
delete the group
remove the group
from the role
Slide 94
TopBraid 4.5 is available Now!
 TopBraid Composer download at:
http://www.topquadrant.com/beta
 TopBraid Live download
at: http://download.topquadrant.com/live
 TopBraid EVN download
at: http://download.topquadrant.com/live/evn
 Contact [email protected] for questions
© Copyright 2014 TopQuadrant Inc.
Slide 95