There is a wizard tab for Protege 3 to add multiple instances at once, but not for Protege 5. How may I add multiple instances to a class at once, for example copy & paste them from Excel to Protege?
Try to use Cellfie plugin.
It is bundled with Protégé 5.2.0 and available from Tools > Create axioms from Excel workbook...
Mapping language for transformation rules is described here.
In fact, it is just a Manchester syntax dialect with spreadsheet references.
Related
I am working with Epidemiology Ontology (EPO). I have downloaded the EPO ontology file from here. I need some limited terms from the ontology. Hence, I have deleted the terms that I do not need from the ontology file. The new file is available here. Next, I have loaded ontology file to Protege. However, still, Protege GUI is showing me the terms that I deleted. How can I get rid of the deleted terms (within the red box in the picture)? I only need terms in bold font. Thank you for your help.
Did you change the import IRI in the original ontology?
If the IRI is unchanged, Protege will not load your modified ontology, but use the original ontology from the original IRI.
If the IRI has been changed but the logical IRI of the ontology (i.e., the one mentioned in the file) is the same, it is possible that Protege is using another copy of the original ontology.
The best course of action for this scenario is to ensure the modified ontology has a new logical IRI and is accessible at a different IRI, and then to use that IRI for importing. Also ensure you save and reload your importing ontology - imports resolution is carried out on loading, not on editing an existing import.
I've purchased ediFabric and have a question about how to set up a project to use it. The SDK that comes with it has a Rules project with a few Codes, Complex Elements and Segments that are specific to a version of the X12 spec, e.g. 005010. My application uses different different versions based on transaction type. For example, 753 & 856 use 005010 and 810 & 855 use 004010.
Should I have one rules project with different folders for the different versions? Or should I have multiple rules projects with one version per project.
You would normally group rules by either version or partner. In case your partners conform to the standard specifications and you didn't have to amend the rules in any way - please split rules by version.
The pattern is to have each version in a separate project\assembly. EdiFabric allows only one message per version and type in the same assembly. This way is also neat and easy for you to maintain.
Each rules project will contain the 3 common files, Segments, Complex and Codes and the files for the transactions you will be using. There is no point to add all the files and you can gradually upgrade this whenever you need it.
Loading the correct specification dynamically can be achieved by using a factory. Please refer to the X12 SDK for sample code or the documentation here.
I have two Eclipse plugin Xtext(2.11) projects.(Called Project A and B) Project B grammar file is dependent on Project A grammar file. Project A's grammar file extension is a and Project B is b.
I am able to generate the language server for Project B. I want to generate the single language server for both projects.(Currently, in project B it includes project A.)
Depend on extension type it needs invoke respective Xtext grammar functionality.
In above scenario, I have below questions:
Does Xtext can handle this kind of scenario seamlessly? Do I need to generate the language server for Project A also and need to add in Project B? What is the best way to do this?
What kind of Xtext changes required?
What kind of changes required at client side also? like in Visual code/ Che?
Xtext LS can be used with multiple Xtext languages. It uses java service loading to look up language setups: https://github.com/eclipse/xtext-core/blob/master/org.eclipse.xtext/src/org/eclipse/xtext/resource/ResourceServiceProviderServiceLoader.xtend#L25. In ide project of your language you should be able to find META-INF/services/org.ecalipse.xtext.ISetup file that says java what implementations should be used for ISetup interface.
Having jars for ide projects on the classpath should be enough. No changes are required.
VS code and Che does not care about implementation details of Xtext LS, but both languages should be registered for them
To avoid reinventing the wheel, I'm looking for some dialog wizard components/libraries that will simplify my job of importing CSV and similar text files into my Delphi/C++Builder application.
In other words, the user of our app can 'open' a suitable text file, and they can 'describe' through the UI how the columns are laid out and how the file columns relate to the datafields that our app offers.
Basic requirements:-
Handle different newline styles
Handle Tab, Comma and user-specified fixed-width columns
User definable column ordering with visual preview of results
Handle optional and mandatory columns
Extra goodies:-
Be able to save all settings as a 'profile' that can be easily reapplied later.
Try these two components
EMS Advanced Data Import VCL
EMS Advanced Data Export VCL
SMImport comes to mind : http://www.scalabium.com/
My text streams classes in the unit CsiTextStreamsUnt.pas (you can download the utility classes at http://www.csinnovations.com/framework_utilities.htm) provide the basic functionality to cover everything you need. All you would need to do is develop the GUI.
I've done a bit of searching around for a good RDF editor. But I'm not sure what one is the most utilised. Can anyone recommend one? I'm looking to write some simple RDF and maybe parse one or two RDF documents.
Many thanks
Are you looking to work at the raw Triples level and in a human readable/editable syntax such as Turtle? If so you can get by just with Notepad or maybe try out my rdfEditor which is an early Alpha release but gives you nice syntax highlighting, checking and auto-completion. This is designed only for editing raw RDF data and does not give you any IDE tools for creating your data.
If you want to work at the class/individual (i.e. more abstract level) and have the editor care about the underlying RDF then you probably want to try either TopBraid Composer or Protege
There's a new TextMate bundle for the Turtle RDF language which offers a bunch of cool features. https://github.com/peta/turtle.tmbundle
Judging from the screenshots, Rhodonite http://rhodonite.angelite.nl/ makes a good impression.
Unfortunately it seems to be abandonded and I could not get it to run on Windows7 (x64). But maybe it runs on your system (download is Windows only)
If you're looking for a web-based RDF / Ontology editor, have a look at Web Protege, an open source web-based project by the Protege team mentioned in the accepted answer.
If you need a more advanced RDF editor, look at RDF and SPARQL plugin for JetBrains IDEs. It supports all RDF 1.1 formats as well as SPARQL 1.1. Including the RDF-star and SPARQL-star extensions.
It features syntax highlighting and validation, prefixed name completion, SPARQL 1.1 Protocol support and much more.
You don't have to buy a JetBrains IDE, since the plugin works with the free versions too.