sniffschema tool - overview of foaf vocab

Dan Brickley danbri at w...
Mon Jul 1 10:00:45 UTC 2002


<DanC> danbri, sniffSchema seems to work pretty well on those data: python cwm.py --rdf http://rdfweb.org/people/danbri/rdfweb/danbri-foaf.rdf --filter=util/sniffSchema.n3
[...]
* danbri gets sniffSchema working
<danbri> logger, pointer
<logger> See http://ilrt.org/discovery/chatlogs/rdfig/2002-07-01#T09-58-01

This is handy: given a chunk of RDF, it describes what it can figure out
of the schema... Below is what I gets from feeding it my FOAF file.

Dan


---------- Forwarded message ----------
Date: Mon, 1 Jul 2002 10:15:12 GMT
From: danbri at f...
To: danbri at w...


<!-- Processed by Id: cwm.py,v 1.96 2002/06/07 20:07:17 timbl Exp -->
<!-- using base http://rdfweb.org/people/danbri/rdfweb/danbri-foaf.rdf-->


<web:RDF xmlns="file:/mnt/big/home/danbri/public_html/remote-cvs/w3.org/WWW/2000/10/swap/util/sniffSchema#"
xmlns:air="http://www.megginson.com/exp/ns/airports#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:log="http://www.w3.org/2000/10/swap/log#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rss="http://purl.org/rss/1.0/"
xmlns:ss="file:/mnt/big/home/danbri/public_html/remote-cvs/w3.org/WWW/2000/10/swap/util/sniffSchema#"
xmlns:str="http://www.w3.org/2000/10/swap/string#"
xmlns:web="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:wn="http://xmlns.com/wordnet/1.6/">

<web:Property web:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<domainIntersects web:resource="http://purl.org/rss/1.0/channel"/>
<domainIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Airport"/>
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Document"/>
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
<label>type</label>
</web:Property>

<web:Description web:about="file:/mnt/big/home/danbri/public_html/remote-cvs/w3.org/WWW/2000/10/swap/util/sniffSchema#intersectsDomainOf">
<rdfs:subPropertyOf web:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
</web:Description>

<web:Property web:about="http://purl.org/dc/elements/1.1/contributor">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Document"/>
<rangeIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
</web:Property>

<web:Property web:about="http://purl.org/dc/elements/1.1/creator">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Document"/>
<rangeIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
</web:Property>

<web:Property web:about="http://purl.org/dc/elements/1.1/description">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Document"/>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://purl.org/dc/elements/1.1/format">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Document"/>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://purl.org/dc/elements/1.1/subject">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Document"/>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://purl.org/dc/elements/1.1/thumbnail">
</web:Property>

<web:Property web:about="http://purl.org/dc/elements/1.1/title">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Document"/>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<rdfs:Class web:about="http://purl.org/rss/1.0/channel">
<intersectsDomainOf web:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
<intersectsDomainOf web:resource="http://purl.org/rss/1.0/title"/>
<intersectsDomainOf web:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
</rdfs:Class>

<web:Property web:about="http://purl.org/rss/1.0/title">
<domainIntersects web:resource="http://purl.org/rss/1.0/channel"/>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://www.megginson.com/exp/ns/airports#iata">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Airport"/>
<label>iata</label>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://www.megginson.com/exp/ns/airports#icao">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Airport"/>
<label>icao</label>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://www.w3.org/2000/01/rdf-schema#seeAlso">
<domainIntersects web:resource="http://purl.org/rss/1.0/channel"/>
<domainIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<label>seeAlso</label>
<rangeIntersects web:resource="http://purl.org/rss/1.0/channel"/>
</web:Property>

<web:Property web:about="http://www.w3.org/2000/10/swap/log#forSome">
<label>forSome</label>
<rangeIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<rangeIntersects web:resource="http://xmlns.com/wordnet/1.6/Airport"/>
<rangeIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
</web:Property>

<web:Property web:about="http://www.w3.org/2000/10/swap/pim/contact#nearestAirport">
<label>nearestAirport</label>
<rangeIntersects web:resource="http://xmlns.com/wordnet/1.6/Airport"/>
</web:Property>

<rdfs:Class web:about="http://xmlns.com/foaf/0.1/Person">
<intersectsDomainOf web:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
<intersectsDomainOf web:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/knows"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/made"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/mbox"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/name"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/nick"/>
</rdfs:Class>

<web:Property web:about="http://xmlns.com/foaf/0.1/depiction">
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/homepage">
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/img">
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/knows">
<domainIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<rangeIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/made">
<domainIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<rangeIntersects web:resource="http://purl.org/rss/1.0/channel"/>
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/mbox">
<domainIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/name">
<domainIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/nick">
<domainIntersects web:resource="http://xmlns.com/foaf/0.1/Person"/>
<domainIntersects web:resource="http://xmlns.com/wordnet/1.6/Person"/>
<rangeIntersects web:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/schoolHomepage">
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/thumbnail">
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/wife">
</web:Property>

<web:Property web:about="http://xmlns.com/foaf/0.1/workplaceHomepage">
</web:Property>

<rdfs:Class web:about="http://xmlns.com/wordnet/1.6/Airport">
<intersectsDomainOf web:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
<intersectsDomainOf web:resource="http://www.megginson.com/exp/ns/airports#iata"/>
<intersectsDomainOf web:resource="http://www.megginson.com/exp/ns/airports#icao"/>
</rdfs:Class>

<rdfs:Class web:about="http://xmlns.com/wordnet/1.6/Document">
<intersectsDomainOf web:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
<intersectsDomainOf web:resource="http://purl.org/dc/elements/1.1/contributor"/>
<intersectsDomainOf web:resource="http://purl.org/dc/elements/1.1/creator"/>
<intersectsDomainOf web:resource="http://purl.org/dc/elements/1.1/description"/>
<intersectsDomainOf web:resource="http://purl.org/dc/elements/1.1/format"/>
<intersectsDomainOf web:resource="http://purl.org/dc/elements/1.1/subject"/>
<intersectsDomainOf web:resource="http://purl.org/dc/elements/1.1/title"/>
</rdfs:Class>

<rdfs:Class web:about="http://xmlns.com/wordnet/1.6/Person">
<intersectsDomainOf web:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/depiction"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/mbox"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/name"/>
<intersectsDomainOf web:resource="http://xmlns.com/foaf/0.1/nick"/>
</rdfs:Class>
</web:RDF>




More information about the foaf-dev mailing list