DarwinCore breaks my RDF
Hi,
I ran into a problem with the sig.ma service after incorporating some DarwinCore terms.
This now prevents my RDF from being analyzed or it seems viewed via Sig.ma
What is the cause?
If you take this URI http://rs.tdwg.org/dwc/terms/index.htm#acceptedNameUsageID
Plug it into the Vapour validator
http://validator.linkeddata.org/vapour
You get he following error.
Vapour was unable to complete the request due to the following exception:
ForbiddenAddress: forbidden request from 96.42.27.164 to http://rs.tdwg.org/dwc/terms/index.htm#acceptedNameUsageID (resolves to IP 192.38.28.106), internal IP addresses are forbidden Complete traceback:
File "/home/wwwidi/vapour/src/vapour/cup/webclient.py", line 117, in GET recipes.checkRecipes(store, resourcesToCheck, validatorOptions) File "../../vapour/teapot/recipes.py", line 34, in checkRecipes checkWithoutAcceptHeader(graph, resource, validatorOptions) File "../../vapour/teapot/recipes.py", line 49, in checkWithoutAcceptHeader runScenario(graph, resource, scenarioDescription, requestedContentType, validatorOptions, "GET") File "../../vapour/teapot/recipes.py", line 82, in runScenario (rootTestSubject, httpResponse) = followRedirects(graph, "dereferencing " + resource['description'], resource['uri'], requestedContentType, httpMethod, validatorOptions) File "../../vapour/teapot/httpdialog.py", line 22, in followRedirects r = simpleRequest(graph, url, accept, redirectsCount, None, method, options) File "../../vapour/teapot/httpdialog.py", line 62, in simpleRequest raise ForbiddenAddress(str(ip), url, options.client)
The particular section and terms seem to be these from http://lod.taxonconcept.org/ses/v6n7p.rdf
<!-- GNA Names Groups --> <dwc_terms:acceptedNameUsageID rdf:resource=" http://gni.globalnames.org/name_strings/772d5162-f5aa-596c-98e0-a1c6c5a29bb9 "/> <dwc_terms:acceptedNameUsage>Puma concolor (Linnaeus 1771)</dwc_terms:acceptedNameUsage> <dwc_terms:originalNameUsageID rdf:resource=" http://gni.globalnames.org/name_strings/35da7f30-25ff-5111-ab29-1a4f9988ef51 "/> <dwc_terms:originalNameUsage>Felis concolor Linnaeus 1771</dwc_terms:originalNameUsage> <dwc_terms:vernacularName>Cougar</dwc_terms:vernacularName>
Please Fix, otherwise I will need to remove any DarwinCore from my RDF.
Thanks,
- Pete ------------------------------------------------------------------------------------ Pete DeVries Department of Entomology University of Wisconsin - Madison 445 Russell Laboratories 1630 Linden Drive Madison, WI 53706 Email: pdevries@wisc.edu TaxonConcept http://www.taxonconcept.org/ & GeoSpecieshttp://about.geospecies.org/ Knowledge Bases A Semantic Web, Linked Open Data http://linkeddata.org/ Project --------------------------------------------------------------------------------------
Hi Pete, As far as I can tell, that's a problem with the validator, as the IP address that it resolves to is indeed valid and resolves just fine using curl or wget. I did some digging and it's a problem with https://vapour.svn.sourceforge.net/svnroot/vapour/trunk/apps/vapour/src/vapo... on line 32. They cast any IP address under 192.* as local, whereas they should only cast addresses under 192.168.* as intranet.
I've created an issue on their issue tracker: https://sourceforge.net/tracker/?func=detail&aid=3353362&group_id=18...
Cheers, Kehan
On Mon, Jul 4, 2011 at 1:06 PM, Peter DeVries pete.devries@gmail.comwrote:
Hi,
I ran into a problem with the sig.ma service after incorporating some DarwinCore terms.
This now prevents my RDF from being analyzed or it seems viewed via Sig.ma
What is the cause?
If you take this URI http://rs.tdwg.org/dwc/terms/index.htm#acceptedNameUsageID
Plug it into the Vapour validator
http://validator.linkeddata.org/vapour
You get he following error.
Vapour was unable to complete the request due to the following exception:
ForbiddenAddress: forbidden request from 96.42.27.164 to http://rs.tdwg.org/dwc/terms/index.htm#acceptedNameUsageID (resolves to IP 192.38.28.106), internal IP addresses are forbidden Complete traceback:
File "/home/wwwidi/vapour/src/vapour/cup/webclient.py", line 117, in GET recipes.checkRecipes(store, resourcesToCheck, validatorOptions) File "../../vapour/teapot/recipes.py", line 34, in checkRecipes checkWithoutAcceptHeader(graph, resource, validatorOptions) File "../../vapour/teapot/recipes.py", line 49, in checkWithoutAcceptHeader runScenario(graph, resource, scenarioDescription, requestedContentType, validatorOptions, "GET") File "../../vapour/teapot/recipes.py", line 82, in runScenario (rootTestSubject, httpResponse) = followRedirects(graph, "dereferencing " + resource['description'], resource['uri'], requestedContentType, httpMethod, validatorOptions) File "../../vapour/teapot/httpdialog.py", line 22, in followRedirects r = simpleRequest(graph, url, accept, redirectsCount, None, method, options) File "../../vapour/teapot/httpdialog.py", line 62, in simpleRequest raise ForbiddenAddress(str(ip), url, options.client)
The particular section and terms seem to be these from http://lod.taxonconcept.org/ses/v6n7p.rdf
<!-- GNA Names Groups --> <dwc_terms:acceptedNameUsageID rdf:resource="
http://gni.globalnames.org/name_strings/772d5162-f5aa-596c-98e0-a1c6c5a29bb9 "/> <dwc_terms:acceptedNameUsage>Puma concolor (Linnaeus 1771)</dwc_terms:acceptedNameUsage> <dwc_terms:originalNameUsageID rdf:resource=" http://gni.globalnames.org/name_strings/35da7f30-25ff-5111-ab29-1a4f9988ef51 "/> <dwc_terms:originalNameUsage>Felis concolor Linnaeus 1771</dwc_terms:originalNameUsage> <dwc_terms:vernacularName>Cougar</dwc_terms:vernacularName>
Please Fix, otherwise I will need to remove any DarwinCore from my RDF.
Thanks,
- Pete
Pete DeVries Department of Entomology University of Wisconsin - Madison 445 Russell Laboratories 1630 Linden Drive Madison, WI 53706 Email: pdevries@wisc.edu TaxonConcept http://www.taxonconcept.org/ & GeoSpecieshttp://about.geospecies.org/ Knowledge Bases A Semantic Web, Linked Open Data http://linkeddata.org/ Project
tdwg-content mailing list tdwg-content@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/tdwg-content
Hi Kehan,
Thanks,
I was trying to see if this works last night and it appear to now.
Sig.ma view of Puma concolor concept http://sig.ma/search?pid=e08b5fcb5b41c5684d57b61e1fa47f0e
http://lod.taxonconcept.org/ses/v6n7p.rdf
Note how the GNI URI is replaced in the view with the skos:prefLabel (a subproperty of rdfs:label)
Shown in this attached .png
- Pete
------------------------------------------------------------------------------------ Pete DeVries Department of Entomology University of Wisconsin - Madison 445 Russell Laboratories 1630 Linden Drive Madison, WI 53706 Email: pdevries@wisc.edu TaxonConcept http://www.taxonconcept.org/ & GeoSpecieshttp://about.geospecies.org/ Knowledge Bases A Semantic Web, Linked Open Data http://linkeddata.org/ Project --------------------------------------------------------------------------------------
participants (2)
-
Kehan Harman
-
Peter DeVries