You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Lewis John McGibbney (Created) (JIRA)" <ji...@apache.org> on 2011/10/12 21:19:12 UTC
[jira] [Created] (ANY23-16) Property URI generation for
Microdata/schema.org
Property URI generation for Microdata/schema.org
------------------------------------------------
Key: ANY23-16
URL: https://issues.apache.org/jira/browse/ANY23-16
Project: Apache Any23
Issue Type: Bug
Reporter: Lewis John McGibbney
What steps will reproduce the problem?
1. Parse, for example, microdata example from http://www.schema.org/Person
2. Notice the property triples are generated such as http://www.schema.org/Person/name
3. RDFa example from http://linter.structured-data.org/examples/schema.org/Person/ generates http://www.schema.org/name
4. Also, microdata parser at http://linter.structured-data.org/ will generate the same.
Expected output is http://www.schema.org/name, as this is consistent with both the schema.org OWL definition (http://schema.org/docs/schemaorg.owlhttp://schema.rdfs.org/all.ttl) and the schema.rdfs.org definition ().
What version of the product are you using? Any23 v.0.6.0
Actually, following the microdata-RDF description from the Microdata spec, neither of these are what microdata should create, but that's uniformly disregarded as wrong anyway. In my Google+ stream, I describe the process I use in RDF::Microdata for generating property URIs from tokens in Microdata, which I think would be the proper way to do it: https://plus.google.com/115239936584020095918/posts/N2Wfiku19SS
Expected generated output for Schema.org/Person example:
{code}
@prefix md: <http://www.w3.org/1999/xhtml/microdata#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix schema: <http://schema.org/> .
<> md:item [ schema:address [ schema:addressLocality "Seattle";
schema:addressRegion "WA";
schema:postalCode "98052";
schema:streetAddress """
20341 Whitworth Institute
405 N. Whitworth
""";
a schema:PostalAddress];
schema:colleagues <www.xyz.edu/students/alicejones.html>,
<www.xyz.edu/students/bobsmith.html>;
schema:email <ma...@xyz.edu>;
schema:image <janedoe.jpg>;
schema:jobTitle "Professor";
schema:name "Jane Doe";
schema:telephone "(425) 123-4567";
schema:url <www.janedoe.com>;
a schema:Person] .
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ANY23-16) Property URI generation for
Microdata/schema.org
Posted by "Lewis John McGibbney (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated ANY23-16:
--------------------------------------
Affects Version/s: 0.7.0
Fix Version/s: 0.8.0
> Property URI generation for Microdata/schema.org
> ------------------------------------------------
>
> Key: ANY23-16
> URL: https://issues.apache.org/jira/browse/ANY23-16
> Project: Apache Any23
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Lewis John McGibbney
> Fix For: 0.8.0
>
>
> What steps will reproduce the problem?
> 1. Parse, for example, microdata example from http://www.schema.org/Person
> 2. Notice the property triples are generated such as http://www.schema.org/Person/name
> 3. RDFa example from http://linter.structured-data.org/examples/schema.org/Person/ generates http://www.schema.org/name
> 4. Also, microdata parser at http://linter.structured-data.org/ will generate the same.
> Expected output is http://www.schema.org/name, as this is consistent with both the schema.org OWL definition (http://schema.org/docs/schemaorg.owlhttp://schema.rdfs.org/all.ttl) and the schema.rdfs.org definition ().
> What version of the product are you using? Any23 v.0.6.0
> Actually, following the microdata-RDF description from the Microdata spec, neither of these are what microdata should create, but that's uniformly disregarded as wrong anyway. In my Google+ stream, I describe the process I use in RDF::Microdata for generating property URIs from tokens in Microdata, which I think would be the proper way to do it: https://plus.google.com/115239936584020095918/posts/N2Wfiku19SS
> Expected generated output for Schema.org/Person example:
> {code}
> @prefix md: <http://www.w3.org/1999/xhtml/microdata#> .
> @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix schema: <http://schema.org/> .
> <> md:item [ schema:address [ schema:addressLocality "Seattle";
> schema:addressRegion "WA";
> schema:postalCode "98052";
> schema:streetAddress """
> 20341 Whitworth Institute
> 405 N. Whitworth
> """;
> a schema:PostalAddress];
> schema:colleagues <www.xyz.edu/students/alicejones.html>,
> <www.xyz.edu/students/bobsmith.html>;
> schema:email <ma...@xyz.edu>;
> schema:image <janedoe.jpg>;
> schema:jobTitle "Professor";
> schema:name "Jane Doe";
> schema:telephone "(425) 123-4567";
> schema:url <www.janedoe.com>;
> a schema:Person] .
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ANY23-16) Property URI generation for
Microdata/schema.org
Posted by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126067#comment-13126067 ]
Lewis John McGibbney commented on ANY23-16:
-------------------------------------------
Just one more data point: the schema.org data model documentation at http://schema.org/docs/datamodel.html also has an RDFa example and uses property URIs such as http://schema.org/name (which is what you get from parsing @property="name" with @vocab="http://schema.org/").
> Property URI generation for Microdata/schema.org
> ------------------------------------------------
>
> Key: ANY23-16
> URL: https://issues.apache.org/jira/browse/ANY23-16
> Project: Apache Any23
> Issue Type: Bug
> Reporter: Lewis John McGibbney
>
> What steps will reproduce the problem?
> 1. Parse, for example, microdata example from http://www.schema.org/Person
> 2. Notice the property triples are generated such as http://www.schema.org/Person/name
> 3. RDFa example from http://linter.structured-data.org/examples/schema.org/Person/ generates http://www.schema.org/name
> 4. Also, microdata parser at http://linter.structured-data.org/ will generate the same.
> Expected output is http://www.schema.org/name, as this is consistent with both the schema.org OWL definition (http://schema.org/docs/schemaorg.owlhttp://schema.rdfs.org/all.ttl) and the schema.rdfs.org definition ().
> What version of the product are you using? Any23 v.0.6.0
> Actually, following the microdata-RDF description from the Microdata spec, neither of these are what microdata should create, but that's uniformly disregarded as wrong anyway. In my Google+ stream, I describe the process I use in RDF::Microdata for generating property URIs from tokens in Microdata, which I think would be the proper way to do it: https://plus.google.com/115239936584020095918/posts/N2Wfiku19SS
> Expected generated output for Schema.org/Person example:
> {code}
> @prefix md: <http://www.w3.org/1999/xhtml/microdata#> .
> @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix schema: <http://schema.org/> .
> <> md:item [ schema:address [ schema:addressLocality "Seattle";
> schema:addressRegion "WA";
> schema:postalCode "98052";
> schema:streetAddress """
> 20341 Whitworth Institute
> 405 N. Whitworth
> """;
> a schema:PostalAddress];
> schema:colleagues <www.xyz.edu/students/alicejones.html>,
> <www.xyz.edu/students/bobsmith.html>;
> schema:email <ma...@xyz.edu>;
> schema:image <janedoe.jpg>;
> schema:jobTitle "Professor";
> schema:name "Jane Doe";
> schema:telephone "(425) 123-4567";
> schema:url <www.janedoe.com>;
> a schema:Person] .
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira