Documents Found!
As seen in
Less Work, Better Grades
Join
Course Hero
Access
best resources
Ace
your classes
Ace your courses with Course Hero!
|
|
|
Study Smarter, Score Higher
Here are the top 5 related documents
...# racoon.conf file for gateway A
#
path certificate "/etc/racoon/certs";
path pre_shared_key "/etc/racoon/psk.txt";
log notify;
listen {
isakmp 172.16.72.1 [500];
};
remote 172.16.72.254 {
exchange_mode main;
generate_policy off;
passive off;
c...
...#!/bin/bash
PIP='xxx.xxx.xxx.xxx' # Palm's IP address
DEV=/dev/ttyUSB1 # ttyUSB Port for comms
PPPD=/usr/sbin/pppd # where is pppd?
BAUD=57600 # BPS Rate for connection
PSTR="Product=Palm Handheld" # String present when...
.../*
Reference Chapter 6:
"The C+ Programming Language", Special Edition.
Bjarne Stroustrup,Addison-Wesley Pub Co; 3 edition (February 15, 2000)
ISBN: 0201700735
*/
#include
#include
#include
#include
.../* Copyright (GPL) 2004 mchirico@users.sourceforge.net or mchirico@comcast.net Simple lemon parser example.
$ ./lemon example1.y The above statement will create example1.c. The command below adds main and the necessary "Parse" calls to the end of th...
Document Content (unformatted)
Course Hero has millions of student submitted documents similar to the one
below including study guides, homework solutions, papers, exam answer keys and textbook solutions.
%opening \documentclass[a4paper,10pt]{article} \title{RDF and the Semantic Web} \author{Jimmy O'Regan} \begin{document} \maketitle \begin{abstract} A brief introduction to RDF, the Semantic Web, FOAF, and DOAP. \end{abstract} \section{Introduction} RDF is a framework for defining metadata; data that describes data. It was developed by the W3C, based on work by Ramanathan V. Guha, and was originally used in Netscape Navigator 4.5's Smart Browsing (``What's related?'') feature, and by Open Directory. RDF followed from work Guha had done earlier, both on the Cyc project, and on Apple's Hotsauce project. RDF is currently being used in several areas: MusicBrainz uses it to provide playlist information about albums and songs, as a replacement for formats such as WinAmp's M3U files, or Microsoft's ASX files; Mozilla uses it for several purposes, e.g. recording the details of downloaded files (sample), remembering which action to perform for each MIME type, and so on. RDF is also used in some variants of RSS to provide details about syndicated articles. RDF is a key component of the Semantic Web. In a May 2001 article in Scientific American, Tim Berners-Lee et al. described this concept: \begin{quotation} The Semantic Web is an extension of the current web where information is given well-defined meaning, better enabling computers and people to work in cooperation. \end{quotation} The Semantic Web is the next ``big deal'' for the Web: the W3C is developing several technologies, based around RDF, which provide a machine-readable way of representing metadata. Various schema are already in existence: RSS 1.0, for summarising the contents of a website (though RSS is mostly used by news sites to provide a ``feed'' of the news they provide); OWL, which provides a basis for creating new schema while providing compatibility with similar schema; FOAF, which provides a way of describing people and the relationships between them. There are several others as well. Edd Dumbill has even proposed that file metadata in GNOME be represented in RDF. \section{A brief history of RDF} Cyc is a project to create an artificial intelligence with basic ``common sense''. It has a large database containing definitions such as: a tree is a kind of plant, a sycamore is a kind of tree, and so on. Cyc is then able to deduce from these definitions that a sycamore is a plant. Though work continues on a commercial version of Cyc, an open source version, OpenCyc, is also available. Hotsauce was a browser plug-in created by Apple in 1996 that allowed users to use 3D navigation on a website that included an MCF definition. MCF, Meta Content Framework, was a text-based definition that used an RFC822-style format to describe a site. Following the examples I found on the net, I've created an example of my own that describes a simple site layout. When Guha moved to Netscape, he met with Tim Bray, co-author of XML 1.0, and the two worked on creating an XML-based version of MCF, submitted to the W3C in May 1997. (I've created a simple example of this too). With the addition of name spaces to XML, RDF began to take its current form. RDF uses XML name spaces to extend its vocabulary using RDF schema, though it's worth noting that although XML is the most common container format for RDF, other formats are in use. The W3C uses another format called N3 (Notation3), which bears greater resemblance to LISP-style languages, such as CycL and KIF. RDF schema separate the RDF metadata - definitions of how new terms relate to each other - from the ``normal'' metadata. Instead of defining the relationships among items, such as ``A is a child of B, and is a kind of C'', as was done in MCF and MCF-XML, these are defined in separate schema, which may be referred to using XML name spaces and reused (though it is still possible to include schema within the document). \section{RDF Statements} Anyone interested in learning about RDF would do well to read the W3C's RDF Primer and/or ``A no-nonsense guide to Semantic Web specs for XML people'', but I'll give my best attempt to explain the concepts. Each RDF statement is called a ``triple'', meaning it consists of three parts: subject, predicate, and object; the subject is either an RDF URI, or a blank node (I haven't seen a good explanation why these nodes are ``blank''\footnotemark, so I'll just refer to them as nodes). So, rephrasing the sentence ``Linux Gazette is the name of the website at http://linuxgazette.net'' looks like this: \footnotetext{ After this article was published, I received this e-mail from Frank Manola: I couldn't help commenting on your statement: ``Each RDF statement is called a ``triple'', meaning it consists of three parts: subject, predicate, and object; the subject is either an RDF URI, or a blank node (I haven't seen a good explanation why these nodes are ``blank'', so I'll just refer to them as nodes). '' I guess the Primer didn't make the connection explicit enough. Under Figure 6 in the RDF Primer, the text says ``Figure 6, which is a perfectly good RDF graph, uses a node without a URIref to stand for the concept of ``John Smith's address''. This blank node...'' The intent was to indicate that a blank node was one without a URIref. In the figure, the blank node is an ellipse with no label, i.e., ``blank''. The term ``nodes'' without qualification refers to all those parts of graphs that aren't arcs, including URIrefs, literals, and blank nodes (see the discussion of the graph model in Section 2.2 of the Primer, or Section 3.1 of RDF Concepts and Abstract Syntax). } \textbf{http://linuxgazette.net} has the property \textbf{name} with the value \textbf{``Linux Gazette''} Predicates may only be RDF URIs - references to a schema definition of the property - while objects may be URIs, blank nodes, or literals. We can then express the previous triple as an N-Triple, which is the simplest valid form of RDF, like this: \begin{verbatim} # Note that each URI most be enclosed, and each triple must end with a '.' <http://linuxgazette.net> <http://example.org/sample#name> "Linux Gazette". \end{verbatim} In XML, the general style is: \begin{verbatim} <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="subject"> <predicate>Object</predicate> </rdf:Description> </rdf:RDF> \end{verbatim} so, using XML QNames, which are valid URIs, our example becomes: \begin{verbatim} <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:example="http://example.org/sample#"> <rdf:Description rdf:about="http://linuxgazette.net"> <example:name>Linux Gazette</example:name> </rdf:Description> </rdf:RDF> \end{verbatim} RDF allows multiple properties to be abbreviated by including them within the same set of tag, so: \begin{verbatim} <rdf:Description rdf:about="http://linuxgazette.net"> <example:name>Linux Gazette</example:name> </rdf:Description> <rdf:Description rdf:about="http://linuxgazette.net"> <example:nickname>LG</example:nickname> </rdf:Description> \end{verbatim} is the same as: \begin{verbatim} <rdf:Description rdf:about="http://linuxgazette.net"> <example:name>Linux Gazette</example:name> <example:nickname>LG</example:nickname> </rdf:Description> \end{verbatim} \begin{verbatim} <rdf:Description rdf:about="http://linuxgazette.net"> <example:editor> <example:name>Ben Okopnik</example:name> </example:editor> </rdf:Description> \end{verbatim} These nodes can be given identifiers, and referred to by identifier, for clarity: \begin{verbatim} <rdf:Description rdf:about="http://linuxgazette.net"> <example:editor rdf:nodeID="ben"/> </rdf:Description> <rdf:Description rdf:nodeID="ben"> <example:name>Ben Okopnik</example:name> </rdf:Description> \end{verbatim} \section{FOAF} FOAF stands for ``Friend of a Friend''. FOAF was designed as a way to represent information about people online, and the relationships between them. E-mail addresses are used as identifiers, though given how much spam we all seem to receive these days, it is also possible to use a sha1sum of an e-mail address, or both. FOAF is being used by sites such as plink (``People Link'') where people can meet each other, and sites like LiveJournal generate FOAF so that users can have their relationships automatically described. There is also SharedID, which is attempting to build a Single Sign-On Service based on FOAF. Rather than talk about it in nauseating detail, I'll show a simple example, which should be relatively self-explanatory. (This is based on an example generated by FOAF-a-matic). \begin{verbatim} <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <foaf:Person rdf:nodeID="jimregan"> <foaf:name>Jimmy O'Regan</foaf:name> <foaf:title>Mr.</foaf:title> <foaf:givenname>Jimmy</foaf:givenname> <foaf:family_name>O'Regan</foaf:family_name> <foaf:nick>jimregan</foaf:nick> <foaf:mbox rdf:resource="mailto:jimregan@o2.ie"/> <foaf:mbox_sha1sum>9642c26da203ef143f884488d49194eb0747547c</foaf:mbox_sha1sum> <foaf:homepage rdf:resource="http://linuxgazette.net/authors/oregan.html"/> <foaf:depiction rdf:resource="http://linuxgazette.net/gx/authors/oregan.jpg"/> <foaf:phone rdf:resource="tel:+353872441159"/> <foaf:knows> <foaf:Person> <foaf:name>Mark Hogan</foaf:name> <foaf:mbox_sha1sum>7dbf56320b204be2e2bee161abed3ffc5825b590</foaf:mbox_sha1sum > </foaf:Person> </foaf:knows> </foaf:Person> </rdf:RDF> \end{verbatim} Most elements in FOAF can be added as many times as you like - many of us have several e-mail addresses, homepages, etc. Anything you add to your own $<$foaf:Person$>$ definition, you can add to any other node within a $<$foaf:knows$>$ node. \begin{verbatim} <foaf:knows> <foaf:Person> <foaf:name>Mark Hogan</foaf:name> <foaf:mbox_sha1sum>7dbf56320b204be2e2bee161abed3ffc5825b590</foaf:mbox_sha1sum> <foaf:nick>Sprogzilla</foaf:nick> <foaf:dateOfBirth>1997-06-29</foaf:dateOfBirth> </foaf:Person> </foaf:knows> \end{verbatim} \section{More Detail} There are quite a lot of things you can describe using FOAF, from the useful to the amusing (such as the $<$foaf:dnaChecksum$>$ tag). Let's add a few of the more useful items, such as those generated by LiveJournal: \begin{verbatim} <foaf:workplaceHomepage rdf:resource="http://www.dewvalley.com"/> <foaf:schoolHomepage rdf:resource="http://www.lit.ie"/> <foaf:schoolHomepage rdf:resource="http://www.gairmscoilmhuirethurles.ie/"/> <foaf:dateOfBirth>1979-07-31</foaf:dateOfBirth> <!-- Generated by LiveJournal --> <foaf:page> <foaf:Document rdf:about="http://www.livejournal.com/userinfo.bml?user=jimregan"> <dc:title>LiveJournal.com Profile</dc:title> <dc:description> Full LiveJournal.com profile, including information such as interests and bio. </dc:description> </foaf:Document> </foaf:page> <foaf:weblog rdf:resource="http://www.livejournal.com/users/jimregan/"/> <foaf:interest dc:title="charles dickens" rdf:resource="http://www.livejournal.com/interests.bml?int=charles+dickens"/> <foaf:interest dc:title="foaf" rdf:resource="http://www.livejournal.com/interests.bml?int=foaf" /> <foaf:interest dc:title="guitar" rdf:resource="http://www.livejournal.com/interests.bml?int=guitar" /> <foaf:interest dc:title="linux" rdf:resource="http://www.livejournal.com/interests.bml?int=linux" /> <foaf:interest dc:title="linux gazette" rdf:resource="http://www.livejournal.com/interests.bml?int=linux+gazette" /> <foaf:interest dc:title="neal stephenson" rdf:resource="http://www.livejournal.com/interests.bml?int=neal+stephenson" /> <foaf:interest dc:title="open source" rdf:resource="http://www.livejournal.com/interests.bml?int=open+source" <foaf:interest /> dc:title="terry pratchett" rdf:resource="http://www.livejournal.com/interests.bml?int=terry+pratchett" /> <foaf:interest dc:title="wikipedia" rdf:resource="http://www.livejournal.com/interests.bml?int=wikipedia" /> \end{verbatim} The $<$dc:title$>$ and $<$dc:description$>$ tags are from the Dublin Core schema, so we would have to change our namespace definitions to add the url: \begin{verbatim} <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"> \end{verbatim} There are also several ways of identifying various chat accounts you have online: \begin{verbatim} <foaf:jabberID>jimregan@jabber.org</foaf:jabberID> <foaf:icqChatID>113804615</foaf:icqChatID> \end{verbatim} and many other, miscellaneous details. Now, that's all well and good, but what about the less useful stuff? FOAF has tags to add silly things like Myers-Briggs personality types, geekcode blocks, and .plan information: \begin{verbatim} <foaf:myersBriggs>ENTP</foaf:myersBriggs> <foaf:geekCode> GCS/IT/MU/TW/O d-(+)>--- s: a--(-) C++(+++)>++++$ UBLAC++(on)>++++$ P++(+++)>++++ L+++>++++$ E+(+++) W+++>$ N+ o K++ w(++)>-- O- M !V PS+(+++) PE(--) Y+>++ PGP-(+)>+++ t+() !5 X+ !R tv+ b++(+++)>++++$ DI++++ D++ G e h ry--**(++++)>+++++ </foaf:geekCode> <foaf:plan>Get a better job</foaf:plan> \end{verbatim} \section{Other Schemata} FOAF contains a lot of useful and amusing stuff, but there are many other schemata waiting to be used. On the amusing side: \begin{verbatim} <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:zodiac="http://www.ideaspace.net/users/wkearney/schema/astrology/0.1#" xmlns:quaff="http://purl.org/net/schemas/quaffing/"> <zodiac:Sign>Leo</zodiac:Sign> <quaff:owesBeerTo rdf:nodeID="doyle"/> <quaff:drankBeerWith rdf:nodeID="doyle"/> <foaf:knows> <foaf:Person rdf:nodeID="doyle"> <foaf:name>Jimmy Doyle</foaf:name> <foaf:mbox_sha1sum>a0610d4a3086354b9ef1daf50d24de232115c965</foaf:mbox_sha1sum> </foaf:Person> </foaf:knows> \end{verbatim} There are also more useful external schemata - geo, to describe the location of a place; and srw to describe the languages you speak, read, write, and master. \begin{verbatim} <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:srw="http://purl.org/net/inkel/rdf/schemas/lang/1.1#"> <foaf:based_near> <geo:Point> <geo:lat>52.6796</geo:lat> <geo:long>-7.8221</geo:long> </geo:Point> </foaf:based_near> <srw:masters>en</srw:masters> <srw:reads>fr</srw:reads> <srw:reads>ga</srw:reads> \end{verbatim} One of the cool things you can do with geographic locations is to run FoafGeoGraph on your FOAF file. This looks for geographic locations for people, or for links to their FOAF files, from which it generates input for XPlanet which can be used to show your position relative to those of your friends. Nifty, eh? You can also refer to other documents (though this is part of RDF). For example, there's a schema that represents iCalendar data in RDF. Using this, I can provide my work timetable and some birthdays from my foaf file (work.cal.rdf.txt and birthdays.cal.rdf.txt, generated with this Perl script, which I've lost the link for): \begin{verbatim} <rdfs:seeAlso rdf:resource="http://linuxgazette.net/misc/oregan/work.cal.rdf.txt" dc:title="Work schedule"/> <rdfs:seeAlso rdf:resource="http://linuxgazette.net/misc/oregan/birthdays.cal.rdf.txt" dc:title="Birthdays"/> \end{verbatim} I've already mentioned that it's possible to depict chat accounts with services such as Jabber, and MSN. It's also possible to represent other accounts. Chat accounts which don't have a specific tag available can still be represented, using the $<$foaf:OnlineChatAccount$>$ tag, while other accounts use the $<$foaf:OnlineAccount$>$ tag. \begin{verbatim} <foaf:holdsAccount> <foaf:OnlineChatAccount> <foaf:accountName>jimregan</foaf:accountName> <foaf:accountServiceHomepage dc:title="irc.freenode.net" rdf:resource="http://www.freenode.net/irc_servers.shtml" /> </foaf:OnlineChatAccount> </foaf:holdsAccount> <foaf:holdsAccount> <foaf:OnlineAccount> <foaf:accountName>jimregan</foaf:accountName> <foaf:accountServiceHomepage dc:title="Wikipedia" rdf:resource="http://en.wikipedia.org" /> </foaf:OnlineAccount> </foaf:holdsAccount> \end{verbatim} \subsection{Specifying a relationship} FOAF was originally designed to described the way in which people were related to each other, though this seems to have become unworkable. It's still possible to convey this information though: \begin{verbatim} <dcterms seems to be required by rel --> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:rel="http://purl.org/vocab/relationship/"> <rel:parentOf rdf:nodeID="markinho"/> <foaf:knows> <foaf:Person rdf:nodeID="markinho"> <foaf:name>Mark Hogan</foaf:name> <foaf:mbox_sha1sum>7dbf56320b204be2e2bee161abed3ffc5825b590</foaf:mbox_sha1sum> <foaf:nick>Sprogzilla</foaf:nick> <foaf:dateOfBirth>1997-06-29</foaf:dateOfBirth> <rdfs:seeAlso rdf:resource="http://linuxgazette.net/105/misc/oregan/mark.rdf.txt"/> </foaf:Person> </foaf:knows> \end{verbatim} \subsection{Web of trust} Identity theft is becoming more and more of an issue on the 'net. To protect against this, there is a schema available which describes various aspects of a PGP signature, and to allow a FOAF file to be digitally signed. (For more information on signing a FOAF document, see Edd Dumbill's page). \begin{verbatim} <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:wot="http://xmlns.com/wot/0.1/"> <!-- Signature to verify this document --> <foaf:Document rdf:about=""> <wot:assurance rdf:resource="foaf-example.rdf.asc" /> </foaf:Document> <!-- my signature --> <wot:pubkeyAddress rdf:resource="http://linuxgazette.net/104/misc/oregan/jimregan.asc"/> <wot:hex_id> 773730F8</wot:hex_id> <wot:length>1024</wot:length> <wot:fingerprint>D675 279B 24AC BDC3 BAE9 BB7A 666C 30CA 7737 30F8</wot:fingerprint> \end{verbatim} \subsection{Co-Depiction} Co-depiction is a hot topic in FOAF circles. The logical extension to saying you know someone is to prove it with a photo. Let's expand the first example to show a co-depiction of Mark and me: \begin{verbatim} <foaf:homepage rdf:resource="http://linuxgazette.net/authors/oregan.html"/> <foaf:depiction rdf:resource="http://linuxgazette.net/gx/authors/oregan.jpg"/> <foaf:depiction rdf:resource="http://linuxgazette.net/105/misc/oregan/IMAGE0004.jpg"/> <foaf:phone rdf:resource="tel:+353872441159"/> <foaf:knows> <foaf:Person> <foaf:name>Mark Hogan</foaf:name> <foaf:depiction rdf:resource="http://linuxgazette.net/105/misc/oregan/IMAGE0004.jpg"/> <foaf:mbox_sha1sum>7dbf56320b204be2e2bee161abed3ffc5825b590</foaf:mbox_sha1sum> </foaf:Person> </foaf:knows> \end{verbatim} Nothing special, just the same $<$foaf:depiction$>$ tag in two or more $<$foaf:Person$>$ tags, which makes it easy for a computer to find where two people are co-depicted. The next step in co-depiction is going to be the addition of SVG outlines, to show who is who in a photo, though unfortunately, no one has yet come up with a way of referring to the SVG data in a computer readable way. (SVG, as an XML-based format, is capable of including RDF metadata without difficulty). Another problem is that SVG hasn't quite caught on yet, though the latest version of KDE supports it, and future versions of Mozilla should support it. As it is, though, it can be useful to show humans who's who. Take this picture, which shows my son, his friend Adam, and me in the background. In the future, it will be possible to use an SVG image like this - which contains an invisible outline, with some additional metadata, to give machine readable information, similar to HTML's image maps. At the moment, we can use an image like this, which contains the same outlines, but is filled with separate colours for each person depicted, and simply say that Mark is represented by the green area, Adam by the red, and me by the blue. (I use the svgdisplay program that comes with KSVG; those without an SVG viewer can look at this PNG to see what I'm talking about). \section{DOAP} DOAP stands for "Description of a Project". DOAP is an RDF vocabulary, influenced by FOAF, which was created by Edd Dumbill to provide details about an open source software project. At the time of writing, DOAP, as a project, is one week old, and already has impressive momentum. DOAP is designed as a replacement for several different formats for project description, such as that used by Freshmeat or the GNU Free Software Directory, which complements FOAF. Here's an example which describes LG, generated using DOAP-a-matic (text version): \begin{verbatim} <?xml version="1.0" encoding="iso-8859-15"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:doap="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:admin="http://webns.net/mvcb/" xml:lang="en"> <rdf:Description rdf:about=""> <admin:generatorAgent rdf:resource="http://www.bonjourlesmouettes.org/doap-a-matic.php"/> </rdf:Description> <doap:Project> <doap:name>Linux Gazette</doap:name> <doap:shortname>LG</doap:shortname> <doap:homepage rdf:resource="http://linuxgazette.net"/> <doap:created>1995-07</doap:created> <doap:description> Linux Gazette is a monthly Linux webzine, dedicated to providing a free magazine for the Linux community and making Linux just a little more fun! </doap:description> <doap:shortdesc>Linux Gazette is a monthly Linux webzine.</doap:shortdesc> <doap:mailing-list rdf:resource="http://linuxgazette.net/mailman/"/> <doap:programming-language>HTML</doap:programming-language> <doap:os>Linux</doap:os> <doap:license rdf:resource="http://linuxgazette.net/105/misc/oregan/OPL.rdf.txt"/> <doap:download-page rdf:resource="http://linuxgazette.net/ftpfiles/"/> <doap:download-mirror rdf:resource="http://www.tldp.org/LDP/LGNET/ftpfiles"/> <doap:maintainer> <foaf:Person> <foaf:name>Ben Okopnik</foaf:name> <foaf:nick>Ben</foaf:nick> <foaf:mbox_sha1sum>30073b332dac6fc812dcdd806ac1e9715ceac46a</foaf:mbox_sha1sum> </foaf:Person> </doap:maintainer> </doap:Project> </rdf:RDF> \end{verbatim} DOAP-a-matic doesn't have support for the OPL, the licence used by LG, but it's simple to define a new one (text version): \begin{verbatim} <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <License rdf:about="http://linuxgazette.net/105/misc/oregan/OPL.rdf.txt"> <rdfs:label>OPL</rdfs:label> <dc:title>Open Publication License</dc:title> <rdfs:seeAlso rdf:resource="http://www.opencontent.org/openpub/" /> </License> </rdf:RDF> \end{verbatim} \section{Conclusion} RDF and the Semantic Web are exciting topics, and I hope I've piqued someone's interest with this article. Anyone wishing to find out more may simply Google for RDF, or try the list of bookmarks I accumulated while reading about RDF. \end{document}
Find millions of documents here - Study Guides, Homework Solutions, Papers, Exam Answer Keys and more.
Course Hero has millions of course related materials that will enable you to learn better,
faster and get an A in all your courses.
Below is a small sample set of documents:
Below is a small sample set of documents:
LSU >> LDP >> 106 (Fall, 2008)
\\input{commondefs} %\\def\\beginarticle#1{\\begin{center} %\ ule{\\linewidth}{1mm}\\vspace{1.5ex}\\ %\\textbf{\\Large #1}\\ %\ ule{\\linewidth}{0.5mm}\\ %\\end{center}\\addcontentsline{toc}{section}{#1} \\def\\beginarticle#1{ \\section*{#1}\\addcontentsline{toc}{sec...
LSU >> LDP >> 106 (Fall, 2008)
<rdf:RDF xmlns:rdf=\"http:/www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http:/www.w3.org/2000/01/rdf-schema#\" xmlns:foaf=\"http:/xmlns.com/foaf/0.1/\" xmlns:dc=\"http:/purl.org/dc/elements/1.1/\" xmlns:zodiac=\"http:/www.ideaspace.net/users/wkearney/s...
LSU >> LDP >> 106 (Fall, 2008)
<?xml version=\"1.0\" encoding=\"UTF-8\"?> <xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http:/www.w3.org/1999/XSL/Transform\"> <xsl:template match=\"/\"> <opml version=\"1.0\"> <head> <title>FeedReader Subscriptions</title> </head> <bod...
LSU >> CHEM >> 2060 (Fall, 2008)
...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 2: Acids and Bases 2.2-2.3 and 2.6-2.7 Chemistry 2060, Spring 2007, LSU 2-1 Sections Chapter 1: Covalent Bonding and Shapes of Molecules 1. 2. 3. 4. 5. 6. 7. Introduction Arrhenius acids and bases Bronsted Lowery acid and bases Omit Omit M...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 3. Alkanes and Cycloalkanes Sections 3.1-3.11 Chemistry 2060, Spring 2007, LSU 3-1 Sections Chapter 3: Alkanes and Cycloalkanes 1. Introduction 2. Structure of alkanes 3. Constitutional isomers in alkanes 4. Nomenclature of alkanes 5. Cycl...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 4: Alkenes and Alkynes Sections 4.1-4.5 Chemistry 2060, Spring 2007, LSU 4-1 Sections Chapter 4: Alkenes and Alkynes 1. 2. 3. 4. 5. Introduction Structure Nomenclature Physical properties Naturally occurring alkenes: The terpenes Chemistr...
LSU >> CHEM >> 2060 (Fall, 2008)
Characteristic Reactions of Alkenes H C C + HCl C H C Br C C + Br 2 C H C C C Br C bromination (h alogenation) oxidation (hydrogenation) redu ction (h yd rogenation) C OH hydration C Cl hyd roch lorination (h yd rohalogenation ) Chapter 5: Reactions...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 6: Chirality and the Handedness of Molecules 1. Introduction 2. Stereoisomers 3. Enantiomers 4. Naming stereoisomers: The (R,S) system stereoisomers: 5. Acyclic molecules with two isomers 6. Cyclic molecules with two isomers 7. Molec...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 7: Haloalkanes 1. Introduction 2. Nomenclature 3. Nucleophilic aliphatic substitution and b-elimination 4. Nucleophilic aliphatic substitution 5. Mechanism of nucleophilic aliphatic substitution 6. Experimental evidence for SN1 and S...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 8: Alcohols, Ethers, and Thiols 1. 2. 3. 4. 5. 6. 7. Introduction Alcohols Reactions of alcohols Ethers Epoxides Thiols Reaction of thiols Chapter 8: Alcohols, Ethers, and Thiols Sections 8.1-8.7 8.1- Chemistry 2060, Spring 2007, L...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 9: Benzene and its Derivatives Introduction The structure of benezene The concept of aromaticity Nomenclature Reactions of benezene:Oxidation at a benzylic position Reactions of benezene: Electrophilic aromatic benezene: substitution...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 10: Amines 1. 2. 3. 4. 5. 6. 7. 8. Introduction Structure and classification Nomenclature Physical Properties Basicity of amines Reaction with acids Synthesis of arylamines: Reduction of NO2 group arylamines: Reactions of primary ami...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 13: Aldehydes and Ketones 1. 2. 3. 4. 5. 6. 7. 8. Introduction Structure and bonding Nomenclature Physical properties Reactions Addition of Grignard Reagents Addition of alcohols Addition of ammonia and amines Chapter 13: Aldehydes ...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 15: Functional Derivatives of Carboxylic Acids Sections 15.1-15.9 Chapter 15: Aldehydes and Ketones 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction Structure and nomenclature Characteristic properties Reaction with water: hydrolysis Reaction...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 16: Enolate Anions Chapter 16: Enolate Anions Sections 16.1-16.6 1. 2. 3. 4. 5. 6. Introduction Formation of enolate anions The Aldol reaction The Claisen and Dieckmann condensations Claisen and Aldol condensations in the biologic...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 18: Carbohydrates Chapter 18: Carbohydrates Sections 18.1-18.8 1. 2. 3. 4. 5. 6. 7. 8. Introduction Monosaccharides The cyclic structure of monosaccharides Reaction of monosaccarides Testing the blood sugar (glucose) L-ascobic ac...
LSU >> CHEM >> 2060 (Fall, 2008)
Sections Chapter 21: Lipids 1. 2. 3. 4. 5. 6. 7. Introduction Triglycerides Soaps and detergents Phospholipids Steroids Prostaglandins Fat-soluble vitamins Fat- Chapter 21: Lipids Sections 21.1-21.6 Chemistry 2060, Spring 2060, LSU 21-1 Chemistr...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#1 CHEM2060,section1,Spring2007. PrintedName: BackgroundandChp.1 HomeworkDueJanuary.23,2007,1:30PM! GroupName: 1. (2pts.total)Circlethecorrectcompoundtype(ionicorcovalent)forthe following: formula compoundtype a)NBr3 (ionicorcovalent) b)CH3C...
LSU >> CHEM >> 2060 (Fall, 2008)
CHEM2060,section1 BackgroundandChp.2 HomeworkDueJanuary25,2007,1:30PM! HOMEWORK#2 PrintedName: GroupName: 1.(2pts.)IdentifytheBrnstedLowryacidsinthefollowingreactions. a) b) c) d) BrnstedLowry BrnstedLowry BrnstedLowry BrnstedLowry Acid Base Con...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#3 CHEM2060,section1Spring2007 PrintedName: BackgroundandChps.3&4 HomeworkFebruary1,2007by1:30PM! GroupName: 1.(4pts.)Circlethecorrectclassificationsthatappliestothefollowinghydrocarbons. Hydrocarbon H2 C H2C HC CH2 CH Classification saturat...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#4 CHEM2060,section1Spring2007 PrintedName: BackgroundandChps.4&5 HomeworkFebruary8,20071:30PM! GroupName: 1.(2pts.)Circletheisopreneunitsandgivethenumberofisopreneunitsinthe structureofVitaminA: Number of isoprene units: 2.(3pts.)Labelthec...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#5 CHEM2060,section1Spring2007 PrintedName: BackgroundandChps.6&7 HomeworkMarch1,2007by1:30PM! GroupName: 1.(4pts.)Circlethecorrecttypesofisomerismthatappliestothefollowingorganic compounds. Compound Isomerism Constitution Constitutiona Const...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#6 CHEM2060,section1Spring2007 BackgroundandChps.8&9 HomeworkMarch8,2007by1:30PM! PrintedName: GroupName: 1.(5pts.)Circlethecorrecttypesofmechanismforthefollowingreactions. Reaction Nucleophilic Substitution/ Elemination Molecularity Mechani...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#7 CHEM2060,section1Spring2007 BackgroundandChps.9 HomeworkMarch15,2007by1:30PM! PrintedName: GroupName: 1.(4pts.)Givethenamesoffollowingaromaticcompounds. a) Name: a) (o,m,p): b) (2,3,4,5): b) Name: a) (o,m,p): b) (2,3,4,5): c) Name: a) (...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#8 CHEM2060,section1Spring2007 BackgroundandChps.10&13 HomeworkMarch20,2007by1:30PM! PrintedName: GroupName: 1.(4pts.)Givethenamesoffollowingaromaticcompounds. a) b) c) CH3 H H3C C N CH3 CH3 d) Name: a) Common: b) IUPAC: Name: a) Common: b...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#9 CHEM2060,section1Spring2007 BackgroundandChps.14,15&16 HomeworkApril17,2007by1:30PM! PrintedName: GroupName: 1.(4pts.)Givethenamesoffollowingaromaticcompounds. a) b) O C Name: a) Common: b) IUPAC: O d) H3C CH2 CH2 CH2 C OH Name: a) IUPAC...
LSU >> CHEM >> 2060 (Fall, 2008)
HOMEWORK#10 CHEM2060,section1Spring2007 BackgroundandChps.18 HomeworkApril24,2007by1:30PM! PrintedName: GroupName: 1.(6pts.)Circlethecorrectclassificationsthatapplytothefollowingcarbohydrates. Carbohydrate a) CnH2nOn= Formula Type Carbons Named Name...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 1 Covalent Bonding and Shapes of Molecules Multiple Choice 1. Which is the electronic configuration that describes Mg2+? (Sec. 1.2) a) 1s2, 2s2 b) 1s2, 2s2, 2p6 c) 1s2, 2s2, 2p6, 3s2 d) 1s2, 2s2, 2p6, 3s2, 3p6 2. Which is the electronic confi...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 2 Acids and Bases Multiple Choice 1. Identify the Brnsted-Lowry acids in the following reactions. (Sec. 2.3) CH3OH I + HCl II CH3OH2 III + Cl IV C2H5OH V a) b) c) d) + NaH VI C2H5ONa VII + H2 VIII I, III,VI, VII II, VI I, IV, V, ...
LSU >> CHEM >> 2060 (Fall, 2008)
...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 4 Alkenes and Alkynes Multiple Choice 1. Which are the approximate carbon-carbon bond angles at positions I and II in the following compound? (Sec. 4.2) I II a) b) c) d) 109, 109 120, 180 120, 109 109, 120 CH3 2. Which is the best descript...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 5 Reactions of Alkenes Multiple Choice 1. The reaction of propene with which of the following reagents are oxidation reactions? (Sec. 5.3 - 5.5) HBr/CH2Cl2 I a) b) c) d) II III I and V II and IV OsO4 II H2/Pt III Br2 IV H+/H2O V 2. Which poi...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 6 Chirality Multiple Choice 1. Which compounds contain stereocenters? (Sec. 6.3) I) 1-chloropentane II) 2-chloropentane III) 3-chloropentane IV) 1,2-dichloropentane a) b) c) d) I, II III, IV I, III II, IV 2. Which compounds contain stereocen...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 7 Haloalkanes Multiple Choice 1. Which of the following structures have the correct IUPAC name? (Sec. 7.2) Cl H C CH CH CH 2 2 3 CH3 CH3 F R-4-fluoro-4-methylcyclohexene II H Br H OCH3 meso-1,2-dibromo-1,2-dimethoxyethane III a) b) c) d) I, ...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 8 Alcohols, Ethers, and Thiols Multiple Choice 1. Which is the IUPAC name for the following structure? (Sec. 8.2) OH a) b) c) d) cyclohexenol 3-cyclohexen-1-ol 1-cyclohexen-4-ol 4-cyclohexenol 2. Which structures have the correct IUPAC name...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 9 Benzene and Its Derivatives Multiple Choice 1. Which structures have the correct IUPAC names? (Sec. 9.4) CH3 Br CH3 Cl Br I. 2-bromotoluene II. para methyl, meta chloro bromobenzene NO2 OCH3 Cl III. meta chloroaniline a) b) c) d) I, II ...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 10 Amines Multiple Choice 1. Which is the correct structure for diphenylamine? (Sec. 10.3) NH2 H a) b) N CH2 c) NH2 d) NH2 2. Which is the IUPAC name for the following structure? (Sec. 10.3) CH3 H H3C C CH3 a) b) c) d) N-methyl-tert-butyl...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 13 Aldehydes and Ketones Multiple Choice 1. Which compounds are named correctly? (Sec. 13.3) OH O CH CH3 O CH HO O CH3CHCOH o-hydroxybenzaldehyde I 2-methylbenzaldehyde II O CCH3 2-hydroxypropanoic acid III H H C C CO CH3 O O CH3CCH...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 14 Carboxylic Acids Multiple Choice 1. Which is the IUPAC name for the following compound? (Sec. 14.3) O H3C a) b) c) d) C O CH2 CH2 CH2 C OH 2-oxohexanoic acid 5-oxohexanoic acid methyl butyroxo ketone 4-ketopentanoic acid 2. Which is t...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 15 Functional Derivatives of Carboxylic Acids Multiple Choice 1. Which is the correct structure for phenyl benzoate? (Sec. 15.2) O a) CO O c) CH2OC d) b) O OCCH2 O CH2OCCH2 2. Which compounds are named correctly? (Sec. 15.2) O O O O O...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 16 Enolate Anions Multiple Choice 1. What is the order of increasing acidity for these compounds (least acidic first)? (Sec. 16.2) O CH3CH2OH I a) b) c) d) IV, III, II, I IV, II, III, I II, III, I, IV III, II, I, IV O CH3COCH3 III O CH3COH...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 18 Carbohydrates Multiple Choice 1. Which sugars and classifications are correctly matched? (Sec. 18.2) CH2OH O HO H HO H OH H CH2OH aldohexose I H H H CHO OH OH OH CH2OH aldotetrose II H HO H HO CHO OH H OH H CH2OH aldohexose III ketotetr...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 21 Lipids Multiple Choice 1. Which saturated fatty acids have the correct name? (Sec. 21.2) I) CH3(CH2)10COOH stearic acid II) CH3(CH2)14COOH palmitic acid III) CH3(CH2)16COOH lauric acid IV) CH3(CH2)18COOH arachidic acid a) b) c) d) I, I...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 1 Covalent Bonding and Shapes of Molecules Multiple Choice 1. Which is the electronic configuration that describes Mg2+? (Sec. 1.2) a) 1s2, 2s2 b) 1s2, 2s2, 2p6 c) 1s2, 2s2, 2p6, 3s2 d) 1s2, 2s2, 2p6, 3s2, 3p6 2. Which is the electronic conf...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 2 Acids and Bases Multiple Choice 1. Identify the Brnsted-Lowry acids in the following reactions. (Sec. 2.3) CH3OH I + HCl II CH3OH2 III + Cl IV C2H5OH V a) b) c) d) + NaH VI C2H5ONa VII + H2 VIII I, III,VI, VII II, VI I, IV, V,...
LSU >> CHEM >> 2060 (Fall, 2008)
...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 4 Alkenes and Alkynes Multiple Choice 1. Which are the approximate carbon-carbon bond angles at positions I and II in the following compound? (Sec. 4.2) I II a) b) c) d) 109, 109 120, 180 120, 109 109, 120 CH3 2. Which is the best descript...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 5 Reactions of Alkenes Multiple Choice 1. The reaction of propene with which of the following reagents are oxidation reactions? (Sec. 5.3 - 5.5) HBr/CH2Cl2 I a) b) c) d) II III I and V II and IV OsO4 II H2/Pt III Br2 IV H+/H2O V 2. Which po...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 6 Chirality Multiple Choice 1. Which compounds contain stereocenters? (Sec. 6.3) I) 1-chloropentane II) 2-chloropentane III) 3-chloropentane IV) 1,2-dichloropentane a) b) c) d) I, II III, IV I, III II, IV 2. Which compounds contain stereo...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 7 Haloalkanes Multiple Choice 1. Which of the following structures have the correct IUPAC name? (Sec. 7.2) Cl H C CH CH CH 2 2 3 CH3 CH3 F R-4-fluoro-4-methylcyclohexene II H Br H OCH3 meso-1,2-dibromo-1,2-dimethoxyethane III a) b) c) d) I,...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 8 Alcohols, Ethers, and Thiols Multiple Choice 1. Which is the IUPAC name for the following structure? (Sec. 8.2) OH a) b) c) d) cyclohexenol 3-cyclohexen-1-ol 1-cyclohexen-4-ol 4-cyclohexenol 2. Which structures have the correct IUPAC nam...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 9 Benzene and Its Derivatives Multiple Choice 1. Which structures have the correct IUPAC names? (Sec. 9.4) CH3 Br CH3 Cl Br I. 2-bromotoluene II. para methyl, meta chloro bromobenzene NO2 OCH3 Cl CH2CH3 III. meta chloroaniline a) b) c) d...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 13 Aldehydes and Ketones Multiple Choice 1. Which compounds are named correctly? (Sec. 13.3) OH O CH CH3 O CH HO O CH3CHCOH o-hydroxybenzaldehyde I 2-methylbenzaldehyde II 2-hydroxypropanoic acid III H H C C CO CH3 O O O CCH3 CH3C...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 14 Carboxylic Acids Multiple Choice 1. Which is the IUPAC name for the following compound? (Sec. 14.3) O H3C a) b) c) d) C O CH2 CH2 CH2 C OH 2-oxohexanoic acid 5-oxohexanoic acid methyl butyroxo ketone 4-ketopentanoic acid 2. Which is ...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 15 Functional Derivatives of Carboxylic Acids Multiple Choice 1. Which is the correct structure for phenyl benzoate? (Sec. 15.2) O a) CO O c) CH2OC d) b) O OCCH2 O CH2OCCH2 2. Which compounds are named correctly? (Sec. 15.2) O O O O ...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 16 Enolate Anions Multiple Choice 1. What is the order of increasing acidity for these compounds (least acidic first)? (Sec. 16.2) O CH3CH2OH I a) b) c) d) IV, III, II, I IV, II, III, I II, III, I, IV III, II, I, IV O CH3COCH3 III O CH3CO...
LSU >> CHEM >> 2060 (Fall, 2008)
Chapter 18 Carbohydrates Multiple Choice 1. Which sugars and classifications are correctly matched? (Sec. 18.2) CH2OH O HO H HO H OH H CH2OH aldohexose I H H H CHO OH OH OH CH2OH aldotetrose II H HO H HO CHO OH H OH H CH2OH aldohexose III ketotet...
LSU >> CHEM >> 2060 (Fall, 2008)
1 FORM2 Chemistry20601 EXAM#3April26,2005 Dr.TamaraNauman Directions:DONOTOPENYOURTESTUNTILEVERYONEHASACOPY! ENTER YOUR NAME ON BOTH SIDES OF THE SCANTRON SHEET. USING A #2 PENCIL,BUBBLEINYOURNAMEONSIDE2INTHEAPPROPRIATESPACES. INTHE\"G...
LSU >> LDP >> 105 (Fall, 2008)
#!/bin/bash # Validate that we get 1 and only 1 parameter case $# in 1) ; *) /usr/bin/echo Usage: $0 ip-address-or-dns-name exit 1 ; esac # the $1 parameter is the IP address assigned to our system # Establish today\'s date (for html) DATE=`/usr/bin/d...
LSU >> EE >> 3320 (Fall, 2008)
Code 1174 1358 1439 2312 2941 3256 3754 4853 4922 5709 5970 6033 6419 6857 6910 7038 7580 8464 8907 9231 9533 9969 hw3 9.5 4 4.5 8 4 10 7.5 9.5 4 10 7.5 8 7 7 10 8 9.5 8.5 7 4.5 7 hw4 7.5 6 2.5 4 3 8.5 4 9 3.5 5 3 8 4 4.5 6 4 5 9 5 5.5 6 Quiz2 8 9...
LSU >> EE >> 3320 (Fall, 2008)
...
LSU >> LDP >> 112 (Fall, 2008)
/*= Give a user program IO access : lp_tty_start.c = PURPOSE - show use of ioperm and exec to give a non-root program direct IO access to just lp0/1/2 and ttyS0/1/2/3. Priority is also adjusted. USAGE - ./ioperm_s...
LSU >> LDP >> 112 (Fall, 2008)
/*= basic IO access : port_write_then_read.c = PURPOSE - show port write and read. - usage ./port_write_then_read port_num value */ #include <stdio.h> #include <unistd.h> #include <sys/io.h> int main(int argc, char *argv[]) { /*- check ...
LSU >> LDP >> 112 (Fall, 2008)
/*= Give a user program IO access : iopl_start.c = PURPOSE - show use of iopl and exec to give a non-root program direct IO access, interrupt access, and set process priority. All forked and exec\'ed programs inherit IO acce...
LSU >> LDP >> 112 (Fall, 2008)
/*= Block IO access : blockio.c = PURPOSE - show use of block IO and blocking interrupts with an IO enabling program. Usage is./iopl_start ./block_io NOTE - Put a CRO on pin 2 of the PP port to see 1 us data changes. Pins 3-9 act as high order bits o...
LSU >> LDP >> 112 (Fall, 2008)
#!/bin/sh echo echo \" This script file looks like an application to the user\" echo \" and hides the fact that lp_tty_start has been used.\" echo \" It\'s only script line is-\" echo \" ./lp_tty_start ./port_read 888\" echo \" If lp_tty_start is being used re...
LSU >> LDP >> 112 (Fall, 2008)
/*= basic IO access : port_read.c = PURPOSE - show port read. - usage ./port_read port_num */ #include <stdio.h> #include <unistd.h> #include <sys/io.h> int main(int argc, char *argv[]) { /*- check have one parameter. */ if (argc != 2) { printf(\" U...
LSU >> LDP >> 112 (Fall, 2008)
/*= pp_skeleton.c = PURPOSE - this program will check to see what parallel and serial ports can be accessed by program code. It offers helpful suggestions about what to do if a port is not accessible. */ #include <s...
LSU >> LDP >> 112 (Fall, 2008)
/*= pp_access.h = PURPOSE - this module supports access to the parallel port. It has several key uses- - saving the initial pp state. - restoring the pp state. - maintaining an image of ...
What are you waiting for?