Questions tagged [opencyc]
16 questions
3
votes
1 answer
What is the preferred way to terminate a CycAPI Cyc connection?
In the Cyc API example code at The Cyc API example code page, System.exit() is used to terminate the Cyc connection. Generally, this seems as if it may be using a mallet to crack an egg. Is there a more narrowly focused way to terminate the thread…

Witbrock
- 502
- 2
- 5
- 12
1
vote
2 answers
Find OpenCyc concepts on the Web?
Is it possible to look at OpenCyc ontology content on the Web? I have been searching using Google and can find plenty of content about the Cyc ontology but no actual terms.

Bill
- 111
- 8
1
vote
2 answers
how to check if (genls Automobile RoadVehicle) is true in SubL
In SubL (aka sub-lisp) what function may one use to determine is one class is a subclass of another?
I know that e.g. (genls #$Automobile) will return a list of concepts like #$RoadVehicle #$WheeledTransportationDevice but is there some sort of…

Carl
- 11
- 2
1
vote
1 answer
Cyc query or SubL command to recreate constant in Cyc KB
I need to remove all of the assertions from the KB involving a specific constant, while leaving the constant itself intact (e.g "recreate constant").
Which Cyc query or SubL command I can use for this purpose?
Cyc KB - Research Cyc 4.0q.

Andrey Timofeyev
- 17
- 4
1
vote
1 answer
Debugging Cyc Server locally
I got Cyc(ReserchCyc) instance installed locally.
Looking at the contents, I can see multiple war files for cyc(the version we are using).
So essentially cyc-enterprise is a web server hosting multiple wars(each war serving one purpose).
Here is the…

Arvind Upadhyay
- 11
- 3
1
vote
1 answer
How to get a CycAccess object?
There's a lisp function in ResearchCyc called random-assertion. I want to call that from some Java code. I'm using the Cyc Core API Suite v1.0.0-rc5 (from http://dev.cyc.com), but I don't see any way to call underlying Lisp code.
In the old…

KnowsStuff
- 100
- 7
1
vote
1 answer
WordNet mappings and prettyStrings in OpenCyc - getting information from GAFs
I'm just wondering how I can get the wordnet mappings and prettyString from openCyc java API.
For example, for #$AdultFemaleHuman, I want to get:
prettyString: "women", "female adults", "female adult", "adult females", "adult female", "ladies",…

Vijay Raj
- 146
- 1
- 4
1
vote
2 answers
How to delete a NART from Cyc KB
When I delete a NART, and search for the NART string in the KB, I still see it. How are NARTs different from constants. Why can't I delete them.

Vijay Raj
- 146
- 1
- 4
1
vote
1 answer
Can Cyc KBAPI 'constants' be made without a call to the Cyc server?
In the older OpenCyc Java API, it was possible to create a simple Cyc term by calling something like
new CycConstant("Cat", new Guid("bd590573-9c29-11b1-9dad-c379636f7270"))
When you do it this way, there's no round-trip to the server. With the…

KnowsStuff
- 100
- 7
0
votes
1 answer
repeated ke-create caused undesirable extra reification
If, in the OpenCyc browser SubLisp Interactor, I evaluate...
(ke-create "Foo")
...Then, as expected I end up with the term #$Foo.
and then, later (perhaps thousands of funcalls later) happen to call
(ke-create "Foo")
again, I end up with two terms. …

Bill
- 111
- 8
0
votes
1 answer
"defining-mt" SubL command returns "NIL" when defining microtheory exists
I am trying to find a defining microtheory for a given Cyc concept. For some of the concepts "defining-mt" SubL command does return "NIL" when defining microtheory exists (it can be verified with #$definingMt predicate).
For example:
subl code…

Andrey Timofeyev
- 17
- 4
0
votes
2 answers
Natural language word (phrase) for cyc term
I am working on Natural Language Generation task and need to retrieve natural language word or phrase equivalent of a Cyc term. E.g. "#$EatingEvent" -> "eat" or "#$Coyote-Animal" -> "coyote".
How can this be achieved either through Java Api or SubL…

Andrey Timofeyev
- 17
- 4
0
votes
3 answers
Exception for the log settings while starting CYC instance
I have been trying to get the logging working on cyc server side for any interaction with the clients(api/cycKB browser)....havn't been successful yet..
Here is the exception i get...Not sure what is wrong with json file…

Arvind Upadhyay
- 11
- 3
0
votes
1 answer
How do I get an answer by its id using Cyc Java API?
I am building a web service, which will return the proof of the answer to the client. The only way I can retrieve an answer using Java Cyc API is to get it by its index in the answers list. I am not sure if it is a proper and safe way to do it.
How…

Sergei
- 1
- 1
0
votes
1 answer
Setting inference parameters in the Cyc Java APIs
I have a query that I'm asking from a Java program via the Query API that requires more problem space than the default. Is the :MAX-PROBLEM-SPACE parameter accessible through the APIs? If so, how do I set it?

Jess
- 217
- 1
- 3
- 14