Home

The WebScripter Manual - Information Sciences Institute

image

Contents

1. lt GeneratorSource gt lt UrlOfAnRdfFile gt http www isi edu webscripter div2 display d daml lt UrlOfAnRdfFile gt lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http www isi edu webscripter daml personnel addenda daml lt UrlOfAnRdfFile gt lt GeneratorSource gt lt GeneratorSources gt lt ClassIdentifiers gt lt String gt http www isi edu webscripter div2 org o dam1 Div2Member lt String gt lt String gt http www semanticweb org ontologies swrc onto 2000 09 10 damliPerson lt String gt lt String gt http www semanticweb org ontologies swrc onto 2000 09 10 damliFullProfessor lt String gt lt String gt http www w3 org 1999 02 22 rdf syntax ns FacultyMember lt String gt lt String gt http www semanticweb org ontologies swrc onto 2000 09 10 dam1 PhDStudent lt String gt lt prevent duplicate entry for Stefan http www semanticweb org ontologies swrc onto 2000 09 10 daml AcademicStaff gt lt String gt http www semanticweb org ontologies swrc onto 2000 09 10 daml Lecturer lt String gt lt String gt http www ksl stanford edu projects DAML ksl daml desc damliPerson lt String gt lt String gt http ksl stanford edu Projects DAML ksl daml desc damliPERSON lt String gt lt String gt http ksl stanford edu Projects DAML ksl daml des c damliPERSON lt String gt lt ClassIdentifiers gt lt GeneratorColumn gt lt ExtractorColumns gt lt ExtractorColumn gt lt Id gt Name lt
2. and the content of a report in the upper right Left click on Div2Role then your window should now look like the one in Figure 3 2 Now let s be more selective about which data we want to appear in our report Choose New Report from the File menu Go to any field in the second or subsequent row of column B and type Martin Highlight the field by first clicking on another cell and then clicking on the Martin cell you should see a border around it then click on the Classify button 5 CHAPTER 3 TUTORIAL webscripter untitled report lol Edit DAML Sources lt lt gt gt sort unsort C Root O ee Figure 3 1 Initial State of WebScripter GUI 4 WebScripter Division 2 Personnel Property Ci ontology B Div2Project USC ISI division 2 Ri Div2Member USC ISI division 2 C juan C bugacov C macgreg D yuankaiw C donghank C mdorosz DB jinbo C separkht C szekely C arvind C will D iko C o x BN o i here Aa oeie a a ob m Davia directorem 3 Director E benjamin David Benjamin researcher 5 Researcher bugacov Alejandro B gacov researcher a ae pugacov jinbo Chen 5 Researcher jinbo frank Martin 5 Researcher frank acgreg Robert MacGreg
3. Finally WebScripter s Easy Publish feature in the Windows menu will let you save your WebScripter report definition on an ISI server and will return a URL which will dynamically re computes the report content whenever anyone accesses it If either you have no Internet connection or our servlet service is down WebScripter will go blank for 20 seconds or so then return to life with a Java exception printed to standard error which you can safely ignore Easy Publish gives you a quick way to play with WebScripter and share 3 1 GENERATING A SIMPLE WEBSCRIPTER REPORT 9 the results with others You should obviously a not use the Easy Publish feature for production level content that is mission critical to your organiza tion we make no guarantees that the servlet will remain available forever and b not use it to publish reports of content you want to keep secret be cause anyone can see any Easy Publish report 10 CHAPTER 3 TUTORIAL Chapter 4 Reference The interactive version of WebScripter is now a solid way of constructing and maintaining simpe reports but you can also edit report definitions man ually and then load them back into interactive WebScripter or you can run a WebScripter report via the following command line if you are in the web scripter distribution directory that contains all of the Jar files On a PC on other platforms you may have to replace the semicolons with colons and so forth j
4. Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml name lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www ks1 stanford edu projects DAML ks1 daml desc daml has Full Name lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt Has Full Name lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt First lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml firstname lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml firstName lt Uri gt lt Predicate gt lt Predicates gt lt KeepRowIf gt doesNotContain Jeannine lt KeepRowIf gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Last lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml lastname lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml lastName lt Uri gt lt Predicate gt lt Predicates gt lt KeepRowIf gt doesNotContain Park Balasundaram Ko Bugacov Wang Salemi Benjamin Will Yao Seshadri Medvidovic Eisens
5. Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml phonenumber lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml phone lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt Has Phone Number lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Interests lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml interests20words lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Home Page lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml homepage lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml homepage lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt Has Home Page lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Project IDs lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml workson lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 200
6. lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Annotation Types lt Id gt lt Visible gt false lt Visible gt lt AnchorColumnId gt Annotations lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www w3 0rg 1999 02 22 rdf syntax nsittype lt Uri gt lt Predicate gt lt Predicates gt lt KeepRovIf gt contains http www isi edu webscripter todo o damlfClosureReport lt KeepRowIf gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Closed lt Id gt lt AnchorColumnId gt Annotations lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml entered lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Closure Remark lt Id gt lt AnchorColumnId gt Annotations lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml remark lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumns gt lt SortingInstructions gt lt SortingInstruction gt lt ColumnId gt Entered lt ColumnId gt lt Ascending gt false lt Ascending gt lt SortingInstruction gt lt SortingInstructions gt lt Definition gt 16 CHAPTER 4 REFERENCE 4 2 A multi ontology report The report below is interesing because it draws data from multiple DAML ized Web pages that use multiple ontologies and whose authors did not co
7. tvwww db stanford edu yhjin dam file v Robert Neches benjamin j j Jacob Eisenstein C bugacov Ragy Eleish Handschuh C salemi 7 Jin iinbo Martin Jin Siegfried Frank Figure 3 4 Combining Stanford Karlsruhe s and ISI s data Both Siegfried and Yuhui now appeared in the list of people s names Your window should now look like the one in Figure 3 4 Finally click in the yellow header column and you will see a popup window that lists the URIs of DAML properties that go into this column You have also implicitly declared that you regard those two properties as equivalent at least for the purpose of this report WebScripter will write out that fact as DAML samePropertyAs statements which can later ben efit yourself and others by WebScripter offering to incorporate all of those whenever any of them are used More about that in a later chapter Choose Mapping Info from the Output menu to view this equivalency information in DAML Choose As HTML from the Output menu to see the standard HTML format of the report you just created Choose Report Definition from the Output menu to obtain the Web Scripter report definition wsrd file it isin XML format and you can refer to Chapter 4 to edit the XML by hand for example this lets you sort rows restrict rows by content and perform other operations that can currently not yet be performed interactively
8. 0 09 10 damlitworksAtProject lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 damlitheadOf lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www cs umd edu projects plus DAML onts general1 0 daml head lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Project Nicknames lt Id gt lt AnchorColumnId gt Project IDs lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www w3 org 2000 01 rdf schema label lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml title lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumns gt lt SortingInstructions gt lt SortingInstruction gt lt ColumnId gt Last lt ColumnId gt lt Ascending gt true lt Ascending gt lt SortingInstruction gt lt SortingInstructions gt lt Definition gt Chapter 5 Background and Pointers Here are the normative references to the languages that WebScripter uses 5 1 XML http www w3 org XML 5 2 RDF http www w3 org RDF 5 3 RDF Schema http www w3 org TR 2000 CR rdf schema 20000327 5 4 DAML http www daml org 2001 03 daml 0il index htmil 19 20 CHAPTER 5 BACKGROUND AND POINTERS Appendix A Revision History from 1 1 July 10th to 1 2 July 25th 2001 added insta
9. 2 lt KeepRowIf gt lt KeepRowIf gt contains http www isi edu frank metaja lt KeepRowIf gt lt KeepRowIf gt doesNotContain VHClosureReport lt KeepRowIf gt lt KeepRowIf gt doesNotContain szekely rneches lt KeepRowIf gt The expression within the brackets is a GNU regular expression which means you can use sophisticated wild cards good overview of GNU regular expressions is at http www emerson emory edu services editors ne Regular_Expressions html this is an external site which we have no control over try GNU regular expression in a search engine it it does not work 4 1 SINGLE ONTOLOGY REPORTS 13 Finally note that you can load from URLs which do not start with http In particular you can use file x daml to load local file x daml presuming such a file exists in your webscripter directory the one that contains wsall jar You can probably also load from subfolders using file subfolder x daml syntax and from super folders using file whatever x daml syntax but that is specific to your operating system and Java runtime im plementation 4 1 Single ontology reports Here is how I keep to do item lists on the Meta Ja project http www isi edu frank metaja First here is the list of open items In a nutshell the report lists all to do items that a refer to the Meta Ja project and that b are not referred to by any closure report http www isi edu webscripter metajato
10. GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt www db stanford edu Ontoagents participants lt UrlOfAnRdfFile gt waw db stanford edu stefan person_stefan_decker lt UrlOfAnRdfFile gt www aifb uni karlsruhe de WBS sha index html person sha lt UrlOfAnRdfFile gt waw db stanford edu melnik index dam1 lt UrlOfAnRdfFile gt www db stanford edu yhjin lt UrlOfAnRdfFile gt waw aifb uni karlsruhe de sst lt UrlOfAnRdfFile gt www ksl stanford edu people dlm lt UrlOfAnRdfFile gt ksl web stanford edu people sam lt UrlOfAnRdfFile gt www cs umd edu hendler jhendler daml lt UrlOfAnRdfFile gt www cs cmu edu softagents atlas daml pages payne terence daml lt UrlOfAnRdfFile gt www semanticweb org ontologies swrc onto 2000 09 10 daml lt UrlOfAnRdfFile gt www isi edu webscripter div2 org o0 daml lt UrlDfAnRdfFile gt www isi edu webscripter div2 roster d daml lt UrlOfAnRdfFile gt www isi edu webscripter div2 projects gen d daml lt UrlOfAnRdfFile gt www isi edu webscripter div2 roles d daml lt UrlOfAnRdfFile gt lt CrawlDepth gt 1 lt CrawlDepth gt lt Url0fAnRdfFile gt http lt GeneratorSource gt www isi edu webscripter div2 registry d daml lt UrlOfAnRdfFile gt 4 2 A MULTI ONTOLOGY REPORT 17
11. Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Annotation Types lt Id gt lt Visible gt false lt Visible gt lt AnchorColumnId gt Annotations lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www w3 org 1999 02 22 rdf syntax ns type lt Uri gt lt Predicate gt lt Predicates gt lt KeepRowIf gt doesNotContain http www isi edu webscripter todo o daml ClosureReport lt KeepRowIf gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Comment Dates lt Id gt lt Visible gt false lt Visible gt lt AnchorColumnId gt Annotations lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml entered lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Comments lt Id gt lt Visible gt false lt Visible gt lt AnchorColumnId gt Annotations lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml content lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumns gt lt SortingInstructions gt lt SortingInstruction gt lt ColumnId gt Entered lt ColumnId gt lt Ascending gt false lt Ascending gt lt SortingInstruction gt lt SortingInstructions gt lt Definition gt Second here is the WebScripter report definition of closed items It lists to do items that refer to the Me
12. The WebScripter Manual DARPA DAML USC ISI WebScripter Project http www isi edu webscripter by Martin Frank with P Szekely R Neches B Yan J Lopez Version 2 2 May 31 2002 Copyright 2001 2002 Martin Frank All rights reserved Chapter 1 Introduction 1 1 What is DAML OIL the Semantic Web DAML is the United States Defense Advanced Research Projects Agency s Agent Mark up Language It is an effort to define a Web based machine understandable knowledge representation OIL the Ontology Inference Layer is a European sister effort DAML OIL merges the languages into a single proposed standard Both these efforts are part of an attempt to evolve the current World Wide Web into the Semantic Web in which machines can read content with out Web scaping or wrappering Web site content by hand http www sciam com 2001 050lissue 0501berners lee html is an excellent general audience introduction to the concept of the Semantic Web 1 2 What is WebScripter WebScripter is a tool that allow ordinary users to make reports of DAML data distributed over the Web You can add columns by browsing any DAML data in a hierarchy outline and then add data in a new column or to an existing colum While you are doing that WebScripter records which ontological classes and fields were used together in a DAML format so that others can draw from that when making their reports people who used ISI LastName also used Ox
13. ava classpath jena jar wsall jar rdf api 2001 01 19 jar xerces jar xalan jar gnu regexp 1 0 8 jar Dorg xml sax parser org apache xerces parsers SAXParser edu isi dce webscripter report main WsMnMain parser jena definition http www isi edu webscripter div2 people wsrd printAllTriples false htmlOutput example gen html xmlOutput example gen xml About the command line arguments the parser argument is either jena or rdfapi latter is only recommended for backward compatibility print llTriples will do just that after loading all your DAML input examining that is the only sensible way to make WebScripter reports of pure RDF data with neither a DAML nor an RDFS schema behind it because it will not show you a class hierarchy on the left in that case WebScripter reports explicitly specify the DAML data source pages that will be loaded to produce the report Additional pages can also be loaded dynamically more about that later In the future explicitly specifying 11 12 CHAPTER 4 REFERENCE source pages may not always be neccessary by using crawler that knows where to find DAML content The data that results from instantiating a WebScripter report definition is always in tabular form Note that it is not in relational form in the database sense because it is not in First Normal Form a single cell in the table can have multiple values The first column of a table is special because it defines
14. directory to start WebScripter On a PC you can also create a shortcut to that file and place the shortcut on your desktop as a convenience If you are running on a Macintosh or Unix variant copy and modify the runinteractivewindows bat file to follow the platform s conventions for example Unix uses colons to separate CLASSPATH entries rather than the semicolons used by Windows CHAPTER 2 INSTALLATION Chapter 3 Tutorial This part of the manual describes how to use the graphical version of Web Scripter The Reference chapter explains how to work with the textual XML format of a WebScripter report definition which is more cumbersome but also more powerful and can also be used to re run reports you defined interactively from the command line 3 1 Generating a simple WebScripter report Start the graphical version of WebScripter as described in Chapter 2 You should see a window with a blank spreadsheet like the one in Figure 3 1 Load the URL http www isi edu webscripter div2 people gen html into your favorite Web browser What you are looking at is the HTML output of a pre vious run of Web scripter However the content is also embedded as DAML into the Web page Say View Source in your Web browser and scroll towards the end Thus you can use the embedded DAML in that page for further pro cessing Choose Example Report from the file menu You should see an outline of a simple concept hierarchy on the left
15. do gen html lt Definition gt lt ReportName gt Meta Ja Desiderata lt ReportName gt lt Description gt These items describe potential enhancements to Meta Ja that I believe are worthwhile in principle The existence of items on this list does not imply that I promise to ever implement any of them not even if you have paid a commercial Meta Ja licensee fee because maintaining Meta Ja is not part of my regular job the licensing fees are not nearly enough to cover my time lt Description gt lt GeneratorColumn gt lt Id gt Id lt Id gt lt Visible gt true lt Visible gt lt GeneratorSources gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http www isi edu webscripter todo gen d daml lt UrlOfAnRdfFile gt lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http www isi edu webscripter mrftodoaddenda d daml lt UrlOfAnRdfFile gt lt GeneratorSource gt lt GeneratorSources gt lt ClassIdentifiers gt lt String gt http www isi edu webscripter todo o daml ToDoItem lt String gt lt ClassIdentifiers gt lt GeneratorColumn gt lt ExtractorColumns gt lt ExtractorColumn gt lt Id gt ToDo Item lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml label lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Project lt Id gt lt AnchorColumnId gt Id lt Anc
16. ebscripter todo o daml project lt Uri gt lt Predicate gt lt Predicates gt lt KeepRowIf gt contains http www isi edu frank metaja lt KeepRowIf gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Privacy Setting lt Id gt lt AnchorColumnId gt ToDo Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml privacysetting lt Uri gt lt Predicate gt lt Predicates gt lt KeepRowIf gt doesNotContain private lt KeepRowIf gt lt Visible gt false lt Visible gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Description lt Id gt lt AnchorColumnId gt ToDo Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml description lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Entered lt Id gt lt AnchorColumnId gt ToDo Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml entered lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Annotations lt Id gt lt Visible gt false lt Visible gt lt AnchorColumnId gt ToDo Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml todoitemid lt Uri gt lt Inverse gt true lt Inverse gt lt Predicate gt lt Predicates gt
17. ford Surname and Karlsruhe Vorname Thus WebScripter also offers no cost implicit collaborative ontology translation 1 2 CHAPTER 1 INTRODUCTION 1 3 Why would I want to use WebScripter Using DAML and WebScripter you can publish data once and then re publish it many times In a large organization you can allow your individual units to publish their data in a format that makes sense to them yet integrate it into seamless reports using WebScripter You can break out a data entry task both horizontally different units supply different instances rows or vertically different units supply different attributes columns for the same instances or any combination thereof 1 4 What are examples of WebScripter use For example point your browser to http www isi edu divisions div2 and click on People What you re seeing is the output of a WebScripter report albeit for matted with a custom XSL stylesheet For example the information about the office locations and phone numbers is maintained by the ISI business office while the matrix of who works on which projects is maintained by our Division and the individual interests are maintained by individuals WebScripter fuses all this information together into a coherent report Scroll all the way down on the page and click on report in the sen tence This page is automatically generated and maintained based on a Webscripter report that fetches and fuses a
18. his click on Div2Member highlight a field in the firstname column and say choose new report column from the right mouse button menu for the same result Scroll down and type Frank in column C in a blank row select the cell and click on Classify again You will probably have a whole bunch of matches in the pop up window now because frank is my ISI email prefix and used as a key for many attributes Choose lastname from the choices given Our last names now appear as well in column C So far we have only drawn data from one data source the Informa tion Sciences Institute s What makes WebScripter and DAML in general exciting is that you can draw in and mix data from many different sources Load http www aifb uni karlsruhe de WBS sha index html as a DAML file Load http www db stanford edu yhjin as a DAML file You can find both of these people and more listed under http www db stanford edu Ontoagents participants Now type Siegfried in an empty cell of column B select it and Classify it select firstName from the pop up window and click Set Type Jin in an empty cell of column C select it and Classify it select lastName The below instructions rely on external data not maintained by us so we can t guar antee that the pages won t have disappeared etc by the time you read this 8 CHAPTER 3 TUTORIAL webscripter 4 lol x Windows URL http
19. horColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml project lt Uri gt lt Predicate gt lt Predicates gt lt KeepRowIf gt contains http www isi edu frank metaja lt KeepRowIf gt lt Visible gt false lt Visible gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Priority lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml priority lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Description lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml description lt Uri gt lt Predicate gt lt Predicates gt 14 CHAPTER 4 REFERENCE lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Entered lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml entered lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Annotations lt Id gt lt Visible gt false lt Visible gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml todoitemid lt Uri gt lt Inverse gt true lt Inverse gt lt Predicate gt lt
20. llation instruc tions for binary distribution e 1 3 August 16 2001 added more examples and generally cleaned up in preparation for first publicly downloadable release e 2 0 February 9th 2002 complete rewrite of internals based on Jena DAML parser by default now 1 2 orders of magnitude faster report processing can handle 10 MB of DAML input files you no longer have to list subclasses explicitly to pull them in GUI enhancements sorting by multiple columns moving columns adding deleting modifying column definitions and DAML input file list loading with crawl depth of 1 from the GUI e 2 2 May 31st 2002 large number of improvements including guessing ok linkages between classes and offering a menu of that to the user also sorting and ordering of the class hierarchy by various criteria plain HTML pages can now be used as a jump off point for loading RDF pages it points to ISWC 2002 support can now parse embedded RDF out of HTML pages with Jena 21 22 APPENDIX A REVISION HISTORY
21. nd you click on that What you are seeing is the standard look of a WebScripter report The color coding indicates the source of the DAML data The polished People page is made by a simple XSL transformation of the XML version of this WebScripter report 1 5 How can I obtain WebScripter Go to http www isi edu webscripter and click on Download This gives you ev erything you need to run WebScripter and make reports including example reports and this manual You can obtain the complete source codeof WebScripter by signing a license agreement with us You can also use the WebScripter servlet service at to run WebScripter reports without installing any software Go to http www isi edu webscripter and click on as Web Service Chapter 2 Installation The only requirement is a platform that supports Sun Microsystem s Java Development Kit JDK 1 4 0 or higher note that we know for sure that JDK 1 3 1 will not work Say jar xvf webscripter distribution jar if you have the JDK bin direc tory in your path or something like C jdk1 4 0 bin jar xvf webscripter distribution jar otherwise If you are on a PC you can alternatively use WinZip to unpack the WebScripter distribution Either way you will end up with a directory called webscripter on your hard disk If you are on a PC and you have the JDK bin directory in your path you should be able to simply double click on runinteractivewindows bat in the webscripter
22. nsult each other when marking up their pages http www isi edu webscripter daml personnel gen html lt Definition gt lt ReportName gt DAML Personnel lt ReportName gt lt Description gt An attempt to pull together as much information about DAML personnel as I Martin Frank can find data for using WebScripter lt Description gt lt GeneratorColumn gt lt Id gt Id lt Id gt lt Visible gt true lt Visible gt lt GeneratorSources gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http lt
23. or researcher 5 Researcher macgreg neno Nenad Medvidovic 5 Researcher y Oe Ore _ id order director Div2Role otheraffiliatedperson Div2Role Affiliated Div2Role Administrator Div2Role Researcher Div2Role Director Emeritus Div2Role Student Div2Role Past Member Div2Role projectieader Div2Role Project Leader DD gt C N oO Figure 3 2 Viewing Project Data 3 1 GENERATING A SIMPLE WEBSCRIPTER REPORT 7 webScripter Windows URL httpwvww isi edu mwebscripteridiv2 people wsrd wsra file v ADD DAML Classifyt Root Property D plveRole Seongbin D Ontology 2 Ramya B Div2Project USC ISI dl i In Young Div2member Uscast Alejandro B jacob 2 Yuankai i Behnam idicamil V gt Figure 3 3 Reporting on our first names A pop up window will appear which most likely will give you only a single choice which is firstname Choose it and click on Set You now have a report which lists our first names and nothing else Web Scripter has automatically classified the data you typed to the DAML at tribute URI bttp www isi edu webscripter div2 org o daml firstname See Figure 3 3 Classifying is just one way of adding columns for one of a single onto logical type it is actually easier to do t
24. ta Ja project and that do have a closure report associated with them http www isi edu webscripter metajadone gen html lt Definition gt lt ReportName gt Meta Ja Enhancements lt ReportName gt lt Description gt Here is a list of what I recently did on Meta Ja listed by closure date most recent first lt Description gt lt GeneratorColumn gt lt Id gt ToDo Id lt Id gt lt Visible gt false lt Visible gt lt GeneratorSources gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http www isi edu webscripter todo gen d daml lt UrlOfAnRdfFile gt lt GeneratorSource gt lt GeneratorSource gt lt UrlOfAnRdfFile gt http www isi edu webscripter mrftodoaddenda d daml lt UrlOfAnRdfFile gt lt GeneratorSource gt lt GeneratorSources gt lt ClassIdentifiers gt lt String gt http www isi edu webscripter todo o daml ToDoItem lt String gt lt ClassIdentifiers gt lt GeneratorColumn gt lt ExtractorColumns gt 4 1 SINGLE ONTOLOGY REPORTS 15 lt ExtractorColumn gt lt Id gt ToDo Item lt Id gt lt AnchorColumnId gt ToDo Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter todo o daml label lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Project lt Id gt lt AnchorColumnId gt ToDo Id lt AnchorColumnId gt lt Visible gt false lt Visible gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu w
25. tein Eleish lt KeepRowIf gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Affiliation lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml affiliation lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Role lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml role lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt Has Research Position lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt lt ExtractorColumn gt lt Id gt Email lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt Predicates gt lt Predicate gt lt Uri gt http www isi edu webscripter div2 org o daml preferredEmailAddress lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www semanticweb org ontologies swrc onto 2000 09 10 daml email lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt http www cs umd edu projects plus DAML onts personal1 0 daml emailAddress lt Uri gt lt Predicate gt lt Predicate gt lt Uri gt Has Email Address lt Uri gt lt Predicate gt lt Predicates gt lt ExtractorColumn gt 18 CHAPTER 4 REFERENCE lt ExtractorColumn gt lt Id gt Phone lt Id gt lt AnchorColumnId gt Id lt AnchorColumnId gt lt
26. which rows will appear in the report we call it the Generator Column It is the seed of all other content in the table The second and all subsequent columns are Extractor Columns They are computed from the cell content of a specified earlier column and a trans formation RDF triples have a subject predicate object structure the cell content of an extractor column is computed by collecting all objects that match the column s predicate for the subjects in the source cell this can also be reversed by setting IsInverse to true Sometimes you want to have certain columns in your report even though you don t want to show then to the end users For example you can use a column for sorting or filtering the rows of the report but hide the column itself You can do that for any column by setting the Visible tag to false You can sort by one or more columns ascending or descending You can also filter out rows Every cell in a WebScripter report can in principle have multiple values Thus filter expressions operate on list valued cells even if you believe that there should always be at most one value for a cell But you should plan for the case that there are multiple values for example we initially expected to do items to relate to exactly one project but it later turned out that it made perfect sense that some to do items such as Meta Ja improvements apply to multiple projects Here are some simple examples lt KeepRowIf gt contains 200

Download Pdf Manuals

image

Related Search

Related Contents

Lenovo X60S User's Manual  Linn CD Playback System User's Manual  mot sac Chabada - Over-blog  Manual do Usuário    

Copyright © All rights reserved.
Failed to retrieve file