[jira] [Commented] (ANY23-16) Property URI generation for Microdata/schema.org

2018-04-05 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16427547#comment-16427547
 ] 

Hudson commented on ANY23-16:
-

SUCCESS: Integrated in Jenkins build Any23-trunk #1554 (See 
[https://builds.apache.org/job/Any23-trunk/1554/])
ANY23-16 fix microdata property URIs (hans: rev 
d82e0e501b7bcf6b10cdb34a97c3dd9dd94719d9)
* (edit) 
core/src/main/java/org/apache/any23/extractor/microdata/MicrodataExtractor.java
* (edit) 
test-resources/src/test/resources/microdata/schemaorg-example-2-expected.nquads
* (edit) 
test-resources/src/test/resources/microdata/schemaorg-example-1-expected.nquads
* (edit) 
test-resources/src/test/resources/microdata/microdata-richsnippet-expected.nquads
* (edit) 
test-resources/src/test/resources/microdata/microdata-nested-expected.nquads


> 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
>  Components: microdata
>Affects Versions: 0.7.0
>Reporter: Lewis John McGibbney
>Assignee: Hans Brende
>Priority: Major
> Fix For: 2.3
>
>
> 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:  .
> @prefix rdf:  .
> @prefix schema:  .
> <> 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 ,
>  ;
>  schema:email ;
>  schema:image ;
>  schema:jobTitle "Professor";
>  schema:name "Jane Doe";
>  schema:telephone "(425) 123-4567";
>  schema:url ;
>  a schema:Person] .
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ANY23-67) Microdata extraction using obsolete RDF conversion scheme

2018-04-05 Thread Hans Brende (JIRA)

 [ 
https://issues.apache.org/jira/browse/ANY23-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hans Brende updated ANY23-67:
-
Issue Type: Bug  (was: Improvement)

> Microdata extraction using obsolete RDF conversion scheme
> -
>
> Key: ANY23-67
> URL: https://issues.apache.org/jira/browse/ANY23-67
> Project: Apache Any23
>  Issue Type: Bug
>  Components: microdata
>Affects Versions: 0.7.0
>Reporter: Hannes Mühleisen
>Priority: Major
> Fix For: 2.3
>
>
> There is now a more-or-less final Microdata to RDF algorithm published[1] 
> which is different than the one in the current, official HTML5 draft [2] 
> (that Ian Hickson has publicly revoked). However, Any23s extractor uses the 
> old scheme according to a comment in its source code, which refers to [2]. 
> However, this is exactly the algorithm that Ian Hickson rescinded at some 
> point. Unfortunately, the official working drafts have not been updated for a 
> very long time, but if you look at the editor's draft [3], you will see that 
> that section has been entirely removed. Instead, there was a Semantic Web 
> Interest group task force that discussed the issues, and [1] is the result of 
> this discussion. It would be nice if this would be reflected in Any23 in the 
> future.
> [Condensed from an E-Mail conversation with Ivan Herman]
> [1] http://www.w3.org/TR/microdata-rdf/
> [2] http://www.w3.org/TR/microdata/#rdf
> [3] http://dev.w3.org/html5/md/Overview.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (ANY23-16) Property URI generation for Microdata/schema.org

2018-04-05 Thread Hans Brende (JIRA)

 [ 
https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hans Brende resolved ANY23-16.
--
Resolution: Fixed

[~lewismc] I'm marking this issue as "resolved", however if you find that it is 
not fully resolved, please reopen.

> 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
>  Components: microdata
>Affects Versions: 0.7.0
>Reporter: Lewis John McGibbney
>Assignee: Hans Brende
>Priority: Major
> Fix For: 2.3
>
>
> 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:  .
> @prefix rdf:  .
> @prefix schema:  .
> <> 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 ,
>  ;
>  schema:email ;
>  schema:image ;
>  schema:jobTitle "Professor";
>  schema:name "Jane Doe";
>  schema:telephone "(425) 123-4567";
>  schema:url ;
>  a schema:Person] .
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ANY23-16) Property URI generation for Microdata/schema.org

2018-04-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16427472#comment-16427472
 ] 

ASF GitHub Bot commented on ANY23-16:
-

Github user asfgit closed the pull request at:

https://github.com/apache/any23/pull/72


> 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
>  Components: microdata
>Affects Versions: 0.7.0
>Reporter: Lewis John McGibbney
>Assignee: Hans Brende
>Priority: Major
> Fix For: 2.3
>
>
> 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:  .
> @prefix rdf:  .
> @prefix schema:  .
> <> 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 ,
>  ;
>  schema:email ;
>  schema:image ;
>  schema:jobTitle "Professor";
>  schema:name "Jane Doe";
>  schema:telephone "(425) 123-4567";
>  schema:url ;
>  a schema:Person] .
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] any23 pull request #72: ANY23-16 fix microdata property URIs

2018-04-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/any23/pull/72


---


[jira] [Commented] (ANY23-16) Property URI generation for Microdata/schema.org

2018-04-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16427461#comment-16427461
 ] 

ASF GitHub Bot commented on ANY23-16:
-

Github user HansBrende commented on the issue:

https://github.com/apache/any23/pull/72
  
@lewismc I'm gonna go ahead and merge this, but if you can confirm that 
this issue is fully resolved, that would be great.


> 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
>  Components: microdata
>Affects Versions: 0.7.0
>Reporter: Lewis John McGibbney
>Assignee: Hans Brende
>Priority: Major
> Fix For: 2.3
>
>
> 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:  .
> @prefix rdf:  .
> @prefix schema:  .
> <> 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 ,
>  ;
>  schema:email ;
>  schema:image ;
>  schema:jobTitle "Professor";
>  schema:name "Jane Doe";
>  schema:telephone "(425) 123-4567";
>  schema:url ;
>  a schema:Person] .
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] any23 issue #72: ANY23-16 fix microdata property URIs

2018-04-05 Thread HansBrende
Github user HansBrende commented on the issue:

https://github.com/apache/any23/pull/72
  
@lewismc I'm gonna go ahead and merge this, but if you can confirm that 
this issue is fully resolved, that would be great.


---


[jira] [Commented] (ANY23-16) Property URI generation for Microdata/schema.org

2018-04-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16426523#comment-16426523
 ] 

ASF GitHub Bot commented on ANY23-16:
-

Github user HansBrende commented on the issue:

https://github.com/apache/any23/pull/72
  
@lewismc can you confirm that the errors you found *seven years ago* have 
been fixed?


> 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
>  Components: microdata
>Affects Versions: 0.7.0
>Reporter: Lewis John McGibbney
>Assignee: Hans Brende
>Priority: Major
> Fix For: 2.3
>
>
> 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:  .
> @prefix rdf:  .
> @prefix schema:  .
> <> 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 ,
>  ;
>  schema:email ;
>  schema:image ;
>  schema:jobTitle "Professor";
>  schema:name "Jane Doe";
>  schema:telephone "(425) 123-4567";
>  schema:url ;
>  a schema:Person] .
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] any23 issue #72: ANY23-16 fix microdata property URIs

2018-04-05 Thread HansBrende
Github user HansBrende commented on the issue:

https://github.com/apache/any23/pull/72
  
@lewismc can you confirm that the errors you found *seven years ago* have 
been fixed?


---


[jira] [Commented] (ANY23-16) Property URI generation for Microdata/schema.org

2018-04-05 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ANY23-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16426520#comment-16426520
 ] 

ASF GitHub Bot commented on ANY23-16:
-

GitHub user HansBrende opened a pull request:

https://github.com/apache/any23/pull/72

ANY23-16 fix microdata property URIs

This *pretty major* issue has been open for **seven years**... lol...

mvn clean test -> all tests pass (after rewriting the tests to stop testing 
for the wrong behavior).

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/HansBrende/any23 ANY23-16

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/any23/pull/72.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #72


commit d82e0e501b7bcf6b10cdb34a97c3dd9dd94719d9
Author: Hans 
Date:   2018-04-05T06:19:03Z

ANY23-16 fix microdata property URIs




> 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
>  Components: microdata
>Affects Versions: 0.7.0
>Reporter: Lewis John McGibbney
>Assignee: Hans Brende
>Priority: Major
> Fix For: 2.3
>
>
> 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:  .
> @prefix rdf:  .
> @prefix schema:  .
> <> 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 ,
>  ;
>  schema:email ;
>  schema:image ;
>  schema:jobTitle "Professor";
>  schema:name "Jane Doe";
>  schema:telephone "(425) 123-4567";
>  schema:url ;
>  a schema:Person] .
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] any23 pull request #72: ANY23-16 fix microdata property URIs

2018-04-05 Thread HansBrende
GitHub user HansBrende opened a pull request:

https://github.com/apache/any23/pull/72

ANY23-16 fix microdata property URIs

This *pretty major* issue has been open for **seven years**... lol...

mvn clean test -> all tests pass (after rewriting the tests to stop testing 
for the wrong behavior).

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/HansBrende/any23 ANY23-16

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/any23/pull/72.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #72


commit d82e0e501b7bcf6b10cdb34a97c3dd9dd94719d9
Author: Hans 
Date:   2018-04-05T06:19:03Z

ANY23-16 fix microdata property URIs




---