Simple Question (Direct)
Simple Question
Q16262900
P106
Q12737077
USER
What is the profession of René Gouzenne ?
(Q16262900,P106,c(Q12737077))
action filter_type
action find
entity Q16262900
relation P106
type Q12737077
['Q16262900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q16262900 property:P106 ?v }
René Gouzenne
action filter_type
action find
entity René Gouzenne
relation occupation
type occupation
['René Gouzenne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:René_Gouzenne property:occupation ?v }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q16262900,P106,c(Q12737077))
action filter_type
action find
entity Q16262900
relation P106
type Q12737077
[ANSWER]
['Q16262900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q16262900 property:P106 ?v }
actor
actor
action filter_type
action find
entity René Gouzenne
relation occupation
type occupation
['René Gouzenne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:René_Gouzenne property:occupation ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16262900
P19
Q20667921
USER
Where was René Gouzenne born ?
(Q16262900,P19,c(Q20667921))
action filter_type
action find
entity Q16262900
relation P19
type Q20667921
['Q16262900', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q16262900 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
René Gouzenne
action filter_type
action find
entity René Gouzenne
relation place of birth
type type of french administrative division
['René Gouzenne', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:René_Gouzenne property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q501104
SYSTEM
Mirande
Q501104
(Q16262900,P19,c(Q20667921))
action filter_type
action find
entity Q16262900
relation P19
type Q20667921
[ANSWER]
['Q16262900', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q16262900 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Mirande
Mirande
action filter_type
action find
entity René Gouzenne
relation place of birth
type type of french administrative division
['René Gouzenne', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:René_Gouzenne property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3382920
Q20667921
USER
And how about Pierre-Charles Hordelalay?
(Q3382920,P19,c(Q20667921))
action filter_type
action find
entity Q3382920
relation P19
type Q20667921
['Q3382920', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . resource:Q3382920 property:P19 ?u }
Pierre-Charles Hordelalay
action filter_type
action find
entity Pierre-Charles Hordelalay
relation place of birth
type type of french administrative division
['Pierre-Charles Hordelalay', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . resource:Pierre-Charles_Hordelalay property:place_of_birth ?u }
[]
type of french administrative division
Q185075
SYSTEM
Saint-Germain-en-Laye
Q185075
(Q3382920,P19,c(Q20667921))
action filter_type
action find
entity Q3382920
relation P19
type Q20667921
[ANSWER]
['Q3382920', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . resource:Q3382920 property:P19 ?u }
Saint-Germain-en-Laye
Saint-Germain-en-Laye
action filter_type
action find
entity Pierre-Charles Hordelalay
relation place of birth
type type of french administrative division
['Pierre-Charles Hordelalay', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . resource:Pierre-Charles_Hordelalay property:place_of_birth ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33999 Q186286
P106
Q502895
USER
How many people have actor and vaudeville as his/her means of employment ?
(c(Q502895),P106,Q33999) (c(Q502895),P106,Q186286)
action count
action intersection
action filter_type
action find_reverse
entity Q33999
relation P106
type Q502895
action filter_type
action find_reverse
entity Q186286
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q33999'] [{'concept': 'Q502895'}, 'P106', 'Q186286']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q502895 . ?h property:P106 resource:Q186286 . ?h property:P106 resource:Q33999 . ?h rdf:type ontology:Q502895 }
actor vaudeville
action count
action intersection
action filter_type
action find_reverse
entity actor
relation occupation
type common name
action filter_type
action find_reverse
entity vaudeville
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'actor'] [{'concept': 'common name'}, 'occupation', 'vaudeville']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:common_name . ?h property:occupation resource:vaudeville . ?h property:occupation resource:actor . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q19668651 Q21608040
(c(Q502895),P106,Q33999) (c(Q502895),P106,Q186286)
action count
action intersection
action filter_type
action find_reverse
entity Q33999
relation P106
type Q502895
action filter_type
action find_reverse
entity Q186286
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q33999'] [{'concept': 'Q502895'}, 'P106', 'Q186286']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q502895 . ?h property:P106 resource:Q186286 . ?h property:P106 resource:Q33999 . ?h rdf:type ontology:Q502895 }
Gladys Gale Rachel Rice Dooley
2
action count
action intersection
action filter_type
action find_reverse
entity actor
relation occupation
type common name
action filter_type
action find_reverse
entity vaudeville
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'actor'] [{'concept': 'common name'}, 'occupation', 'vaudeville']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:common_name . ?h property:occupation resource:vaudeville . ?h property:occupation resource:actor . ?h rdf:type ontology:common_name }
[]