can we do this:

(?a rdf:type :SemanticWeb)
   (?a rdf:type :NetworkSecurity)

Because SemanticWeb and NetworkSecurity are instances and not classes.?

On Thu, Jul 28, 2016 at 11:42 AM, Paul Houle <[email protected]> wrote:

> Something like
>
> [
>    (?a rdf:type :SemanticWeb)
>    (?a rdf:type :NetworkSecurity)
> ->
>    (?a rdf:type :SemanticWebAndNetworkSecurity)
> ]
>
> ?
>
>
> On Thu, Jul 28, 2016 at 2:36 PM, javed khan <[email protected]> wrote:
>
> > I have instances from GraduateCourses and UnderGradCourses classes:
> >
> > GraduateCourses                             UnderGradCourses
> >
> > Computer Vision                               Databases
> > Network Security                               Network Security
> > Neural Networks                                Assembly Language
> > Semantic Web                                  Semantic Web
> >
> > ?x  rdf:type  std:GradCourses                ?y  rdf:type
> >  std:UnderGradCourses
> >
> > Now ?x  and  ?y  contains courses with "Semantic Web and Network
> security"
> > common in both.
> >
> > Can we do some arithmetic or comparison inside Jena rules which will
> > query/answer us the courses which are common in both?
> >
>
>
>
> --
> Paul Houle
>
> *Applying Schemas for Natural Language Processing, Distributed Systems,
> Classification and Text Mining and Data Lakes*
>
> (607) 539 6254    paul.houle on Skype   [email protected]
>
> :BaseKB -- Query Freebase Data With SPARQL
> http://basekb.com/gold/
>
> Legal Entity Identifier Lookup
> https://legalentityidentifier.info/lei/lookup/
> <http://legalentityidentifier.info/lei/lookup/>
>
> Join our Data Lakes group on LinkedIn
> https://www.linkedin.com/grp/home?gid=8267275
>

Reply via email to