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

URIs and ignore files #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
35 changes: 35 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Do not add (gitignore doesn't affect files already added)

# Folders
build/
env/
node_modules/
serve/
venv/
_site/

# Dotfiles
.*
!/.gitignore
!/.editorconfig
!/.eslintrc
!/.ruby-version

# Temporary and compiled files
*~
*.css.map
*.egg
*.exe
*.lock
*.log
*.pem
*.pid
*.pyc
*.retry
*.seed
*.so
*.swo
*.swp
*.tgz
*.vim
*.textClipping
74 changes: 37 additions & 37 deletions _image/image-ontology.ttl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@prefix pi: <http://parliament.uk/ontologies/image/> .
@prefix pi: <https://parliament.uk/ontologies/image/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .


<http://parliament.uk/ontologies/image/>
<https://parliament.uk/ontologies/image/>
rdf:type owl:Ontology ;
dcterms:title "Image ontology"@en ;
dcterms:created "28/06/2017"^^xsd:date ;
Expand All @@ -20,66 +20,66 @@
pi:Image rdf:type owl:Class ;
rdfs:label "Image"@en ;
rdfs:comment "A image file, 2D unless otherwise stated, stored in the highest available quality" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:Photograph rdf:type owl:Class ;
rdfs:label "Photograph"@en ;
rdfs:subClassOf pi:Image ;
rdfs:comment "A Image taken with a camera" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:ImageSubject rdf:type owl:Class ;
rdfs:label "ImageSubject"@en ;
rdfs:comment "A thing that appears in the image - what the image is at partially or wholly 'of'" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:ImageZone rdf:type owl:Class ;
rdfs:label "ImageZone"@en ;
rdfs:comment "An area within a image, that will be used to identify multiple ImageSubjects" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:UsageLicence rdf:type owl:Class ;
rdfs:label "UsageLicence"@en ;
rdfs:comment "The licence of the image's use, such as GNU or various Creative Commons licences" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:GeoLocation rdf:type owl:Class ;
rdfs:label "GeoLocation"@en ;
rdfs:subClassOf pi:GeographicalThing ;
rdfs:comment "An area within a image, that will be used to identify multiple ImageSubjects" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:ImageCoordinate rdf:type owl:Class ;
rdfs:label "ImageCoordinate"@en ;
rdfs:comment "A coordinate used to identify the location of the ImageZone within the Image" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:ImageCreator rdf:type owl:Class ;
rdfs:label "ImageCreator"@en ;
rdfs:subClassOf pi:Agent ;
rdfs:comment "The creator of the image - photographer, artist, designer of a diagram etc" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:ImageOwner rdf:type owl:Class ;
rdfs:label "ImageOwner"@en ;
rdfs:subClassOf pi:Agent ;
rdfs:comment "The entity with the legal rights to the image and its use" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:Logo rdf:type owl:Class ;
rdfs:label "Logo"@en ;
rdfs:comment "A graphic mark, emblem, or symbol used to represent an organisation or person" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:Agent rdf:type owl:Class ;
rdfs:label "Agent"@en ;
rdfs:comment "An agent. The superset of all people and all groups of people."@en ;
rdf:isDefinedBy <http://parliament.uk/ontologies/agency/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/agency/> .

pi:ImageResolution rdf:type owl:Class ;
rdfs:label "ImageResolution"@en ;
rdfs:comment "An image's resolution" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

##### Object properties ####

Expand All @@ -88,144 +88,144 @@ pi:imageHasImageSubject rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf foaf:depicts ;
rdfs:domain pi:Image ;
rdfs:range pi:ImageSubject ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageHasImageCoordinate rdf:type owl:ObjectProperty ;
rdfs:label "imageHasImageCoordinate"@en ;
rdfs:domain pi:Image ;
rdfs:range pi:ImageCoordinate ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageCoordinateHasImageZone rdf:type owl:ObjectProperty ;
rdfs:label "imageCoordinateHasImageZone"@en ;
rdfs:domain pi:ImageCoordinate ;
rdfs:range pi:ImageZone ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageZoneHasImageSubject rdf:type owl:ObjectProperty ;
rdfs:label "imageZoneHasImageSubject"@en ;
rdfs:subPropertyOf foaf:depicts ;
rdfs:domain pi:ImageZone ;
rdfs:range pi:ImageSubject ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageHasUsageLicence rdf:type owl:ObjectProperty ;
rdfs:label "imageHasUsageLicence"@en ;
rdfs:domain pi:Image ;
rdfs:range pi:UsageLicence ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:photographHasGeoLocation rdf:type owl:ObjectProperty ;
rdfs:label "photographHasGeoLocation"@en ;
rdfs:domain pi:Photograph ;
rdfs:range pi:GeoLocation ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageHasImageCreator rdf:type owl:ObjectProperty ;
rdfs:label "imageHasImageCreator"@en ;
rdfs:domain pi:Image ;
rdfs:range pi:ImageCreator ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageHasImageOwner rdf:type owl:ObjectProperty ;
rdfs:label "imageHasImageOwner"@en ;
rdfs:domain pi:Image ;
rdfs:range pi:ImageOwner ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:agentHasLogo rdf:type owl:ObjectProperty ;
rdfs:label "agentHasLogo"@en ;
rdfs:subPropertyOf foaf:logo ;
rdfs:domain pi:Agent ;
rdfs:range pi:Logo ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageHasImageResolution rdf:type owl:ObjectProperty ;
rdfs:label "imageHasImageResolution"@en ;
rdfs:domain pi:Image ;
rdfs:range pi:ImageResolution ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

##### Data properties ####

pi:imageStorageLocation rdf:type owl:DatatypeProperty ;
rdfs:label "imageStorageLocation"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:string ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageCreatedAt rdf:type owl:DatatypeProperty ;
rdfs:label "imageCreatedAt"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:dateTime ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:usageLicenceName rdf:type owl:DatatypeProperty ;
rdfs:label "usageLicenceName"@en ;
rdfs:domain pi:UsageLicence ;
rdfs:range xsd:string ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:usageLicenceDetails rdf:type owl:DatatypeProperty ;
rdfs:label "usageLicenceDetails"@en ;
rdfs:domain pi:UsageLicence ;
rdfs:range xsd:string ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageWidth rdf:type owl:DatatypeProperty ;
rdfs:label "imageWidth"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:integer ;
rdfs:comment "Image width in pixels" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageLength rdf:type owl:DatatypeProperty ;
rdfs:label "imageLength"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:integer ;
rdfs:comment "Image height in pixels" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:bitsPerSample rdf:type owl:DatatypeProperty ;
rdfs:label "bitsPerSample"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:integer ;
rdfs:comment "Number of bits per component in each channel." ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:compression rdf:type owl:DatatypeProperty ;
rdfs:label "compression"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:string ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:samplesPerPixel rdf:type owl:DatatypeProperty ;
rdfs:label "samplesPerPixel"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:integer ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageXResolution rdf:type owl:DatatypeProperty ;
rdfs:label "imageXResolution"@en ;
rdfs:domain pi:ImageResolution ;
rdfs:range xsd:integer ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageYResolution rdf:type owl:DatatypeProperty ;
rdfs:label "imageYResolution"@en ;
rdfs:domain pi:ImageResolution ;
rdfs:range xsd:integer ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageResolutionUnit rdf:type owl:DatatypeProperty ;
rdfs:label "imageResolutionUnit"@en ;
rdfs:domain pi:ImageResolution ;
rdfs:range xsd:string ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .

pi:imageSoftware rdf:type owl:DatatypeProperty ;
rdfs:label "imageSoftware"@en ;
rdfs:domain pi:Image ;
rdfs:range xsd:integer ;
rdfs:comment "Software used to create image" ;
rdf:isDefinedBy <http://parliament.uk/ontologies/image/> .
rdf:isDefinedBy <https://parliament.uk/ontologies/image/> .
Binary file removed _person-name/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions _person-name/person-name-ontology.html

Large diffs are not rendered by default.

Loading