Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A small addendum because I forgot to actually show something cool:

Another example, demonstrating the querying for the relation part, would be to find Leonardo DaVinci's family members: (again in pseudocode so you don't need to dwell in the syntax)

    fetch ?kinName, ?linkName given
    ?link "is called" ?linkName.
    ?kin "is called" ?kinName.
    "Leonardo DaVinci" ?link ?kin.
    ?link "is" "familial".
Line 3 was the "mindblow" moment for me, you can ask how two objects are related without knowing either one! (though I did know one of them in this example, Leonardo)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: