简体   繁体   中英

Can a node have a property twice?

I would like to create a database with abbreviations for every word used in my company.

Can I define a various number of properties for the same property (as in RDF)? Is it possible to use different data types?

for example like this:

:Word
Name: Airbus A380
Abbreviation: A380
Abbreviation: 380
Abbreviation: xyz

:Word
Name: House
English: House
English: Home
Spanish: Casa
German: Haus
German: Wohnung

No, a property can only occur once on a node and have a single value. You can make the property value a list of strings, but you won't be able to look these up via an index.

You might consider separate :Abbreviation nodes connected to your :Word nodes, match from the abbreviations to the word.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM