Simple Question (Direct)
Simple Question
Q1879
P1344
Q1375427
USER
Which European Championship did Corentin Martins compete in ?
(Q1879,P1344,c(Q1375427))
action filter_type
action find
entity Q1879
relation P1344
type Q1375427
['Q1879', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?g WHERE { resource:Q1879 property:P1344 ?g . ?g rdf:type ontology:Q1375427 }
Corentin Martins
action filter_type
action find
entity Corentin Martins
relation participant of
type European Championship
['Corentin Martins', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?g WHERE { resource:Corentin_Martins property:participant_of ?g . ?g rdf:type ontology:European_Championship }
[]
European Championship
Q180563
SYSTEM
UEFA Euro 1996
Q180563
(Q1879,P1344,c(Q1375427))
action filter_type
action find
entity Q1879
relation P1344
type Q1375427
Corentin Martins competed in [ANSWER]
['Q1879', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?g WHERE { resource:Q1879 property:P1344 ?g . ?g rdf:type ontology:Q1375427 }
UEFA Euro 1996
Corentin Martins competed in UEFA Euro 1996
UEFA Euro 1996
action filter_type
action find
entity Corentin Martins
relation participant of
type European Championship
['Corentin Martins', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?g WHERE { resource:Corentin_Martins property:participant_of ?g . ?g rdf:type ontology:European_Championship }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1879
P19
Q20667921
USER
Where was Corentin Martins born ?
(Q1879,P19,c(Q20667921))
action filter_type
action find
entity Q1879
relation P19
type Q20667921
['Q1879', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q1879 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Corentin Martins
action filter_type
action find
entity Corentin Martins
relation place of birth
type type of french administrative division
['Corentin Martins', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Corentin_Martins property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q12193
SYSTEM
Brest
Q12193
(Q1879,P19,c(Q20667921))
action filter_type
action find
entity Q1879
relation P19
type Q20667921
Corentin Martins was born in [ANSWER]
['Q1879', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q1879 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Brest
Corentin Martins was born in Brest
Brest
action filter_type
action find
entity Corentin Martins
relation place of birth
type type of french administrative division
['Corentin Martins', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Corentin_Martins property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26260539
Q20667921
USER
And what about François Georges Martinez?
(Q26260539,P19,c(Q20667921))
action filter_type
action find
entity Q26260539
relation P19
type Q20667921
['Q26260539', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q26260539 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
François Georges Martinez
action filter_type
action find
entity François Georges Martinez
relation place of birth
type type of french administrative division
['François Georges Martinez', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:François_Georges_Martinez property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22741
SYSTEM
Saverne
Q22741
(Q26260539,P19,c(Q20667921))
action filter_type
action find
entity Q26260539
relation P19
type Q20667921
[ANSWER]
['Q26260539', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q26260539 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Saverne
Saverne
action filter_type
action find
entity François Georges Martinez
relation place of birth
type type of french administrative division
['François Georges Martinez', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:François_Georges_Martinez property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q20667921 Q13220204
USER
How many french administrative divisions and administrative country subdivisions are that french administrative division the capital of ?
(c(Q20667921),P36,Q22741) (c(Q13220204),P36,Q22741) (c(Q20667921),P36,Q22741) (c(Q13220204),P36,Q22741)
action count
action union
action filter_type
action find_reverse
entity Q22741
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q22741
relation P36
type Q13220204
[{'concept': 'Q20667921'}, 'P36', 'Q22741'] [{'concept': 'Q13220204'}, 'P36', 'Q22741'] [{'concept': 'Q20667921'}, 'P36', 'Q22741'] [{'concept': 'Q13220204'}, 'P36', 'Q22741']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P36 resource:Q22741 . ?w rdf:type ontology:Q13220204 } UNION { ?w property:P36 resource:Q22741 . ?w rdf:type ontology:Q20667921 } }
action count
action union
action filter_type
action find_reverse
entity Saverne
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Saverne
relation capital
type second-level administrative country subdivision
[{'concept': 'type of french administrative division'}, 'capital', 'Saverne'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Saverne'] [{'concept': 'type of french administrative division'}, 'capital', 'Saverne'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Saverne']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:capital resource:Saverne . ?w rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?w property:capital resource:Saverne . ?w rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division second-level administrative country subdivision
SYSTEM
1 french administrative divisions and 1 administrative country subdivisions
Q702509 Q1397711
(c(Q20667921),P36,Q22741) (c(Q13220204),P36,Q22741) (c(Q20667921),P36,Q22741) (c(Q13220204),P36,Q22741)
action count
action union
action filter_type
action find_reverse
entity Q22741
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q22741
relation P36
type Q13220204
[ANSWER]
[{'concept': 'Q20667921'}, 'P36', 'Q22741'] [{'concept': 'Q13220204'}, 'P36', 'Q22741'] [{'concept': 'Q20667921'}, 'P36', 'Q22741'] [{'concept': 'Q13220204'}, 'P36', 'Q22741']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P36 resource:Q22741 . ?w rdf:type ontology:Q13220204 } UNION { ?w property:P36 resource:Q22741 . ?w rdf:type ontology:Q20667921 } }
arrondissement of Saverne canton of Saverne
1 french administrative divisions and 1 administrative country subdivisions
action count
action union
action filter_type
action find_reverse
entity Saverne
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Saverne
relation capital
type second-level administrative country subdivision
[{'concept': 'type of french administrative division'}, 'capital', 'Saverne'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Saverne'] [{'concept': 'type of french administrative division'}, 'capital', 'Saverne'] [{'concept': 'second-level administrative country subdivision'}, 'capital', 'Saverne']
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:capital resource:Saverne . ?w rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?w property:capital resource:Saverne . ?w rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180563
P1346
Q1194951
USER
Which national sports team was the champion of UEFA Euro 1996 ?
(Q180563,P1346,c(Q1194951))
action filter_type
action find
entity Q180563
relation P1346
type Q1194951
['Q180563', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1194951 . resource:Q180563 property:P1346 ?t }
UEFA Euro 1996
action filter_type
action find
entity UEFA Euro 1996
relation winner
type national sports team
['UEFA Euro 1996', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:national_sports_team . resource:UEFA_Euro_1996 property:winner ?t }
[]
national sports team
Q43310
SYSTEM
Germany national football team
Q43310
(Q180563,P1346,c(Q1194951))
action filter_type
action find
entity Q180563
relation P1346
type Q1194951
[ANSWER] was the champion of UEFA Euro 1996
['Q180563', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1194951 . resource:Q180563 property:P1346 ?t }
Germany national football team
Germany national football team was the champion of UEFA Euro 1996
Germany national football team
action filter_type
action find
entity UEFA Euro 1996
relation winner
type national sports team
['UEFA Euro 1996', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:national_sports_team . resource:UEFA_Euro_1996 property:winner ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22741
P937
Q502895
USER
Which person have Saverne as their work location ?
(c(Q502895),P937,Q22741)
action filter_type
action find_reverse
entity Q22741
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q22741']
SELECT DISTINCT ?h WHERE { ?h property:P937 resource:Q22741 . ?h rdf:type ontology:Q502895 }
Saverne
action filter_type
action find_reverse
entity Saverne
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saverne']
SELECT DISTINCT ?h WHERE { ?h property:work_location resource:Saverne . ?h rdf:type ontology:common_name }
[]
common name
Q1336987
SYSTEM
Emil Wendling
Q1336987
(c(Q502895),P937,Q22741)
action filter_type
action find_reverse
entity Q22741
relation P937
type Q502895
[ANSWER] have Saverne as their work location
[{'concept': 'Q502895'}, 'P937', 'Q22741']
SELECT DISTINCT ?h WHERE { ?h property:P937 resource:Q22741 . ?h rdf:type ontology:Q502895 }
Emil Wendling
Emil Wendling have Saverne as their work location
Emil Wendling
action filter_type
action find_reverse
entity Saverne
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Saverne']
SELECT DISTINCT ?h WHERE { ?h property:work_location resource:Saverne . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22741
P190
Q56061
USER
Which administrative territories are sister towns of that french administrative division ?
(Q1336987,P190,c(Q56061))
action filter_type
action find
entity Q22741
relation P190
type Q56061
['Q1336987', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q22741 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Saverne
action filter_type
action find
entity Saverne
relation sister city
type administrative territorial entity
['Emil Wendling', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Saverne property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q83062 Q983868
SYSTEM
Donaueschingen, Mława
Q83062 Q983868
(Q1336987,P190,c(Q56061))
action filter_type
action find
entity Q22741
relation P190
type Q56061
[ANSWERS] are sister towns of that french administrative division
['Q1336987', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q22741 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Donaueschingen Mława
Donaueschingen and Mława are sister towns of that french administrative division
Donaueschingen Mława
action filter_type
action find
entity Saverne
relation sister city
type administrative territorial entity
['Emil Wendling', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Saverne property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7944782 Q1879
P54
Q1194951
USER
Which national sports teams have Corentin Martins or Vítor Campos as their member ?
OR((Q1879,P54,c(Q1194951)), (Q7944782,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q1879
relation P54
action find
entity Q7944782
relation P54
type Q1194951
{'OR': [['Q1879', 'P54', {'concept': 'Q1194951'}], ['Q7944782', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1879 property:P54 ?x } UNION { resource:Q7944782 property:P54 ?x } } . ?x rdf:type ontology:Q1194951 }
Vítor Campos Corentin Martins
action filter_type
action union
action find
entity Corentin Martins
relation member of sports team
action find
entity Vítor Campos
relation member of sports team
type national sports team
{'OR': [['Corentin Martins', 'member of sports team', {'concept': 'national sports team'}], ['Vítor Campos', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Corentin_Martins property:member_of_sports_team ?x } UNION { resource:Vítor_Campos property:member_of_sports_team ?x } } . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q910598 Q267245 Q47774
SYSTEM
Brittany national football team, Portugal national football team, France national football team
Q910598 Q267245 Q47774
OR((Q1879,P54,c(Q1194951)), (Q7944782,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q1879
relation P54
action find
entity Q7944782
relation P54
type Q1194951
[ANSWERS] have Corentin Martins or Vítor Campos as their member
{'OR': [['Q1879', 'P54', {'concept': 'Q1194951'}], ['Q7944782', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1879 property:P54 ?x } UNION { resource:Q7944782 property:P54 ?x } } . ?x rdf:type ontology:Q1194951 }
Brittany national football team Portugal national football team France national football team
Brittany national football team, Portugal national football team and France national football team have Corentin Martins or Vítor Campos as their member
Brittany national football team Portugal national football team France national football team
action filter_type
action union
action find
entity Corentin Martins
relation member of sports team
action find
entity Vítor Campos
relation member of sports team
type national sports team
{'OR': [['Corentin Martins', 'member of sports team', {'concept': 'national sports team'}], ['Vítor Campos', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Corentin_Martins property:member_of_sports_team ?x } UNION { resource:Vítor_Campos property:member_of_sports_team ?x } } . ?x rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q867551 Q22741
P47
Q20667921
USER
Which french administrative divisions are adjacent to Saverne or Tugny-et-Pont ?
OR((Q22741,P47,c(Q20667921)), (Q867551,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q22741
relation P47
action find
entity Q867551
relation P47
type Q20667921
{'OR': [['Q22741', 'P47', {'concept': 'Q20667921'}], ['Q867551', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q22741 property:P47 ?d } UNION { resource:Q867551 property:P47 ?d } } . ?d rdf:type ontology:Q20667921 }
Tugny-et-Pont Saverne
action filter_type
action union
action find
entity Saverne
relation shares border with
action find
entity Tugny-et-Pont
relation shares border with
type type of french administrative division
{'OR': [['Saverne', 'shares border with', {'concept': 'type of french administrative division'}], ['Tugny-et-Pont', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Saverne property:shares_border_with ?d } UNION { resource:Tugny-et-Pont property:shares_border_with ?d } } . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q677435 Q864562 Q21888 Q21396 Q21278 Q21353 Q22474 Q21332 Q1062168 Q325532
SYSTEM
Some of them are Artemps, Bray-Saint-Christophe, Danne-et-Quatre-Vents, Otterswiller, Gottenhouse, Ottersthal, Monswiller, Furchhausen, Dury, Saint-Simon
Q21332 Q849892 Q1062168 Q21546 Q21888 Q21293 Q846302 Q21278 Q21798 Q21376 Q21396 Q22474 Q325532 Q864562 Q21353 Q677435
OR((Q22741,P47,c(Q20667921)), (Q867551,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q22741
relation P47
action find
entity Q867551
relation P47
type Q20667921
[ANSWERS] are adjacent to Saverne or Tugny-et-Pont
{'OR': [['Q22741', 'P47', {'concept': 'Q20667921'}], ['Q867551', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q22741 property:P47 ?d } UNION { resource:Q867551 property:P47 ?d } } . ?d rdf:type ontology:Q20667921 }
Furchhausen Fluquières Dury Haegen Danne-et-Quatre-Vents Eckartswiller Happencourt Gottenhouse Waldolwisheim Schwenheim Otterswiller Monswiller Saint-Simon Bray-Saint-Christophe Ottersthal Artemps
Artemps, Bray-Saint-Christophe, Danne-et-Quatre-Vents, Otterswiller, Gottenhouse, Ottersthal, Monswiller, Furchhausen, Dury and Saint-Simon are adjacent to Saverne or Tugny-et-Pont
Artemps Bray-Saint-Christophe Danne-et-Quatre-Vents Otterswiller Gottenhouse Ottersthal Monswiller Furchhausen Dury Saint-Simon
action filter_type
action union
action find
entity Saverne
relation shares border with
action find
entity Tugny-et-Pont
relation shares border with
type type of french administrative division
{'OR': [['Saverne', 'shares border with', {'concept': 'type of french administrative division'}], ['Tugny-et-Pont', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Saverne property:shares_border_with ?d } UNION { resource:Tugny-et-Pont property:shares_border_with ?d } } . ?d rdf:type ontology:type_of_french_administrative_division }
[]