Thank you Lorenz, I got it now, it means it works the same way we store data in databases from UI. Some one told me you have to create or use a plugin for it.
On Tue, Jan 31, 2017 at 5:22 PM, Lorenz Buehmann < [email protected]> wrote: > Ehm, what is the question now here? You can do anything in a Swing > application, I mean you simply call any Jena API method or what else do > you do when a e.g. a button is clicked. I don't understand what's so > complicated here. > > > On 31.01.2017 15:12, javed khan wrote: > > Hi Rob, so it means we have java Swing application and from swing UI we > can > > edit data into our owl file. Of course we will have Jena to connect our > > application with the ontology. > > But is there any plugin needed to edit data from UI? > > > > On Tue, Jan 31, 2017 at 5:06 PM, Rob Vesse <[email protected]> wrote: > > > >> Yes you can do this but it is fundamentally an implementation decision > >> that has nothing to do with Jena. You are a programmer and you actually > >> have to write some code of your own, libraries like Jena will only do so > >> much for you. > >> > >> Jena is not a UI library, of course you can use it behind-the-scenes to > >> store and retrieve data but you need to provide an appropriateUI for > your > >> application > >> > >> On 31/01/2017 13:59, "javed khan" <[email protected]> wrote: > >> > >> Hi Lorenz, yes I have Java application and at back-end owl file. > Just > >> like > >> in traditional database applications, an admin make changes to > database > >> through a UI (web form) and that changes are saves in database. > >> Can we do like this if the admin enter data or edit data in Java UI > >> and it > >> stores in our owl file? > >> > >> On Tue, Jan 31, 2017 at 2:40 PM, Lorenz B. < > >> [email protected]> wrote: > >> > >> > I don't understand the question. A UI has some backend resp. > >> application > >> > logic in which you change thedata > >> > > >> > > Ok yes I got this. But how it fits with my requirements of > >> entering data > >> > to > >> > > owl file using a UI? > >> > > > >> > > On Tue, Jan 31, 2017 at 1:10 PM, Lorenz B. < > >> > > [email protected]> wrote: > >> > > > >> > >> Javed, > >> > >> > >> > >> you're working on an ontology. If you change the data and save > it > >> to the > >> > >> same file, the file has been changed. > >> > >> > >> > >>> Hello Lorenz, > >> > >>> change the file of the ontology that is loaded into Protege. > >> > >>> > >> > >>> What does you mean by changing the ontology file? I want UI l > >> that ask, > >> > >> for > >> > >>> example, Enter Student name and that is saved as data property > >> then. > >> > Same > >> > >>> case for classes and instances. > >> > >>> > >> > >>> On Tue, Jan 31, 2017 at 10:24 AM, Lorenz B. < > >> > >>> [email protected]> wrote: > >> > >>> > >> > >>>> The only way is to change the file of the ontology that is > >> loaded into > >> > >>>> Protege. Protege will then recognize this and ask for > reloading > >> the > >> > >>>> ontology. > >> > >>>> Everything beyond is only possible if you write a Protege > plugin > >> > >>>> > >> > >>>>> Hi > >> > >>>>> > >> > >>>>> I am not sure if this question is suitable in Jena list but > I > >> wonder > >> > if > >> > >>>> it > >> > >>>>> is possible to edit/add some contents from a Java > >> application's user > >> > >>>>> interface and that changes/data saves directly in Protege > and > >> URIs > >> > >>>> assigned > >> > >>>>> to data? > >> > >>>>> Like we use the UI and saves data to a database. Not sure > Jena > >> or > >> > some > >> > >>>>> third party tools allows it or not? > >> > >>>>> > >> > >>>>> My admin of system is end user which does not know about > >> Protege and > >> > >>>>> Semantic web and I want him to enter data through some UI. > >> > >>>>> > >> > >>>>> Regards > >> > >>>>> > >> > >>>> -- > >> > >>>> Lorenz Bühmann > >> > >>>> AKSW group, University of Leipzig > >> > >>>> Group: http://aksw.org - semantic web research center > >> > >>>> > >> > >>>> > >> > >> -- > >> > >> Lorenz Bühmann > >> > >> AKSW group, University of Leipzig > >> > >> Group: http://aksw.org - semantic web research center > >> > >> > >> > >> > >> > -- > >> > Lorenz Bühmann > >> > AKSW group, University of Leipzig > >> > Group: http://aksw.org - semantic web research center > >> > > >> > > >> > >> > >> > >> > >> > >> > >
