PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rml: <http://w3id.org/rml/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

rml:TermMap a rdfs:Class .

rml:Strategy a rdfs:Class .

rml:GatherMap a rdfs:Class ;
  rdfs:label "Gather Map" ;
  rdfs:comment "Denotes a term map that generates a collection (rdf:List) or container (rdf:Bag, rdf:Seq, rdf:Alt)."@en ;
  rdfs:subClassOf rml:TermMap .

rml:allowEmptyListAndContainer a rdf:Property ;
  rdfs:label "allow empty list and container" ;
  rdfs:comment "Indicates the behavior of a GatherMap in case rml:gather does not yield any element"@en ;
  rdfs:domain rml:GatherMap ;
  rdfs:range xsd:boolean .

rml:gather a rdf:Property ;
  rdfs:label "gather" ;
  rdfs:comment "Specifies where the terms of a collection or container come from."@en ;
  rdfs:domain rml:GatherMap ;
  rdfs:range <https://w3id.org/linkml/Any> .

rml:gatherAs a rdf:Property ;
  rdfs:label "gather as" ;
  rdfs:comment "Relates a GatherMap with the desired result type of collection or container."@en ;
  rdfs:domain rml:GatherMap ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" .
