kobee1203 / schema-org-java Goto Github PK
View Code? Open in Web Editor NEWJava library for working with Schema.org data in JSON-LD format
License: Apache License 2.0
Java library for working with Schema.org data in JSON-LD format
License: Apache License 2.0
At the moment this annotation can be used type and annotation_type levels. could you also add the field level for this?
I want to change the name of the property on my use case.
I want to add this property into my dataset
prov:wasDerivedFrom
But in java, we cannot define the variable names using ":" character. So I need to have an annotation to override the variable name.
Thanks
Add a method to deserialize a JSON content representing a list of JsonLdNode objects.
bump from 14.0 to 15.0
Hello, I'm interested in generating pojo for a customized schema.org.
It looks like it's not possible with the current version (0.2.2) of your maven plugin.
I'm thinking of something like this:
.
├── pom.xml
└── src
└── main
└── resources
└── custom.jsonld
with this configuration:
<build>
<plugins>
<plugin>
<groupId>com.weedow</groupId>
<artifactId>schema-org-generator-maven-plugin</artifactId>
<version>${schema-org.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<schemaVersion>classpath:/custom.jsonld</schemaVersion>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
(not sure about re-using schemaVersion
though 🤔 )
Are you interested in this functionality ? I think I can contribute it if you want
See: https://www.w3.org/TR/rdf-schema/#ch_subpropertyof
Read the rdfs:subPropertyOf
field and add the information into the javadoc of the sub property:
@see #{PROPERTY1} {PROPERTY2} is a sub property of {PROPERTY1}
The following JSO fragment is an enumeration member defined for multiple Enumeration types:
{
"@id": "schema:Radiography",
"@type": [
"schema:MedicalImagingTechnique",
"schema:MedicalSpecialty"
],
"rdfs:comment": "Radiography is an imaging technique that uses electromagnetic radiation other than visible light, especially X-rays, to view the internal structure of a non-uniformly composed and opaque object such as the human body.",
"rdfs:label": "Radiography",
"schema:isPartOf": {
"@id": "https://health-lifesci.schema.org"
}
},
Radiography
must be added to MedicalImagingTechnique
and MedicalSpecialty
.
Currently EnumerationMemberModelHandlerImpl
does not handle this case and Radiography
is not added to enumeration types.
Let's say I want to set multiple objects, for instance, Thing object has a setter for identifier object and I can't add multiple identifier object. It takes just one object, can it take a list of identifier objects? So I will be able to set array objects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.