Skip to content

Commit

Permalink
[DATALAD RUNCMD] run codespell throughout fixing typos automagically
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Mar 6, 2024
1 parent ee59c5b commit 69be575
Show file tree
Hide file tree
Showing 24 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion data/ext/auto/auto.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
rdfs:label "BusOrCoach" ;
:isPartOf <https://auto.schema.org> ;
:contributor <https://schema.org/docs/collab/Automotive_Ontology_Working_Group> ;
rdfs:comment "A bus (also omnibus or autobus) is a road vehicle designed to carry passengers. Coaches are luxury busses, usually in service for long distance travel." ;
rdfs:comment "A bus (also omnibus or autobus) is a road vehicle designed to carry passengers. Coaches are luxury buses, usually in service for long distance travel." ;
rdfs:subClassOf :Vehicle .

:CarUsageType a rdfs:Class ;
Expand Down
2 changes: 1 addition & 1 deletion data/extdefs.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"@id": "http://attic.schema.org",
"schema:name": "Attic Area",
"schema:disambiguatingDescription": "these terms have been either deprecated from the core or extentions, or removed from [pending](/docs/howwework.html#pending) as not accepted into the full vocabulary.",
"schema:disambiguatingDescription": "these terms have been either deprecated from the core or extensions, or removed from [pending](/docs/howwework.html#pending) as not accepted into the full vocabulary.",
"schema:softwareVersion": "0.0",
"rdfs:comment": "The attic area is an archive area for terms which are no longer part of the core vocabulary or its extensions. _Attic_ terms are preserved here to satisfy previous links to them.\n\nImplementors and publishers are gently encouraged not to use terms in the attic area."
},
Expand Down
4 changes: 2 additions & 2 deletions data/schema.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4710,7 +4710,7 @@ See also the <a href="/docs/hotels.html">dedicated document on the use of schema
:rangeIncludes :BroadcastFrequencySpecification,
:Text ;
:source <https://github.com/schemaorg/schemaorg/issues/1004> ;
rdfs:comment "The frequency used for over-the-air broadcasts. Numeric values or simple ranges, e.g. 87-99. In addition a shortcut idiom is supported for frequences of AM and FM radio channels, e.g. \"87 FM\"." .
rdfs:comment "The frequency used for over-the-air broadcasts. Numeric values or simple ranges, e.g. 87-99. In addition a shortcut idiom is supported for frequencies of AM and FM radio channels, e.g. \"87 FM\"." .
:broadcastFrequencyValue a rdf:Property ;
rdfs:label "broadcastFrequencyValue" ;
Expand Down Expand Up @@ -6553,7 +6553,7 @@ Typical unit code(s): MTK for square meter, FTK for square foot, or YDK for squa
rdfs:comment "Indicates the kind of product that this is a variant of. In the case of [[ProductModel]], this is a pointer (from a ProductModel) to a base product from which this product is a variant. It is safe to infer that the variant inherits all product features from the base model, unless defined locally. This is not transitive. In the case of a [[ProductGroup]], the group description also serves as a template, representing a set of Products that vary on explicitly defined, specific dimensions only (so it defines both a set of variants, as well as which values distinguish amongst those variants). When used with [[ProductGroup]], this property can apply to any [[Product]] included in the group." .
# NOTE in data/ext/pending/issue-1797.ttl we tentatively amend this by extending the property as follows:
# The textual definition for isVariantOf has been minimally updated to accomodate ProductGroup; this could be
# The textual definition for isVariantOf has been minimally updated to accommodate ProductGroup; this could be
# :isVariantOf a rdf:Property ; :domainIncludes :Product ; :rangeIncludes :ProductGroup .
:isbn a rdf:Property ;
Expand Down
4 changes: 2 additions & 2 deletions data/sdo-creativework-examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ by <div itemprop="creator" itemscope itemtype="https://schema.org/Person">
depicts a church in <div itemprop="contentLocation" itemscope itemtype="https://schema.org/AdministrativeArea">
<span itemprop="name">Auvers-sur-Oise</span>,
</div>
but was creaetd in <div itemprop="locationCreated" itemscope itemtype="https://schema.org/AdministrativeArea">
but was created in <div itemprop="locationCreated" itemscope itemtype="https://schema.org/AdministrativeArea">
<span itemprop="name">Saint-Rémy-de-Provence</span>.
</div>
</div>
Expand All @@ -35,7 +35,7 @@ by <div property="creator" typeof="Person">
depicts a church in <div property="contentLocation" typeof="AdministrativeArea">
<span property="name">Auvers-sur-Oise</span>,
</div>
but was creaetd in <div property="locationCreated" typeof="AdministrativeArea">
but was created in <div property="locationCreated" typeof="AdministrativeArea">
<span property="name">Saint-Rémy-de-Provence</span>.
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions data/sdo-lrmi-examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ PRE-MARKUP:
includes major elements of a previously created original work. An
example of a derivative work is L.H.O.O.Q, or Mona Lisa With a Moustache,
by Marcel Duchamp.</p>
<p>Note: this defintion is based on the wikipedia article on Derivative
<p>Note: this definition is based on the wikipedia article on Derivative
Work</p>
</dd>
</dl>
Expand All @@ -330,7 +330,7 @@ MICRODATA:
An example of a derivative work is L.H.O.O.Q, or Mona Lisa With a Moustache,
by Marcel Duchamp.</p>
<p itemprop="isBasedOn" itemscope itemtype="https://schema.org/CreativeWork">
Note: this defintion is based on the <span itemprop="publisher">wikipedia</span>
Note: this definition is based on the <span itemprop="publisher">wikipedia</span>
article on <span itemprop="name">Derivative Work</span>
<link itemprop="url" href="https://en.wikipedia.org/wiki/Derivative_work" />
</p>
Expand All @@ -347,7 +347,7 @@ RDFA:
An example of a derivative work is L.H.O.O.Q, or Mona Lisa With a Moustache,
by Marcel Duchamp.</p>
<p property="isBasedOn" typeof="CreativeWork">
Note: this defintion is based on the <span property="publisher">wikipedia</span>
Note: this definition is based on the <span property="publisher">wikipedia</span>
article on <span property="name">Derivative Work</span>
<link property="url" href="https://en.wikipedia.org/wiki/Derivative_work" />
</p>
Expand Down
4 changes: 2 additions & 2 deletions data/sdo-offeredby-examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ MICRODATA:
<meta itemprop="geoRadius" content="5000" />
</div>

with a minium order of $20.
with a minimum order of $20.
<div itemprop="priceSpecification" itemscope itemtype="https://schema.org/DeliveryChargeSpecification">
<meta itemprop="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet">
<div itemprop="eligibleTransactionVolume" itemscope itemtype="https://schema.org/PriceSpecification">
Expand All @@ -650,7 +650,7 @@ RDFA:
<span property="addressRegion">MA</span>
<span property="postalCode">02142</span>
</div>
delivers within 5 km of its store with a minium order of $20.
delivers within 5 km of its store with a minimum order of $20.
<div property="makesOffer" typeof="Offer">
<div property="priceSpecification" typeof="DeliveryChargeSpecification">
<meta property="appliesToDeliveryMethod" link="http://purl.org/goodrelations/v1#DeliveryModeOwnFleet">
Expand Down
2 changes: 1 addition & 1 deletion docs/cg/sdo-wot-tpac-2016-09.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A: Large (and growing) collection of descriptive schemas, used primarily in the
Q: What kinds of descriptions?
A: Many! People, places, things, events, recipes, reviews, products, businesses, opening hours, creative works (books, articles etc.), many more.
Q: Where is it used?
A: Initially and primarily by search engines, but also sites like Pinterest, or iniatives like http://api.science.ai/ (scholarly publishing)
A: Initially and primarily by search engines, but also sites like Pinterest, or initiatives like http://api.science.ai/ (scholarly publishing)
Q: How big is it?
A: Core vocabulary currently has 583 types, 846 properties, and 114 Enumeration values. More in extension sections.

Expand Down
6 changes: 3 additions & 3 deletions docs/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1>About Schema.org</h1>

<p><a href="faq.html#17">Where did you get that great domain name?</a></p>

<p><a href="faq.html#18">Under what terms can we re-use this documentation?</a></p>
<p><a href="faq.html#18">Under what terms can we reuse this documentation?</a></p>

<p><a href="faq.html#19">Should we write 'https://schema.org' or 'http://schema.org' in our markup?</a></p>

Expand Down Expand Up @@ -168,12 +168,12 @@ <h1>About Schema.org</h1>

<p class="question">Q:
<a name="18"
id="18"></a>Under what terms can we re-use this documentation (and schemas, examples, software)?</p>
id="18"></a>Under what terms can we reuse this documentation (and schemas, examples, software)?</p>
<p>As noted in our <a href="https://schema.org/docs/terms.html">terms of service</a> document, schema.org schemas
are made available under the <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike License (version 3.0)</a>.
These terms also apply to the supporting <a href="https://schema.org/docs/documents.html">documentation</a> on this site and
on our <a href="http://blog.schema.org/">blog</a>, as well as to the markup examples used in this site. The software used for our site is also
<a href="https://github.com/schemaorg/schemaorg/blob/main/software/SOFTWARE_README.md">available</a> for opensource re-use under an
<a href="https://github.com/schemaorg/schemaorg/blob/main/software/SOFTWARE_README.md">available</a> for opensource reuse under an
<a href="https://github.com/schemaorg/schemaorg/blob/main/LICENSE">Apache 2</a> license. If you have feedback on these terms please <a href="feedback.html">get in touch</a>.
</p>

Expand Down
2 changes: 1 addition & 1 deletion docs/kickoff.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Schema.org Workshop</h1>
<h2>September 21, 2011, Mountain View, California</h2>


<p>Google, Microsoft, and Yahoo hosted about 75 representatives from the web standards, web publishing, and content tools communities for a day-long workshop with the purpose of soliciting feedback and input, evolving the schema.org specification towards a 1.0 spec, and building momemtum for implementation.</p>
<p>Google, Microsoft, and Yahoo hosted about 75 representatives from the web standards, web publishing, and content tools communities for a day-long workshop with the purpose of soliciting feedback and input, evolving the schema.org specification towards a 1.0 spec, and building momentum for implementation.</p>

<p>Here are slides from the day:</p>

Expand Down
4 changes: 2 additions & 2 deletions docs/releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h1>Releases</h1>
<td>
<ul>
<li id="g2858"><a href="https://github.com/schemaorg/schemaorg/issues/2858">Issue #2858</a>: Added <a href="/agentInteractionStatistic">agentInteractionStatistic</a> to provide a way of counting interactions where the item of interest is in an "agent" rather than "object" role on the relevant Action.</li>
<li id="g3376"><a href="https://github.com/schemaorg/schemaorg/issues/3376">Issue #3376</a>: Provided a clearer way to indicate non-Comment items that Comments are attached to, by documenting the use of <a href="/parentItem">parentItem</a> on <a href="/CreativeWork">CreativeWork</a> in general. Also made it more explicit that this is especially applicable to those creative works beneath <a href="/Comment">Comment</a> in the type hiearchy which are mentioned in the definition, i.e. <a href="/Question">Question</a> and <a href="/Answer">Answer</a>.</li>
<li id="g3376"><a href="https://github.com/schemaorg/schemaorg/issues/3376">Issue #3376</a>: Provided a clearer way to indicate non-Comment items that Comments are attached to, by documenting the use of <a href="/parentItem">parentItem</a> on <a href="/CreativeWork">CreativeWork</a> in general. Also made it more explicit that this is especially applicable to those creative works beneath <a href="/Comment">Comment</a> in the type hierarchy which are mentioned in the definition, i.e. <a href="/Question">Question</a> and <a href="/Answer">Answer</a>.</li>
<li id="g3389"><a href="https://github.com/schemaorg/schemaorg/issues/3389">Issue #3389</a>: Added <a href="/Comment">Comment</a> to the domain of <a href="/sharedContent">sharedContent</a> to better support link shares on replies/comments even though a lot of sites now support this.</li>
<li id="g3390"><a href="https://github.com/schemaorg/schemaorg/issues/3390">Issue #3390</a>: Expanded range of <a href="/uploadDate">uploadDate</a> to include <a href="/DateTime">DateTime</a>, correcting a longstanding bug.</li>
<li id="g3347"><a href="https://github.com/schemaorg/schemaorg/issues/3347">PR #3347</a>: Improved error reporting in case the parsing of JSON-LD examples fails.</li>
Expand Down Expand Up @@ -270,7 +270,7 @@ <h1>Releases</h1>
<li id="g3065"><a href="https://github.com/schemaorg/schemaorg/pull/3065">PR #3065</a>: Added an example of ESIP Science-On-Schema markup to <a href="/Dataset">Dataset</a> and <a href="/ResearchProject">ResearchProject</a>.</li>
<li id="g2859"><a href="https://github.com/schemaorg/schemaorg/pull/2859">PR #2859</a>: Added <a href="/PerformanceRole">PerformanceRole</a> example <a href="/actor">actor</a> property.</li>
<li id="g3298"><a href="https://github.com/schemaorg/schemaorg/issues/3298">Issue #3298</a>: Corrected priceCurrency examples in <a href="/Offer">Offer</a> examples.</li>
<li id="g3303"><a href="https://github.com/schemaorg/schemaorg/issues/3303">Issue #3303</a>: Added <a href="/bed">bed</a> and <a href="/occupancy">occupancy</a> to <a href="/Accommodation">Accomodation</a> and added a subtype of <a href="/LodgingBusiness">LodgingBusiness</a> called <a href="/VacationRental">VacationRental</a>.</li>
<li id="g3303"><a href="https://github.com/schemaorg/schemaorg/issues/3303">Issue #3303</a>: Added <a href="/bed">bed</a> and <a href="/occupancy">occupancy</a> to <a href="/Accommodation">Accommodation</a> and added a subtype of <a href="/LodgingBusiness">LodgingBusiness</a> called <a href="/VacationRental">VacationRental</a>.</li>
</ul>
<h3>Changes in new area:</h3>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion software/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ POST-RELEASE STEPS

* Tag gitub version vXX.X-release

`git tag [tagname] [commmit code]`
`git tag [tagname] [commit code]`

eg. `git tag v14.0-release 9d691a8` Note capitalisation

Expand Down
2 changes: 1 addition & 1 deletion software/SOFTWARE_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If when running local scripts you receive an error of this form:

ModuleNotFoundError: No module named 'module_name'

There are two common causes. Either your Python environment is not correctly set to 3.10 or above, or it does not contain all the required modules which may be because new dependencies have been added or changed. To confirm you have the correct modules loaded, run again the cmmand:
There are two common causes. Either your Python environment is not correctly set to 3.10 or above, or it does not contain all the required modules which may be because new dependencies have been added or changed. To confirm you have the correct modules loaded, run again the command:

pip install -r software/requirements.txt

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# or expanded (nested definitions for related terms)

def templateRender(term):
#Basic varibles configuring UI
#Basic variables configuring UI
tvars = {
'sitename': "SchemaTerms",
'menu_sel': "Schemas",
Expand Down
2 changes: 1 addition & 1 deletion software/SchemaTerms/markdown/markdown2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ def _do_code_spans(self, text):
# <p>Just type <code>foo `bar` baz</code> at the prompt.</p>
#
# There's no arbitrary limit to the number of backticks you
# can use as delimters. If you need three consecutive backticks
# can use as delimiters. If you need three consecutive backticks
# in your code, use four for delimiters, etc.
#
# * You can use spaces to get literal backticks at the edges:
Expand Down
2 changes: 1 addition & 1 deletion software/SchemaTerms/sdocollaborators.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self,ref,desc=None):
self.contributor = False
self.img = self.code = self.title = self.url = None
self.description = ""
self.acknowlegement = ""
self.acknowledgement = ""
self.parseDesc(desc)

collaborator.COLLABORATORS[self.ref]=self
Expand Down
2 changes: 1 addition & 1 deletion software/SchemaTerms/sdotermsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def expandTerm(termdesc,depth=0):
elif termdesc.termType == SdoTerm.ENUMERATIONVALUE:
termdesc.enumerationParent = SdoTermSource.termFromId(termdesc.enumerationParent)

if not depth: #Expand the indivdual termdescs in the terms' termstack but prevent recursion further.
if not depth: #Expand the individual termdescs in the terms' termstack but prevent recursion further.
stack = []
for t in termdesc.termStack:
stack.append(SdoTermSource.expandTerm(t,depth=depth +1))
Expand Down
2 changes: 1 addition & 1 deletion software/scripts/Schema_org_Examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"SchemaExamples.loadExamplesFiles(examplesSource,init=True)\n",
"print(\"Loaded %d examples \" % (SchemaExamples.count()))\n",
"\n",
"os.chdir(\"/content\") #put us back to a consistant place\n",
"os.chdir(\"/content\") #put us back to a consistent place\n",
"\n",
"############## Utils ########\n",
"def percentage(part, whole):\n",
Expand Down
2 changes: 1 addition & 1 deletion software/scripts/localrubycheck.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
echo "Preparing examples"
./software/util/buildsite.py -f Examples

echo "Install Ruby dependancies"
echo "Install Ruby dependencies"
bundle install --gemfile=software/scripts/Gemfile --jobs 4 --retry 3

echo "Setup LATEST link"
Expand Down
2 changes: 1 addition & 1 deletion software/scripts/markdown2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@ def _do_code_spans(self, text):
# <p>Just type <code>foo `bar` baz</code> at the prompt.</p>
#
# There's no arbitrary limit to the number of backticks you
# can use as delimters. If you need three consecutive backticks
# can use as delimiters. If you need three consecutive backticks
# in your code, use four for delimiters, etc.
#
# * You can use spaces to get literal backticks at the edges:
Expand Down
4 changes: 2 additions & 2 deletions software/tests/test_schemaexamples.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def test_single_example(self):


def test_two_examples(self):
"""Test parsing of an Example file containing two entries, one of them synthetized."""
# Write one exampel
"""Test parsing of an Example file containing two entries, one of them synthesized."""
# Write one example
self.temp_file.write(THING_EXAMPLE.encode('utf8'))
self.temp_file.write('\n'.encode('utf8'))
# Create a test example object.
Expand Down
2 changes: 1 addition & 1 deletion software/util/buildfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def exportrdf(exportType):
?s ?p ?o;
schema:supersededBy ?sup.
}""" % (protocol)
#Currenty superseded terms are not suppressed from 'current' file dumps
#Currently superseded terms are not suppressed from 'current' file dumps
#Whereas they are suppressed from the UI
#currentGraph.update(desuperseded)

Expand Down
2 changes: 1 addition & 1 deletion software/util/buildsite.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def templateRender(template_path, extra_vars=None, template_instance=None):
Returns: the generated page.
"""
#Basic varibles configuring UI
#Basic variables configuring UI
tvars = {
'local_vars': local_vars,
'version': getVersion(),
Expand Down
2 changes: 1 addition & 1 deletion software/util/sdojsonldcontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def createcontext():
if not pref in done:
done.append(pref)
if pref == "schema":
pth = SCHEMAURI #Overide vocab setting to maintain http compatability
pth = SCHEMAURI #Override vocab setting to maintain http compatibility
if pref == "geo":
continue
jsonldcontext.append(" \"%s\": \"%s\",\n" % (pref,pth))
Expand Down
8 changes: 4 additions & 4 deletions software/util/sdoowl.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,13 @@ def outputEnums(self,graph):
for row in enums:
self.outputNamedIndividuals(row.enum,graph,parent=row.parent)

def outputNamedIndividuals(self,idividual,graph,parent=None):
def outputNamedIndividuals(self,individual,graph,parent=None):
self.namedCount += 1

typ = SubElement(self.dom,"owl:NamedIndividual")
typ.set("rdf:about",idividual)
typ.set("rdf:about",individual)
ext = None
for (p,o) in graph.predicate_objects(URIRef(idividual)):
for (p,o) in graph.predicate_objects(URIRef(individual)):
if p == RDFS.label:
l = SubElement(typ,"rdfs:label")
l.set("xml:lang","en")
Expand All @@ -267,7 +267,7 @@ def outputNamedIndividuals(self,idividual,graph,parent=None):
elif p == URIRef(VOCABURI + "isPartOf"):
ext = str(o)

typ.append(self.addDefined(idividual,ext))
typ.append(self.addDefined(individual,ext))

if parent:
s = SubElement(typ,"rdfs:subClassOf")
Expand Down

0 comments on commit 69be575

Please sign in to comment.