Call for Anything (c4n) examples

The following example shows how to use Call for Anything (c4n) vocab to model a call for house, issued by a person (see also source):


@prefix c4n: <http://vocab.deri.ie/c4n#> .
@prefx dcterms: <http://purl.org/dc/terms/>
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <http://lab.linkeddata.deri.ie/2010/c4n/ex1#> .

:me rdf:type c4n:Issuer ;
       c4n:issues :mynewhome ;
       owl:sameAs <http://sw-app.org/mic.xhtml#i> .

:mynewhome rdf:type c4n:Call ;
                      c4n:for :house-inNY-beforeapril2010 .

:house-inNY-beforeapril2010 rdf:type c4n:Event ;
                                    c4n:condition :musthave-beforeapril2010 ;
                                    c4n:condition :mustbe-inNY .

:musthave-beforeapril2010 rdf:type c4n:Deadline ;
                                  dcterms:dateSubmitted  "2010-04-01"^^xsd:date ;
                                  dcterms:title "I need the stuff latest in April 2010" .

:mustbe-inNY rdf:type c4n:SpatialScope ;
                                  rdfs:seeAlso <http://dbpedia.org/resource/New_York_City> ;
                                  dcterms:title "must be in the NY city area" .
 		

Using the following SPARQL query: http://lab.linkeddata.deri.ie/2010/c4n/ex1.sparql one can ask about all the details to find a matching offer.