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

alternative for dct:hasPart to facilitate sequential information #13

Open
cKlee opened this issue Jan 25, 2017 · 1 comment
Open

alternative for dct:hasPart to facilitate sequential information #13

cKlee opened this issue Jan 25, 2017 · 1 comment

Comments

@cKlee
Copy link
Owner

cKlee commented Jan 25, 2017

With using dct:hasPart it is not clear how a list oft Chronologies is ordered.

Order is unclear:

:item ecpo:hasChronology [
    a ecpo:CurrentChronology ;
    dct:hasPart [
        a ecpo:ClosedChronology ;
        ecpo:hasBeginVolumeNumbering "5" ;
    ] , [
        a ecpo:ClosedChronology ;
        ecpo:hasBeginVolumeNumbering "8" ;
    ]
]

Possible use the Ordered List Ontology (needs a new property ecpo:hasChronologyList):

:item ecpo:hasChronologyList [
    a olo:OrderedList ;
    olo:length 2 ;
    olo:slot [
        olo:index 1 ;
        olo:item [
            a ecpo:ClosedChronology ;
            ecpo:hasBeginVolumeCaption "v." ;
            ecpo:hasBeginVolumeNumbering "5" ;
            ecpo:hasBeginIssueCaption "no." ;
            ecpo:hasBeginIssueNumbering "1" ;
            ecpo:hasBeginTemporal "1975" ;
            ecpo:hasBeginTemporalExtension "spring" ;
            ecpo:hasEndVolumeCaption "v." ;
            ecpo:hasEndVolumeNumbering "7" ;
            ecpo:hasEndIssueCaption "no." ;
            ecpo:hasEndIssueNumbering "4" ;
            ecpo:hasEndTemporal "1977" ;
            ecpo:hasEndTemporalExtension "autumn"
        ]
    ] ;
    olo:slot [
        olo:index 2 ;
        olo:item [
            a ecpo:ClosedChronology ;
            ecpo:hasBeginVolumeCaption "v." ;
            ecpo:hasBeginVolumeNumbering "8" ;
            ecpo:hasBeginIssueCaption "no." ;
            ecpo:hasBeginIssueNumbering "2" ;
            ecpo:hasBeginTemporal "1978" ;
            ecpo:hasBeginTemporalExtension "winter"
        ]
    ]
] .

Possible extend rdf:Seq:

ecpo:hasPart rdfs:subPropertyOf rdf:li;
    rdfs:range ecpo:Chronology;
    rdfs:domain ecpo:ChronologyList .

ecpo:ChronologyList a owl:Class;
owl:equivalentClass
[ a owl:Class;
    owl:intersectionOf
      ( rdf:Seq
        [a owl:Restriction;
         owl:onProperty ecpo:hasPart;
         owl:someValuesFrom owl:Thing ]) ] .

:item ecpo:hasChronologyList [
    ecpo:hasPart  [
        a ecpo:ClosedChronology ;
        ecpo:hasBeginVolumeNumbering "5" ;
    ] , [
        a ecpo:ClosedChronology ;
        ecpo:hasBeginVolumeNumbering "8" ;
    ]
@cKlee
Copy link
Owner Author

cKlee commented Mar 17, 2017

:item ecpo:hasChronology (
  [
        a ecpo:ClosedChronology ;
        ecpo:hasBeginVolumeNumbering "5" 
    ] 
  [
        a ecpo:ClosedChronology ;
        ecpo:hasBeginVolumeNumbering "6" 
    ] 
   [
        a ecpo:ClosedChronology ;
        ecpo:hasBeginVolumeNumbering "8" 
    ]
) .

This is a RDF collection, but difficult to query by SPARQL.

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