How could I remove repetition from this linq-to-entities query?
Use the let statement and also do the final orderby after the where clause, this will increase efficiency, as less entries will have to be sorted

IQueryable&lt;Article&gt; query = from a in _db.Articles 
    let  rev = a.AnswerRevisions.OrderByDescending(r =&gt; r.DateCreated).FirstOrDefault()
    where a.AnswerRevisions.Count &gt; 0 &amp;&amp; 
          (rev.UpVotes - rev.DownVotes &lt; 0) 
    orderby a.DateCreated descending 
    select a;