Simple Question (Direct)
Simple Question
Q3035043
P106
Q12737077
USER
What are the professions of Dominique Carlier ?
(Q3035043,P106,c(Q12737077))
action filter_type
action find
entity Q3035043
relation P106
type Q12737077
['Q3035043', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q3035043 property:P106 ?l }
Dominique Carlier
action filter_type
action find
entity Dominique Carlier
relation occupation
type occupation
['Dominique Carlier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Dominique_Carlier property:occupation ?l }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q3035043,P106,c(Q12737077))
action filter_type
action find
entity Q3035043
relation P106
type Q12737077
The professions of Dominique Carlier are the [ANSWERS]
['Q3035043', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q3035043 property:P106 ?l }
association football manager association football player
The professions of Dominique Carlier are the association football manager and association football player
association football manager association football player
action filter_type
action find
entity Dominique Carlier
relation occupation
type occupation
['Dominique Carlier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Dominique_Carlier property:occupation ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3035043
P641
Q349
USER
What did Dominique Carlier participate in ?
(Q3035043,P641,c(Q349))
action filter_type
action find
entity Q3035043
relation P641
type Q349
['Q3035043', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q3035043 property:P641 ?c }
Dominique Carlier
action filter_type
action find
entity Dominique Carlier
relation sport
type sport
['Dominique Carlier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Dominique_Carlier property:sport ?c }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3035043,P641,c(Q349))
action filter_type
action find
entity Q3035043
relation P641
type Q349
Dominique Carlier participated in [ANSWER]
['Q3035043', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q3035043 property:P641 ?c }
association football
Dominique Carlier participated in association football
association football
action filter_type
action find
entity Dominique Carlier
relation sport
type sport
['Dominique Carlier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Dominique_Carlier property:sport ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3035043
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q3035043
relation P19
type Q20667921
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q3035043 property:P19 ?e }
Dominique Carlier
action filter_type
action find
entity Dominique Carlier
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Dominique_Carlier property:place_of_birth ?e }
[]
type of french administrative division
Q206539
SYSTEM
Bruay-la-Buissière
Q206539
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q3035043
relation P19
type Q20667921
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q3035043 property:P19 ?e }
Bruay-la-Buissière
That person was born in Bruay-la-Buissière
Bruay-la-Buissière
action filter_type
action find
entity Dominique Carlier
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Dominique_Carlier property:place_of_birth ?e }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3091
Q502895 Q3745054 Q502895
USER
Which people rides on a min number of people and horse breeds ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action argmin
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?m = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?r rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { { ?w property:P3091 ?l . ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q3745054 } UNION { ?w property:P3091 ?l . ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q502895 } } GROUP BY ?w } } }
action argmin
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?m = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?r rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { { ?w property:mount ?l . ?w rdf:type ontology:common_name . ?l rdf:type ontology:horse_breed } UNION { ?w property:mount ?l . ?w rdf:type ontology:common_name . ?l rdf:type ontology:common_name } } GROUP BY ?w } } }
[]
common name horse breed common name
Q34479 Q312391 Q151754
SYSTEM
Hirohito, Philippe Leclerc de Hauteclocque, Anne, Princess Royal
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action argmin
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?m = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?r rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { { ?w property:P3091 ?l . ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q3745054 } UNION { ?w property:P3091 ?l . ?w rdf:type ontology:Q502895 . ?l rdf:type ontology:Q502895 } } GROUP BY ?w } } }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
Hirohito, Philippe Leclerc de Hauteclocque and Anne, Princess Royal ride on a min number of people and horse breeds
Hirohito Philippe Leclerc de Hauteclocque Anne, Princess Royal
action argmin
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?m = ?n ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?r rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?i ) WHERE { { ?w property:mount ?l . ?w rdf:type ontology:common_name . ?l rdf:type ontology:horse_breed } UNION { ?w property:mount ?l . ?w rdf:type ontology:common_name . ?l rdf:type ontology:common_name } } GROUP BY ?w } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:P1303 ?f . ?h rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?e = ?p ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:instrument ?f . ?h rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?e = ?p ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:P1303 ?f . ?h rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?e = ?p ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:instrument ?f . ?h rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?e = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34479
P26
Q502895
USER
Who is married to Hirohito ?
(c(Q502895),P26,Q34479)
action filter_type
action find
entity Q34479
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q34479']
SELECT DISTINCT ?x WHERE { resource:Q34479 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Hirohito
action filter_type
action find
entity Hirohito
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hirohito']
SELECT DISTINCT ?x WHERE { resource:Hirohito property:spouse ?x . ?x rdf:type ontology:common_name }
[]
common name
Q230697
SYSTEM
Kōjun
Q230697
(c(Q502895),P26,Q34479)
action filter_type
action find
entity Q34479
relation P26
type Q502895
[ANSWER] is married to Hirohito
[{'concept': 'Q502895'}, 'P26', 'Q34479']
SELECT DISTINCT ?x WHERE { resource:Q34479 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Kōjun
Kōjun is married to Hirohito
Kōjun
action filter_type
action find
entity Hirohito
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hirohito']
SELECT DISTINCT ?x WHERE { resource:Hirohito property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q206539
P47
Q20667921
USER
Which french administrative divisions share border with Bruay-la-Buissière ?
(c(Q20667921),P47,Q206539)
action filter_type
action find
entity Q206539
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q206539']
SELECT DISTINCT ?b WHERE { resource:Q206539 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Bruay-la-Buissière
action filter_type
action find
entity Bruay-la-Buissière
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Bruay-la-Buissière']
SELECT DISTINCT ?b WHERE { resource:Bruay-la-Buissière property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q380216 Q851072 Q856488
SYSTEM
Houdain, Divion, Calonne-Ricouart
Q851072 Q869520 Q876642 Q380216 Q856488 Q953529 Q531809 Q429745 Q741641
(c(Q20667921),P47,Q206539)
action filter_type
action find
entity Q206539
relation P47
type Q20667921
[ANSWERS] share border with Bruay-la-Buissière
[{'concept': 'Q20667921'}, 'P47', 'Q206539']
SELECT DISTINCT ?b WHERE { resource:Q206539 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Divion Haillicourt Marles-les-Mines Houdain Calonne-Ricouart Labeuvrière Hesdigneul-lès-Béthune Lapugnoy Gosnay
Houdain, Divion and Calonne-Ricouart share border with Bruay-la-Buissière
Houdain Divion Calonne-Ricouart
action filter_type
action find
entity Bruay-la-Buissière
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Bruay-la-Buissière']
SELECT DISTINCT ?b WHERE { resource:Bruay-la-Buissière property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]