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

Label/nodes overlap #11

Open
gkellogg opened this issue Jul 19, 2017 · 4 comments
Open

Label/nodes overlap #11

gkellogg opened this issue Jul 19, 2017 · 4 comments

Comments

@gkellogg
Copy link
Member

From @letmaik on May 26, 2015 21:43

Test RDFa: (excerpt from schema.org related to Datasets)

    <div typeof="rdfs:Class" resource="http://schema.org/DataCatalog">
      <span class="h" property="rdfs:label">DataCatalog</span>
      <span property="rdfs:comment">A collection of datasets.</span>
       <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
       <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass">DatasetClass</a></span>
       <link property="owl:equivalentClass" href="http://www.w3.org/ns/dcat#Catalog"/>
    </div>

    <div typeof="rdfs:Class" resource="http://schema.org/DataDownload">
      <span class="h" property="rdfs:label">DataDownload</span>
      <span property="rdfs:comment">A dataset in downloadable form.</span>
       <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/MediaObject">MediaObject</a></span>
       <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass">DatasetClass</a></span>
       <link property="owl:equivalentClass" href="http://www.w3.org/ns/dcat#Distribution"/>
    </div>

    <div typeof="rdfs:Class" resource="http://schema.org/Dataset">
      <span class="h" property="rdfs:label">Dataset</span>
      <span property="rdfs:comment">A body of structured information describing some topic(s) of interest.</span>
       <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
       <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass">DatasetClass</a></span>
       <link property="owl:equivalentClass" href="http://www.w3.org/ns/dcat#Dataset"/>
       <link property="owl:equivalentClass" href="http://rdfs.org/ns/void#Dataset"/>
       <link property="owl:equivalentClass" href="http://purl.org/dc/dcmitype/Dataset"/>
       </div>

    <div typeof="rdf:Property" resource="http://schema.org/catalog">
      <span class="h" property="rdfs:label">catalog</span>
      <span property="http://schema.org/supersededBy" href="http://schema.org/includedDataCatalog"/>
      <span property="rdfs:comment">A data catalog which contains a dataset.</span>
      <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Dataset">Dataset</a></span>
      <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/DataCatalog">DataCatalog</a></span>
    </div>
    <div typeof="rdf:Property" resource="http://schema.org/includedDataCatalog">
      <span class="h" property="rdfs:label">includedDataCatalog</span>
      <span property="rdfs:comment">A data catalog contained in the dataset.</span>
      <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Dataset">Dataset</a></span>
      <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/DataCatalog">DataCatalog</a></span>
    </div>

        <div typeof="rdf:Property" resource="http://schema.org/distribution">
      <span class="h" property="rdfs:label">distribution</span>
      <span property="rdfs:comment">A downloadable form of this dataset, at a specific location, in a specific format.</span>
      <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Dataset">Dataset</a></span>
      <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/DataDownload">DataDownload</a></span>
    </div>
    <div typeof="rdf:Property" resource="http://schema.org/domainIncludes">
      <span class="h" property="rdfs:label">domainIncludes</span>
      <span property="rdfs:comment">Relates a property to a class that is (one of) the type(s) the property is expected to be used on.</span>
      <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Property">Property</a></span>
      <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Class">Class</a></span>
    </div>

        <div typeof="rdf:Property" resource="http://schema.org/spatial">
      <span class="h" property="rdfs:label">spatial</span>
      <span property="rdfs:comment">The range of spatial applicability of a dataset, e.g. for a dataset of New York weather, the state of New York.</span>
      <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Dataset">Dataset</a></span>
      <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Place">Place</a></span>
    </div>

        <div typeof="rdf:Property" resource="http://schema.org/temporal">
      <span class="h" property="rdfs:label">temporal</span>
      <span property="http://schema.org/supersededBy" href="http://schema.org/datasetTimeInterval"/>
      <span property="rdfs:comment">The range of temporal applicability of a dataset, e.g. for a 2011 census dataset, the year 2011 (in ISO 8601 time interval format).</span>
      <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Dataset">Dataset</a></span>
      <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/DateTime">DateTime</a></span>
    </div>
    <div typeof="rdf:Property" resource="http://schema.org/datasetTimeInterval">
      <span class="h" property="rdfs:label">datasetTimeInterval</span>
      <span property="rdfs:comment">The range of temporal applicability of a dataset, e.g. for a 2011 census dataset, the year 2011 (in ISO 8601 time interval format).</span>
      <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Dataset">Dataset</a></span>
      <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/DateTime">DateTime</a></span>
    </div>

Copied from original issue: rdfa/rdfa-website#48

@gkellogg
Copy link
Member Author

@neothemachine, what, specifically, is your concern?

@gkellogg
Copy link
Member Author

From @letmaik on May 26, 2015 22:4

unbenannt

@gkellogg
Copy link
Member Author

The labels are derived entirely from the RDF markup. Is there some case where you think there is an error?

@gkellogg
Copy link
Member Author

From @letmaik on May 26, 2015 22:13

Well, the label text is fine but everything overlaps. It's purely a visualization issue.

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

No branches or pull requests

1 participant