about semantic web, software architecture and life in general


Permalink 01:31:47, Categories: Semantic Web, Software Development   English (EU)

NQuad parsing using Jython

When in need to parse NQuad RDF files (e.g., the Billion Triples Challenge data files) Java folks can use the NxParser by Aidan Hogan and Andreas Harth: NxParser - Parser for NTriples, NQuads, and more.

You can also use it from Python (provided you use the Jython implementation).


import sys
from org.semanticweb.yars.nx.parser import *
from java.io import FileInputStream
from java.util.zip import GZIPInputStream
def all_triples(fname, use_gzip=False):
    in_file = FileInputStream(fname)
    if use_gzip:
        in_file = GZIPInputStream(in_file)
    nxp = NxParser(in_file, False)
    while nxp.hasNext():
        triple = nxp.next()
        n3 = ([i.toN3() for i in triple])
        yield n3

The code above defines a generator function which will yield a stream of NQuad records. We can now add some demo code in order to see it in action:



Permalink 20:09:12, Categories: Semantic Web   English (EU)

Take part in the SIOC survey

Update: The survey is closed now. Many thanks for participation.

If you know about SIOC (Semantically Interlinked Online Communities),
please complete this survey:


The goal of the survey is to learn:

  • how information about the SIOC project reaches people
  • about participation of the community in the development of the SIOC ontology and applications

Information collected could be useful both for evolving the SIOC project and for learning how to best spread awareness and facilitate participation in ontology development projects in general.

This survey is one of the additions to my PhD thesis required after completing the viva. I greatly appreciate your help.

* made the survey more flexible (removed “required” from any questions that had it set)


Permalink 00:39:27, Categories: Semantic Web, Technology, Social Software   English (EU)

2nd Social Data on the Web (SDoW 2009) workshop

2nd Social Data on the Web (SDoW 2009) workshop

Date: October 25, 2009
Location: Washington, DC (USA)

The workshop, co-located with the 8th International Semantic Web Conference (ISWC 2009), aims to bring together researchers, developers and practitioners involved in semantically-enhancing social media websites, as well as academics researching more formal aspect of these interactions between the Semantic Web and Social Web.

The list of accepted papers is published at the workshop webpage and is also available as RDFa (RDF data extracted from the SDoW 2009 page).

The list includes:

  • Continuous Queries and Real-time Analysis of Social Semantic Data with C-SPARQL
  • FOAF on Air - Context-aware User Pro?les for the Social Web
  • Folksonomy Resources as a Data Source for the Social Data in Semantic Web
  • Freemix: Social Networking Meets Data
  • Mapping between Digital Identity Ontologies through SISM
  • Multiple Personalities on the Web: A Study of Shared Mboxes in FOAF
  • Reactivity and Social Data: Keys to Drive Decisions in Social Network Applications
  • Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data
  • SiocLog: Providing IRC discussion logs as Linked Data
  • Social Networks of an Emergent Massively Collaborative Creation Community – Case Study of Hatune Miku Movie on Nico Nico Douga
  • The Mobile Wine Agent: Pairing Wine with the Social Semantic Web
  • The NoTube Beancounter: Aggregating User Data for Television Programme Recommendation

Looks like this is going to be an interesting workshop. :)

Note: I am one of the organisers of the workshop, along with Alex, John and Sergio.



Permalink 01:34:16, Categories: Semantic Web   English (EU)

Social Semantic Web: Where Web 2.0 Meets Web 3.0

SSS’09 is taking place in Stanford, CA starting from today (March 23) until Wednesday, March 25.

More information: Program of the AAAI Social Semantic Web (SSS’09) symposium

See also: Twitter messages about SSS’09

Web 2.0 (aka. social web) applications such as Wikipedia, LinkedIn and FaceBook, are well-known for fast-growing online data production via their network effects. Meanwhile, emerging Web 3.0 applications, driven by semantic web technologies such as RDF, OWL and SPARQL, offer powerful data organization, combination, and query capabilities.

The social web and the semantic web complement each other in the way they approach content generation and organization. Social web applications are fairly unsophisticated at preserving the semantics in user-submitted content, typically limiting themselves user tagging and basic metadata. Because of this, they have only limited ways for consumers to find, customize, filter and reuse data.

Semantic web applications, on the other hand, feature sophisticated logic-backed data handling technologies, but lack the kind of scalable authoring and incentive systems found in successful social web applications. As a result, semantic web applications are typically of limited scope and impact. We envision a new generation of applications that combine the strengths of these two approaches: the data flexibility and portability of that is characteristic of the semantic web, and the scalability and authorship advantages of the social web.


Permalink 01:57:58, Categories: Online Rights   English (EU)

Irish Internet Blackout

Activities of Irish recording industry association are putting online freedom in danger. The Internet is one of the most important tools that people have access to these days and it keeps us informed, can be our workplace and can help people get support when it is needed. Governments are claiming that we should lessen the digital divide that separates people into those who have access to the Internet (and computers) and those who do not.

It is this time when the record companies say: “hey, we want to be both judge and executioner in cutting people off the Internet". That is what the “3-strike disconnect” demands are about. To let private companies cut someone off the Net for indefinite time without due process and without a way to clear the accusations.

Even in court cases the “evidence” (which would be enough to disconnect users in Ireland) of record company investigators has been proven wrong. They have accused people who are disabled (and they may suffer the most if disconnected from the Net) and people who don’t even own a computer. If their evidence is courts is questionable, how can we trust what they do together with ISPs behind closed doors and without any transparency?

To protest against this threat, join Blackout Ireland.
Make your avatar black showing support for Irish Internet users.

In press:

:: Next Page >>

CaptSolo :: All Blogs

See also:

:: Next Page >>

October 2012
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Last comments



captsolo's items Go to captsolo's photostream



CaptSolo :: All Blogs

captsolo weblog


mazais weblogs

captsolo weblog


Syndicate this blog XML

powered by
Page served in 0.435 seconds

Valid XHTML 1.0! Valid CSS! Valid RSS! Valid Atom!