There are multiple reasons, for example,

1-) Data set is very huge ( I extracted records (individuals) of more than
1 million students) so putting all information in one file will make the
file very huge

2-) Second,  may be someone is not interested in all data set (e.g. me as a
user need information about a student with his FName only (just for
example))

3-) As an example see the DBPedia sets are available in small sets and I
can load and locally use only required data sets instead of all

Now, what you have suggested me in your answer about what to do. If you
don't mind can you tell me (some code) about how I can do this (I will be
thankful).

Regards

On Tue, Aug 25, 2015 at 2:19 PM, Chris Dollin <[email protected]>
wrote:

>
> On 25/08/15 10:23, Ahtisham Aslam wrote:
>
>>
>> *Problem:* I want to write the individual files containing the specific
>> information (triples) e.g.
>>
>
> Um, OK, but why? What does it buy you to separate the triples
> one from another rather than keep them in a Model?
>
> "Student" "has_FName" "value" should be written in one file (e.g.
>> st-fname.nt) "Student" "has_LName" "value" should be written in one file
>> (e.g. st-lname.nt)
>>
>> So in short instead of writing all the Model in one nt file I want to
>> create individual files (datasets) for individual triples (as I mentioned
>> above).
>>
>
> If you must:
>
>     For each triple in the model
>         pick a name for the file
>         make a new empty model
>         add the triple to that model
>         write the model out to the named file
>
> Chris
>
> --
> "And what you've gained is hard to quantify"    - Mermaid Kiss, /Crayola
> Skies/
>
> 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