Questions tagged [rdf]

The Resource Description Framework is a family of World Wide Web Consortium specifications originally designed as a metadata data model. It has come to be used as a general method for conceptual description or modeling of information that is implemented in web resources, using a variety of syntax notations and data serialization formats. It is also used in knowledge management applications.

The RDF data model is similar to classical conceptual modeling approaches such as entity–relationship or class diagrams, as it is based upon the idea of making statements about resources (in particular web resources) in the form of subject–predicate–object expressions. These expressions are known as triples in RDF terminology. The subject denotes the resource, and the predicate denotes traits or aspects of the resource and expresses a relationship between the subject and the object. RDF is an abstract model with several serialization formats (i.e., file formats), and so the particular way in which a resource or triple is encoded varies from format to format.

3 questions
3
votes
1 answer

Semantic querying of local data

Just got told to find some specific pictures for a calendar as a gift. I have thousands of pictures and looking through all of them is annoying. I just realized that the requirements of the images could be found by a sparql query pretty easy. Can I…
ManuelSchneid3r
  • 4,256
  • 8
  • 41
  • 58
2
votes
1 answer

How can I sort blocks of data of varying length on a field in each block

I have an RDF file with blocks of data of varying number of lines delineated by < and />. Within each block, there is a field identified by name="some name". I need to sort the blocks on the value of name without changing the order of any of the…
Cecil
  • 21
  • 1
1
vote
3 answers

Using sed/awk to retrieve first "non-whitspace token" in each line

I have a big file of N-Triples/N-Quads I want to be left with a collection of only subjects. On smaller files I could have achieved this using: awk '{print $1}' | uniq but awk fails for large files lines. (several MB). How can I achieve something…
gilad hoch
  • 187
  • 6