Simple Question (Direct)
Simple Question
Q519164
P54
Q12973014
USER
Which sports teams are Wenceslas Lauret a member of ?
(Q519164,P54,c(Q12973014))
action filter_type
action find
entity Q519164
relation P54
type Q12973014
['Q519164', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q519164 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
Wenceslas Lauret
action filter_type
action find
entity Wenceslas Lauret
relation member of sports team
type sports team
['Wenceslas Lauret', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Wenceslas_Lauret property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
sports team
Q518116 Q855496
SYSTEM
France national rugby union team, Biarritz Olympique
Q518116 Q855496
(Q519164,P54,c(Q12973014))
action filter_type
action find
entity Q519164
relation P54
type Q12973014
The [ANSWERS] are Wenceslas Lauret a member of
['Q519164', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q519164 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
France national rugby union team Biarritz Olympique
The France national rugby union team and Biarritz Olympique are Wenceslas Lauret a member of
France national rugby union team Biarritz Olympique
action filter_type
action find
entity Wenceslas Lauret
relation member of sports team
type sports team
['Wenceslas Lauret', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Wenceslas_Lauret property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q518116 Q855496
P17
Q15617994
USER
Which administrative territories are those sports teams situated in ?
(Q518116,P17,c(Q15617994)) (Q855496,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q518116', 'P17', {'concept': 'Q15617994'}] ['Q855496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . ?b property:P17 ?z . VALUES ( ?b ) { ( resource:Q518116 ) ( resource:Q855496 ) } }
France national rugby union team Biarritz Olympique
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['France national rugby union team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Biarritz Olympique', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:country ?z . VALUES ( ?b ) { ( resource:France_national_rugby_union_team ) ( resource:Biarritz_Olympique ) } }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q518116,P17,c(Q15617994)) (Q855496,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those sports teams are situated in [ANSWER] and [ANSWER]
['Q518116', 'P17', {'concept': 'Q15617994'}] ['Q855496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . ?b property:P17 ?z . VALUES ( ?b ) { ( resource:Q518116 ) ( resource:Q855496 ) } }
France France
Those sports teams are situated in France and France
France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['France national rugby union team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Biarritz Olympique', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:country ?z . VALUES ( ?b ) { ( resource:France_national_rugby_union_team ) ( resource:Biarritz_Olympique ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q855496
P159
Q20667921
USER
Which french administrative division is the headquarter location of Biarritz Olympique ?
(Q855496,P159,c(Q20667921))
action filter_type
action find
entity Q855496
relation P159
type Q20667921
['Q855496', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q855496 property:P159 ?k . ?k rdf:type ontology:Q20667921 }
Biarritz Olympique
action filter_type
action find
entity Biarritz Olympique
relation headquarters location
type type of french administrative division
['Biarritz Olympique', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Biarritz_Olympique property:headquarters_location ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q132790
SYSTEM
Biarritz
Q132790
(Q855496,P159,c(Q20667921))
action filter_type
action find
entity Q855496
relation P159
type Q20667921
[ANSWER] is the headquarter location of [ANSWER] Olympique
['Q855496', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q855496 property:P159 ?k . ?k rdf:type ontology:Q20667921 }
Biarritz
Biarritz is the headquarter location of Biarritz Olympique
Biarritz
action filter_type
action find
entity Biarritz Olympique
relation headquarters location
type type of french administrative division
['Biarritz Olympique', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Biarritz_Olympique property:headquarters_location ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q132790
P551
Q502895
USER
Which people dwell at that french administrative division ?
(c(Q502895),P551,Q132790)
action filter_type
action find_reverse
entity Q132790
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q132790']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q132790 . ?t rdf:type ontology:Q502895 }
Biarritz
action filter_type
action find_reverse
entity Biarritz
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Biarritz']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Biarritz . ?t rdf:type ontology:common_name }
[]
common name
Q272044 Q7314
SYSTEM
Selima Sfar, Igor Stravinsky
Q272044 Q7314
(c(Q502895),P551,Q132790)
action filter_type
action find_reverse
entity Q132790
relation P551
type Q502895
[ANSWERS] dwell at that french administrative division
[{'concept': 'Q502895'}, 'P551', 'Q132790']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q132790 . ?t rdf:type ontology:Q502895 }
Selima Sfar Igor Stravinsky
Selima Sfar and Igor Stravinsky dwell at that french administrative division
Selima Sfar Igor Stravinsky
action filter_type
action find_reverse
entity Biarritz
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Biarritz']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Biarritz . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q272044 Q7314
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q272044,P106,c(Q12737077)) (Q7314,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q272044', 'P106', {'concept': 'Q12737077'}] ['Q7314', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?m ) { ( resource:Q272044 ) ( resource:Q7314 ) } . ?m property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Selima Sfar Igor Stravinsky
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Selima Sfar', 'occupation', {'concept': 'occupation'}] ['Igor Stravinsky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?m ) { ( resource:Selima_Sfar ) ( resource:Igor_Stravinsky ) } . ?m property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q10833314 Q36834 Q2490358
SYSTEM
tennis player, composer, choreographer
Q10833314 Q2490358 Q158852 Q486748 Q36834 Q15981151
(Q272044,P106,c(Q12737077)) (Q7314,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q272044', 'P106', {'concept': 'Q12737077'}] ['Q7314', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?m ) { ( resource:Q272044 ) ( resource:Q7314 ) } . ?m property:P106 ?t . ?t rdf:type ontology:Q12737077 }
tennis player choreographer conductor pianist composer jazz musician
The professions of those people are tennis player, composer and choreographer
tennis player composer choreographer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Selima Sfar', 'occupation', {'concept': 'occupation'}] ['Igor Stravinsky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?m ) { ( resource:Selima_Sfar ) ( resource:Igor_Stravinsky ) } . ?m property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2490358
P425
Q1914636
USER
Who is associated with the field of occupation that one ?
(Q2490358,P425,c(Q1914636))
action filter_type
action find
entity Q2490358
relation P425
type Q1914636
['Q2490358', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { resource:Q2490358 property:P425 ?o . ?o rdf:type ontology:Q1914636 }
choreographer
action filter_type
action find
entity choreographer
relation field of this occupation
type activity
['choreographer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { resource:choreographer property:field_of_this_occupation ?o . ?o rdf:type ontology:activity }
[]
activity
Clarification for simple ques.
Q2490358
SYSTEM
Did you mean choreographer ?
Q10833314 Q36834 Q2490358
(Q10833314,P425,c(Q1914636)) (Q36834,P425,c(Q1914636)) (Q2490358,P425,c(Q1914636))
[ANSWER]
['Q10833314', 'P425', {'concept': 'Q1914636'}] ['Q36834', 'P425', {'concept': 'Q1914636'}] ['Q2490358', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { resource:Q2490358 property:P425 ?o . ?o rdf:type ontology:Q1914636 }
tennis player composer choreographer
Did you mean choreographer ?
choreographer
['tennis player', 'field of this occupation', {'concept': 'activity'}] ['composer', 'field of this occupation', {'concept': 'activity'}] ['choreographer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { resource:choreographer property:field_of_this_occupation ?o . ?o rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2490358,P425,c(Q1914636))
['Q2490358', 'P425', {'concept': 'Q1914636'}]
['choreographer', 'field of this occupation', {'concept': 'activity'}]
[]
Q180856
SYSTEM
choreography
Q180856
(Q2490358,P425,c(Q1914636))
action filter_type
action find
entity Q2490358
relation P425
type Q1914636
[ANSWER] is associated with the field of occupation that one
['Q2490358', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { resource:Q2490358 property:P425 ?o . ?o rdf:type ontology:Q1914636 }
choreography
Choreography is associated with the field of occupation that one
choreography
action filter_type
action find
entity choreographer
relation field of this occupation
type activity
['choreographer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { resource:choreographer property:field_of_this_occupation ?o . ?o rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q132790
P1376
Q20667921
USER
Which french administrative divisions have Biarritz have their first city ?
(Q132790,P1376,c(Q20667921))
action filter_type
action find
entity Q132790
relation P1376
type Q20667921
['Q132790', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q132790 property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
Biarritz
action filter_type
action find
entity Biarritz
relation capital of
type type of french administrative division
['Biarritz', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Biarritz property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q682573 Q1724477
SYSTEM
canton of Biarritz-Est, canton of Biarritz-Ouest
Q682573 Q1724477
(Q132790,P1376,c(Q20667921))
action filter_type
action find
entity Q132790
relation P1376
type Q20667921
[ANSWERS] have Biarritz have their first city
['Q132790', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q132790 property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
canton of Biarritz-Est canton of Biarritz-Ouest
Canton of Biarritz-Est and canton of Biarritz-Ouest have Biarritz have their first city
canton of Biarritz-Est canton of Biarritz-Ouest
action filter_type
action find
entity Biarritz
relation capital of
type type of french administrative division
['Biarritz', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Biarritz property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1724477
P36
Q20667921
USER
Which french administrative division is the capital of that one ?
(Q1724477,P36,c(Q20667921))
action filter_type
action find
entity Q1724477
relation P36
type Q20667921
['Q1724477', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q1724477 property:P36 ?d . ?d rdf:type ontology:Q20667921 }
canton of Biarritz-Ouest
action filter_type
action find
entity canton of Biarritz-Ouest
relation capital
type type of french administrative division
['canton of Biarritz-Ouest', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:canton_of_Biarritz-Ouest property:capital ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q1724477
SYSTEM
Did you mean canton of Biarritz-Ouest ?
Q682573 Q1724477
(Q682573,P36,c(Q20667921)) (Q1724477,P36,c(Q20667921))
[ANSWER]
['Q682573', 'P36', {'concept': 'Q20667921'}] ['Q1724477', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q1724477 property:P36 ?d . ?d rdf:type ontology:Q20667921 }
canton of Biarritz-Est canton of Biarritz-Ouest
Did you mean canton of Biarritz-Ouest ?
canton of Biarritz-Ouest
['canton of Biarritz-Est', 'capital', {'concept': 'type of french administrative division'}] ['canton of Biarritz-Ouest', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:canton_of_Biarritz-Ouest property:capital ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1724477,P36,c(Q20667921))
['Q1724477', 'P36', {'concept': 'Q20667921'}]
['canton of Biarritz-Ouest', 'capital', {'concept': 'type of french administrative division'}]
[]
Q132790
SYSTEM
Biarritz
Q132790
(Q1724477,P36,c(Q20667921))
action filter_type
action find
entity Q1724477
relation P36
type Q20667921
[ANSWER] is the capital of that one
['Q1724477', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q1724477 property:P36 ?d . ?d rdf:type ontology:Q20667921 }
Biarritz
Biarritz is the capital of that one
Biarritz
action filter_type
action find
entity canton of Biarritz-Ouest
relation capital
type type of french administrative division
['canton of Biarritz-Ouest', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:canton_of_Biarritz-Ouest property:capital ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q132790 Q131132
P119
Q502895
USER
How many people have Biarritz or Order of Saint Benedict as his/her tomb ?
(c(Q502895),P119,Q132790) (c(Q502895),P119,Q131132)
action count
action union
action filter_type
action find_reverse
entity Q132790
relation P119
type Q502895
action filter_type
action find_reverse
entity Q131132
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q132790'] [{'concept': 'Q502895'}, 'P119', 'Q131132']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p property:P119 resource:Q131132 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P119 resource:Q132790 . ?p rdf:type ontology:Q502895 } }
Biarritz Order of Saint Benedict
action count
action union
action filter_type
action find_reverse
entity Biarritz
relation place of burial
type common name
action filter_type
action find_reverse
entity Order of Saint Benedict
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Biarritz'] [{'concept': 'common name'}, 'place of burial', 'Order of Saint Benedict']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p property:place_of_burial resource:Order_of_Saint_Benedict . ?p rdf:type ontology:common_name } UNION { ?p property:place_of_burial resource:Biarritz . ?p rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q20732901 Q353829
(c(Q502895),P119,Q132790) (c(Q502895),P119,Q131132)
action count
action union
action filter_type
action find_reverse
entity Q132790
relation P119
type Q502895
action filter_type
action find_reverse
entity Q131132
relation P119
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P119', 'Q132790'] [{'concept': 'Q502895'}, 'P119', 'Q131132']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p property:P119 resource:Q131132 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P119 resource:Q132790 . ?p rdf:type ontology:Q502895 } }
David Davies Adela of France, Countess of Flanders
2
action count
action union
action filter_type
action find_reverse
entity Biarritz
relation place of burial
type common name
action filter_type
action find_reverse
entity Order of Saint Benedict
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Biarritz'] [{'concept': 'common name'}, 'place of burial', 'Order of Saint Benedict']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { ?p property:place_of_burial resource:Order_of_Saint_Benedict . ?p rdf:type ontology:common_name } UNION { ?p property:place_of_burial resource:Biarritz . ?p rdf:type ontology:common_name } }
[]