Add new schema and use properties

Hello,

I designed an n3 schema and loaded it into Tropy but the properties don’t appear. I’ve probably missed something, but I can’t work out what it is.

Thanks in advance for your help

Was there an error message when you imported the vocabulary? Otherwise it probably worked, please take a look if the vocabulary shows up in the vocabulary browser in the preferences window. If you post your vocabulary here, we can also take a look to see if it can be imported.

Once the vocabulary is installed, you can use its properties in templates or when adding extra fields to items.

Thanks for the feedback!
I haven’t had any problems installing the schema. It’s just for testing purposes and it’s very simple:

@prefix owl: http://www.w3.org/2002/07/owl#.
@prefix vann: http://purl.org/vocab/vann/.
@prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#.
@prefix rdfs: http://www.w3.org/2000/01/rdf-schema#.
@prefix dc: http://purl.org/dc/elements/1.1/.
@prefix pub: https://resefe.fr/v1/publication#.

https://resefe.fr/v1/publication# a owl:Ontology;
vann:preferredNamespacePrefix ‘pub’;
vann:preferredNamespaceUri https://resefe.fr/v1/publication#;
rdfs:seeAlso ;
dc:title ‘Resefe Publication Vocabulary’@en;
dc:description ‘The RDF vocabulary for https://resefe.fr/v1/publication defines the core elements used by the Publication application and Publication templates.’@en.
pub:customField1 a rdfs:Class;
rdfs:isDefinedBy https://resefe.fr/v1/publication#.
pub:customField2 a rdfs:Class;
rdfs:isDefinedBy https://resefe.fr/v1/publication#.

I can see her on the list of schemas.
However, I don’t see customField1 among the choices for a new field

Thanks for your help!

You have defined customField1 as rdfs:Class but you need to define it as rdf:Property instead.

For an example, here you can see the custom metadata properties defined by Tropy’s vocabulary.

Great! Thank you very much, it works perfectly, it’s my bad…