Oops I forgot to add the sentence node:
(EvaluationLink
(PredicateNode "sentencenode, timestamp, lat and long")
(ListLink
(SentenceNode "abc123-456-def")
(TimeNode "Fri Aug 26 18:18:56 CDT 2016")
(ConceptNode "51.9244° N")
(ConceptNode "4.4777° E")
))
But you could also do this:
(EvaluationLink
(PredicateNode "sentence and location")
(ListLink
(SentenceNode "abc123-456-def")
(EvaluationLink
(PredicateNode "timestamp, lat and long")
(ListLink
(TimeNode "Fri Aug 26 18:18:56 CDT 2016")
(ConceptNode "51.9244° N")
(ConceptNode "4.4777° E")
)))
which allows you to use the same location in multiple sentences. You can
invent other formats too.
--linas
On Fri, Aug 26, 2016 at 6:25 PM, Linas Vepstas <[email protected]>
wrote:
>
>
> On Fri, Aug 26, 2016 at 8:36 AM, <[email protected]> wrote:
>
>>
>> Thanks Linas for your reply. Actaully, it guides me well !! :-)
>> One more question!
>> My data has timestamps and latitude, longitude info along with text. Is
>> it still possible to get the data into opencog?
>>
>
> Sure. You would have to write some new code to do this. Every sentence is
> tagged with a SentenceNode to identify it. You would have to write some
> code to generate the following:
>
> (EvaluationLink
> (PredicateNode "timestamp, lat and long")
> (ListLink
> (TimeNode "Fri Aug 26 18:18:56 CDT 2016")
> (ConceptNode "51.9244° N")
> (ConceptNode "4.4777° E")
> ))
>
>
>
>> Can I still be able to convert that into .scm file?
>>
>
> as above.
>
>
>> Is Pattern Miner tailored to handle such data?
>>
>
> ? This is a non-sequiter question. The pattern miner looks for patterns,
> in a very generic way. Don't know what it might spot. The above is just
> some arbitrary pattern. Maybe the pattern miner will discover that a lot
> of your sentences that have certain words in them always come from the same
> latitude. Who knows.
>
> --linas
>
>
>>> Regards,
>>>
>> VishnuPriya
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "opencog" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/opencog.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/opencog/5188f4ef-2878-48bf-af13-a0e8847408ba%40googlegroups.com
>> <https://groups.google.com/d/msgid/opencog/5188f4ef-2878-48bf-af13-a0e8847408ba%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit
https://groups.google.com/d/msgid/opencog/CAHrUA341LA-33c-6%2Bhrus%3DQRhwX8wNLPj6TvrmhPDc1Pfv58Kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.