Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As described in issue #184, allow columns to match if they share a title... #185

Merged
merged 2 commits into from
Feb 4, 2015

Conversation

gkellogg
Copy link
Member

@gkellogg gkellogg commented Feb 1, 2015

..., where und matches any language title.

…tle, where `und` matches any language title.
@@ -1200,7 +1200,7 @@
<p>
An <a>atomic property</a> that gives a single canonical name for the column. This MUST be a string. Conversion specifications MUST use this property as the basis for the names of properties/elements/attributes in the results of conversions.
</p>
<p>The <a>property value</a> of <code>name</code> is that defined within metadata, if it exists. Otherwise, it is the first <a>property value</a> of <code>title</code> as a string without language, if any. Otherwise, it is the string <code>"_col=<em>[N]</em>"</code> where <code><em>[N]</em></code> is the <a href="http://www.w3.org/TR/tabular-data-model/#dfn-column-number">column number</a>.
<p>The <a>property value</a> of <code>name</code> is that defined within metadata, if it exists. Otherwise, it is the first value from the <a>property value</a> of <code>title</code> having the same language tag as <a>default language</a> or <code>und</code> of not specified, as a string without language, if any. Otherwise, it is the string <code>"_col=<em>[N]</em>"</code> where <code><em>[N]</em></code> is the <a href="http://www.w3.org/TR/tabular-data-model/#dfn-column-number">column number</a>.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need a normalisation of any name that originates from the title?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we do...

Ivan

On 04 Feb 2015, at 12:35 , Jeni Tennison notifications@github.com wrote:

In metadata/index.html:

@@ -1200,7 +1200,7 @@


An atomic property that gives a single canonical name for the column. This MUST be a string. Conversion specifications MUST use this property as the basis for the names of properties/elements/attributes in the results of conversions.

  •          <p>The <a>property value</a> of <code>name</code> is that defined within metadata, if it exists. Otherwise, it is the first <a>property value</a> of <code>title</code> as a string without language, if any. Otherwise, it is the string <code>"_col=<em>[N]</em>"</code> where <code><em>[N]</em></code> is the <a href="http://www.w3.org/TR/tabular-data-model/#dfn-column-number">column number</a>.
    
  •          <p>The <a>property value</a> of <code>name</code> is that defined within metadata, if it exists. Otherwise, it is the first value from the <a>property value</a> of <code>title</code> having the same language tag as <a>default language</a> or <code>und</code> of not specified, as a string without language, if any. Otherwise, it is the string <code>"_col=<em>[N]</em>"</code> where <code><em>[N]</em></code> is the <a href="http://www.w3.org/TR/tabular-data-model/#dfn-column-number">column number</a>.
    

Don't we need a normalisation of any name that originates from the title?


Reply to this email directly or view it on GitHub.


Ivan Herman, W3C
Digital Publishing Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
ORCID ID: http://orcid.org/0000-0003-0782-2704

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Captured in #182, so can merge here.

JeniT pushed a commit that referenced this pull request Feb 4, 2015
As described in issue #184, allow columns to match if they share a title...
@JeniT JeniT merged commit 8a7638e into gh-pages Feb 4, 2015
gkellogg added a commit to ruby-rdf/rdf-tabular that referenced this pull request Feb 4, 2015
* Return all natural language property (title) metadata, not just for default language.
* Don't set @language or lang on embedded metadata
* Exclude titles with `und` where that title exists with a language.
* When merging match titles where `und` is a language wild-card.
* use `aboutUrl`, `propertyUrl` and `valueUrl` as inherited properties which are URI template properties.
* change `language` to `lang` to not confuse with `xsd:language` term.
* change `schema` to `tableSchema` to not confuse with `http://schema.org/` prefix.
* use `url` property instead of `@id` to reference CSVs and templates.
* Row now gives an array of Cell, which reference column metadata and include expanded about, property, and value URLs.
@gkellogg gkellogg deleted the issue184 branch February 4, 2015 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants