lib/rdf/vocab/as.rb in rdf-vocab-3.1.14 vs lib/rdf/vocab/as.rb in rdf-vocab-3.2.0

- old
+ new

@@ -181,11 +181,24 @@ type: "http://www.w3.org/2002/07/owl#Class".freeze term :OrderedCollection, comment: "A variation of Collection in which items are strictly ordered".freeze, label: "OrderedCollection".freeze, subClassOf: term( - intersectionOf: list("https://www.w3.org/ns/activitystreams#Collection".freeze, "_:g14420".freeze), + intersectionOf: list("https://www.w3.org/ns/activitystreams#Collection".freeze, term( + allValuesFrom: term( + intersectionOf: list("https://www.w3.org/ns/activitystreams#OrderedItems".freeze, term( + "http://www.w3.org/2002/07/owl#complementOf": term( + type: "http://www.w3.org/2002/07/owl#Class".freeze, + unionOf: list("https://www.w3.org/ns/activitystreams#Object".freeze, "https://www.w3.org/ns/activitystreams#Link".freeze) + ).freeze, + type: "http://www.w3.org/2002/07/owl#Class".freeze + )), + type: "http://www.w3.org/2002/07/owl#Class".freeze + ).freeze, + onProperty: "https://www.w3.org/ns/activitystreams#items".freeze, + type: "http://www.w3.org/2002/07/owl#Restriction".freeze + )), type: "http://www.w3.org/2002/07/owl#Class".freeze ), type: "http://www.w3.org/2002/07/owl#Class".freeze term :OrderedCollectionPage, comment: "An ordered subset of items from an OrderedCollection".freeze, @@ -194,11 +207,22 @@ type: "http://www.w3.org/2002/07/owl#Class".freeze term :OrderedItems, comment: "A rdf:List variant for Objects and Links".freeze, label: "OrderedItems".freeze, subClassOf: term( - intersectionOf: list("http://www.w3.org/1999/02/22-rdf-syntax-ns#List".freeze, "_:g16060".freeze, "_:g16100".freeze), + intersectionOf: list("http://www.w3.org/1999/02/22-rdf-syntax-ns#List".freeze, term( + allValuesFrom: term( + type: "http://www.w3.org/2002/07/owl#Class".freeze, + unionOf: list("https://www.w3.org/ns/activitystreams#Object".freeze, "https://www.w3.org/ns/activitystreams#Link".freeze) + ).freeze, + onProperty: "http://www.w3.org/1999/02/22-rdf-syntax-ns#first".freeze, + type: "http://www.w3.org/2002/07/owl#Restriction".freeze + ), term( + allValuesFrom: "https://www.w3.org/ns/activitystreams#OrderedItems".freeze, + onProperty: "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest".freeze, + type: "http://www.w3.org/2002/07/owl#Restriction".freeze + )), type: "http://www.w3.org/2002/07/owl#Class".freeze ), type: "http://www.w3.org/2002/07/owl#Class".freeze term :Organization, comment: "An Organization".freeze, @@ -301,11 +325,13 @@ comment: "Specifies the accuracy around the point established by the longitude and latitude".freeze, domain: "https://www.w3.org/ns/activitystreams#Place".freeze, label: "accuracy".freeze, range: term( "http://www.w3.org/2002/07/owl#onDatatype": "http://www.w3.org/2001/XMLSchema#float".freeze, - "http://www.w3.org/2002/07/owl#withRestrictions": list("_:g15580".freeze), + "http://www.w3.org/2002/07/owl#withRestrictions": list(term( + "http://www.w3.org/2001/XMLSchema#minInclusive": "0.0".freeze + )), type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze ), type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze] property :actor, comment: "Subproperty of as:attributedTo that identifies the primary actor".freeze, @@ -407,11 +433,13 @@ comment: "The content of the object.".freeze, domain: "https://www.w3.org/ns/activitystreams#Object".freeze, label: "content".freeze, range: term( type: "http://www.w3.org/2002/07/owl#Class".freeze, - unionOf: list("_:g15980".freeze, "http://www.w3.org/2001/XMLSchema#string".freeze) + unionOf: list(term( + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze + ), "http://www.w3.org/2001/XMLSchema#string".freeze) ), type: "http://www.w3.org/2002/07/owl#DatatypeProperty".freeze property :context, comment: "Specifies the context within which an object exists or an activity was performed".freeze, domain: "https://www.w3.org/ns/activitystreams#Object".freeze, @@ -542,11 +570,14 @@ property :items, domain: "https://www.w3.org/ns/activitystreams#Collection".freeze, label: "items".freeze, range: term( type: "http://www.w3.org/2002/07/owl#Class".freeze, - unionOf: list("_:g15260".freeze, "https://www.w3.org/ns/activitystreams#OrderedItems".freeze) + unionOf: list(term( + type: "http://www.w3.org/2002/07/owl#Class".freeze, + unionOf: list("https://www.w3.org/ns/activitystreams#Object".freeze, "https://www.w3.org/ns/activitystreams#Link".freeze) + ), "https://www.w3.org/ns/activitystreams#OrderedItems".freeze) ), type: "http://www.w3.org/2002/07/owl#ObjectProperty".freeze property :last, domain: "https://www.w3.org/ns/activitystreams#Collection".freeze, label: "last".freeze, @@ -591,11 +622,13 @@ ), "http://www.w3.org/2000/01/rdf-schema#name": "The default, plain-text display name of the object or link.".freeze, label: "name".freeze, range: term( type: "http://www.w3.org/2002/07/owl#Class".freeze, - unionOf: list("_:g15160".freeze, "http://www.w3.org/2001/XMLSchema#string".freeze) + unionOf: list(term( + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze + ), "http://www.w3.org/2001/XMLSchema#string".freeze) ), type: "http://www.w3.org/2002/07/owl#DatatypeProperty".freeze property :next, domain: "https://www.w3.org/ns/activitystreams#CollectionPage".freeze, label: "next".freeze, @@ -683,21 +716,27 @@ comment: "Specifies a radius around the point established by the longitude and latitude".freeze, domain: "https://www.w3.org/ns/activitystreams#Place".freeze, label: "radius".freeze, range: term( "http://www.w3.org/2002/07/owl#onDatatype": "http://www.w3.org/2001/XMLSchema#float".freeze, - "http://www.w3.org/2002/07/owl#withRestrictions": list("_:g14720".freeze), + "http://www.w3.org/2002/07/owl#withRestrictions": list(term( + "http://www.w3.org/2001/XMLSchema#minInclusive": "0.0".freeze + )), type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze ), type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze] property :rating, comment: "A numeric rating (>= 0.0, <= 5.0) for the object".freeze, domain: "https://www.w3.org/ns/activitystreams#Object".freeze, label: "rating".freeze, range: term( "http://www.w3.org/2002/07/owl#onDatatype": "http://www.w3.org/2001/XMLSchema#float".freeze, - "http://www.w3.org/2002/07/owl#withRestrictions": list("_:g14140".freeze, "_:g14180".freeze), + "http://www.w3.org/2002/07/owl#withRestrictions": list(term( + "http://www.w3.org/2001/XMLSchema#minInclusive": "0.0".freeze + ), term( + "http://www.w3.org/2001/XMLSchema#maxInclusive": "5.0".freeze + )), type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze ), type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#DeprecatedProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze] property :rel, comment: "The RFC 5988 or HTML5 Link Relation associated with the Link".freeze, @@ -751,11 +790,13 @@ comment: "A short summary of the object".freeze, domain: "https://www.w3.org/ns/activitystreams#Object".freeze, label: "summary".freeze, range: term( type: "http://www.w3.org/2002/07/owl#Class".freeze, - unionOf: list("_:g15000".freeze, "http://www.w3.org/2001/XMLSchema#string".freeze) + unionOf: list(term( + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze + ), "http://www.w3.org/2001/XMLSchema#string".freeze) ), type: "http://www.w3.org/2002/07/owl#DatatypeProperty".freeze property :tag, domain: "https://www.w3.org/ns/activitystreams#Object".freeze, label: "tag".freeze, @@ -799,10 +840,13 @@ comment: "Identifies the unit of measurement used by the radius, altitude and accuracy properties. The value can be expressed either as one of a set of predefined units or as a well-known common URI that identifies units.".freeze, domain: "https://www.w3.org/ns/activitystreams#Place".freeze, label: "units".freeze, range: term( type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze, - unionOf: list("_:g14600".freeze, "http://www.w3.org/2001/XMLSchema#anyURI".freeze) + unionOf: list(term( + "http://www.w3.org/2002/07/owl#oneOf": list("inches".freeze, "feet".freeze, "miles".freeze, "cm".freeze, "m".freeze, "km".freeze), + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze + ), "http://www.w3.org/2001/XMLSchema#anyURI".freeze) ), type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze] property :updated, comment: "Specifies when the object was last updated".freeze, domain: "https://www.w3.org/ns/activitystreams#Object".freeze,