DigitalCommons / open-data-and-maps

Deprecated: Implementation of Linked Open Data by the Solidarity Economy Association
6 stars 1 forks source link

Revisit RDF generation for Twitter and Facebook #149

Closed joebillings closed 4 years ago

joebillings commented 5 years ago

Generating the appropriate RDF for Facebook and Twitter was taking too long so I've parked it for now. Here's the format they need to take:

RDFXML

solidarityeconomyassociation solidarityeconomyassociation **TTL** foaf:account [ a foaf:OnlineAccount ; foaf:accountServiceHomepage ; foaf:accountName "solidarityeconomyassociation" ], [ a foaf:OnlineAccount ; foaf:accountServiceHomepage ; foaf:accountName "solidarityeconomyassociation" ] ;
joebillings commented 4 years ago

Linkeddata library docs: https://rubydoc.info/github/ruby-rdf/rdf

sunnydean commented 4 years ago

Hey @ColmMassey what was the problem with this?

sunnydean commented 4 years ago

@ColmMassey I deployed a twitter/facebook containing graph here: https://data1.solidarityeconomy.coop/sea-lod/oxford-pilot/

e.g. https://data1.solidarityeconomy.coop/sea-lod/oxford-pilot/149.html#twitter

sunnydean commented 4 years ago

@ColmMassey this is done at: https://dev.oxford.solidarityeconomy.coop/

ColmMassey commented 4 years ago

Hey @ColmMassey what was the problem with this?

I can't remember. I'll ping Jo and send what you have done.

joebillings commented 4 years ago

Hey all - it was just taking me too long to figure out how to get the Ruby RDF library to do what I wanted to do so had to move on to other things @ColmMassey

sunnydean commented 4 years ago

Ah, cool. I've fixed it i think. You were using a string literal to FOAF instead of the VOCAB object when passing one of the parameters (which broke the generation code a bit). Fixed now @ColmMassey

ColmMassey commented 4 years ago

Thanks Joe