We are using the Jena API, so you may want to follow up on the
jena-users mailing list on this question. But yes, it does not use
prefixes if the local name contains the . character for me too.
Holger
On 6/08/2020 04:36, 'Bohms, H.M. (Michel)' via TopBraid Suite Users wrote:
My code:
# baseURI: https://w3id.org/def/crb
# imports: https://w3id.org/def/smls-shacl
# prefix: crb
@prefix crb: <https://w3id.org/def/crb#> .
@prefix dash: <http://datashapes.org/dash#> .
@prefix ifc: <http://www.buildingsmart.com/def/ifc#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix quantitykind: <http://qudt.org/vocab/quantitykind/> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix smls-shacl: <https://w3id.org/def/smls-shacl#> .
@prefix unit: <http://qudt.org/vocab/unit/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ifc:IfcDoor
a rdfs:Class ;
.
ifc:Pset_DoorCommon
a rdfs:Container ;
rdfs:member ifc:isExternal ;
.
ifc:isExternal
a rdf:Property ;
rdfs:domain ifc:IfcDoor ;
rdfs:range xsd:boolean ;
.
<https://w3id.org/def/crb>
a owl:Ontology ;
owl:imports <https://w3id.org/def/smls-shacl> ;
.
crb:Door
a rdfs:Class ;
rdfs:subClassOf smls-shacl:PhysicalObject ;
.
*crb:E3.1*
*a crb:EBKP_HType ;*
*.*
*crb:E3.2*
*a crb:EBKP_HType ;*
*.*
*crb:E3.3*
*a crb:EBKP_HType ;*
*.*
crb:EBKP_HType
a rdfs:Class ;
.
crb:ExteriorDoor
a rdfs:Class ;
rdfs:subClassOf crb:Door ;
.
crb:ExteriorDoorShape
a sh:NodeShape ;
sh:property [
a sh:PropertyShape ;
sh:path ifc:eBKP_H ;
*sh:hasValue crb:E3.1 ;*
] ;
sh:property [
a sh:PropertyShape ;
sh:path ifc:isExternal ;
sh:hasValue true ;
] ;
sh:property [
a sh:PropertyShape ;
sh:path (
crb:crb_Measure_Pressure_kn_m2
rdf:value
) ;
sh:datatype xsd:decimal ;
sh:minInclusive 0.8 ;
] ;
sh:targetClass crb:ExteriorDoor ;
.
crb:ProductX
a ifc:IfcDoor ;
a crb:ExteriorDoor ;
ifc:isExternal true ;
crb:crb_Measure_Pressure_kn_m2 [
rdf:value 0.5 ;
] ;
crb:eBKP_H <https://w3id.org/def/crb#E3.1> ;
.
crb:crb_Measure_Pressure_kn_m2
a rdf:Property ;
smls-shacl:unit unit:KiloPA ;
.
crb:eBKP_H
a rdf:Property ;
rdfs:range crb:EBKP_HType ;
.
*Is changed by tbc to:*
# baseURI: https://w3id.org/def/crb
# imports: https://w3id.org/def/smls-shacl
# prefix: crb
@prefix crb: <https://w3id.org/def/crb#> .
@prefix dash: <http://datashapes.org/dash#> .
@prefix ifc: <http://www.buildingsmart.com/def/ifc#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix quantitykind: <http://qudt.org/vocab/quantitykind/> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix smls-shacl: <https://w3id.org/def/smls-shacl#> .
@prefix unit: <http://qudt.org/vocab/unit/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ifc:IfcDoor
a rdfs:Class ;
.
ifc:Pset_DoorCommon
a rdfs:Container ;
rdfs:member ifc:isExternal ;
.
ifc:isExternal
a rdf:Property ;
rdfs:domain ifc:IfcDoor ;
rdfs:range xsd:boolean ;
.
<https://w3id.org/def/crb>
a owl:Ontology ;
owl:imports <https://w3id.org/def/smls-shacl> ;
.
crb:Door
a rdfs:Class ;
rdfs:subClassOf smls-shacl:PhysicalObject ;
.
*<https://w3id.org/def/crb#E3.1>*
*a crb:EBKP_HType ;*
*.*
*<https://w3id.org/def/crb#E3.2>*
*a crb:EBKP_HType ;*
*.*
*<https://w3id.org/def/crb#E3.3>*
*a crb:EBKP_HType ;*
*.*
crb:EBKP_HType
a rdfs:Class ;
.
crb:ExteriorDoor
a rdfs:Class ;
rdfs:subClassOf crb:Door ;
.
crb:ExteriorDoorShape
a sh:NodeShape ;
sh:property [
a sh:PropertyShape ;
sh:path ifc:eBKP_H ;
*sh:hasValue <https://w3id.org/def/crb#E3.1> ;*
] ;
sh:property [
a sh:PropertyShape ;
sh:path ifc:isExternal ;
sh:hasValue true ;
] ;
sh:property [
a sh:PropertyShape ;
sh:path (
crb:crb_Measure_Pressure_kn_m2
rdf:value
) ;
sh:datatype xsd:decimal ;
sh:minInclusive 0.8 ;
] ;
sh:targetClass crb:ExteriorDoor ;
.
crb:ProductX
a ifc:IfcDoor ;
a crb:ExteriorDoor ;
ifc:isExternal true ;
crb:crb_Measure_Pressure_kn_m2 [
rdf:value 0.5 ;
] ;
*crb:eBKP_H <https://w3id.org/def/crb#E3.1> ;*
.
crb:crb_Measure_Pressure_kn_m2
a rdf:Property ;
smls-shacl:unit unit:KiloPA ;
.
crb:eBKP_H
a rdf:Property ;
rdfs:range crb:EBKP_HType ;
.
Why is that? Is a dot not allowed?
Thx Michel
This message may contain information that is not intended for you. If
you are not the addressee or if this message was sent to you by
mistake, you are requested to inform the sender and delete the
message. TNO accepts no liability for the content of this e-mail, for
the manner in which you use it and for damage of any kind resulting
from the risks inherent to the electronic transmission of messages.
--
You received this message because you are subscribed to the Google
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to topbraid-users+unsubscr...@googlegroups.com
<mailto:topbraid-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/ce1992f3b58f4128afe508b149eaf8d3%40tno.nl
<https://groups.google.com/d/msgid/topbraid-users/ce1992f3b58f4128afe508b149eaf8d3%40tno.nl?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "TopBraid
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/2dbcb2c0-f6c9-3625-6adf-bb4c4fa40b8a%40topquadrant.com.