I don't know if there is a tag to do this... but here is what I would do:
1) save the query string into a variable, say, $mystring
2) Parse the variable by "." -- The period, since it ends the sentence. Enter each part into an array. You can use the function explode() for this
3) Explode() returns an array. So the first sentence would be the first array item.
Example:
$mysentces = explode(".", $mystring);
$mysentces[0] would have the first sentence. You may want to refer to http://www.php.net/manual/en/function.explode.php to see how explode() works. I hope that helps. 🙂