Simple Question (Direct)
Simple Question
Q3165526
P27
Q15617994
USER
Which administrative territory does Jean-François Charbonnier belong to ?
(Q3165526,P27,c(Q15617994))
action filter_type
action find
entity Q3165526
relation P27
type Q15617994
['Q3165526', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3165526 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Jean-François Charbonnier
action filter_type
action find
entity Jean-François Charbonnier
relation country of citizenship
type designation for an administrative territorial entity
['Jean-François Charbonnier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jean-François_Charbonnier property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3165526,P27,c(Q15617994))
action filter_type
action find
entity Q3165526
relation P27
type Q15617994
Jean-François Charbonnier belongs to [ANSWER]
['Q3165526', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3165526 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
France
Jean-François Charbonnier belongs to France
France
action filter_type
action find
entity Jean-François Charbonnier
relation country of citizenship
type designation for an administrative territorial entity
['Jean-François Charbonnier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jean-François_Charbonnier property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3165526
P19
Q515
USER
Which city was Jean-François Charbonnier born in ?
(Q3165526,P19,c(Q515))
action filter_type
action find
entity Q3165526
relation P19
type Q515
['Q3165526', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q3165526 property:P19 ?n . ?n rdf:type ontology:Q515 }
Jean-François Charbonnier
action filter_type
action find
entity Jean-François Charbonnier
relation place of birth
type city
['Jean-François Charbonnier', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Jean-François_Charbonnier property:place_of_birth ?n . ?n rdf:type ontology:city }
[]
city
Q456
SYSTEM
Lyon
Q456
(Q3165526,P19,c(Q515))
action filter_type
action find
entity Q3165526
relation P19
type Q515
Jean-François Charbonnier was born in [ANSWER]
['Q3165526', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q3165526 property:P19 ?n . ?n rdf:type ontology:Q515 }
Lyon
Jean-François Charbonnier was born in Lyon
Lyon
action filter_type
action find
entity Jean-François Charbonnier
relation place of birth
type city
['Jean-François Charbonnier', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Jean-François_Charbonnier property:place_of_birth ?n . ?n rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3165526
P106
Q12737077
USER
What is the job of Jean-François Charbonnier ?
(Q3165526,P106,c(Q12737077))
action filter_type
action find
entity Q3165526
relation P106
type Q12737077
['Q3165526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3165526 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Jean-François Charbonnier
action filter_type
action find
entity Jean-François Charbonnier
relation occupation
type occupation
['Jean-François Charbonnier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jean-François_Charbonnier property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3165526,P106,c(Q12737077))
action filter_type
action find
entity Q3165526
relation P106
type Q12737077
The job of Jean-François Charbonnier is an [ANSWER]
['Q3165526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3165526 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
association football player
The job of Jean-François Charbonnier is an association football player
association football player
action filter_type
action find
entity Jean-François Charbonnier
relation occupation
type occupation
['Jean-François Charbonnier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jean-François_Charbonnier property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q45707 Q456
P47
Q20667921
USER
Which french administrative divisions share the border with Lyon or Baizieux ?
OR((Q456,P47,c(Q20667921)), (Q45707,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q456
relation P47
action find
entity Q45707
relation P47
type Q20667921
{'OR': [['Q456', 'P47', {'concept': 'Q20667921'}], ['Q45707', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q456 property:P47 ?b } UNION { resource:Q45707 property:P47 ?b } } . ?b rdf:type ontology:Q20667921 }
Baizieux Lyon
action filter_type
action union
action find
entity Lyon
relation shares border with
action find
entity Baizieux
relation shares border with
type type of french administrative division
{'OR': [['Lyon', 'shares border with', {'concept': 'type of french administrative division'}], ['Baizieux', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Lyon property:shares_border_with ?b } UNION { resource:Baizieux property:shares_border_with ?b } } . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q816417 Q244717 Q8358 Q13598 Q1469657 Q1090395 Q273748 Q1615759 Q387460 Q1291
SYSTEM
Some of them are Warloy-Baillon, Caluire-et-Cuire, Oullins, Vénissieux, Collonges-au-Mont-d'Or, Bresle, Écully, Saint-Cyr-au-Mont-d'Or, Sainte-Foy-lès-Lyon, Bron
Q534326 Q244717 Q1617042 Q58862 Q1291 Q8358 Q1617501 Q1469657 Q4054 Q1617133 Q828676 Q772460 Q691124 Q1615759 Q387460 Q860970 Q45648 Q1090395 Q143907 Q1647506 Q13598 Q273748 Q816417 Q626976
OR((Q456,P47,c(Q20667921)), (Q45707,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q456
relation P47
action find
entity Q45707
relation P47
type Q20667921
[ANSWERS] share the border with Lyon or Baizieux
{'OR': [['Q456', 'P47', {'concept': 'Q20667921'}], ['Q45707', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q456 property:P47 ?b } UNION { resource:Q45707 property:P47 ?b } } . ?b rdf:type ontology:Q20667921 }
Béhencourt Caluire-et-Cuire Pierre-Bénite Contay Bron Oullins Saint-Didier-au-Mont-d'Or Collonges-au-Mont-d'Or Francheville, Rhône Champagne-au-Mont-d'Or Saint-Fons La Mulatière Heilly Saint-Cyr-au-Mont-d'Or Sainte-Foy-lès-Lyon Vadencourt Bavelincourt Bresle Franvillers Tassin-la-Demi-Lune Vénissieux Écully Warloy-Baillon Ribemont-sur-Ancre
Warloy-Baillon, Caluire-et-Cuire, Oullins, Vénissieux, Collonges-au-Mont-d'Or, Bresle, Écully, Saint-Cyr-au-Mont-d'Or, Sainte-Foy-lès-Lyon and Bron share the border with Lyon or Baizieux
Warloy-Baillon Caluire-et-Cuire Oullins Vénissieux Collonges-au-Mont-d'Or Bresle Écully Saint-Cyr-au-Mont-d'Or Sainte-Foy-lès-Lyon Bron
action filter_type
action union
action find
entity Lyon
relation shares border with
action find
entity Baizieux
relation shares border with
type type of french administrative division
{'OR': [['Lyon', 'shares border with', {'concept': 'type of french administrative division'}], ['Baizieux', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Lyon property:shares_border_with ?b } UNION { resource:Baizieux property:shares_border_with ?b } } . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q515 Q20667921
USER
How many cities or french administrative divisions share the border with that french administrative division ?
(Q1291,P47,c(Q515)) (Q1291,P47,c(Q20667921)) (Q816417,P47,c(Q515)) (Q816417,P47,c(Q20667921)) (Q244717,P47,c(Q515)) (Q244717,P47,c(Q20667921)) (Q8358,P47,c(Q515)) (Q8358,P47,c(Q20667921)) (Q13598,P47,c(Q515)) (Q13598,P47,c(Q20667921)) (Q1469657,P47,c(Q515)) (Q1469657,P47,c(Q20667921)) (Q1090395,P47,c(Q515)) (Q1090395,P47,c(Q20667921)) (Q273748,P47,c(Q515)) (Q273748,P47,c(Q20667921)) (Q1615759,P47,c(Q515)) (Q1615759,P47,c(Q20667921)) (Q387460,P47,c(Q515)) (Q387460,P47,c(Q20667921)) (Q1291,P47,c(Q515)) (Q1291,P47,c(Q20667921))
['Q1291', 'P47', {'concept': 'Q515'}] ['Q1291', 'P47', {'concept': 'Q20667921'}] ['Q816417', 'P47', {'concept': 'Q515'}] ['Q816417', 'P47', {'concept': 'Q20667921'}] ['Q244717', 'P47', {'concept': 'Q515'}] ['Q244717', 'P47', {'concept': 'Q20667921'}] ['Q8358', 'P47', {'concept': 'Q515'}] ['Q8358', 'P47', {'concept': 'Q20667921'}] ['Q13598', 'P47', {'concept': 'Q515'}] ['Q13598', 'P47', {'concept': 'Q20667921'}] ['Q1469657', 'P47', {'concept': 'Q515'}] ['Q1469657', 'P47', {'concept': 'Q20667921'}] ['Q1090395', 'P47', {'concept': 'Q515'}] ['Q1090395', 'P47', {'concept': 'Q20667921'}] ['Q273748', 'P47', {'concept': 'Q515'}] ['Q273748', 'P47', {'concept': 'Q20667921'}] ['Q1615759', 'P47', {'concept': 'Q515'}] ['Q1615759', 'P47', {'concept': 'Q20667921'}] ['Q387460', 'P47', {'concept': 'Q515'}] ['Q387460', 'P47', {'concept': 'Q20667921'}] ['Q1291', 'P47', {'concept': 'Q515'}] ['Q1291', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q4973798 property:P47 ?z } UNION { resource:Q4973798 property:P47 ?y } UNION { resource:Q816417 property:P47 ?z } UNION { resource:Q816417 property:P47 ?y } UNION { resource:Q244717 property:P47 ?z } UNION { resource:Q244717 property:P47 ?y } UNION { resource:Q8358 property:P47 ?z } UNION { resource:Q8358 property:P47 ?y } UNION { resource:Q13598 property:P47 ?z } UNION { resource:Q13598 property:P47 ?y } UNION { resource:Q1469657 property:P47 ?z } UNION { resource:Q1469657 property:P47 ?y } UNION { resource:Q1090395 property:P47 ?z } UNION { resource:Q1090395 property:P47 ?y } UNION { resource:Q273748 property:P47 ?z } UNION { resource:Q273748 property:P47 ?y } UNION { resource:Q1615759 property:P47 ?z } UNION { resource:Q1615759 property:P47 ?y } UNION { resource:Q387460 property:P47 ?z } UNION { resource:Q387460 property:P47 ?y } UNION { resource:Q4973798 property:P47 ?z } UNION { resource:Q4973798 property:P47 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q20667921 }
['Bron', 'shares border with', {'concept': 'city'}] ['Bron', 'shares border with', {'concept': 'type of french administrative division'}] ['Warloy-Baillon', 'shares border with', {'concept': 'city'}] ['Warloy-Baillon', 'shares border with', {'concept': 'type of french administrative division'}] ['Caluire-et-Cuire', 'shares border with', {'concept': 'city'}] ['Caluire-et-Cuire', 'shares border with', {'concept': 'type of french administrative division'}] ['Oullins', 'shares border with', {'concept': 'city'}] ['Oullins', 'shares border with', {'concept': 'type of french administrative division'}] ['Vénissieux', 'shares border with', {'concept': 'city'}] ['Vénissieux', 'shares border with', {'concept': 'type of french administrative division'}] ["Collonges-au-Mont-d'Or", 'shares border with', {'concept': 'city'}] ["Collonges-au-Mont-d'Or", 'shares border with', {'concept': 'type of french administrative division'}] ['Bresle', 'shares border with', {'concept': 'city'}] ['Bresle', 'shares border with', {'concept': 'type of french administrative division'}] ['Écully', 'shares border with', {'concept': 'city'}] ['Écully', 'shares border with', {'concept': 'type of french administrative division'}] ["Saint-Cyr-au-Mont-d'Or", 'shares border with', {'concept': 'city'}] ["Saint-Cyr-au-Mont-d'Or", 'shares border with', {'concept': 'type of french administrative division'}] ['Sainte-Foy-lès-Lyon', 'shares border with', {'concept': 'city'}] ['Sainte-Foy-lès-Lyon', 'shares border with', {'concept': 'type of french administrative division'}] ['Bron', 'shares border with', {'concept': 'city'}] ['Bron', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Bron property:shares_border_with ?z } UNION { resource:Bron property:shares_border_with ?y } UNION { resource:Warloy-Baillon property:shares_border_with ?z } UNION { resource:Warloy-Baillon property:shares_border_with ?y } UNION { resource:Caluire-et-Cuire property:shares_border_with ?z } UNION { resource:Caluire-et-Cuire property:shares_border_with ?y } UNION { resource:Oullins property:shares_border_with ?z } UNION { resource:Oullins property:shares_border_with ?y } UNION { resource:Vénissieux property:shares_border_with ?z } UNION { resource:Vénissieux property:shares_border_with ?y } UNION { resource:Collonges-au-Mont-d'Or property:shares_border_with ?z } UNION { resource:Collonges-au-Mont-d'Or property:shares_border_with ?y } UNION { resource:Bresle property:shares_border_with ?z } UNION { resource:Bresle property:shares_border_with ?y } UNION { resource:Écully property:shares_border_with ?z } UNION { resource:Écully property:shares_border_with ?y } UNION { resource:Saint-Cyr-au-Mont-d'Or property:shares_border_with ?z } UNION { resource:Saint-Cyr-au-Mont-d'Or property:shares_border_with ?y } UNION { resource:Sainte-Foy-lès-Lyon property:shares_border_with ?z } UNION { resource:Sainte-Foy-lès-Lyon property:shares_border_with ?y } UNION { resource:Bron property:shares_border_with ?z } UNION { resource:Bron property:shares_border_with ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:type_of_french_administrative_division }
[]
city type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q387460
SYSTEM
Did you mean Sainte-Foy-lès-Lyon ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q4973798 property:P47 ?z } UNION { resource:Q4973798 property:P47 ?y } UNION { resource:Q816417 property:P47 ?z } UNION { resource:Q816417 property:P47 ?y } UNION { resource:Q244717 property:P47 ?z } UNION { resource:Q244717 property:P47 ?y } UNION { resource:Q8358 property:P47 ?z } UNION { resource:Q8358 property:P47 ?y } UNION { resource:Q13598 property:P47 ?z } UNION { resource:Q13598 property:P47 ?y } UNION { resource:Q1469657 property:P47 ?z } UNION { resource:Q1469657 property:P47 ?y } UNION { resource:Q1090395 property:P47 ?z } UNION { resource:Q1090395 property:P47 ?y } UNION { resource:Q273748 property:P47 ?z } UNION { resource:Q273748 property:P47 ?y } UNION { resource:Q1615759 property:P47 ?z } UNION { resource:Q1615759 property:P47 ?y } UNION { resource:Q387460 property:P47 ?z } UNION { resource:Q387460 property:P47 ?y } UNION { resource:Q4973798 property:P47 ?z } UNION { resource:Q4973798 property:P47 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q20667921 }
Did you mean Sainte-Foy-lès-Lyon ?
Sainte-Foy-lès-Lyon
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Bron property:shares_border_with ?z } UNION { resource:Bron property:shares_border_with ?y } UNION { resource:Warloy-Baillon property:shares_border_with ?z } UNION { resource:Warloy-Baillon property:shares_border_with ?y } UNION { resource:Caluire-et-Cuire property:shares_border_with ?z } UNION { resource:Caluire-et-Cuire property:shares_border_with ?y } UNION { resource:Oullins property:shares_border_with ?z } UNION { resource:Oullins property:shares_border_with ?y } UNION { resource:Vénissieux property:shares_border_with ?z } UNION { resource:Vénissieux property:shares_border_with ?y } UNION { resource:Collonges-au-Mont-d'Or property:shares_border_with ?z } UNION { resource:Collonges-au-Mont-d'Or property:shares_border_with ?y } UNION { resource:Bresle property:shares_border_with ?z } UNION { resource:Bresle property:shares_border_with ?y } UNION { resource:Écully property:shares_border_with ?z } UNION { resource:Écully property:shares_border_with ?y } UNION { resource:Saint-Cyr-au-Mont-d'Or property:shares_border_with ?z } UNION { resource:Saint-Cyr-au-Mont-d'Or property:shares_border_with ?y } UNION { resource:Sainte-Foy-lès-Lyon property:shares_border_with ?z } UNION { resource:Sainte-Foy-lès-Lyon property:shares_border_with ?y } UNION { resource:Bron property:shares_border_with ?z } UNION { resource:Bron property:shares_border_with ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Bron. Could you tell me the answer for that?
(Q1291,P47,c(Q515)) (Q1291,P47,c(Q20667921)) (Q816417,P47,c(Q515)) (Q816417,P47,c(Q20667921)) (Q244717,P47,c(Q515)) (Q244717,P47,c(Q20667921)) (Q8358,P47,c(Q515)) (Q8358,P47,c(Q20667921)) (Q13598,P47,c(Q515)) (Q13598,P47,c(Q20667921)) (Q1469657,P47,c(Q515)) (Q1469657,P47,c(Q20667921)) (Q1090395,P47,c(Q515)) (Q1090395,P47,c(Q20667921)) (Q273748,P47,c(Q515)) (Q273748,P47,c(Q20667921)) (Q1615759,P47,c(Q515)) (Q1615759,P47,c(Q20667921)) (Q387460,P47,c(Q515)) (Q387460,P47,c(Q20667921)) (Q1291,P47,c(Q515)) (Q1291,P47,c(Q20667921))
Q1291
['Q1291', 'P47', {'concept': 'Q515'}] ['Q1291', 'P47', {'concept': 'Q20667921'}] ['Q816417', 'P47', {'concept': 'Q515'}] ['Q816417', 'P47', {'concept': 'Q20667921'}] ['Q244717', 'P47', {'concept': 'Q515'}] ['Q244717', 'P47', {'concept': 'Q20667921'}] ['Q8358', 'P47', {'concept': 'Q515'}] ['Q8358', 'P47', {'concept': 'Q20667921'}] ['Q13598', 'P47', {'concept': 'Q515'}] ['Q13598', 'P47', {'concept': 'Q20667921'}] ['Q1469657', 'P47', {'concept': 'Q515'}] ['Q1469657', 'P47', {'concept': 'Q20667921'}] ['Q1090395', 'P47', {'concept': 'Q515'}] ['Q1090395', 'P47', {'concept': 'Q20667921'}] ['Q273748', 'P47', {'concept': 'Q515'}] ['Q273748', 'P47', {'concept': 'Q20667921'}] ['Q1615759', 'P47', {'concept': 'Q515'}] ['Q1615759', 'P47', {'concept': 'Q20667921'}] ['Q387460', 'P47', {'concept': 'Q515'}] ['Q387460', 'P47', {'concept': 'Q20667921'}] ['Q1291', 'P47', {'concept': 'Q515'}] ['Q1291', 'P47', {'concept': 'Q20667921'}]
['Bron', 'shares border with', {'concept': 'city'}] ['Bron', 'shares border with', {'concept': 'type of french administrative division'}] ['Warloy-Baillon', 'shares border with', {'concept': 'city'}] ['Warloy-Baillon', 'shares border with', {'concept': 'type of french administrative division'}] ['Caluire-et-Cuire', 'shares border with', {'concept': 'city'}] ['Caluire-et-Cuire', 'shares border with', {'concept': 'type of french administrative division'}] ['Oullins', 'shares border with', {'concept': 'city'}] ['Oullins', 'shares border with', {'concept': 'type of french administrative division'}] ['Vénissieux', 'shares border with', {'concept': 'city'}] ['Vénissieux', 'shares border with', {'concept': 'type of french administrative division'}] ["Collonges-au-Mont-d'Or", 'shares border with', {'concept': 'city'}] ["Collonges-au-Mont-d'Or", 'shares border with', {'concept': 'type of french administrative division'}] ['Bresle', 'shares border with', {'concept': 'city'}] ['Bresle', 'shares border with', {'concept': 'type of french administrative division'}] ['Écully', 'shares border with', {'concept': 'city'}] ['Écully', 'shares border with', {'concept': 'type of french administrative division'}] ["Saint-Cyr-au-Mont-d'Or", 'shares border with', {'concept': 'city'}] ["Saint-Cyr-au-Mont-d'Or", 'shares border with', {'concept': 'type of french administrative division'}] ['Sainte-Foy-lès-Lyon', 'shares border with', {'concept': 'city'}] ['Sainte-Foy-lès-Lyon', 'shares border with', {'concept': 'type of french administrative division'}] ['Bron', 'shares border with', {'concept': 'city'}] ['Bron', 'shares border with', {'concept': 'type of french administrative division'}]
[]
SYSTEM
5
Q456 Q13598 Q331083 Q13596 Q1617692
(Q1291,P47,c(Q515)) (Q1291,P47,c(Q20667921)) (Q816417,P47,c(Q515)) (Q816417,P47,c(Q20667921)) (Q244717,P47,c(Q515)) (Q244717,P47,c(Q20667921)) (Q8358,P47,c(Q515)) (Q8358,P47,c(Q20667921)) (Q13598,P47,c(Q515)) (Q13598,P47,c(Q20667921)) (Q1469657,P47,c(Q515)) (Q1469657,P47,c(Q20667921)) (Q1090395,P47,c(Q515)) (Q1090395,P47,c(Q20667921)) (Q273748,P47,c(Q515)) (Q273748,P47,c(Q20667921)) (Q1615759,P47,c(Q515)) (Q1615759,P47,c(Q20667921)) (Q387460,P47,c(Q515)) (Q387460,P47,c(Q20667921)) (Q1291,P47,c(Q515)) (Q1291,P47,c(Q20667921))
[ANSWER]
['Q1291', 'P47', {'concept': 'Q515'}] ['Q1291', 'P47', {'concept': 'Q20667921'}] ['Q816417', 'P47', {'concept': 'Q515'}] ['Q816417', 'P47', {'concept': 'Q20667921'}] ['Q244717', 'P47', {'concept': 'Q515'}] ['Q244717', 'P47', {'concept': 'Q20667921'}] ['Q8358', 'P47', {'concept': 'Q515'}] ['Q8358', 'P47', {'concept': 'Q20667921'}] ['Q13598', 'P47', {'concept': 'Q515'}] ['Q13598', 'P47', {'concept': 'Q20667921'}] ['Q1469657', 'P47', {'concept': 'Q515'}] ['Q1469657', 'P47', {'concept': 'Q20667921'}] ['Q1090395', 'P47', {'concept': 'Q515'}] ['Q1090395', 'P47', {'concept': 'Q20667921'}] ['Q273748', 'P47', {'concept': 'Q515'}] ['Q273748', 'P47', {'concept': 'Q20667921'}] ['Q1615759', 'P47', {'concept': 'Q515'}] ['Q1615759', 'P47', {'concept': 'Q20667921'}] ['Q387460', 'P47', {'concept': 'Q515'}] ['Q387460', 'P47', {'concept': 'Q20667921'}] ['Q1291', 'P47', {'concept': 'Q515'}] ['Q1291', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q4973798 property:P47 ?z } UNION { resource:Q4973798 property:P47 ?y } UNION { resource:Q816417 property:P47 ?z } UNION { resource:Q816417 property:P47 ?y } UNION { resource:Q244717 property:P47 ?z } UNION { resource:Q244717 property:P47 ?y } UNION { resource:Q8358 property:P47 ?z } UNION { resource:Q8358 property:P47 ?y } UNION { resource:Q13598 property:P47 ?z } UNION { resource:Q13598 property:P47 ?y } UNION { resource:Q1469657 property:P47 ?z } UNION { resource:Q1469657 property:P47 ?y } UNION { resource:Q1090395 property:P47 ?z } UNION { resource:Q1090395 property:P47 ?y } UNION { resource:Q273748 property:P47 ?z } UNION { resource:Q273748 property:P47 ?y } UNION { resource:Q1615759 property:P47 ?z } UNION { resource:Q1615759 property:P47 ?y } UNION { resource:Q387460 property:P47 ?z } UNION { resource:Q387460 property:P47 ?y } UNION { resource:Q4973798 property:P47 ?z } UNION { resource:Q4973798 property:P47 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q20667921 }
Lyon Vénissieux Saint-Priest Vaulx-en-Velin Chassieu
5
['Bron', 'shares border with', {'concept': 'city'}] ['Bron', 'shares border with', {'concept': 'type of french administrative division'}] ['Warloy-Baillon', 'shares border with', {'concept': 'city'}] ['Warloy-Baillon', 'shares border with', {'concept': 'type of french administrative division'}] ['Caluire-et-Cuire', 'shares border with', {'concept': 'city'}] ['Caluire-et-Cuire', 'shares border with', {'concept': 'type of french administrative division'}] ['Oullins', 'shares border with', {'concept': 'city'}] ['Oullins', 'shares border with', {'concept': 'type of french administrative division'}] ['Vénissieux', 'shares border with', {'concept': 'city'}] ['Vénissieux', 'shares border with', {'concept': 'type of french administrative division'}] ["Collonges-au-Mont-d'Or", 'shares border with', {'concept': 'city'}] ["Collonges-au-Mont-d'Or", 'shares border with', {'concept': 'type of french administrative division'}] ['Bresle', 'shares border with', {'concept': 'city'}] ['Bresle', 'shares border with', {'concept': 'type of french administrative division'}] ['Écully', 'shares border with', {'concept': 'city'}] ['Écully', 'shares border with', {'concept': 'type of french administrative division'}] ["Saint-Cyr-au-Mont-d'Or", 'shares border with', {'concept': 'city'}] ["Saint-Cyr-au-Mont-d'Or", 'shares border with', {'concept': 'type of french administrative division'}] ['Sainte-Foy-lès-Lyon', 'shares border with', {'concept': 'city'}] ['Sainte-Foy-lès-Lyon', 'shares border with', {'concept': 'type of french administrative division'}] ['Bron', 'shares border with', {'concept': 'city'}] ['Bron', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Bron property:shares_border_with ?z } UNION { resource:Bron property:shares_border_with ?y } UNION { resource:Warloy-Baillon property:shares_border_with ?z } UNION { resource:Warloy-Baillon property:shares_border_with ?y } UNION { resource:Caluire-et-Cuire property:shares_border_with ?z } UNION { resource:Caluire-et-Cuire property:shares_border_with ?y } UNION { resource:Oullins property:shares_border_with ?z } UNION { resource:Oullins property:shares_border_with ?y } UNION { resource:Vénissieux property:shares_border_with ?z } UNION { resource:Vénissieux property:shares_border_with ?y } UNION { resource:Collonges-au-Mont-d'Or property:shares_border_with ?z } UNION { resource:Collonges-au-Mont-d'Or property:shares_border_with ?y } UNION { resource:Bresle property:shares_border_with ?z } UNION { resource:Bresle property:shares_border_with ?y } UNION { resource:Écully property:shares_border_with ?z } UNION { resource:Écully property:shares_border_with ?y } UNION { resource:Saint-Cyr-au-Mont-d'Or property:shares_border_with ?z } UNION { resource:Saint-Cyr-au-Mont-d'Or property:shares_border_with ?y } UNION { resource:Sainte-Foy-lès-Lyon property:shares_border_with ?z } UNION { resource:Sainte-Foy-lès-Lyon property:shares_border_with ?y } UNION { resource:Bron property:shares_border_with ?z } UNION { resource:Bron property:shares_border_with ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244717
P1376
Q20667921
USER
Which french administrative division has Caluire-et-Cuire has its first city ?
(Q244717,P1376,c(Q20667921))
action filter_type
action find
entity Q244717
relation P1376
type Q20667921
['Q244717', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q244717 property:P1376 ?n . ?n rdf:type ontology:Q20667921 }
Caluire-et-Cuire
action filter_type
action find
entity Caluire-et-Cuire
relation capital of
type type of french administrative division
['Caluire-et-Cuire', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Caluire-et-Cuire property:capital_of ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1724703
SYSTEM
canton of Caluire-et-Cuire
Q1724703
(Q244717,P1376,c(Q20667921))
action filter_type
action find
entity Q244717
relation P1376
type Q20667921
[ANSWER] has Caluire-et-Cuire has its first city
['Q244717', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q244717 property:P1376 ?n . ?n rdf:type ontology:Q20667921 }
canton of Caluire-et-Cuire
Canton of Caluire-et-Cuire has Caluire-et-Cuire has its first city
canton of Caluire-et-Cuire
action filter_type
action find
entity Caluire-et-Cuire
relation capital of
type type of french administrative division
['Caluire-et-Cuire', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Caluire-et-Cuire property:capital_of ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244717
P36
Q20667921
USER
Which french administrative division contains Caluire-et-Cuire as its capital ?
(c(Q20667921),P36,Q244717)
action filter_type
action find_reverse
entity Q244717
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q244717']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q244717 . ?w rdf:type ontology:Q20667921 }
Caluire-et-Cuire
action filter_type
action find_reverse
entity Caluire-et-Cuire
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Caluire-et-Cuire']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Caluire-et-Cuire . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1724703
SYSTEM
canton of Caluire-et-Cuire
Q1724703
(c(Q20667921),P36,Q244717)
action filter_type
action find_reverse
entity Q244717
relation P36
type Q20667921
The [ANSWER] contains Caluire-et-Cuire as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q244717']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q244717 . ?w rdf:type ontology:Q20667921 }
canton of Caluire-et-Cuire
The canton of Caluire-et-Cuire contains Caluire-et-Cuire as its capital
canton of Caluire-et-Cuire
action filter_type
action find_reverse
entity Caluire-et-Cuire
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Caluire-et-Cuire']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Caluire-et-Cuire . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244717
P551
Q502895
USER
Which person dwells at Caluire-et-Cuire ?
(c(Q502895),P551,Q244717)
action filter_type
action find_reverse
entity Q244717
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q244717']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q244717 . ?g rdf:type ontology:Q502895 }
Caluire-et-Cuire
action filter_type
action find_reverse
entity Caluire-et-Cuire
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Caluire-et-Cuire']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Caluire-et-Cuire . ?g rdf:type ontology:common_name }
[]
common name
Q27776887
SYSTEM
Anne Passerat
Q27776887
(c(Q502895),P551,Q244717)
action filter_type
action find_reverse
entity Q244717
relation P551
type Q502895
[ANSWER] dwells at Caluire-et-Cuire
[{'concept': 'Q502895'}, 'P551', 'Q244717']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q244717 . ?g rdf:type ontology:Q502895 }
Anne Passerat
Anne Passerat dwells at Caluire-et-Cuire
Anne Passerat
action filter_type
action find_reverse
entity Caluire-et-Cuire
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Caluire-et-Cuire']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Caluire-et-Cuire . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244717
P190
Q15617994
USER
Which administrative territory is sister town of Caluire-et-Cuire ?
(Q244717,P190,c(Q15617994))
action filter_type
action find
entity Q244717
relation P190
type Q15617994
['Q244717', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q244717 property:P190 ?b . ?b rdf:type ontology:Q15617994 }
Caluire-et-Cuire
action filter_type
action find
entity Caluire-et-Cuire
relation sister city
type designation for an administrative territorial entity
['Caluire-et-Cuire', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Caluire-et-Cuire property:sister_city ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9498
SYSTEM
Nichelino
Q9498
(Q244717,P190,c(Q15617994))
action filter_type
action find
entity Q244717
relation P190
type Q15617994
[ANSWER] is sister town of Caluire-et-Cuire
['Q244717', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q244717 property:P190 ?b . ?b rdf:type ontology:Q15617994 }
Nichelino
Nichelino is sister town of Caluire-et-Cuire
Nichelino
action filter_type
action find
entity Caluire-et-Cuire
relation sister city
type designation for an administrative territorial entity
['Caluire-et-Cuire', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Caluire-et-Cuire property:sister_city ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]