- From: Leo Sauermann <leo@gnowsis.com>
- Date: Tue, 31 Aug 2004 14:45:23 +0200
- To: go4chaitu_eng@yahoo.co.in, www-rdf-interest@w3.org
Hello Chaitanya Saragadam, Ok, this question looks more practical than the first, I will try to give some examples. Es begab sich aber zu der Zeit 31.08.2004 14:05, da Chaitanya Saragadam schrieb: >Hi all, > I sent a query few days back and didn't get a good >answer for the same.I think i have'nt expressed it >correctly.I will try to explain it again. > Take an example of FOAF Vocabulary, > where a <foaf:person> has some properties like > <foaf:mbox>,<foaf:img> etc. > And he gave his namespace as, > http://xmlns.com/foaf/0.1/ >ok,so all the rdf files with foaf tags will be used in >searching applications of some subject like person. >Now my question is , > i will use the same namespace (ie)., > http://xmlns.com/foaf/0.1/ >but i will define my own properties for a person.I can >do it right! > > You are not allowed to use the foaf namespace to do your own things. Foaf belongs to the Foaf project and people will flame you, if you steal their namespace they have registered. So you cannot do: http://xmlns.com/foaf/0.1/streetAddress (which is not in the spec) but you can do: http://go4chaitu.org/myPerson/streetAddress and mix it. <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlsn:chaitu="http://go4chaitu.org/myPerson/" xmlns:admin="http://webns.net/mvcb/"> <foaf:PersonalProfileDocument rdf:about=""> <foaf:maker rdf:nodeID="me"/> <foaf:primaryTopic rdf:nodeID="me"/> <admin:generatorAgent rdf:resource="http://www.ldodds.com/foaf/foaf-a-matic"/> <admin:errorReportsTo rdf:resource="mailto:leigh@ldodds.com"/> </foaf:PersonalProfileDocument> <foaf:Person rdf:nodeID="me"> <foaf:name>Chaitanya Saragadam </foaf:name> <foaf:givenname>Chaitanya </foaf:givenname> <foaf:family_name>Saragadam </foaf:family_name> <!-- here it is --> <chaitu:streetAddress>Abbey-Road 16</chaitu:streetAddress> <foaf:mbox_sha1sum>dcba67eef7e8be985bd6e85a5c77c8504c0d778f</foaf:mbox_sha1sum></foaf:Person> </rdf:RDF> ok? thats what everybody does and that is good so. >And ur search engine will search my file by some >crawling mechamism and searches for a specific >property >of a person which wouldnt be avaliable as it is >defined by me. > > not exactly. Search engines will index every property. so also your custom properties. IF you do not restrict searches and do full text, it may match also your custom stuff. >So, what is the purpose of writing searching >applications if i cannt restrict the namespaces to be >used.Is there any body governing that? > > no, the semantic web has no central body to govern things about ontologies. Experts sit together, make ontologies and publish them on schemaweb.info. then they publish as many triples as possible and bug other people to use their ontologies. it works in an evolutionary way. good ontologies survive, bad ones are not used. >If not no one sticks to a spec as they define their >terms according to their applications and so their >needs will be satisfied but not a solution for global >applications. > > It works quite fine. Even you quoted FOAF so FOAF has reached (through word of mouth etc) you. So FOAF is a standard. same with DC, GEO, RSS. if you need ontologies, go to schemaweb.info if you want to know what data to expect in files, look at what most people use. cheers Leo
Received on Tuesday, 31 August 2004 12:45:26 UTC