Simple Question (Direct)
Simple Question
Q455748
P102
Q7278
USER
Which political party is Rodrigo Rato a member of ?
(Q455748,P102,c(Q7278))
action filter_type
action find
entity Q455748
relation P102
type Q7278
['Q455748', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { resource:Q455748 property:P102 ?l . ?l rdf:type ontology:Q7278 }
Rodrigo Rato
action filter_type
action find
entity Rodrigo Rato
relation member of political party
type political party
['Rodrigo Rato', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { resource:Rodrigo_Rato property:member_of_political_party ?l . ?l rdf:type ontology:political_party }
[]
political party
Q185088
SYSTEM
People's Party
Q185088
(Q455748,P102,c(Q7278))
action filter_type
action find
entity Q455748
relation P102
type Q7278
[ANSWER]
['Q455748', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { resource:Q455748 property:P102 ?l . ?l rdf:type ontology:Q7278 }
People's Party
People's Party
action filter_type
action find
entity Rodrigo Rato
relation member of political party
type political party
['Rodrigo Rato', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { resource:Rodrigo_Rato property:member_of_political_party ?l . ?l rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q185088
P361
Q43229
USER
Which organization is a component of that political party ?
(c(Q43229),P361,Q185088)
action filter_type
action find_reverse
entity Q185088
relation P361
type Q43229
[{'concept': 'Q43229'}, 'P361', 'Q185088']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q185088 . ?j rdf:type ontology:Q43229 }
People's Party
action filter_type
action find_reverse
entity People's Party
relation part of
type organization
[{'concept': 'organization'}, 'part of', "People's Party"]
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:People's_Party . ?j rdf:type ontology:organization }
[]
organization
Q4890539
SYSTEM
New Generations of the People's Party of Spain
Q4890539
(c(Q43229),P361,Q185088)
action filter_type
action find_reverse
entity Q185088
relation P361
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P361', 'Q185088']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q185088 . ?j rdf:type ontology:Q43229 }
New Generations of the People's Party of Spain
New Generations of the People's Party of Spain
action filter_type
action find_reverse
entity People's Party
relation part of
type organization
[{'concept': 'organization'}, 'part of', "People's Party"]
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:People's_Party . ?j rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q455748
P6
Q1048835
USER
Which political territory has Rodrigo Rato as its head of government ?
(c(Q1048835),P6,Q455748)
action filter_type
action find_reverse
entity Q455748
relation P6
type Q1048835
[{'concept': 'Q1048835'}, 'P6', 'Q455748']
SELECT DISTINCT ?l WHERE { ?l property:P6 resource:Q455748 . ?l rdf:type ontology:Q1048835 }
Rodrigo Rato
action filter_type
action find_reverse
entity Rodrigo Rato
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Rodrigo Rato']
SELECT DISTINCT ?l WHERE { ?l property:head_of_government resource:Rodrigo_Rato . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1807318
SYSTEM
Navares de las Cuevas
Q1807318
(c(Q1048835),P6,Q455748)
action filter_type
action find_reverse
entity Q455748
relation P6
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P6', 'Q455748']
SELECT DISTINCT ?l WHERE { ?l property:P6 resource:Q455748 . ?l rdf:type ontology:Q1048835 }
Navares de las Cuevas
Navares de las Cuevas
action filter_type
action find_reverse
entity Rodrigo Rato
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Rodrigo Rato']
SELECT DISTINCT ?l WHERE { ?l property:head_of_government resource:Rodrigo_Rato . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q455748
P937
Q56061
USER
Which administrative territory is the work location of Rodrigo Rato ?
(Q455748,P937,c(Q56061))
action filter_type
action find
entity Q455748
relation P937
type Q56061
['Q455748', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q455748 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Rodrigo Rato
action filter_type
action find
entity Rodrigo Rato
relation work location
type administrative territorial entity
['Rodrigo Rato', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Rodrigo_Rato property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q455748,P937,c(Q56061))
action filter_type
action find
entity Q455748
relation P937
type Q56061
[ANSWER]
['Q455748', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q455748 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Madrid
Madrid
action filter_type
action find
entity Rodrigo Rato
relation work location
type administrative territorial entity
['Rodrigo Rato', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Rodrigo_Rato property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185088
P462
Q4373292
USER
What is the color of People's Party ?
(Q185088,P462,c(Q4373292))
action filter_type
action find
entity Q185088
relation P462
type Q4373292
['Q185088', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?c WHERE { resource:Q185088 property:P462 ?c . ?c rdf:type ontology:Q4373292 }
People's Party
action filter_type
action find
entity People's Party
relation color
type physical property
["People's Party", 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?c WHERE { resource:People's_Party property:color ?c . ?c rdf:type ontology:physical_property }
[]
physical property
Q373160
SYSTEM
sky blue
Q373160
(Q185088,P462,c(Q4373292))
action filter_type
action find
entity Q185088
relation P462
type Q4373292
[ANSWER]
['Q185088', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?c WHERE { resource:Q185088 property:P462 ?c . ?c rdf:type ontology:Q4373292 }
sky blue
sky blue
action filter_type
action find
entity People's Party
relation color
type physical property
["People's Party", 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?c WHERE { resource:People's_Party property:color ?c . ?c rdf:type ontology:physical_property }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P1001
Q6501447
USER
Which local government has control over the jurisdiction of Madrid ?
(c(Q6501447),P1001,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P1001
type Q6501447
[{'concept': 'Q6501447'}, 'P1001', 'Q2807']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q2807 . ?i rdf:type ontology:Q6501447 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation applies to jurisdiction
type local government
[{'concept': 'local government'}, 'applies to jurisdiction', 'Madrid']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Madrid . ?i rdf:type ontology:local_government }
[]
local government
Q3773976
SYSTEM
Madrid City Council
Q3773976
(c(Q6501447),P1001,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P1001
type Q6501447
[ANSWER]
[{'concept': 'Q6501447'}, 'P1001', 'Q2807']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q2807 . ?i rdf:type ontology:Q6501447 }
Madrid City Council
Madrid City Council
action filter_type
action find_reverse
entity Madrid
relation applies to jurisdiction
type local government
[{'concept': 'local government'}, 'applies to jurisdiction', 'Madrid']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Madrid . ?i rdf:type ontology:local_government }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3773976
P108
Q502895
USER
Which person works for that local government ?
(c(Q502895),P108,Q3773976)
action filter_type
action find_reverse
entity Q3773976
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q3773976']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P108 resource:Q3773976 }
Madrid City Council
action filter_type
action find_reverse
entity Madrid City Council
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Madrid City Council']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:employer resource:Madrid_City_Council }
[]
common name
Q5759893
SYSTEM
Cecilio Rodríguez
Q5759893
(c(Q502895),P108,Q3773976)
action filter_type
action find_reverse
entity Q3773976
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q3773976']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P108 resource:Q3773976 }
Cecilio Rodríguez
Cecilio Rodríguez
action filter_type
action find_reverse
entity Madrid City Council
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Madrid City Council']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:employer resource:Madrid_City_Council }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3773976
P137
Q811430
USER
Which construction is the administrator of Madrid City Council ?
(c(Q811430),P137,Q3773976)
action filter_type
action find_reverse
entity Q3773976
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q3773976']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q3773976 . ?g rdf:type ontology:Q811430 }
Madrid City Council
action filter_type
action find_reverse
entity Madrid City Council
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Madrid City Council']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Madrid_City_Council . ?g rdf:type ontology:construction }
[]
construction
Q1635932
SYSTEM
Palacio Vistalegre
Q1635932
(c(Q811430),P137,Q3773976)
action filter_type
action find_reverse
entity Q3773976
relation P137
type Q811430
[ANSWER]
[{'concept': 'Q811430'}, 'P137', 'Q3773976']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q3773976 . ?g rdf:type ontology:Q811430 }
Palacio Vistalegre
Palacio Vistalegre
action filter_type
action find_reverse
entity Madrid City Council
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Madrid City Council']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Madrid_City_Council . ?g rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1635932
P115
Q12973014
USER
Which sports team has that construction as its ground ?
(c(Q12973014),P115,Q1635932)
action filter_type
action find_reverse
entity Q1635932
relation P115
type Q12973014
[{'concept': 'Q12973014'}, 'P115', 'Q1635932']
SELECT DISTINCT ?d WHERE { ?d property:P115 resource:Q1635932 . ?d rdf:type ontology:Q12973014 }
Palacio Vistalegre
action filter_type
action find_reverse
entity Palacio Vistalegre
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Palacio Vistalegre']
SELECT DISTINCT ?d WHERE { ?d property:home_venue resource:Palacio_Vistalegre . ?d rdf:type ontology:sports_team }
[]
sports team
Q54922
SYSTEM
Real Madrid Baloncesto
Q54922
(c(Q12973014),P115,Q1635932)
action filter_type
action find_reverse
entity Q1635932
relation P115
type Q12973014
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', 'Q1635932']
SELECT DISTINCT ?d WHERE { ?d property:P115 resource:Q1635932 . ?d rdf:type ontology:Q12973014 }
Real Madrid Baloncesto
Real Madrid Baloncesto
action filter_type
action find_reverse
entity Palacio Vistalegre
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Palacio Vistalegre']
SELECT DISTINCT ?d WHERE { ?d property:home_venue resource:Palacio_Vistalegre . ?d rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q54922 Q320536
P17
Q15617994
USER
Is that sports team present in Principality Werle ?
(Q54922,P17,Q320536)
action is_in
entity Q320536
action find
entity Q54922
relation P17
['Q54922', 'P17', 'Q320536']
ASK WHERE { resource:Q54922 property:P17 resource:Q320536 }
Real Madrid Baloncesto Principality Werle
action is_in
entity Principality Werle
action find
entity Real Madrid Baloncesto
relation country
['Real Madrid Baloncesto', 'country', 'Principality Werle']
ASK WHERE { resource:Real_Madrid_Baloncesto property:country resource:Principality_Werle }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q54922,P17,Q320536)
action is_in
entity Q320536
action find
entity Q54922
relation P17
[ANSWER]
['Q54922', 'P17', 'Q320536']
ASK WHERE { resource:Q54922 property:P17 resource:Q320536 }
No
action is_in
entity Principality Werle
action find
entity Real Madrid Baloncesto
relation country
['Real Madrid Baloncesto', 'country', 'Principality Werle']
ASK WHERE { resource:Real_Madrid_Baloncesto property:country resource:Principality_Werle }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q10962
P641
Q349 Q12973014
USER
How many sports did less number of sports teams participate in than rugby league ?
(c(Q12973014),P641,c(Q349))
action count
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q10962
relation P641
type Q12973014
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P641 ?q . ?c rdf:type ontology:Q12973014 . ?q rdf:type ontology:Q349 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P641 resource:Q10962 . ?m rdf:type ontology:Q12973014 } } . FILTER ( ?h < ?g ) }
rugby league
action count
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity rugby league
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:sport ?q . ?c rdf:type ontology:sports_team . ?q rdf:type ontology:sport } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:sport resource:rugby_league . ?m rdf:type ontology:sports_team } } . FILTER ( ?h < ?g ) }
[]
sport sports team
SYSTEM
168
Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q2887217 Q7856 Q599204 Q5377 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014),P641,c(Q349))
action count
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q10962
relation P641
type Q12973014
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P641 ?q . ?c rdf:type ontology:Q12973014 . ?q rdf:type ontology:Q349 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P641 resource:Q10962 . ?m rdf:type ontology:Q12973014 } } . FILTER ( ?h < ?g ) }
college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi women's basketball rallying rallycross golf shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
168
action count
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity rugby league
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:sport ?q . ?c rdf:type ontology:sports_team . ?q rdf:type ontology:sport } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:sport resource:rugby_league . ?m rdf:type ontology:sports_team } } . FILTER ( ?h < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q500050
P641
Q349 Q12973014
USER
And how about cross country running?
(c(Q12973014),P641,c(Q349))
action count
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q500050
relation P641
type Q12973014
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P641 ?l . ?l rdf:type ontology:Q349 . ?j rdf:type ontology:Q12973014 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P641 resource:Q500050 . ?i rdf:type ontology:Q12973014 } } . FILTER ( ?v < ?s ) }
cross country running
action count
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity cross country running
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:sport ?l . ?l rdf:type ontology:sport . ?j rdf:type ontology:sports_team } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:sport resource:cross_country_running . ?i rdf:type ontology:sports_team } } . FILTER ( ?v < ?s ) }
[]
sport sports team
SYSTEM
146
Q1109032 Q4543 Q170737 Q114466 Q12100 Q2348250 Q3337306 Q193387 Q108429 Q191051 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q2887217 Q599204 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q61465 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q797108 Q2167372 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014),P641,c(Q349))
action count
action less
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find_reverse
entity Q500050
relation P641
type Q12973014
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P641 ?l . ?l rdf:type ontology:Q349 . ?j rdf:type ontology:Q12973014 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P641 resource:Q500050 . ?i rdf:type ontology:Q12973014 } } . FILTER ( ?v < ?s ) }
college football beach volleyball long jump mixed martial arts fencing team time trial yachting croquet archery windsurfing snocross rink bandy BASE jumping para rowing Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi women's basketball rallycross shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football jeu de paume fell running real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing Nordic walking hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing kick boxing women's tennis Kalari surfing combined track and field events cue sports Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
146
action count
action less
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find_reverse
entity cross country running
relation sport
type sports team
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:sport ?l . ?l rdf:type ontology:sport . ?j rdf:type ontology:sports_team } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:sport resource:cross_country_running . ?i rdf:type ontology:sports_team } } . FILTER ( ?v < ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185088
P463
Q7278
USER
Which political party had People's Party as its member ?
(Q185088,P463,c(Q7278))
action filter_type
action find
entity Q185088
relation P463
type Q7278
['Q185088', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7278 . resource:Q185088 property:P463 ?l }
People's Party
action filter_type
action find
entity People's Party
relation member of
type political party
["People's Party", 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_party . resource:People's_Party property:member_of ?l }
[]
political party
Q208242
SYSTEM
European People's Party
Q208242
(Q185088,P463,c(Q7278))
action filter_type
action find
entity Q185088
relation P463
type Q7278
[ANSWER]
['Q185088', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7278 . resource:Q185088 property:P463 ?l }
European People's Party
European People's Party
action filter_type
action find
entity People's Party
relation member of
type political party
["People's Party", 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_party . resource:People's_Party property:member_of ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q208242
P1142
Q1047113 Q7257
USER
How many special fields or ideologies are the ideology of European People's Party ?
(Q208242,P1142,c(Q1047113)) (Q208242,P1142,c(Q7257))
action count
action union
action filter_type
action find
entity Q208242
relation P1142
type Q1047113
action filter_type
action find
entity Q208242
relation P1142
type Q7257
['Q208242', 'P1142', {'concept': 'Q1047113'}] ['Q208242', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } }
European People's Party
action count
action union
action filter_type
action find
entity European People's Party
relation political ideology
type special field
action filter_type
action find
entity European People's Party
relation political ideology
type ideology
["European People's Party", 'political ideology', {'concept': 'special field'}] ["European People's Party", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:special_field ) ( ontology:ideology ) } }
[]
special field ideology
SYSTEM
3
Q209158 Q1043096 Q7169
(Q208242,P1142,c(Q1047113)) (Q208242,P1142,c(Q7257))
action count
action union
action filter_type
action find
entity Q208242
relation P1142
type Q1047113
action filter_type
action find
entity Q208242
relation P1142
type Q7257
[ANSWER]
['Q208242', 'P1142', {'concept': 'Q1047113'}] ['Q208242', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } }
Christian democracy liberal conservatism conservatism
3
action count
action union
action filter_type
action find
entity European People's Party
relation political ideology
type special field
action filter_type
action find
entity European People's Party
relation political ideology
type ideology
["European People's Party", 'political ideology', {'concept': 'special field'}] ["European People's Party", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:special_field ) ( ontology:ideology ) } }
[]