Welcome!

Java IoT Authors: Pat Romanski, Elizabeth White, Liz McMillan, Yeshim Deniz, Mehdi Daoudi

Related Topics: Java IoT

Java IoT: Article

Building the Social Network

Building the Social Network

Whether you like it or not, you're part of the Java community. Just by reading this publication you're declaring that you're a part of the Java way of life, maybe not by choice but you're still here. We have a network of developers all programming in the same language; there are many aspects to this language, but they all share a common thread. Fun, isn't it?

One of my little side projects is occasionally contributing to the FOAF community. FOAF (Friend-of-a-Friend) is RDF-based metadata regarding who you know and what you know about them. It builds into a handy RDF/XML-based file you can keep on your server, thus allowing people to read it and the FOAF files of the other users. The project is in beta at the moment, but it's used by some professionals to hold the public data they need about themselves and about others. Once you interact with several thousand other users with FOAF files, you have a content-rich social network.

This gives rise to some interesting developments - I'm looking at it from a skills-level point of view; I'm interested in my group of people having a skill set. From there, if I wanted to put a project together, on SourceForge for example, then I could query my FOAF file to find out which people had the skills I was looking for. A basic set might look like this:

<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:sk="http://example.com/skills"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<foaf:Person>
<sk:Discipline rdf:parseType="Resource">
<sk:description>SoftwareDev</sk:description>
<sk:skill>Java J2SE</sk:skill>
<sk:skill>Ant</sk:skill>
<sk:skill>Lucene</sk:skill>
<sk:skill>Jena API</sk:skill>
</sk:Discipline>
</foaf:Person>
</rdf:RDF>

Part of the fun I'm having with all this is getting to grips with query language, which is SQL-like. For Java there's the Jena API, which is designed for manipulating RDF and also has a query language (RDFQL) built in. Developing the implementation to put a team together to do software development is slow but it certainly is fun. As with many of these things, time is the deciding factor.

Another aspect I'm looking at is a catalog of code from each developer. If Fred has some open source code to iterate through IMAP folders in JavaMail, that information could be stored as metadata so I can query it and have a look at that code myself. Why go to all the bother of using Google when the metadata about the data is already close at hand? And more to the point - from someone you know, therefore there's a level of trust between developers.

However, it does require proactive developers who can grab the bull by the horns and produce some killer applications using RDF. It's an interesting challenge. Tim Berners-Lee mapped out the future of the Web as being resource based and named it the "Semantic Web." Read the RDF Primer (link below) and see what you think.

*  *  *

Are You an Open Source Developer?
Do you have projects that are hosted on sites such as SourceForge or freshmeat.net? If so I want to hear from you! JDJ is continuing with its Spotlight on Open Source column that focuses on Java open source projects. The only real requirement is that your project is on a repository so people can freely access code and, if they wish, join your development team. All I ask is that you first draft a small proposal on the JDJ Web site (http://grids.sys-con.com/proposal), then we'll get the ball rolling.

Resources

  • RDF Primer: www.w3.org/TR/rdf-primer/
  • RDF Validator: www.w3c.org/RDF/Validator
  • FOAF: http://xmlns.com/foaf/0.1/
  • Jena API: www.hpl.hp.com/semweb/jena.htm
  • More Stories By Jason Bell

    Jason Bell is founder of Aerleasing, a B2B auction site for the airline industry. He has been involved in numerous business intelligence companies and start ups and is based in Northern Ireland. Jason can be contacted at [email protected]

    Comments (1)

    Share your thoughts on this story.

    Add your comment
    You must be signed in to add a comment. Sign-in | Register

    In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


    IoT & Smart Cities Stories
    The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected pat...
    There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
    Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry. To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the mod...
    At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
    Druva is the global leader in Cloud Data Protection and Management, delivering the industry's first data management-as-a-service solution that aggregates data from endpoints, servers and cloud applications and leverages the public cloud to offer a single pane of glass to enable data protection, governance and intelligence-dramatically increasing the availability and visibility of business critical information, while reducing the risk, cost and complexity of managing and protecting it. Druva's...
    BMC has unmatched experience in IT management, supporting 92 of the Forbes Global 100, and earning recognition as an ITSM Gartner Magic Quadrant Leader for five years running. Our solutions offer speed, agility, and efficiency to tackle business challenges in the areas of service management, automation, operations, and the mainframe.
    The Jevons Paradox suggests that when technological advances increase efficiency of a resource, it results in an overall increase in consumption. Writing on the increased use of coal as a result of technological improvements, 19th-century economist William Stanley Jevons found that these improvements led to the development of new ways to utilize coal. In his session at 19th Cloud Expo, Mark Thiele, Chief Strategy Officer for Apcera, compared the Jevons Paradox to modern-day enterprise IT, examin...
    With 10 simultaneous tracks, keynotes, general sessions and targeted breakout classes, @CloudEXPO and DXWorldEXPO are two of the most important technology events of the year. Since its launch over eight years ago, @CloudEXPO and DXWorldEXPO have presented a rock star faculty as well as showcased hundreds of sponsors and exhibitors! In this blog post, we provide 7 tips on how, as part of our world-class faculty, you can deliver one of the most popular sessions at our events. But before reading...
    DSR is a supplier of project management, consultancy services and IT solutions that increase effectiveness of a company's operations in the production sector. The company combines in-depth knowledge of international companies with expert knowledge utilising IT tools that support manufacturing and distribution processes. DSR ensures optimization and integration of internal processes which is necessary for companies to grow rapidly. The rapid growth is possible thanks, to specialized services an...
    At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...