• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
How to instantiate pinta in a domain
 

How to instantiate pinta in a domain

on

  • 240 views

 

Statistics

Views

Total Views
240
Views on SlideShare
193
Embed Views
47

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 47

http://imash.leeds.ac.uk 47

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    How to instantiate pinta in a domain How to instantiate pinta in a domain Presentation Transcript

    • How to Instantiate Pinta in a Domain
    • Aware of Components of Pinta • Ontologies • Services – KB (service that retrieves knowledge axioms) – Extractor (service that annotates text) • Interface to view Pinta • Textual content (e.g. comments, reviews etc)
    • Step:1 Prepare Ontologies 1. Select appropriate ontologies for your domain. They must be RDF/OWL ontologies expressed in RDF/XML, NT or N3 serialisations. 2. Load these ontologies in a Triple Store (Pinta supports OWLIM 3.4+).Consult respective manuals for triple stores on how to load ontologies in a repository. 3. Make note of the repository URL. 4. Make note of all the possible prefix and namespaces used by your ontologies.
    • Step 2: Prepare Extractor service 1. Use Gazetter program (Java) by providing the location of where the ontologies are stored. This will create Gazetters for the extractor service. 2. Place this Gazetters in Gaz directory of Extractor service. 3. Create a WAR file of the Extractor directory and name it “extractor” 4. Deploy War file on an application server(e.g. Tomcat) 5. Make note of the address where the service is running.
    • Step 3: Prepare KB service • 1. Modify web.xml file from the kb service folder to point to the Repository URL you noted in Step 1. • 2. Create a War file from the kb folder and name it “kb”. • 3. Deploy this WAR file on an application server (e.g. Tomcat) • 4. Make note of the address where the service is running.
    • Step 4: Prepare Interface • 1. Modify the dbconnect.php file (under Pinta folder) to point to the location of “kb” and “extractor” services (see step 2 and 3) • 2. Modify functions.php file (under Pinta folder) to all the possible prefix-namespace mappings used within your selected ontologies. (see step 1) • 3. Save the “pinta” folder on a web server of your choice (e.g. apache) • 4. Make note of URL where Pinta is running.
    • Step 5: Select & Annotate content • 1. Select list of content that you would like to provide as part of Pinta. • 2. Go to “URL of Pinta”/annotatecontent.php • 3. Input the text from your content one by one and as you press “Submit” the content will be immediately available in Pinta.
    • Time Estimates • Selection of ontologies and Content – This is very subjective task and depends on what type of domain you are working (some have ready made ontologies, some requires fusion or even creation from scratch) • Once you have ontologies and Content, set up and deployment of Pinta – For seasoned programmer ~ 1 day – For medium level programmer ~ 2 -3 days – For junior programmer ~ less than a week