[RDF] QDS

Stefan Andersson stefan@c64.org
Fri, 20 Oct 2000 21:36:48 +0200


Naah. I meant the [] and {} niftiness.

Maybe something like

AndBag -- subClassOf --> Bag
OrBag -- subClassOf --> Bag

MyQuery -- Criterion --> Criterion1
Criterion1 -- type --> AndBag   
Criterion1 -- _1 --> Criterion1a
Criterion1 -- _2 --> Criterion1b

Criterion1a -- type --> Negated
Criterion1a -- type --> OrBag
Criterion1a -- _1 --> Criterion1a1
Criterion1a -- _2 --> Criterion1a2

Criterion1b -- rdf:type --> partial_statement_query
Criterion1b -- rdf:predicate --> phone_number
Criterion1b -- rdf:object --> SomeNumber

Ummm... not very clear example, but maybe I got the point thru?
/Stefan

Jonas Liljegren wrote:
> 
> Stefan Andersson <Stefan.Andersson@ullmans.com> writes:
> 
> > And now we can only wait for the first RDF modelling of this perl-based
> > pseudo-schema as a base for the QDS... :-D
> 
> The query syntax is built upon selection criterions.
> 
> This is an example on how to get all the locations of a thing during a
> time period:
> 
> $thing->arc( pred => location, valid_during => $date_range )->obj
> 
> It can be represented in RDF by using a variable namespace. Those
> resources could/will also be of type "use all matching alternatives".
> It cold look like this:
> 
> X -- rdf:type --> rdf:Statement
> X -- rdf:type --> L:Variable
> X -- rdf:predicate --> L:location
> X -- L:validDuring --> L:dateRang52
> X -- rdf:subject --> L:myThing42
> X -- rdf:object --> Y
> Y -- rdf:type --> L:Variable
> 
> And then you will say that you are intrested of all the possible Y.
> That could be part of the question metadata.  Let's say that the above
> is grouped as the model L:question1.  Then we could say:
> 
> L:question1 -- rdf:type --> L:Request
> L:question1 -- L:searchDeapth --> '100'
> L:question1 -- L:retrieve --> Y
> L:question1 -- L:agent --> L:registredUserNo18
> L:question1 -- L:session --> L:session985
> 
> Something like that...
> 
> --
> / Jonas Liljegren
> 
> The Wraf project http://www.uxn.nu/wraf/
> Sponsored by http://www.rit.se/
> 
> _______________________________________________
> RDF mailing list
> RDF@uxn.nu
> http://www.uxn.nu/cgi-bin/mailman/listinfo/rdf