Simple Question (Direct)
Simple Question
Q3010382
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Césaire Léon Amaudric du Chaffault ?
(Q3010382,P27,c(Q15617994))
action filter_type
action find
entity Q3010382
relation P27
type Q15617994
['Q3010382', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q3010382 property:P27 ?t }
Césaire Léon Amaudric du Chaffault
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation country of citizenship
type designation for an administrative territorial entity
['Césaire Léon Amaudric du Chaffault', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Césaire_Léon_Amaudric_du_Chaffault property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3010382,P27,c(Q15617994))
action filter_type
action find
entity Q3010382
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Césaire Léon Amaudric du Chaffault
['Q3010382', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q3010382 property:P27 ?t }
France
France is the country of citizenship of Césaire Léon Amaudric du Chaffault
France
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation country of citizenship
type designation for an administrative territorial entity
['Césaire Léon Amaudric du Chaffault', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Césaire_Léon_Amaudric_du_Chaffault property:country_of_citizenship ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3010382
P106
Q12737077
USER
What does Césaire Léon Amaudric du Chaffault do for a living ?
(Q3010382,P106,c(Q12737077))
action filter_type
action find
entity Q3010382
relation P106
type Q12737077
['Q3010382', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3010382 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Césaire Léon Amaudric du Chaffault
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation occupation
type occupation
['Césaire Léon Amaudric du Chaffault', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Césaire_Léon_Amaudric_du_Chaffault property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3010382,P106,c(Q12737077))
action filter_type
action find
entity Q3010382
relation P106
type Q12737077
Césaire Léon Amaudric du Chaffault does a [ANSWER] for a living
['Q3010382', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3010382 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
politician
Césaire Léon Amaudric du Chaffault does a politician for a living
politician
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation occupation
type occupation
['Césaire Léon Amaudric du Chaffault', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Césaire_Léon_Amaudric_du_Chaffault property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3010382
P21
Q290
USER
What is the sex of that person ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q3010382
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q3010382 property:P21 ?i }
Césaire Léon Amaudric du Chaffault
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Césaire_Léon_Amaudric_du_Chaffault property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q3010382
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q3010382 property:P21 ?i }
male
The sex of that person is a male
male
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Césaire_Léon_Amaudric_du_Chaffault property:gender ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q82955
P106
Q12737077 Q8436
USER
How many occupations and families have the profession as politician ?
(c(Q12737077),P106,Q82955) (c(Q8436),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q12737077
action filter_type
action find_reverse
entity Q82955
relation P106
type Q8436
[{'concept': 'Q12737077'}, 'P106', 'Q82955'] [{'concept': 'Q8436'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:Q12737077 . ?g property:P106 resource:Q82955 } UNION { ?g property:P106 resource:Q82955 . ?g rdf:type ontology:Q8436 } }
politician
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type occupation
action filter_type
action find_reverse
entity politician
relation occupation
type family
[{'concept': 'occupation'}, 'occupation', 'politician'] [{'concept': 'family'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:occupation . ?g property:occupation resource:politician } UNION { ?g property:occupation resource:politician . ?g rdf:type ontology:family } }
[]
occupation family
SYSTEM
3 occupations and 5 families
Q6242064 Q110831 Q16826559 Q5334981 Q13710953 Q5199072 Q1091736 Q7330364
(c(Q12737077),P106,Q82955) (c(Q8436),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q12737077
action filter_type
action find_reverse
entity Q82955
relation P106
type Q8436
[ANSWER]
[{'concept': 'Q12737077'}, 'P106', 'Q82955'] [{'concept': 'Q8436'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:Q12737077 . ?g property:P106 resource:Q82955 } UNION { ?g property:P106 resource:Q82955 . ?g rdf:type ontology:Q8436 } }
John Jones and Doria Deighton-Jones Andreas Gaill Chief Commissioner of Rodrigues Ed J. Davenport and Harriett Davenport President of the Balearic Islands President of the Region of Murcia House of Évreux Richards–Young family
3 occupations and 5 families
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type occupation
action filter_type
action find_reverse
entity politician
relation occupation
type family
[{'concept': 'occupation'}, 'occupation', 'politician'] [{'concept': 'family'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:occupation . ?g property:occupation resource:politician } UNION { ?g property:occupation resource:politician . ?g rdf:type ontology:family } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3010382
P39
Q12737077
USER
Which occupations were a position held by Césaire Léon Amaudric du Chaffault ?
(Q3010382,P39,c(Q12737077))
action filter_type
action find
entity Q3010382
relation P39
type Q12737077
['Q3010382', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3010382 property:P39 ?w }
Césaire Léon Amaudric du Chaffault
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation position held
type occupation
['Césaire Léon Amaudric du Chaffault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Césaire_Léon_Amaudric_du_Chaffault property:position_held ?w }
[]
occupation
Q21032547 Q3044918
SYSTEM
senator of the French Third Republic, member of the French National Assembly
Q21032547 Q3044918
(Q3010382,P39,c(Q12737077))
action filter_type
action find
entity Q3010382
relation P39
type Q12737077
[ANSWERS]
['Q3010382', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3010382 property:P39 ?w }
senator of the French Third Republic member of the French National Assembly
Senator of the French Third Republic and member of the French National Assembly were a position held by Césaire Léon Amaudric du Chaffault
senator of the French Third Republic member of the French National Assembly
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation position held
type occupation
['Césaire Léon Amaudric du Chaffault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Césaire_Léon_Amaudric_du_Chaffault property:position_held ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3010382
P19
Q20667921
USER
Which french administrative division was Césaire Léon Amaudric du Chaffault born at ?
(Q3010382,P19,c(Q20667921))
action filter_type
action find
entity Q3010382
relation P19
type Q20667921
['Q3010382', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q3010382 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Césaire Léon Amaudric du Chaffault
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation place of birth
type type of french administrative division
['Césaire Léon Amaudric du Chaffault', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Césaire_Léon_Amaudric_du_Chaffault property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q181306
SYSTEM
Digne-les-Bains
Q181306
(Q3010382,P19,c(Q20667921))
action filter_type
action find
entity Q3010382
relation P19
type Q20667921
Césaire Léon Amaudric du Chaffault was born in [ANSWER]
['Q3010382', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q3010382 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Digne-les-Bains
Césaire Léon Amaudric du Chaffault was born in Digne-les-Bains
Digne-les-Bains
action filter_type
action find
entity Césaire Léon Amaudric du Chaffault
relation place of birth
type type of french administrative division
['Césaire Léon Amaudric du Chaffault', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Césaire_Léon_Amaudric_du_Chaffault property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181306
P1376
Q20667921
USER
Which french administrative divisions have that one have their center of administration ?
(Q181306,P1376,c(Q20667921))
action filter_type
action find
entity Q181306
relation P1376
type Q20667921
['Q181306', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q181306 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
Digne-les-Bains
action filter_type
action find
entity Digne-les-Bains
relation capital of
type type of french administrative division
['Digne-les-Bains', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Digne-les-Bains property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1725155 Q1725150
SYSTEM
canton of Digne-les-Bains-Ouest, canton of Digne-les-Bains-Est
Q1725155 Q1725150
(Q181306,P1376,c(Q20667921))
action filter_type
action find
entity Q181306
relation P1376
type Q20667921
[ANSWERS] have that one have their center of administration
['Q181306', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q181306 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
canton of Digne-les-Bains-Ouest canton of Digne-les-Bains-Est
Canton of Digne-les-Bains-Ouest and canton of Digne-les-Bains-Est have that one have their center of administration
canton of Digne-les-Bains-Ouest canton of Digne-les-Bains-Est
action filter_type
action find
entity Digne-les-Bains
relation capital of
type type of french administrative division
['Digne-les-Bains', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Digne-les-Bains property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q181306
Q15617994
USER
And which administrative territory?
(Q181306,P1376,c(Q15617994))
action filter_type
action find
entity Q181306
relation P1376
type Q15617994
['Q181306', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q181306 property:P1376 ?z . ?z rdf:type ontology:Q15617994 }
Digne-les-Bains
action filter_type
action find
entity Digne-les-Bains
relation capital of
type designation for an administrative territorial entity
['Digne-les-Bains', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Digne-les-Bains property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3131
SYSTEM
Alpes-de-Haute-Provence
Q3131
(Q181306,P1376,c(Q15617994))
action filter_type
action find
entity Q181306
relation P1376
type Q15617994
[ANSWER]
['Q181306', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q181306 property:P1376 ?z . ?z rdf:type ontology:Q15617994 }
Alpes-de-Haute-Provence
Alpes-de-Haute-Provence
action filter_type
action find
entity Digne-les-Bains
relation capital of
type designation for an administrative territorial entity
['Digne-les-Bains', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Digne-les-Bains property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]