Hello, I did what I have mentioned in previous email. Used WrongQuestion as
data property in a separate owl file and will store all the questions in
it.
My data in owl file supposed to be:
user1  WrongQuestions and then few questions

Now how can I add these set of questions as data property as they likely to
be in an array.
user1.setPropertyValue gets one value, how set all these array of values.

Regards

On Tue, Jan 31, 2017 at 5:58 PM, Sidra shah <[email protected]> wrote:

> Thank you Chris, I have already a Question class which contains all the
> questions. Should I take its sub classes CorrectQuestions and
> WrongQuestions but in that case it will be difficult to associate each user
> with those questions.
>
> Is it possible I use another owl file where I associate incorrectly solved
> questions by a user to that user and assign it to him as data property like
> user1  CorrectQuestionns  Then list of questions
> user1  WrongQuestions and then list of wrong questions.
>
> Then I load this data when user login to the system and present the Wrong
> questions to him/her first, probably by SPARQL Order By query.
> All other data about user will be stored in the main/first owl file.
>
> Regards
>
> On Tue, Jan 31, 2017 at 5:43 PM, Chris Dollin <
> [email protected]> wrote:
>
>>
>>
>> On 31/01/17 14:19, Sidra shah wrote:
>>
>>> Thank you Chris, but I think it will look like strange if we have:
>>> User1  hasQuestions  and then 10 questions.
>>>
>>
>> Why will it look strange?
>>
>> It will fill the data property assertions area.
>>
>> If you've got lots of questions you'll run out of space
>> to put them all however you're storing and showing them.
>>
>> Do I gather you're using Protege as your UI? Is that
>> your only choice?
>>
>> Isnt there any smart way like we associate these questions
>>> as class or any other way?
>>>
>>
>> Then you're just moving the 10 questions information somewhere else.
>> It's not going to go away.
>>
>> It would make sense to have a Questions resource which has multiple
>> Question objects each of which has a string property which is the
>> question text.
>>
>> Chris
>>
>>
>>
>>> Regards
>>>
>>> On Tue, Jan 31, 2017 at 5:09 PM, Chris Dollin <
>>> [email protected]>
>>> wrote:
>>>
>>>
>>>>
>>>> On 31/01/17 14:05, Sidra shah wrote:
>>>>
>>>> Thank you Chris, but how?
>>>>>
>>>>>
>>>> You already know how to associate scores with users, yes?
>>>>
>>>> Associating questions with users is the same thing, except
>>>> using a different property and different vales for that
>>>> property. Those are for you to choose.
>>>>
>>>> Chris
>>>>
>>>>
>>>> A question would be like: Which country is not Germany's neighbor
>>>>
>>>>> country(String value)? And questions will be around 10-15 for each
>>>>> user.
>>>>> User1 Questions(data property)  and then 10 questions?
>>>>>
>>>>> Regards
>>>>>
>>>>> On Tue, Jan 31, 2017 at 4:58 PM, Chris Dollin <
>>>>> [email protected]>
>>>>> wrote:
>>>>>
>>>>>
>>>>>
>>>>>> On 31/01/17 13:45, Sidra shah wrote:
>>>>>>
>>>>>> Hello
>>>>>>
>>>>>>> I have a quiz type game in which questions/answers and user
>>>>>>> information
>>>>>>> is
>>>>>>> given in the quiz and stored in owl file.
>>>>>>> Now I want if a user incorrectly solve some questions, I store them
>>>>>>> in
>>>>>>> owl
>>>>>>> file and associate it with that user like we associate user score to
>>>>>>> a
>>>>>>> particular user.
>>>>>>>
>>>>>>> Is it possible to store some set of questions in owl file like
>>>>>>> data/object
>>>>>>> properties.
>>>>>>>
>>>>>>>
>>>>>>> Yes.
>>>>>>
>>>>>> Just like a user score, but with a different property and different
>>>>>> values.
>>>>>>
>>>>>> Chris
>>>>>>
>>>>>> --
>>>>>> "He could not weigh up which was worse and so tried not to think about
>>>>>> either."
>>>>>>                                                 /The Spellgrinder's
>>>>>> Apprentice/
>>>>>>
>>>>>> Epimorphics Ltd, http://www.epimorphics.com
>>>>>> Registered address: Court Lodge, 105 High Street, Portishead, Bristol
>>>>>> BS20
>>>>>> 6PT
>>>>>> Epimorphics Ltd. is a limited company registered in England (number
>>>>>> 7016688)
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>> "He could not weigh up which was worse and so tried not to think about
>>>> either."
>>>>                                                 /The Spellgrinder's
>>>> Apprentice/
>>>>
>>>> Epimorphics Ltd, http://www.epimorphics.com
>>>> Registered address: Court Lodge, 105 High Street, Portishead, Bristol
>>>> BS20
>>>> 6PT
>>>> Epimorphics Ltd. is a limited company registered in England (number
>>>> 7016688)
>>>>
>>>>
>>>
>> --
>> "He could not weigh up which was worse and so tried not to think about
>> either."
>>                                                 /The Spellgrinder's
>> Apprentice/
>>
>> Epimorphics Ltd, http://www.epimorphics.com
>> Registered address: Court Lodge, 105 High Street, Portishead, Bristol
>> BS20 6PT
>> Epimorphics Ltd. is a limited company registered in England (number
>> 7016688)
>>
>
>

Reply via email to