Re: ? on Assignment #1

From: Mike Dean (mdean@bbn.com)
Date: 10/12/00


> I just started at JHU APL, so I'm a little green. :-)

Welcome!

> I've looked at the example anthology (daml-ex.daml).  My userstanding is
> that we can use
> this anthology to create documents or write our own anthogy for the
> documents.

You can use the classes and properties from this ontology,
but will probably want to also define new ones (e.g.
Project, Company, worksFor, etc.) in your own ontology file.
A given DAML file can reference multiple
ontologies/namespaces.

> The part I missed is:  What is the syntax I use to create my DAML document?
> If I want to say,
>  "Larry is a person with father Lanny and mother Jeanette"

<rdf:RDF
  xmlns="http://www.daml.org/2000/10/daml-ont#"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

  <Male ID="Lanny"/>

  <Female ID="Jeanette"/>

  <Person ID="Larry">
    <father resource="#Lanny"/>
    <mother resource="#Jeanette"/>
  </Person>

</rdf:RDF>

	Mike


This archive was generated by hypermail 2.1.4 : 04/03/02 EST