Your SlideShare is downloading. ×
0
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
LarKC Tutorial at ISWC 2009 - First Hands-on Scenario
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

LarKC Tutorial at ISWC 2009 - First Hands-on Scenario

607

Published on

The aim of the EU FP 7 Large-Scale Integrating Project LarKC is to develop the Large Knowledge Collider (LarKC, for short, pronounced “lark”), a platform for massive distributed incomplete reasoning …

The aim of the EU FP 7 Large-Scale Integrating Project LarKC is to develop the Large Knowledge Collider (LarKC, for short, pronounced “lark”), a platform for massive distributed incomplete reasoning that will remove the scalability barriers of currently existing reasoning systems for the Semantic Web. The LarKC platform is available at larkc.sourceforge.net. This is the first of two hand-ons that introduce participants to working with directly LarKC code.

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
607
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. LarKC Early Adopters Hands-on Florian Fischer STI Innsbruck
  • 2. Introduction <ul><li>Purpose: </li></ul><ul><ul><li>Show how a workflow of plug-ins fits together and interacts </li></ul></ul><ul><ul><li>Show wrapping an existing reasoner (IRIS) (later) </li></ul></ul><ul><ul><li>Demonstrate anytime behaviour </li></ul></ul><ul><li>Rule-based reasoning in LarKC </li></ul><ul><ul><li>Setup an eclipse project with prototype plug-ins </li></ul></ul><ul><ul><li>Execute some queries </li></ul></ul><ul><ul><li>Change the statements to be reasoned with </li></ul></ul><ul><ul><li>Modify reasoning </li></ul></ul>18/05/2009
  • 3. Getting Started <ul><li>Required software </li></ul><ul><ul><li>Java JDK 1.6 </li></ul></ul><ul><ul><li>Eclipse </li></ul></ul><ul><li>Import LarKC eclipse projects </li></ul><ul><ul><li>File menu -&gt; Import </li></ul></ul><ul><ul><li>Choose general -&gt; existing projects in to workspace </li></ul></ul><ul><ul><ul><li>Platform </li></ul></ul></ul><ul><ul><ul><li>ISWCDemo </li></ul></ul></ul>18/05/2009
  • 4. Execute a query <ul><li>Step 1: In the project ISWCDemo&apos; run the class: </li></ul><ul><ul><li>Run ISWCDemo with the first settings </li></ul></ul><ul><ul><li>set max heap size: -Xmx1024m </li></ul></ul><ul><li>If you have an internet connection, then you should see several iterations of pipeline output </li></ul><ul><li>Plug-ins used: </li></ul><ul><ul><li>SPARQL to triple pattern query transformer </li></ul></ul><ul><ul><li>Sindice identifier </li></ul></ul><ul><ul><li>Growing data selecter </li></ul></ul><ul><ul><li>IRIS reasoner plug-in (with no rules) </li></ul></ul>18/05/2009
  • 5. Different Data <ul><li>Step 2: Switch to some local data </li></ul><ul><ul><li>Based on http://dev.isb-sib.ch/projects/uniprot-rdf/ </li></ul></ul><ul><li>Use the SimpleFileReaderIdentifier to read in local Uniprot data-sets </li></ul><ul><li>Use the IRIS reasoner plug-in, but without any rules yet </li></ul><ul><ul><li>More on the inner workings of the IRIS plug-in later </li></ul></ul><ul><li>Execute a query to get all triples </li></ul><ul><ul><li>Two iterations of workflow </li></ul></ul><ul><ul><li>~9800 triples </li></ul></ul>18/05/2009
  • 6. Change Inference Rules <ul><li>Step 3: Switch on inference </li></ul><ul><ul><li>RDF, L2 (custom ruleset) or RDFS </li></ul></ul><ul><ul><li>Output: More triples (~ 28000 for RDFS) </li></ul></ul><ul><li>Step 4: Look for sub-classes of &apos; pathway 402&apos; </li></ul><ul><ul><li>No inference: ~50 sub-classes </li></ul></ul><ul><li>Step 5: Look for sub-classes of &apos; pathway 402&apos; </li></ul><ul><ul><li>With inference (RDFS): 238 sub-classes </li></ul></ul>18/05/2009
  • 7. Create Inference Rule <ul><li>Step 6: Sub-classes of self </li></ul><ul><ul><li>Output (any entailment): Nothing! </li></ul></ul><ul><ul><li>Why? </li></ul></ul><ul><ul><li>Look for &apos;:Class&apos; in core.owl </li></ul></ul><ul><li>Step 7: Fix </li></ul><ul><ul><li>Copy L2_entailment.rules to L2_plus.rules </li></ul></ul><ul><ul><li>Add the following statement: </li></ul></ul><ul><ul><li>triple(_iri(&amp;quot;owl:Class&amp;quot;),_iri(&amp;quot;rdfs:subClassOf&amp;quot;), </li></ul></ul><ul><ul><li>_iri(&amp;quot;rdfs:Class&amp;quot;)) :- . </li></ul></ul><ul><ul><li>Rerun! </li></ul></ul>18/05/2009
  • 8. Summary <ul><li>You have: </li></ul><ul><ul><li>Seen a handful of LarKC plug-ins </li></ul></ul><ul><ul><li>Used them together in a simple workflow </li></ul></ul><ul><ul><li>Swapped plug-ins </li></ul></ul><ul><ul><li>Experimented with a plug-in </li></ul></ul>18/05/2009

×