OpenCyc extractor

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(Additional notes)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
Original OpenCyc extractor in Wandora was using web API at OpenCyc. The web API extractor was later replaced by OpenCyc RDF extractor. Current Wandora is using OpenCyc RDF extractor by default. Original web API extractor is discussed below.
 
Original OpenCyc extractor in Wandora was using web API at OpenCyc. The web API extractor was later replaced by OpenCyc RDF extractor. Current Wandora is using OpenCyc RDF extractor by default. Original web API extractor is discussed below.
  
Wandora's OpenCyc extractor uses the semantic web endpoint of the Cyc at http://sw.opencyc.org/2012/05/10/concept/en/ . The semantic web endpoint returns RDF feeds.
+
Wandora's OpenCyc extractor uses the semantic web endpoint of the Cyc at http://sw.opencyc.org/ , specifically at http://sw.opencyc.org/2012/05/10/concept/en/ . The semantic web endpoint returns RDF feeds. Wandora processes the RDF feed using OpenCYCOWLExtractor that is one of Wandora's RDF extractors. Resulting topic map is not connected to Wandora's base ontology. To locate created topics and associations the user needs to search keyword ''cyc''.
  
== OpenCyc web API extractors ==
+
=== Additional notes ===
  
Wandora includes several extractors to get information from [http://www.cycfoundation.org/blog/?page_id=13 OpenCyc web API]. However, as it look like the web API is unstable and has very limited access, Wandora's OpenCyc web API extractors have been removed from the UI. They can be revived and used with Wandora's [[Tool manager]]. Next chapters describe OpenCyc web API extractors.
+
* Cyc concepts start with a capital letter. Thus you might want to search for ''Wolf'' instead of ''wolf'' and ''People'' instead of ''people''.
 +
* Notice OpenCyc extractor generated associations and topics are '''not''' compatible with the [[Topic map conversion of OpenCyc]].
 +
* RDF to topic map transformation follows generally rules described at [[Importing RDF]] but employs a simple role and association mapping based in OpenCyc's schema.
  
Wandora's OpenCyc extractor (classifier) takes a term or multiple terms and retrieves related terms from [http://www.cycfoundation.org/blog/?page_id=13 OpenCyc web API]. User has to select which kind of relations he/she is interested in. Available relation types are
+
== OpenCyc web API extractors ==
  
* Classes
+
Wandora includes several extractors to get information from [http://www.cycfoundation.org/blog/?page_id=13 OpenCyc web API]. However, as it look like the web API is unstable and has very limited access, Wandora's OpenCyc web API extractors have been removed from the UI. They can be revived and used with Wandora's [[Tool manager]].
* Instances
+
* Generalizations aka Superclasses
+
* Specializations aka Subclasses
+
* Denotations
+
* Comments
+
* Siblings
+
  
For example, user may start the extractor with '''File > Extract > Other > OpenCyc classifier''' and request classes for cats and dogs as shown below
+
These web API extractors are
  
 
+
* OpenCyc specs extractor
[[Image:opencyc_extractor_example_1.gif|center]]
+
* OpenCyc isa extractor
 
+
* OpenCyc genls extractor
 
+
* OpenCyc instance extractor
Notice user has capitalized first letters in both search words. Capitalization is required as search words are strictly matched to OpenCyc terms and OpenCyc terms are capitalized. Successful extraction generates '''OpenCyc term''' subclass for '''Wandora class''' and potentially multiple instances for the '''OpenCyc term'''. In our example both '''Dog''' and '''Cat''' have classes in OpenCyc. Topics and OpenCyc originating associations are viewed below.
+
* OpenCyc denotations extractor
 
+
* OpenCyc comment extractor
 
+
* OpenCyc siblings extractor
[[Image:opencyc_extractor_example_2.gif|center]]
+
 
+
 
+
[[Image:opencyc_extractor_example_3.gif|center]]
+
 
+
== Additional notes ==
+
 
+
* Notice OpenCyc extractor generated associations and topics are '''not''' compatible with the [[Topic map conversion of OpenCyc]].
+

Latest revision as of 22:14, 16 August 2013

Original OpenCyc extractor in Wandora was using web API at OpenCyc. The web API extractor was later replaced by OpenCyc RDF extractor. Current Wandora is using OpenCyc RDF extractor by default. Original web API extractor is discussed below.

Wandora's OpenCyc extractor uses the semantic web endpoint of the Cyc at http://sw.opencyc.org/ , specifically at http://sw.opencyc.org/2012/05/10/concept/en/ . The semantic web endpoint returns RDF feeds. Wandora processes the RDF feed using OpenCYCOWLExtractor that is one of Wandora's RDF extractors. Resulting topic map is not connected to Wandora's base ontology. To locate created topics and associations the user needs to search keyword cyc.

[edit] Additional notes

  • Cyc concepts start with a capital letter. Thus you might want to search for Wolf instead of wolf and People instead of people.
  • Notice OpenCyc extractor generated associations and topics are not compatible with the Topic map conversion of OpenCyc.
  • RDF to topic map transformation follows generally rules described at Importing RDF but employs a simple role and association mapping based in OpenCyc's schema.

[edit] OpenCyc web API extractors

Wandora includes several extractors to get information from OpenCyc web API. However, as it look like the web API is unstable and has very limited access, Wandora's OpenCyc web API extractors have been removed from the UI. They can be revived and used with Wandora's Tool manager.

These web API extractors are

  • OpenCyc specs extractor
  • OpenCyc isa extractor
  • OpenCyc genls extractor
  • OpenCyc instance extractor
  • OpenCyc denotations extractor
  • OpenCyc comment extractor
  • OpenCyc siblings extractor
Personal tools