For more detailed information on SDQL including manuals and videos go HERE
The syntax for access to the NBA team data is: game
reference:parameter. To see the date, team, and opponent where the team scored
+120 points after scoring +120 runs in the previous game use the SDQL:
date,team,o:team@points>120 and p:points>120
The syntax for access to
the NBA player data:
[team:]player name:game reference:parameter. To see the date, team, opponent and
number of points by Kobe Bryant in the game after he scored more than 30 use the
SDQL: date,team,o:team,Kobe Bryant:points@Kobe Bryant:p:points>30
Query Fundamentals:
A query consists of one or more clauses joined by and or or.
Examples:
The query:
50 < Kobe Bryant : points
and
site = away
The explain:
returns home games where Kobe Bryant scored more than 50 points on the road
If no player is given then results for the team are checked. E.g.
The query:
120 < Bulls : points
and
site = home
returns games in which the Bulls scored more than 120 points at home
points < 60
returns games when the team scored fewer than 60 points
Multiple conditions can be imposed using a comma delimited format.
points < 90,100,110
gives results grouped by points < 90, points < 100, and points < 110
You can comma-group on both sides of the inequality as per:
70,80,90,100 < points < 90,100,110
Game Reference
p :
team's previous game
N :
next match up
on :
opponent's next game
P :
previous match up
S :
starter's previous match up start
n :
team's next game
s :
starter's previous start
op :
opponent's previous game
Examples:
The query:
100 < t:rushing yards
and
to:rushing yards < 100
The explain:
Use this SDQL to see how teams do when rushing for more than 100 yards while holding their opponent to few than 100 yards
The query:
40 < p:points
and
40 < p2:points
and
40 < p3:points
and
40 < p4:points
Use this SDQL to see how teams do after scoring more than 40 points their last four games
2*P:points in the paint < Po:points in the paint
and
P:season = season
return games in which the team was outscored in the paint by a factor of 2 in their previous match up
The query:
0.25*p:points<=p:fast break points
and
po:points
The explain:
return games with a team off a win in which they scored at least 25% of their points from fast breaks
Short Cuts
H, A, W, L, F, D, O, U, C, X are short cuts for
home,away,win,loss,favorite,dog,over the total,under the total, and conference.
As with the parameter prefixes, these can be strung together without limit.
Examples:
The query:
HF
×
and
p:HFL
×
and
pp:HFL
×
The explain:
returns home favorites after they just lost as home
favorites their last two games
P:O
×
and
PP:O
×
and
PPP:O
×
and
PPPP:O
×
and
PPPPP:O
×
and
PPPPPP:O
×
The explain:
returns games where teams have gone over the total their
last six matchups
In addition to the above single letter short cuts the
following abbreviations are available:
· 3DA - third downs attempts · 3DF - third down failures · 3DM - third downs made · 3DP - third down conversion percentage · 4DA - fourth downs attempts · 4DF - fourth down failures · 4DM - fourth downs made · 4DP - fourth down conversion percentage · ATSL - ats loss · ATSW - ats win · AWP - Away Winning Percentage · COMP - completions · CP - completion percentage · DIV - divisional game · DTD - defensive touchdowns · FD - first downs · FDP - first down percentage · FG - number of field goals · FUM - fumbles · FUML - fumbles lost · GTGA - goal to go attempted · GTGF - goal to go failed · GTGM - goal to go made · HWP - Home Winning Percentage · INC - incomplete passes · INT - interceptions · M1 - margin after the first · M2 - margin at the half · M3 - margin after the third · NDIV - non-divisional game · NOTD - non-offensive TDs · OFPL - offensive plays · OT - overtime · P1 - points in the first · P2 - points in the second · P3 - points in the third · P4 - points in the fourth · PEN - penalties · PENFD - penalty first downs · PENY - penalty yards · PFD - passing first downs · PO - playoffs · PTD - passing touchdowns · PY - passing yards · REG - regular season · RFD - rushing first downs · RTD - rushing touchdowns · RY - rushing yards · RZA - red zone attempts · RZF - red zone failures · RZM - red zones made · S1 - points in the first · S2 - total points after the second · S3 - total points after the third · SIQ - scored in quarters - the team scored in this many quarters · SY - sack yards · TD - number of touchdowns · TO - turnovers · TOM - turnover margin · TOP - time of possession · TY - total yards · WP - winning percentage · YPC - yards per completion · YPPA - yards per pass · YPPL - yards per play · YPPP - yards per pass play (includes sacks) · YPPT - yards per point · YPRA - yards per rushing attempt
NFL Trend Builder
For a more detailed review of how to use the Trend Builder, go HERE
NFL Field Options
as
Queryable Fields
SimpleSearch Tips
Tips on Asking Questions:
1.) Commas save lives: Lets eat, grandma. Lets eat grandma. Two very different things. Use of commas:
Houston when not a dog coming off a home game
This means Houston is neither a dog nor coming off a home game.
Houston when not a dog, coming off a home game
This means Houston is not a dog and is coming off a home game.
2.) Be precise, literal, and don't assume.
How have the Bengals have done after having won 4 of their last 5 games?
This means how have the Bengals done after having won exactly 4 of their last 5 games. If they won 5 of their last 5 those instances would not appear in your results. If you want know how the Bengals have done after having won AT LEAST 4 of their last 5 games, specify it.
3.) Try to write proper English in a tangible complete sentence.
If you misspell words or don't articulate yourself clearly you're increasing the chances that you won't be understood or get the answer you're looking for. Don't hesitate to ask a question in our Discord Community if you're unsure.
Notes:
1.) We've tested the language learning model to be over 95% accurate at translating English, especially for simpler inquiries, and with its machine learning algorithms
it will only continue to improve. Be aware that SimpleSearch may not understand you or properly translate 100% of the time dependent upon how articulate and concise your question is.
Give your search results a Thumbs Up or Thumbs Down to help it learn. If you don't think it gave you the right answer, let it know. Conversely, if it looks correct, also let it know.
2.) SimpleSearch is not trained on player specific queries, yet.
3.) SDQL itself currently still provides more versatility for detailed searches like open ended queries, list searches, and custom table queries.
4.) SimpleSearch is currently only available for NFL but we are actively working to expand its availability to all other sports.