From 2a355400d6be04fcfba68f012bb354e5f26333f2 Mon Sep 17 00:00:00 2001 From: Nataliya Keberle Date: Wed, 4 Dec 2024 17:01:58 +0200 Subject: [PATCH] added tests --- citygml-owl/examples/README.md | 10 + citygml-owl/examples/lod2-sample.gml | 195 ------------------ .../{lod3-sample.gml => lod3-sample-fail.gml} | 2 +- citygml-owl/examples/lod3-sample-fail.ttl | 191 +++++++++++++++++ citygml-owl/examples/lod3-sample-ok.gml | 172 +++++++++++++++ citygml-owl/examples/lod3-sample-ok.ttl | 192 +++++++++++++++++ 6 files changed, 566 insertions(+), 196 deletions(-) create mode 100644 citygml-owl/examples/README.md delete mode 100644 citygml-owl/examples/lod2-sample.gml rename citygml-owl/examples/{lod3-sample.gml => lod3-sample-fail.gml} (87%) create mode 100644 citygml-owl/examples/lod3-sample-fail.ttl create mode 100644 citygml-owl/examples/lod3-sample-ok.gml create mode 100644 citygml-owl/examples/lod3-sample-ok.ttl diff --git a/citygml-owl/examples/README.md b/citygml-owl/examples/README.md new file mode 100644 index 0000000..9ae89e6 --- /dev/null +++ b/citygml-owl/examples/README.md @@ -0,0 +1,10 @@ +# Test files +lod3-sample*.files are taken from lod3_building_models.gml + +CityGML 2.0 property `bldg:measuredHeight` is obsolete in 3.0 and replaced with `con:height`. + +In `lod3-sample-fail.*` used `bldg:measuredHeight` and prefixes of CityGML 2.0 - validator should return error + +In `lod3-sample-ok.*` used `con:height` and prefixes of CityGML 3.0. There should not be errors of validation. + +The conversion from gml to ttl is done with xSPARQL script. \ No newline at end of file diff --git a/citygml-owl/examples/lod2-sample.gml b/citygml-owl/examples/lod2-sample.gml deleted file mode 100644 index 4af9959..0000000 --- a/citygml-owl/examples/lod2-sample.gml +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - 405959.11 5645617.04 295.873 - 405979.2 5645685.71 301.336 - - - 2023-04-02 - - http://repository.gdi-de.org/schemas/adv/citygml/fdv/art.htm#_9100 - - DESNATPU1000Iva7 - - - - 14628300 - - - 1000 - - - 82.15 - - - 0 - - - 300.608 - - - 99 - - - 5.463 - - - 295.873 - - - 3000 - - - 1100 - - - 3000 - - - 301.336 - - - 708.088 - - 31001_2000 - 2100 - 5.463 - 2 - - - - - 405969.11 5645685.71 297.49 405969.597 5645685.597 297.027 405970.0 5645685.504 296.878 405970.409 5645685.409 296.874 405971.0 5645685.272 296.613 405971.221 5645685.221 296.532 405972.0 5645685.04 296.338 405972.032 5645685.032 296.342 405972.171 5645685.0 296.331 405972.844 5645684.844 296.304 405973.0 5645684.808 296.3 405973.656 5645684.656 296.316 405974.0 5645684.576 296.299 405974.468 5645684.468 296.312 405975.0 5645684.344 296.297 405975.279 5645684.279 296.3 405976.0 5645684.112 296.242 405976.091 5645684.091 296.243 405976.483 5645684.0 296.2 405976.903 5645683.903 296.154 405977.0 5645683.88 296.137 405977.715 5645683.715 296.058 405978.0 5645683.648 296.026 405978.526 5645683.526 295.977 405979.0 5645683.416 295.916 405979.2 5645683.37 295.888 - - - - - 405969.47 5645617.04 296.163 405969.544 5645617.544 296.13 405969.611 5645618.0 296.118 405969.716 5645618.716 296.079 405969.758 5645619.0 296.064 405969.888 5645619.888 295.988 405969.904 5645620.0 295.978 405970.0 5645620.653 295.936 405970.051 5645621.0 295.914 405970.06 5645621.06 295.915 405970.198 5645622.0 295.912 405970.232 5645622.232 295.912 405970.344 5645623.0 295.904 405970.403 5645623.403 295.896 405970.491 5645624.0 295.889 405970.575 5645624.575 295.893 405970.638 5645625.0 295.897 405970.747 5645625.747 295.897 405970.784 5645626.0 295.898 405970.919 5645626.919 295.905 405970.931 5645627.0 295.905 405971.0 5645627.47 295.908 405971.078 5645628.0 295.913 405971.091 5645628.091 295.913 405971.224 5645629.0 295.91 405971.263 5645629.263 295.902 405971.371 5645630.0 295.885 405971.435 5645630.435 295.897 405971.518 5645631.0 295.912 405971.607 5645631.607 295.904 405971.664 5645632.0 295.906 405971.779 5645632.779 295.886 405971.811 5645633.0 295.882 405971.951 5645633.951 295.912 405971.958 5645634.0 295.913 405972.0 5645634.287 295.917 405972.105 5645635.0 295.929 405972.123 5645635.123 295.929 405972.251 5645636.0 295.934 405972.294 5645636.294 295.932 405972.398 5645637.0 295.929 405972.466 5645637.466 295.918 405972.545 5645638.0 295.914 405972.638 5645638.638 295.903 405972.691 5645639.0 295.899 405972.81 5645639.81 295.907 405972.838 5645640.0 295.909 405972.982 5645640.982 295.91 405972.985 5645641.0 295.91 405973.0 5645641.104 295.91 405973.131 5645642.0 295.916 405973.154 5645642.154 295.917 405973.278 5645643.0 295.924 405973.326 5645643.326 295.923 405973.425 5645644.0 295.932 405973.498 5645644.498 295.92 405973.571 5645645.0 295.923 405973.67 5645645.67 295.915 405973.718 5645646.0 295.916 405973.842 5645646.842 295.904 405973.865 5645647.0 295.902 405974.0 5645647.921 295.916 405974.012 5645648.0 295.918 405974.014 5645648.014 295.917 405974.158 5645649.0 295.917 405974.185 5645649.185 295.917 405974.305 5645650.0 295.931 405974.357 5645650.357 295.922 405974.452 5645651.0 295.923 405974.529 5645651.529 295.93 405974.598 5645652.0 295.94 405974.701 5645652.701 295.947 405974.745 5645653.0 295.953 405974.873 5645653.873 295.916 405974.892 5645654.0 295.912 405975.0 5645654.738 295.896 405975.038 5645655.0 295.893 405975.045 5645655.045 295.892 405975.185 5645656.0 295.893 405975.217 5645656.217 295.904 405975.332 5645657.0 295.94 405975.389 5645657.389 295.969 405975.478 5645658.0 295.997 405975.561 5645658.561 295.99 405975.625 5645659.0 295.999 405975.733 5645659.733 296.024 405975.772 5645660.0 296.026 405975.905 5645660.905 295.996 405975.919 5645661.0 295.996 405976.0 5645661.555 295.991 405976.065 5645662.0 295.992 405976.076 5645662.076 295.988 405976.212 5645663.0 295.959 405976.248 5645663.248 295.947 405976.359 5645664.0 295.954 405976.42 5645664.42 295.978 405976.505 5645665.0 295.998 405976.592 5645665.592 295.958 405976.652 5645666.0 295.949 405976.764 5645666.764 295.977 405976.799 5645667.0 295.975 405976.936 5645667.936 295.979 405976.945 5645668.0 295.979 405977.0 5645668.372 295.976 405977.092 5645669.0 295.976 405977.108 5645669.108 295.975 405977.239 5645670.0 295.973 405977.28 5645670.28 295.973 405977.385 5645671.0 295.966 405977.452 5645671.452 295.956 405977.532 5645672.0 295.968 405977.624 5645672.624 295.951 405977.679 5645673.0 295.95 405977.796 5645673.796 295.963 405977.826 5645674.0 295.96 405977.967 5645674.967 295.934 405977.972 5645675.0 295.933 405978.0 5645675.19 295.932 405978.119 5645676.0 295.934 405978.139 5645676.139 295.932 405978.266 5645677.0 295.91 405978.311 5645677.311 295.904 405978.412 5645678.0 295.917 405978.483 5645678.483 295.907 405978.559 5645679.0 295.904 405978.655 5645679.655 295.887 405978.706 5645680.0 295.873 405978.827 5645680.827 295.88 405978.852 5645681.0 295.877 405978.999 5645681.999 295.879 405978.999 5645682.0 295.879 405979.0 5645682.007 295.879 405979.146 5645683.0 295.88 405979.171 5645683.171 295.883 405979.2 5645683.37 295.888 - - - - - 405959.11 5645618.58 296.6 405959.519 5645618.519 296.459 405960.0 5645618.448 296.261 405960.39 5645618.39 296.245 405961.0 5645618.299 296.186 405961.26 5645618.26 296.212 405962.0 5645618.15 296.287 405962.131 5645618.131 296.285 405963.0 5645618.002 296.39 405963.002 5645618.002 296.39 405963.012 5645618.0 296.39 405963.872 5645617.872 296.351 405964.0 5645617.853 296.345 405964.743 5645617.743 296.357 405965.0 5645617.704 296.352 405965.613 5645617.613 296.316 405966.0 5645617.556 296.328 405966.484 5645617.484 296.329 405967.0 5645617.407 296.349 405967.354 5645617.354 296.345 405968.0 5645617.259 296.307 405968.225 5645617.225 296.28 405969.0 5645617.11 296.188 405969.096 5645617.096 296.179 405969.47 5645617.04 296.163 - - - - - 405959.11 5645618.58 296.6 405959.173 5645619.0 296.614 405959.203 5645619.203 296.669 405959.322 5645620.0 296.749 405959.378 5645620.378 296.746 405959.47 5645621.0 296.713 405959.553 5645621.553 296.713 405959.619 5645622.0 296.697 405959.728 5645622.728 296.707 405959.768 5645623.0 296.707 405959.903 5645623.903 296.722 405959.917 5645624.0 296.721 405960.0 5645624.555 296.711 405960.066 5645625.0 296.698 405960.078 5645625.078 296.7 405960.215 5645626.0 296.736 405960.253 5645626.253 296.749 405960.364 5645627.0 296.76 405960.428 5645627.428 296.788 405960.513 5645628.0 296.816 405960.603 5645628.603 296.833 405960.662 5645629.0 296.844 405960.778 5645629.778 296.898 405960.811 5645630.0 296.909 405960.953 5645630.953 296.957 405960.96 5645631.0 296.961 405961.0 5645631.268 296.96 405961.109 5645632.0 296.956 405961.128 5645632.128 296.961 405961.258 5645633.0 296.993 405961.303 5645633.303 297.001 405961.407 5645634.0 297.043 405961.478 5645634.478 297.043 405961.556 5645635.0 297.039 405961.653 5645635.653 297.085 405961.705 5645636.0 297.104 405961.828 5645636.828 297.163 405961.854 5645637.0 297.17 405962.0 5645637.981 297.2 405962.003 5645638.0 297.201 405962.003 5645638.003 297.201 405962.152 5645639.0 297.212 405962.178 5645639.178 297.223 405962.301 5645640.0 297.246 405962.353 5645640.353 297.27 405962.45 5645641.0 297.298 405962.529 5645641.529 297.321 405962.599 5645642.0 297.337 405962.704 5645642.704 297.396 405962.748 5645643.0 297.414 405962.879 5645643.879 297.518 405962.897 5645644.0 297.526 405963.0 5645644.694 297.573 405963.046 5645645.0 297.584 405963.054 5645645.054 297.588 405963.195 5645646.0 297.637 405963.229 5645646.229 297.656 405963.344 5645647.0 297.72 405963.404 5645647.404 297.737 405963.493 5645648.0 297.756 405963.579 5645648.579 297.793 405963.642 5645649.0 297.82 405963.754 5645649.754 297.868 405963.79 5645650.0 297.878 405963.929 5645650.929 297.987 405963.939 5645651.0 297.999 405964.0 5645651.407 298.003 405964.088 5645652.0 298.003 405964.104 5645652.104 298.005 405964.237 5645653.0 298.01 405964.279 5645653.279 298.026 405964.386 5645654.0 298.028 405964.454 5645654.454 298.044 405964.535 5645655.0 298.057 405964.629 5645655.629 298.053 405964.684 5645656.0 298.048 405964.804 5645656.804 298.093 405964.833 5645657.0 298.092 405964.979 5645657.979 298.109 405964.982 5645658.0 298.109 405965.0 5645658.12 298.11 405965.131 5645659.0 298.099 405965.154 5645659.154 298.098 405965.28 5645660.0 298.102 405965.329 5645660.329 298.087 405965.429 5645661.0 298.045 405965.504 5645661.504 298.039 405965.578 5645662.0 298.029 405965.679 5645662.679 298.056 405965.727 5645663.0 298.058 405965.854 5645663.854 298.112 405965.876 5645664.0 298.114 405966.0 5645664.833 298.102 405966.025 5645665.0 298.095 405966.029 5645665.029 298.094 405966.174 5645666.0 298.041 405966.204 5645666.204 298.044 405966.323 5645667.0 298.048 405966.379 5645667.379 298.047 405966.472 5645668.0 298.028 405966.554 5645668.554 298.04 405966.621 5645669.0 298.034 405966.729 5645669.729 298.061 405966.77 5645670.0 298.056 405966.905 5645670.905 298.007 405966.919 5645671.0 298.076 405967.0 5645671.546 298.011 405967.068 5645672.0 298.008 405967.08 5645672.08 298.009 405967.217 5645673.0 298.021 405967.255 5645673.255 298.014 405967.366 5645674.0 297.994 405967.43 5645674.43 297.978 405967.515 5645675.0 297.953 405967.605 5645675.605 297.949 405967.664 5645676.0 297.951 405967.78 5645676.78 297.945 405967.813 5645677.0 297.94 405967.955 5645677.955 297.976 405967.961 5645678.0 297.979 405968.0 5645678.259 297.973 405968.11 5645679.0 297.96 405968.13 5645679.13 297.962 405968.259 5645680.0 297.967 405968.305 5645680.305 297.944 405968.408 5645681.0 297.927 405968.48 5645681.48 297.896 405968.557 5645682.0 297.858 405968.655 5645682.655 297.791 405968.706 5645683.0 297.771 405968.83 5645683.83 297.845 405968.855 5645684.0 297.838 405969.0 5645684.972 297.666 405969.004 5645685.0 297.659 405969.005 5645685.005 297.656 405969.11 5645685.71 297.49 - - - - - - - 2023-04-02 - - - - - - - 405969.11 5645685.71 299.892 405979.2 5645683.37 301.315 405979.2 5645683.37 295.873 405969.11 5645685.71 295.873 405969.11 5645685.71 299.892 - - - - - - - - - - - 2023-04-02 - - - - - - - 405979.2 5645683.37 301.315 405969.47 5645617.04 301.336 405969.47 5645617.04 295.873 405979.2 5645683.37 295.873 405979.2 5645683.37 301.315 - - - - - - - - - - - 2023-04-02 - - - - - - - 405969.47 5645617.04 301.336 405959.11 5645618.58 299.892 405959.11 5645618.58 295.873 405969.47 5645617.04 295.873 405969.47 5645617.04 301.336 - - - - - - - - - - - 2023-04-02 - - - - - - - 405959.11 5645618.58 299.892 405969.11 5645685.71 299.892 405969.11 5645685.71 295.873 405959.11 5645618.58 295.873 405959.11 5645618.58 299.892 - - - - - - - - - - - 2023-04-02 - - - - - - - 405959.11 5645618.58 299.892 405969.47 5645617.04 301.336 405979.2 5645683.37 301.315 405969.11 5645685.71 299.892 405959.11 5645618.58 299.892 - - - - - - - - - - - 2023-04-02 - - - - - - - 405969.11 5645685.71 295.873 405979.2 5645683.37 295.873 405969.47 5645617.04 295.873 405959.11 5645618.58 295.873 405969.11 5645685.71 295.873 - - - - - - - - - - - \ No newline at end of file diff --git a/citygml-owl/examples/lod3-sample.gml b/citygml-owl/examples/lod3-sample-fail.gml similarity index 87% rename from citygml-owl/examples/lod3-sample.gml rename to citygml-owl/examples/lod3-sample-fail.gml index f722c75..3623a3d 100644 --- a/citygml-owl/examples/lod3-sample.gml +++ b/citygml-owl/examples/lod3-sample-fail.gml @@ -1,5 +1,5 @@ - + 678016.2 5403455.767 366.45023 diff --git a/citygml-owl/examples/lod3-sample-fail.ttl b/citygml-owl/examples/lod3-sample-fail.ttl new file mode 100644 index 0000000..f615ae5 --- /dev/null +++ b/citygml-owl/examples/lod3-sample-fail.ttl @@ -0,0 +1,191 @@ +@prefix brid: . +@prefix owl: . +@prefix gml: . +@prefix xsd: . +@prefix skos: . +@prefix rdfs: . +@prefix tun: . +@prefix XSPARQL: . +@prefix dem: . +@prefix xsi: . +@prefix geo: . +@prefix gen: . +@prefix smil20: . +@prefix sch: . +@prefix veg: . +@prefix tran: . +@prefix app: . +@prefix xAL: . +@prefix frn: . +@prefix bldg: . +@prefix grp: . +@prefix tex: . +@prefix luse: . +@prefix smil20lang: . +@prefix core: . +@prefix wtr: . +@prefix rdf: . +@prefix xlink: . + +<0000000> gml:id "0000000" . +<0000000> rdf:type bldg:Building . + core:cityObjectMember <0000000> . +<0000000> gml:genericAttribute <0000000/dataAvailable> . +<0000000/dataAvailable> gml:value "NotSufficient" . +<0000000> bldg:measuredHeight <0000000/m> . +<0000000/m> gml:value "8.813" . + gml:id "fme-gen-65cb1a0b-7b8a-4050-9524-4fb431ffa407" . + rdf:type bldg:RoofSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.YcDRix9EAHi6lh6dQzdG> . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> a geo:Geometry . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> geo:asGML """ + + + 678031.705 5403578.539 372.58223 678023.052 5403575.673 372.58223 678038.063 5403533.049 372.58223 678045.799 5403535.996 372.58223 678031.705 5403578.539 372.58223 + + + """^^geo:gmlLiteral . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> gml:id "0000000_PG.YcDRix9EAHi6lh6dQzdG" . + gml:surfaceMember <0000000_PG.YcDRix9EAHi6lh6dQzdG> . +<0000000_LR.mRo3mnsdj0Juhgvu5XSd> gml:id "0000000_LR.mRo3mnsdj0Juhgvu5XSd" . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> gml:exterior <0000000_LR.mRo3mnsdj0Juhgvu5XSd> . + gml:id "fme-gen-d26368c1-db1a-44f3-8c03-634392452e62" . + rdf:type bldg:RoofSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.BhZoWrfaTgEOUGS4JDz0> . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> a geo:Geometry . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> geo:asGML """ + + + 678030.885 5403530.314 375.33423 678038.063 5403533.049 375.33423 678023.052 5403575.673 375.33423 678016.2 5403573.403 375.33423 678030.885 5403530.314 375.33423 + + + """^^geo:gmlLiteral . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> gml:id "0000000_PG.BhZoWrfaTgEOUGS4JDz0" . + gml:surfaceMember <0000000_PG.BhZoWrfaTgEOUGS4JDz0> . +<0000000_LR.WJIoQKQHu7PVc0ufIFfU> gml:id "0000000_LR.WJIoQKQHu7PVc0ufIFfU" . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> gml:exterior <0000000_LR.WJIoQKQHu7PVc0ufIFfU> . + gml:id "fme-gen-e7b5c697-142a-4c33-b4f7-33d4fe84a93d" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.6fIRWJRnxq38PrSOxTE4> . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> a geo:Geometry . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> geo:asGML """ + + + 678016.2 5403573.403 366.52123 678030.885 5403530.314 366.52123 678030.885 5403530.314 375.33423 678016.2 5403573.403 375.33423 678016.2 5403573.403 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> gml:id "0000000_PG.6fIRWJRnxq38PrSOxTE4" . + gml:surfaceMember <0000000_PG.6fIRWJRnxq38PrSOxTE4> . +<0000000_LR.Ed2ntiOnFyY8hi9V2kVi> gml:id "0000000_LR.Ed2ntiOnFyY8hi9V2kVi" . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> gml:exterior <0000000_LR.Ed2ntiOnFyY8hi9V2kVi> . + gml:id "fme-gen-93fa4bd4-22b3-493f-97c3-27064c9efb99" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.1e0paKIpElUEJBITVGDF> . +<0000000_PG.1e0paKIpElUEJBITVGDF> a geo:Geometry . +<0000000_PG.1e0paKIpElUEJBITVGDF> geo:asGML """ + + + 678031.705 5403578.539 366.52123 678016.2 5403573.403 366.52123 678016.2 5403573.403 375.33423 678023.052 5403575.673 375.33423 678023.052 5403575.673 372.58223 678031.705 5403578.539 372.58223 678031.705 5403578.539 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.1e0paKIpElUEJBITVGDF> gml:id "0000000_PG.1e0paKIpElUEJBITVGDF" . + gml:surfaceMember <0000000_PG.1e0paKIpElUEJBITVGDF> . +<0000000_LR.6kVx7JcwAVtc9lwXJZvK> gml:id "0000000_LR.6kVx7JcwAVtc9lwXJZvK" . +<0000000_PG.1e0paKIpElUEJBITVGDF> gml:exterior <0000000_LR.6kVx7JcwAVtc9lwXJZvK> . + gml:id "fme-gen-fef1ed58-f699-46e8-b09b-7bc7c18e0898" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.yIHkQ5IjqvfHCEgpddoR> . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> a geo:Geometry . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> geo:asGML """ + + + 678030.885 5403530.314 366.52123 678045.799 5403535.996 366.52123 678045.799 5403535.996 372.58223 678038.063 5403533.049 372.58223 678038.063 5403533.049 375.33423 678030.885 5403530.314 375.33423 678030.885 5403530.314 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> gml:id "0000000_PG.yIHkQ5IjqvfHCEgpddoR" . + gml:surfaceMember <0000000_PG.yIHkQ5IjqvfHCEgpddoR> . +<0000000_LR.S0sNKX7u1N0n0c44z0wt> gml:id "0000000_LR.S0sNKX7u1N0n0c44z0wt" . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> gml:exterior <0000000_LR.S0sNKX7u1N0n0c44z0wt> . + gml:id "fme-gen-e099721d-13ab-47ec-aa08-043e5abe7236" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + gml:genericAttribute . + gml:value "Brick" . + gml:genericAttribute . + gml:value "B001" . + gml:genericAttribute . + gml:value "0.5" . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.FtbLFPKsc3YJXy8QSk7f> . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> a geo:Geometry . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> geo:asGML """ + + + 678045.799 5403535.996 366.52123 678031.705 5403578.539 366.52123 678031.705 5403578.539 372.58223 678045.799 5403535.996 372.58223 678045.799 5403535.996 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> gml:id "0000000_PG.FtbLFPKsc3YJXy8QSk7f" . + gml:surfaceMember <0000000_PG.FtbLFPKsc3YJXy8QSk7f> . +<0000000_LR.JWgZsNSvr1MOyk0Ub15G> gml:id "0000000_LR.JWgZsNSvr1MOyk0Ub15G" . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> gml:exterior <0000000_LR.JWgZsNSvr1MOyk0Ub15G> . + gml:id "fme-gen-6d1c2bba-49ed-41b8-85b4-17d972de1783" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + gml:genericAttribute . + gml:value "Brick" . + gml:genericAttribute . + gml:value "B001" . + gml:genericAttribute . + gml:value "0.5" . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.IgosFMnP3JYa8305WaDN> . +<0000000_PG.IgosFMnP3JYa8305WaDN> a geo:Geometry . +<0000000_PG.IgosFMnP3JYa8305WaDN> geo:asGML """ + + + 678038.063 5403533.049 372.58223 678023.052 5403575.673 372.58223 678023.052 5403575.673 375.33423 678038.063 5403533.049 375.33423 678038.063 5403533.049 372.58223 + + + """^^geo:gmlLiteral . +<0000000_PG.IgosFMnP3JYa8305WaDN> gml:id "0000000_PG.IgosFMnP3JYa8305WaDN" . + gml:surfaceMember <0000000_PG.IgosFMnP3JYa8305WaDN> . +<0000000_LR.64Kc8O8TALXZsMFoIMG7> gml:id "0000000_LR.64Kc8O8TALXZsMFoIMG7" . +<0000000_PG.IgosFMnP3JYa8305WaDN> gml:exterior <0000000_LR.64Kc8O8TALXZsMFoIMG7> . + gml:id "fme-gen-6eaa3c61-b798-4fb3-b0a3-7363e6ec93a7" . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.IA7OgxAmG6Uy12W5UxcI> . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> a geo:Geometry . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> geo:asGML """ + + + 678030.885 5403530.314 366.52123 678016.2 5403573.403 366.52123 678031.705 5403578.539 366.52123 678045.799 5403535.996 366.52123 678030.885 5403530.314 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> gml:id "0000000_PG.IA7OgxAmG6Uy12W5UxcI" . + gml:surfaceMember <0000000_PG.IA7OgxAmG6Uy12W5UxcI> . +<0000000_LR.FJ0UrvTApY4BIzFFHNJi> gml:id "0000000_LR.FJ0UrvTApY4BIzFFHNJi" . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> gml:exterior <0000000_LR.FJ0UrvTApY4BIzFFHNJi> . diff --git a/citygml-owl/examples/lod3-sample-ok.gml b/citygml-owl/examples/lod3-sample-ok.gml new file mode 100644 index 0000000..2362e2b --- /dev/null +++ b/citygml-owl/examples/lod3-sample-ok.gml @@ -0,0 +1,172 @@ + + + + + 678016.2 5403455.767 366.45023 + 678206.688 5403946.425 390.45823 + + + + + 2019-09-26 + + NotSufficient + + 8.813 + + + + + + + + + 678031.705 5403578.539 372.58223 678023.052 5403575.673 372.58223 678038.063 5403533.049 372.58223 678045.799 5403535.996 372.58223 678031.705 5403578.539 372.58223 + + + + + + + + + + + + + + + + + 678030.885 5403530.314 375.33423 678038.063 5403533.049 375.33423 678023.052 5403575.673 375.33423 678016.2 5403573.403 375.33423 678030.885 5403530.314 375.33423 + + + + + + + + + + + + + + + + + 678016.2 5403573.403 366.52123 678030.885 5403530.314 366.52123 678030.885 5403530.314 375.33423 678016.2 5403573.403 375.33423 678016.2 5403573.403 366.52123 + + + + + + + + + + + + + + + + + 678031.705 5403578.539 366.52123 678016.2 5403573.403 366.52123 678016.2 5403573.403 375.33423 678023.052 5403575.673 375.33423 678023.052 5403575.673 372.58223 678031.705 5403578.539 372.58223 678031.705 5403578.539 366.52123 + + + + + + + + + + + + + + + + + 678030.885 5403530.314 366.52123 678045.799 5403535.996 366.52123 678045.799 5403535.996 372.58223 678038.063 5403533.049 372.58223 678038.063 5403533.049 375.33423 678030.885 5403530.314 375.33423 678030.885 5403530.314 366.52123 + + + + + + + + + + + + Brick + + + B001 + + + 0.5 + + + + + + + + 678045.799 5403535.996 366.52123 678031.705 5403578.539 366.52123 678031.705 5403578.539 372.58223 678045.799 5403535.996 372.58223 678045.799 5403535.996 366.52123 + + + + + + + + + + + + Brick + + + B001 + + + 0.5 + + + + + + + + 678038.063 5403533.049 372.58223 678023.052 5403575.673 372.58223 678023.052 5403575.673 375.33423 678038.063 5403533.049 375.33423 678038.063 5403533.049 372.58223 + + + + + + + + + + + + + + + + + 678030.885 5403530.314 366.52123 678016.2 5403573.403 366.52123 678031.705 5403578.539 366.52123 678045.799 5403535.996 366.52123 678030.885 5403530.314 366.52123 + + + + + + + + + + + \ No newline at end of file diff --git a/citygml-owl/examples/lod3-sample-ok.ttl b/citygml-owl/examples/lod3-sample-ok.ttl new file mode 100644 index 0000000..586eb35 --- /dev/null +++ b/citygml-owl/examples/lod3-sample-ok.ttl @@ -0,0 +1,192 @@ +@prefix brid: . +@prefix con: . +@prefix owl: . +@prefix gml: . +@prefix xsd: . +@prefix skos: . +@prefix rdfs: . +@prefix tun: . +@prefix XSPARQL: . +@prefix dem: . +@prefix xsi: . +@prefix geo: . +@prefix gen: . +@prefix smil20: . +@prefix sch: . +@prefix veg: . +@prefix tran: . +@prefix app: . +@prefix xAL: . +@prefix frn: . +@prefix bldg: . +@prefix grp: . +@prefix tex: . +@prefix luse: . +@prefix smil20lang: . +@prefix core: . +@prefix wtr: . +@prefix rdf: . +@prefix xlink: . + +<0000000> gml:id "0000000" . +<0000000> rdf:type bldg:Building . + core:cityObjectMember <0000000> . +<0000000> gml:genericAttribute <0000000/dataAvailable> . +<0000000/dataAvailable> gml:value "NotSufficient" . +<0000000> con:height <0000000/m> . +<0000000/m> gml:value "8.813" . + gml:id "fme-gen-65cb1a0b-7b8a-4050-9524-4fb431ffa407" . + rdf:type bldg:RoofSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.YcDRix9EAHi6lh6dQzdG> . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> a geo:Geometry . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> geo:asGML """ + + + 678031.705 5403578.539 372.58223 678023.052 5403575.673 372.58223 678038.063 5403533.049 372.58223 678045.799 5403535.996 372.58223 678031.705 5403578.539 372.58223 + + + """^^geo:gmlLiteral . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> gml:id "0000000_PG.YcDRix9EAHi6lh6dQzdG" . + gml:surfaceMember <0000000_PG.YcDRix9EAHi6lh6dQzdG> . +<0000000_LR.mRo3mnsdj0Juhgvu5XSd> gml:id "0000000_LR.mRo3mnsdj0Juhgvu5XSd" . +<0000000_PG.YcDRix9EAHi6lh6dQzdG> gml:exterior <0000000_LR.mRo3mnsdj0Juhgvu5XSd> . + gml:id "fme-gen-d26368c1-db1a-44f3-8c03-634392452e62" . + rdf:type bldg:RoofSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.BhZoWrfaTgEOUGS4JDz0> . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> a geo:Geometry . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> geo:asGML """ + + + 678030.885 5403530.314 375.33423 678038.063 5403533.049 375.33423 678023.052 5403575.673 375.33423 678016.2 5403573.403 375.33423 678030.885 5403530.314 375.33423 + + + """^^geo:gmlLiteral . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> gml:id "0000000_PG.BhZoWrfaTgEOUGS4JDz0" . + gml:surfaceMember <0000000_PG.BhZoWrfaTgEOUGS4JDz0> . +<0000000_LR.WJIoQKQHu7PVc0ufIFfU> gml:id "0000000_LR.WJIoQKQHu7PVc0ufIFfU" . +<0000000_PG.BhZoWrfaTgEOUGS4JDz0> gml:exterior <0000000_LR.WJIoQKQHu7PVc0ufIFfU> . + gml:id "fme-gen-e7b5c697-142a-4c33-b4f7-33d4fe84a93d" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.6fIRWJRnxq38PrSOxTE4> . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> a geo:Geometry . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> geo:asGML """ + + + 678016.2 5403573.403 366.52123 678030.885 5403530.314 366.52123 678030.885 5403530.314 375.33423 678016.2 5403573.403 375.33423 678016.2 5403573.403 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> gml:id "0000000_PG.6fIRWJRnxq38PrSOxTE4" . + gml:surfaceMember <0000000_PG.6fIRWJRnxq38PrSOxTE4> . +<0000000_LR.Ed2ntiOnFyY8hi9V2kVi> gml:id "0000000_LR.Ed2ntiOnFyY8hi9V2kVi" . +<0000000_PG.6fIRWJRnxq38PrSOxTE4> gml:exterior <0000000_LR.Ed2ntiOnFyY8hi9V2kVi> . + gml:id "fme-gen-93fa4bd4-22b3-493f-97c3-27064c9efb99" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.1e0paKIpElUEJBITVGDF> . +<0000000_PG.1e0paKIpElUEJBITVGDF> a geo:Geometry . +<0000000_PG.1e0paKIpElUEJBITVGDF> geo:asGML """ + + + 678031.705 5403578.539 366.52123 678016.2 5403573.403 366.52123 678016.2 5403573.403 375.33423 678023.052 5403575.673 375.33423 678023.052 5403575.673 372.58223 678031.705 5403578.539 372.58223 678031.705 5403578.539 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.1e0paKIpElUEJBITVGDF> gml:id "0000000_PG.1e0paKIpElUEJBITVGDF" . + gml:surfaceMember <0000000_PG.1e0paKIpElUEJBITVGDF> . +<0000000_LR.6kVx7JcwAVtc9lwXJZvK> gml:id "0000000_LR.6kVx7JcwAVtc9lwXJZvK" . +<0000000_PG.1e0paKIpElUEJBITVGDF> gml:exterior <0000000_LR.6kVx7JcwAVtc9lwXJZvK> . + gml:id "fme-gen-fef1ed58-f699-46e8-b09b-7bc7c18e0898" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.yIHkQ5IjqvfHCEgpddoR> . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> a geo:Geometry . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> geo:asGML """ + + + 678030.885 5403530.314 366.52123 678045.799 5403535.996 366.52123 678045.799 5403535.996 372.58223 678038.063 5403533.049 372.58223 678038.063 5403533.049 375.33423 678030.885 5403530.314 375.33423 678030.885 5403530.314 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> gml:id "0000000_PG.yIHkQ5IjqvfHCEgpddoR" . + gml:surfaceMember <0000000_PG.yIHkQ5IjqvfHCEgpddoR> . +<0000000_LR.S0sNKX7u1N0n0c44z0wt> gml:id "0000000_LR.S0sNKX7u1N0n0c44z0wt" . +<0000000_PG.yIHkQ5IjqvfHCEgpddoR> gml:exterior <0000000_LR.S0sNKX7u1N0n0c44z0wt> . + gml:id "fme-gen-e099721d-13ab-47ec-aa08-043e5abe7236" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + gml:genericAttribute . + gml:value "Brick" . + gml:genericAttribute . + gml:value "B001" . + gml:genericAttribute . + gml:value "0.5" . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.FtbLFPKsc3YJXy8QSk7f> . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> a geo:Geometry . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> geo:asGML """ + + + 678045.799 5403535.996 366.52123 678031.705 5403578.539 366.52123 678031.705 5403578.539 372.58223 678045.799 5403535.996 372.58223 678045.799 5403535.996 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> gml:id "0000000_PG.FtbLFPKsc3YJXy8QSk7f" . + gml:surfaceMember <0000000_PG.FtbLFPKsc3YJXy8QSk7f> . +<0000000_LR.JWgZsNSvr1MOyk0Ub15G> gml:id "0000000_LR.JWgZsNSvr1MOyk0Ub15G" . +<0000000_PG.FtbLFPKsc3YJXy8QSk7f> gml:exterior <0000000_LR.JWgZsNSvr1MOyk0Ub15G> . + gml:id "fme-gen-6d1c2bba-49ed-41b8-85b4-17d972de1783" . + rdf:type bldg:WallSurface . +<0000000> bldg:boundedBy . + gml:genericAttribute . + gml:value "Brick" . + gml:genericAttribute . + gml:value "B001" . + gml:genericAttribute . + gml:value "0.5" . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.IgosFMnP3JYa8305WaDN> . +<0000000_PG.IgosFMnP3JYa8305WaDN> a geo:Geometry . +<0000000_PG.IgosFMnP3JYa8305WaDN> geo:asGML """ + + + 678038.063 5403533.049 372.58223 678023.052 5403575.673 372.58223 678023.052 5403575.673 375.33423 678038.063 5403533.049 375.33423 678038.063 5403533.049 372.58223 + + + """^^geo:gmlLiteral . +<0000000_PG.IgosFMnP3JYa8305WaDN> gml:id "0000000_PG.IgosFMnP3JYa8305WaDN" . + gml:surfaceMember <0000000_PG.IgosFMnP3JYa8305WaDN> . +<0000000_LR.64Kc8O8TALXZsMFoIMG7> gml:id "0000000_LR.64Kc8O8TALXZsMFoIMG7" . +<0000000_PG.IgosFMnP3JYa8305WaDN> gml:exterior <0000000_LR.64Kc8O8TALXZsMFoIMG7> . + gml:id "fme-gen-6eaa3c61-b798-4fb3-b0a3-7363e6ec93a7" . +<0000000> bldg:boundedBy . + geo:hasDefaultGeometry . + a gml:MultiSurface . + gml:surfaceMember <0000000_PG.IA7OgxAmG6Uy12W5UxcI> . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> a geo:Geometry . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> geo:asGML """ + + + 678030.885 5403530.314 366.52123 678016.2 5403573.403 366.52123 678031.705 5403578.539 366.52123 678045.799 5403535.996 366.52123 678030.885 5403530.314 366.52123 + + + """^^geo:gmlLiteral . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> gml:id "0000000_PG.IA7OgxAmG6Uy12W5UxcI" . + gml:surfaceMember <0000000_PG.IA7OgxAmG6Uy12W5UxcI> . +<0000000_LR.FJ0UrvTApY4BIzFFHNJi> gml:id "0000000_LR.FJ0UrvTApY4BIzFFHNJi" . +<0000000_PG.IA7OgxAmG6Uy12W5UxcI> gml:exterior <0000000_LR.FJ0UrvTApY4BIzFFHNJi> .