For Programmers: Free Programming Magazines  


Home > Archive > Prolog > March 2005 > Ontology about prolog









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Ontology about prolog
Michael Schmidt

2005-03-10, 4:00 pm

Hi,

I need some help with an projekt. I have to program
a ontology about the concepts of prolog.
The programing languege is also prolog.

So my question is: that are the main concepts of prolog
an is there someone who could give me some code examples??


Are this some concepts of prolog or only the syntax?


clause -> fact | rule
fact -> ....
term -> constant | variable | compound term
compound term -> functor | list
list -> [compound term] | [term | list]
rule
.....
Brian Hulley

2005-03-10, 8:58 pm


Michael Schmidt wrote:
> Are this some concepts of prolog or only the syntax?
>
>
> clause -> fact | rule
> fact -> ....
> term -> constant | variable | compound term


Syntax is related to the concepts at some level. However there is a lot
more that would need to be represented.

Perhaps a way to get started would be to imagine that you are creating
some hypertext to describe Prolog to someone who doesn't know anything
about it. Then you would have to talk about first order predicate
calculus, theorem proving, proof by resolution, horn clauses, negation
as failure, literals and models, goals, depth first versus breadth
first search etc.

Then there are more low level things such as backtracking, cut etc.

If each of these "concepts" is a page in your natural language
hypertext, an ontology could then be constructed by converting, for
each page, the relations between the links into relations expressed in
prolog.

Another thing to consider is what you might want to use the resulting
ontology for, since this would determine what level of granularity to
use for the concepts.

Seems quite difficult though - but very interesting

Best of luck!

Brian.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com