Experimental ruby gem to abstract sparql queries
Getting the uri:
tv_show = ActiveSemantic.find(@uri) putstv_show.uri
Getting the an attribute:
putstv_show.name.first
Getting all attributes the same name:
tv_show.site.eachdo|site|putssiteend
Getting attributes of related entities:
tv_show.season.eachdo|season|putsseason.description.firstend
All data of a related entity are requested only when some its attribute is accessed.
Register prefix ontologies
When iterate on a list of related entities, request on server all data of them
Prepare to use rake spec
Access entities where the actual entity is some attribute
Tiago Albineli Motta programandosemcafeina.blogspot.comn