Professional Documents
Culture Documents
of
Computa%onal
Journalism
Columbia
Journalism
School
Week
8:
Knowledge
Representa%on
November
5,
2012
Unstructured data
Structured data
Ar%cle
Metadata
headline
photo
photo credit photo cap%on byline publica%on date dateline ar%cle body related ar%cles
Schema.org covers not just news but music, restaurants, people, organiza%ons, reviews, oers... Snippets, and be\er search-ability generally, are mo%va%on for Google, Yahoo, Bing to push schema.org
Ar%cles about Syria on NYT topic page More reliable than simple text search (because the relevance algorithm knows a story is "about" Syria.)
Ontologies
What
objects
and
rela%ons
are
available?
<urn:x-states:New%20York> ! <http://purl.org/dc/terms/alternative> ! "NY!
<http://dbpedia.org/resource/Columbia_University> ! <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>! <http://schema.org/CollegeOrUniversity>!
Inference
General
rules
a (a => b) => b! p !p!
! Hurricane Sandy hit New York !hit(hurricane_sandy, New_York)! ! Encode facts as relation(subject,object)! also wri\en (subject relation object)! !
Inference
!(bob brother-of alice)! !(alice mother-of lucy) =>! ! !(bob uncle-of lucy)!
Answer
ques%ons
using
inference
how
many
execu%ves
of
publicly-traded
Canadian
companies
died
in
car
crashes?
Problems
Not
all
subjects
are
simple.
Over
a
hundred
guests
a\ended
the
wedding
!attended(num_guests, wedding) ! !greater_than(num_guests,100)! ! ! !!
Ontology
explosions
(water
made
rivers
of
Avenues
C
and
D)
(East
Village
was
a
mixture
of
disaster
and
nonchalance)
(group
of
young
men
in
pajama
pants
and
shorts
threw
football)
(workers
pumped
the
basement
of
CHP
Hardware
)
Wall Street is high on Molson Coors Brewing (TAP), expec%ng it to report earnings that are up 17.5% from a year ago when it reports its third quarter earnings on Wednesday, November 7, 2012. The consensus es%mate is $1.34 per share, up from earnings of $1.14 per share a year ago. The consensus es%mate has dipped over the past month, from $1.35, but its s%ll up from the consensus es%mate of $1.19 three months ago. For the scal year, analysts are expec%ng earnings of $3.89 per share. Revenue is projected to eclipse the year-earlier total of $954.4 million by 31%, nishing at $1.25 billion for the quarter. For the year, revenue is projected to roll in at $4.04 billion. The companys net income has declined in the last two quarters. The company posted prot falling by 52.8% in the second quarter. This is ader it reported a prot decline in the rst quarter by 4.1%.