Simple Question (Direct)
Simple Question
Q1458953
P641
Q349
USER
Which sport did Loris Boni participate in ?
(Q1458953,P641,c(Q349))
action filter_type
action find
entity Q1458953
relation P641
type Q349
['Q1458953', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1458953 property:P641 ?g . ?g rdf:type ontology:Q349 }
Loris Boni
action filter_type
action find
entity Loris Boni
relation sport
type sport
['Loris Boni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Loris_Boni property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1458953,P641,c(Q349))
action filter_type
action find
entity Q1458953
relation P641
type Q349
Loris Boni participated in [ANSWER]
['Q1458953', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1458953 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Loris Boni participated in association football
association football
action filter_type
action find
entity Loris Boni
relation sport
type sport
['Loris Boni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Loris_Boni property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?v WHERE { resource:Q2736 property:P495 ?v . ?v rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:association_football property:country_of_origin ?v . ?v rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?v WHERE { resource:Q2736 property:P495 ?v . ?v rdf:type ontology:Q1496967 }
England
The origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:association_football property:country_of_origin ?v . ?v rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q349 Q502895 Q12973014
USER
Which sports did min number of people and sports teams participate in ?
(c(Q502895)|c(Q12973014),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q349 . ?j rdf:type ontology:Q502895 . ?j property:P641 ?p } UNION { ?j property:P641 ?p . ?p rdf:type ontology:Q349 . ?j rdf:type ontology:Q12973014 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q12973014 ) } . ?v rdf:type ?z } GROUP BY ?s } . FILTER ( ?k = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:sport . ?j rdf:type ontology:common_name . ?j property:sport ?p } UNION { ?j property:sport ?p . ?p rdf:type ontology:sport . ?j rdf:type ontology:sports_team } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?s WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:sports_team ) } . ?v rdf:type ?z } GROUP BY ?s } . FILTER ( ?k = ?g ) }
[]
sport common name sports team
Q809831 Q2701632 Q193387
SYSTEM
BASE jumping, muggle quidditch, croquet
Q2348250 Q193387 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q192832 Q601972 Q27672886 Q338208 Q148636 Q2887217 Q1050588 Q592031 Q1345388 Q1866478 Q2302906 Q231200 Q990637 Q1358545 Q212434 Q61065 Q4429020 Q14300548 Q4245261 Q3177899 Q4347112 Q2167372 Q1078835 Q1899731 Q943526 Q1063445 Q3325635 Q2701632 Q1875777 Q14405929 Q1129021 Q17988507 Q1784241 Q1188693
(c(Q502895)|c(Q12973014),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
Min number of people and sports teams participated in the [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q349 . ?j rdf:type ontology:Q502895 . ?j property:P641 ?p } UNION { ?j property:P641 ?p . ?p rdf:type ontology:Q349 . ?j rdf:type ontology:Q12973014 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q12973014 ) } . ?v rdf:type ?z } GROUP BY ?s } . FILTER ( ?k = ?g ) }
team time trial croquet snocross rink bandy BASE jumping para rowing Ultimate memory sport paintball Camogie Flying disc games giant slalom skiing Kabaddi women's basketball fistball wingsuit flying greyhound racing American handball Box lacrosse netball Broomball arena football Olympic sport water sport competition aerobatics skating touring car racing bowling strength athletics fell running Powerchair Football Frisian handball Castell nine-ball Valencian trinquet muggle quidditch air racing high diving super giant slalom skiing women's tennis korbball mind sport
Min number of people and sports teams participated in the BASE jumping, muggle quidditch and croquet
BASE jumping muggle quidditch croquet
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:sport . ?j rdf:type ontology:common_name . ?j property:sport ?p } UNION { ?j property:sport ?p . ?p rdf:type ontology:sport . ?j rdf:type ontology:sports_team } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?s WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:sports_team ) } . ?v rdf:type ?z } GROUP BY ?s } . FILTER ( ?k = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21 Q26
P1532
Q502895
USER
How many people represent England and Northern Ireland ?
(c(Q502895),P1532,Q21) (c(Q502895),P1532,Q26)
action count
action intersection
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q26
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q21'] [{'concept': 'Q502895'}, 'P1532', 'Q26']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:Q502895 . ?t property:P1532 resource:Q21 . ?t property:P1532 resource:Q26 . ?t rdf:type ontology:Q502895 }
England Northern Ireland
action count
action intersection
action filter_type
action find_reverse
entity England
relation country for sport
type common name
action filter_type
action find_reverse
entity Northern Ireland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'England'] [{'concept': 'common name'}, 'country for sport', 'Northern Ireland']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:common_name . ?t property:country_for_sport resource:England . ?t property:country_for_sport resource:Northern_Ireland . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q27062578 Q6405342
(c(Q502895),P1532,Q21) (c(Q502895),P1532,Q26)
action count
action intersection
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q26
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1532', 'Q21'] [{'concept': 'Q502895'}, 'P1532', 'Q26']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:Q502895 . ?t property:P1532 resource:Q21 . ?t property:P1532 resource:Q26 . ?t rdf:type ontology:Q502895 }
John Doherty Kieran Brookes
2
action count
action intersection
action filter_type
action find_reverse
entity England
relation country for sport
type common name
action filter_type
action find_reverse
entity Northern Ireland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'England'] [{'concept': 'common name'}, 'country for sport', 'Northern Ireland']
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:common_name . ?t property:country_for_sport resource:England . ?t property:country_for_sport resource:Northern_Ireland . ?t rdf:type ontology:common_name }
[]