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

Solid UI #78

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Solid UI #78

wants to merge 2 commits into from

Conversation

jeff-zucker
Copy link
Member

Adds the ui ontology.

I added it under "created for Solid" although that isn't strictly true.

The description in the README may need to be expanded.

@jeff-zucker jeff-zucker requested a review from timbl July 22, 2022 22:25
<> dc:author <https://www.w3.org/People/Berners-Lee/card#i>;
dc:created "2010-08-07"^^xsd:date;
dc:description """The User Interface ontology allows the definition
of forms for processing RDF model data, and include a bootstrap form for
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
of forms for processing RDF model data, and include a bootstrap form for
of forms for processing RDF model data, and includes a bootstrap form for

""";
dc:license <https://creativecommons.org/publicdomain/zero/1.0/>;
dc:modified "$Date: 2021/03/04 18:29:49 $";
dc:title "An ontology for User Interface description, Hints and Forms." .
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
dc:title "An ontology for User Interface description, Hints and Forms." .
dc:title "An ontology for User Interface description, Hints, and Forms." .

Comment on lines +50 to +52
needs is 'property' defined too.

If the subclass selected itself is has subclasses defined, the user can
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
needs is 'property' defined too.
If the subclass selected itself is has subclasses defined, the user can
needs its 'property' defined, too.
If the selected subclass itself has subclasses defined, the user can

s:comment """Must be a valid CSS color string such as one could put in
an HTML style attribute. This must be in the #xxxxxx form,
(with 6 digits of lowercase hex) so that it
can work eg with Graphviz.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
can work eg with Graphviz.
can work with Graphviz, for instance.

:sequence 4 ]
[
a :Comment;
:contents "(When the choice is made normally the item is given a r:type. Set this to r:type unless you want the form to set a different property.)";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
:contents "(When the choice is made normally the item is given a r:type. Set this to r:type unless you want the form to set a different property.)";
:contents "(Normally, the item is given an r:type when the choice is made. Set this to r:type unless you want the form to set a different property.)";

:FloatField s:subClassOf :NumericField .

:Form a s:Class;
s:comment """A form can be any type of single field, or typically a Group of several fields,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
s:comment """A form can be any type of single field, or typically a Group of several fields,
s:comment """A form can be any type of single field, or more typically a Group of several fields,

:EmailField ) .

:annotationForm a r:Property;
s:comment """A form which may be used to add more infromation to an
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
s:comment """A form which may be used to add more infromation to an
s:comment """A form which may be used to add more information to an

"Base"@es .

:category a r:Property;
s:comment "The superclass subclasses of which will be selected.";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
s:comment "The superclass subclasses of which will be selected.";
s:comment "The superclass of which subclasses will be selected.";


:creationForm a r:Property;
s:comment """A form which may be used to collect information about a
hitherto locally undocumented instance instance of this class.""";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
hitherto locally undocumented instance instance of this class.""";
hitherto locally undocumented instance of this class.""";


:initialProperties a r:Property;
s:comment """A really simple way of enabling user interfaces to
create new information about a class of things is to make a define of properties
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
create new information about a class of things is to make a define of properties
create new information about a class of things is to make a definition of properties

:initialProperties a r:Property;
s:comment """A really simple way of enabling user interfaces to
create new information about a class of things is to make a define of properties
to be specified when a information about a new item
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
to be specified when a information about a new item
to be specified when information about a new item

create new information about a class of things is to make a define of properties
to be specified when a information about a new item
("New item" here means an item which the system
does not have prvious information about yet,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
does not have prvious information about yet,
does not have previous information about,


:prompt a r:Property;
s:comment """A string for the UI to use if the user needs a longer
prompts than just a field name, the s:label. """;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
prompts than just a field name, the s:label. """;
prompt than just a field name, the s:label. """;

"Required error"@en .

:seqeunce a r:Property;
s:comment "The sequence in which this item is arranged with repect to other parts.";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
s:comment "The sequence in which this item is arranged with repect to other parts.";
s:comment "The sequence in which this item is arranged with respect to other parts.";

Comment on lines +724 to +726
s:comment """When individuals or classes must be sorted, then
if they are given different values of sortPriority a user agent can
use this as a hint to how to present information.""";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
s:comment """When individuals or classes must be sorted, then
if they are given different values of sortPriority a user agent can
use this as a hint to how to present information.""";
s:comment """When individuals or classes must be sorted,
a user agent can use values of sortPriority
as a hint to how to present information.""";

owl:DatatypeProperty;
s:comment """Must be a valid CSS style string such as one could put in
an HTML style attribute. Depending on the user interface system, this can
by given to individuals, classes or properties. It is up to a user interface
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
by given to individuals, classes or properties. It is up to a user interface
by given to individuals, classes, or properties. It is up to a user interface

:prompt "CSS style" .

:tableProperties a r:Property;
s:comment """This is a crude way of specifying a table-based
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
s:comment """This is a crude way of specifying a table-based
s:comment """This is a crude way of specifying a table-based

:valid a r:Property;
s:isDefinedBy <>;
s:label "Valid"@en,
"Válida"@es .
Copy link
Contributor

Choose a reason for hiding this comment

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

There are a number of capitalized and accented letters in the above, in the Spanish (Espanol) langstrings, which do not appear to be correct (but this might be an issue between my Chrome browser and GitHub). I flag it so it may be investigated and corrected if appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants