Skip to content

Commit

Permalink
Initial version of RDF files
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Jun 10, 2023
1 parent 6fd84c9 commit c46b466
Show file tree
Hide file tree
Showing 4 changed files with 6,602 additions and 0 deletions.
273 changes: 273 additions & 0 deletions cityjson/cube.city.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,273 @@
{
"@context": {
"@version": 1.1,
"@base": "#",
"city": "http://example.com/vocab/city/",
"dct": "http://purl.org/dc/terms/",
"CityJSON": "city:CityJson",
"type": "@type",
"version": "city:version",
"CityObjects": {
"@id": "city:hasObject",
"@context": {
"geometry": {
"@id": "city:hasGeometry",
"@context": {
"lod": "city:lod",
"boundaries": {
"@id": "city:boundaries",
"@container": "@list"
}
}
},
"attributes": "@nest",
"parents": {
"@id": "city:hasParent",
"@type": "@id"
},
"children": {
"@id": "city:hasChild",
"@type": "@id"
}
}
},
"Bridge": "city:Bridge",
"BridgeConstructiveElement": "city:BridgeConstructiveElement",
"BridgeFurniture": "city:BridgeFurniture",
"BridgeInstallation": "city:BridgeInstallation",
"BridgePart": "city:BridgePart",
"BridgeRoom": "city:BridgeRoom",
"Building": "city:Building",
"BuildingConstructiveElement": "city:BuildingConstructiveElement",
"BuildingFurniture": "city:BuildingFurniture",
"BuildingInstallation": "city:BuildingInstallation",
"BuildingPart": "city:BuildingPart",
"BuildingRoom": "city:BuildingRoom",
"BuildingStorey": "city:BuildingStorey",
"BuildingUnit": "city:BuildingUnit",
"CityFurniture": "city:CityFurniture",
"CityObjectGroup": "city:CityObjectGroup",
"ExtensionObject": "city:ExtensionObject",
"LandUse": "city:LandUse",
"OtherConstruction": "city:OtherConstruction",
"PlantCover": "city:PlantCover",
"Railway": "city:Railway",
"Road": "city:Road",
"SolitaryVegetationObject": "city:SolitaryVegetationObject",
"TINRelief": "city:TINRelief",
"TransportSquare": "city:TransportSquare",
"Tunnel": "city:Tunnel",
"TunnelConstructiveElement": "city:TunnelConstructiveElement",
"TunnelFurniture": "city:TunnelFurniture",
"TunnelHollowSpace": "city:TunnelHollowSpace",
"TunnelInstallation": "city:TunnelInstallation",
"TunnelPart": "city:TunnelPart",
"WaterBody": "city:WaterBody",
"Waterway": "city:Waterway",
"_AbstractBuilding": "city:_AbstractBuilding",
"_AbstractCityObject": "city:_AbstractCityObject",
"_AbstractTransportationComplex": "city:_AbstractTransportationComplex",
"+GenericCityObject": "https://www.cityjson.org/extensions/download/generic.ext.json#GenericCityObject",
"GeometryInstance": "city:GeometryInstance",
"CompositeSolid": "city:CompositeSolid",
"CompositeSurface": "city:CompositeSurface",
"MultiLineString": "city:MultiLineString",
"MultiPoint": "city:MultiPoint",
"MultiSolid": "city:MultiSolid",
"MultiSurface": "city:MultiSurface",
"Semantics": "city:Semantics",
"Solid": "city:Solid",
"RoofSurface": "city:RoofSurface",
"GroundSurface": "city:GroundSurface",
"WallSurface": "city:WallSurface",
"ClosureSurface": "city:ClosureSurface",
"OuterCeilingSurface": "city:OuterCeilingSurface",
"OuterFloorSurface": "city:OuterFloorSurface",
"Window": "city:Window",
"Door": "city:Door",
"InteriorWallSurface": "city:InteriorWallSurface",
"CeilingSurface": "city:CeilingSurface",
"FloorSurface": "city:FloorSurface",
"WaterSurface": "city:WaterSurface",
"WaterGroundSurface": "city:WaterGroundSurface",
"WaterClosureSurface": "city:WaterClosureSurface",
"TrafficArea": "city:TrafficArea",
"AuxiliaryTrafficArea": "city:AuxiliaryTrafficArea",
"TransportationHole": "city:TransportationHole",
"TransportationMarking": "city:TransportationMarking",
"Material": "city:Material",
"Texture": "city:Texture",
"transform": {
"@id": "city:hasTransform",
"@context": {
"scale": "city:scale",
"translate": "city:translate"
}
},
"metadata": {
"@id": "@nest"
},
"geographicalExtent": "city:geographicalExtent",
"vertices": "city:hasVertex",
"extensions": {
"@id": "city:hasExtension",
"@container": "@index",
"@index": "dct:identifier",
"@context": {
"url": "@id",
"version": "dct:version"
}
}
},
"CityObjects": [
{
"@id": "_:city-objects-id-1",
"geometry": [
{
"boundaries": [
[
[
[
0,
1,
2,
3
]
],
[
[
4,
5,
1,
0
]
],
[
[
5,
6,
2,
1
]
],
[
[
6,
7,
3,
2
]
],
[
[
7,
4,
0,
3
]
],
[
[
7,
6,
5,
4
]
]
]
],
"lod": "1",
"type": "Solid"
}
],
"attributes": {
"function": "something"
},
"type": "+GenericCityObject"
}
],
"type": "CityJSON",
"version": "1.1",
"vertices": [
{
"@id": "_:vertices-0",
"city:x": 0,
"city:y": 0,
"city:z": 1000
},
{
"@id": "_:vertices-1",
"city:x": 1000,
"city:y": 0,
"city:z": 1000
},
{
"@id": "_:vertices-2",
"city:x": 1000,
"city:y": 1000,
"city:z": 1000
},
{
"@id": "_:vertices-3",
"city:x": 0,
"city:y": 1000,
"city:z": 1000
},
{
"@id": "_:vertices-4",
"city:x": 0,
"city:y": 0,
"city:z": 0
},
{
"@id": "_:vertices-5",
"city:x": 1000,
"city:y": 0,
"city:z": 0
},
{
"@id": "_:vertices-6",
"city:x": 1000,
"city:y": 1000,
"city:z": 0
},
{
"@id": "_:vertices-7",
"city:x": 0,
"city:y": 1000,
"city:z": 0
}
],
"metadata": {
"geographicalExtent": {
"city:min": {
"city:x": 0,
"city:y": 0,
"city:z": 0
},
"city:max": {
"city:x": 1,
"city:y": 1,
"city:z": 1
}
}
},
"transform": {
"scale": {
"city:x": 0.001,
"city:y": 0.001,
"city:z": 0.001
},
"translate": {
"city:x": 0,
"city:y": 0,
"city:z": 0
}
},
"extensions": {
"Generic": {
"url": "https://cityjson.org/extensions/download/generic.ext.json",
"version": "1.0"
}
}
}
69 changes: 69 additions & 0 deletions cityjson/cube.city.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
@prefix city: <http://example.com/vocab/city/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://cityjson.org/extensions/download/generic.ext.json> dct:identifier "Generic" ;
dct:version "1.0" .

[] a prov:Activity ;
prov:endedAtTime "2023-06-10T21:37:14.029671"^^xsd:dateTime ;
prov:startedAtTime "2023-06-10T21:37:13.582244"^^xsd:dateTime ;
prov:used [ a prov:Entity ;
dct:format "application/json" ;
dct:hasVersion "git:6fd84c9ba3fcbb7c21b49225cdff5a3effa23f1e" ;
rdfs:seeAlso <file:///home/alx5000/work/Proyectos/ogc/chek-profiles/cityjson/cube.city.json> ] ;
prov:wasAssociatedWith [ a prov:Agent,
schema:SoftwareApplication ;
rdfs:label "OGC-NA tools" ;
dct:hasVersion "0.2.27.dev0+gc5cd59f.d20230609" ;
rdfs:seeAlso <https://github.com/opengeospatial/ogc-na-tools> ] ;
prov:wasInformedBy [ dct:identifier "660ddc01-a287-438c-9656-0cee9a6167bb" ] .

[] a city:CityJson ;
city:geographicalExtent [ city:max [ city:x 1 ;
city:y 1 ;
city:z 1 ] ;
city:min [ city:x 0 ;
city:y 0 ;
city:z 0 ] ] ;
city:hasExtension <https://cityjson.org/extensions/download/generic.ext.json> ;
city:hasObject [ a <file:///home/alx5000/work/Proyectos/ogc/chek-profiles/+GenericCityObject> ;
city:hasGeometry [ a <file:///home/alx5000/work/Proyectos/ogc/chek-profiles/Solid> ;
city:boundaries ( ( ( ( 0 1 2 3 ) ) ( ( 4 5 1 0 ) ) ( ( 5 6 2 1 ) ) ( ( 6 7 3 2 ) ) ( ( 7 4 0 3 ) ) ( ( 7 6 5 4 ) ) ) ) ;
city:lod "1" ] ] ;
city:hasTransform [ city:scale [ city:x 1e-03 ;
city:y 1e-03 ;
city:z 1e-03 ] ;
city:translate [ city:x 0 ;
city:y 0 ;
city:z 0 ] ] ;
city:hasVertex [ city:x 0 ;
city:y 0 ;
city:z 1000 ],
[ city:x 1000 ;
city:y 0 ;
city:z 1000 ],
[ city:x 1000 ;
city:y 1000 ;
city:z 1000 ],
[ city:x 0 ;
city:y 1000 ;
city:z 1000 ],
[ city:x 0 ;
city:y 0 ;
city:z 0 ],
[ city:x 1000 ;
city:y 0 ;
city:z 0 ],
[ city:x 1000 ;
city:y 1000 ;
city:z 0 ],
[ city:x 0 ;
city:y 1000 ;
city:z 0 ] ;
city:version "1.1" .

Loading

0 comments on commit c46b466

Please sign in to comment.