Simple Question (Direct)
Simple Question
Q16026448
P20
Q20667921
USER
Where did Gaston Roques expire ?
(Q16026448,P20,c(Q20667921))
action filter_type
action find
entity Q16026448
relation P20
type Q20667921
['Q16026448', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16026448 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Gaston Roques
action filter_type
action find
entity Gaston Roques
relation place of death
type type of french administrative division
['Gaston Roques', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Gaston_Roques property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q731781
SYSTEM
Pradinas
Q731781
(Q16026448,P20,c(Q20667921))
action filter_type
action find
entity Q16026448
relation P20
type Q20667921
Gaston Roques expired [ANSWER]
['Q16026448', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q16026448 property:P20 ?z . ?z rdf:type ontology:Q20667921 }
Pradinas
Gaston Roques expired Pradinas
Pradinas
action filter_type
action find
entity Gaston Roques
relation place of death
type type of french administrative division
['Gaston Roques', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Gaston_Roques property:place_of_death ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q731781
P47
Q20667921
USER
Which french administrative divisions are next to the border of that one ?
(c(Q20667921),P47,Q731781)
action filter_type
action find
entity Q731781
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q731781']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q731781 property:P47 ?c }
Pradinas
action filter_type
action find
entity Pradinas
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pradinas']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Pradinas property:shares_border_with ?c }
[]
type of french administrative division
Q1141681 Q1141394 Q942330
SYSTEM
La Salvetat-Peyralès, Rieupeyroux, Cabanès
Q1141681 Q651933 Q1141394 Q1084380 Q1376069 Q942330
(c(Q20667921),P47,Q731781)
action filter_type
action find
entity Q731781
relation P47
type Q20667921
[ANSWERS] are next to the border of that one
[{'concept': 'Q20667921'}, 'P47', 'Q731781']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q731781 property:P47 ?c }
La Salvetat-Peyralès Sauveterre-de-Rouergue Rieupeyroux Castanet Tayrac Cabanès
La Salvetat-Peyralès, Rieupeyroux and Cabanès are next to the border of that one
La Salvetat-Peyralès Rieupeyroux Cabanès
action filter_type
action find
entity Pradinas
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pradinas']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Pradinas property:shares_border_with ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1141681
P1376
Q20667921
USER
What has that one as its capital ?
(Q1141681,P1376,c(Q20667921))
action filter_type
action find
entity Q1141681
relation P1376
type Q20667921
['Q1141681', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q1141681 property:P1376 ?w . ?w rdf:type ontology:Q20667921 }
La Salvetat-Peyralès
action filter_type
action find
entity La Salvetat-Peyralès
relation capital of
type type of french administrative division
['La Salvetat-Peyralès', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:La_Salvetat-Peyralès property:capital_of ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q1141681
SYSTEM
Did you mean La Salvetat-Peyralès ?
Q1141681 Q1141394 Q942330
(Q1141681,P1376,c(Q20667921)) (Q1141394,P1376,c(Q20667921)) (Q942330,P1376,c(Q20667921))
[ANSWER]
['Q1141681', 'P1376', {'concept': 'Q20667921'}] ['Q1141394', 'P1376', {'concept': 'Q20667921'}] ['Q942330', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q1141681 property:P1376 ?w . ?w rdf:type ontology:Q20667921 }
La Salvetat-Peyralès Rieupeyroux Cabanès
Did you mean La Salvetat-Peyralès ?
La Salvetat-Peyralès
['La Salvetat-Peyralès', 'capital of', {'concept': 'type of french administrative division'}] ['Rieupeyroux', 'capital of', {'concept': 'type of french administrative division'}] ['Cabanès', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:La_Salvetat-Peyralès property:capital_of ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1141681,P1376,c(Q20667921))
['Q1141681', 'P1376', {'concept': 'Q20667921'}]
['La Salvetat-Peyralès', 'capital of', {'concept': 'type of french administrative division'}]
[]
Q1725679
SYSTEM
canton of Salvetat-Peyralès
Q1725679
(Q1141681,P1376,c(Q20667921))
action filter_type
action find
entity Q1141681
relation P1376
type Q20667921
The [ANSWER] has that one as its capital
['Q1141681', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q1141681 property:P1376 ?w . ?w rdf:type ontology:Q20667921 }
canton of Salvetat-Peyralès
The canton of Salvetat-Peyralès has that one as its capital
canton of Salvetat-Peyralès
action filter_type
action find
entity La Salvetat-Peyralès
relation capital of
type type of french administrative division
['La Salvetat-Peyralès', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:La_Salvetat-Peyralès property:capital_of ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1725679 Q1141681
P36
Q20667921
USER
Is La Salvetat-Peyralès known as the capital of that one ?
(Q1725679,P36,Q1141681)
action is_in
entity Q1141681
action find
entity Q1725679
relation P36
['Q1725679', 'P36', 'Q1141681']
ASK WHERE { resource:Q1725679 property:P36 resource:Q1141681 }
canton of Salvetat-Peyralès La Salvetat-Peyralès
action is_in
entity La Salvetat-Peyralès
action find
entity canton of Salvetat-Peyralès
relation capital
['canton of Salvetat-Peyralès', 'capital', 'La Salvetat-Peyralès']
ASK WHERE { resource:canton_of_Salvetat-Peyralès property:capital resource:La_Salvetat-Peyralès }
[]
type of french administrative division
SYSTEM
YES
(Q1725679,P36,Q1141681)
action is_in
entity Q1141681
action find
entity Q1725679
relation P36
[ANSWER]
['Q1725679', 'P36', 'Q1141681']
ASK WHERE { resource:Q1725679 property:P36 resource:Q1141681 }
Yes
action is_in
entity La Salvetat-Peyralès
action find
entity canton of Salvetat-Peyralès
relation capital
['canton of Salvetat-Peyralès', 'capital', 'La Salvetat-Peyralès']
ASK WHERE { resource:canton_of_Salvetat-Peyralès property:capital resource:La_Salvetat-Peyralès }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q731781
P19
Q502895
USER
Which person has birthplace at Pradinas ?
(c(Q502895),P19,Q731781)
action filter_type
action find_reverse
entity Q731781
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q731781']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q731781 . ?m rdf:type ontology:Q502895 }
Pradinas
action filter_type
action find_reverse
entity Pradinas
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pradinas']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Pradinas . ?m rdf:type ontology:common_name }
[]
common name
Q16026448
SYSTEM
Gaston Roques
Q16026448
(c(Q502895),P19,Q731781)
action filter_type
action find_reverse
entity Q731781
relation P19
type Q502895
[ANSWER] has birthplace at Pradinas
[{'concept': 'Q502895'}, 'P19', 'Q731781']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q731781 . ?m rdf:type ontology:Q502895 }
Gaston Roques
Gaston Roques has birthplace at Pradinas
Gaston Roques
action filter_type
action find_reverse
entity Pradinas
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pradinas']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Pradinas . ?m rdf:type ontology:common_name }
[]