Simple Question (Direct)
Simple Question
Q14550686
P102
Q7278
USER
Which political party is Christof Wolff a member of ?
(Q14550686,P102,c(Q7278))
action filter_type
action find
entity Q14550686
relation P102
type Q7278
['Q14550686', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q14550686 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Christof Wolff
action filter_type
action find
entity Christof Wolff
relation member of political party
type political party
['Christof Wolff', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Christof_Wolff property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q14550686,P102,c(Q7278))
action filter_type
action find
entity Q14550686
relation P102
type Q7278
Party [ANSWER] is Christof Wolff a member of
['Q14550686', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q14550686 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Christian Democratic Union
Party Christian Democratic Union is Christof Wolff a member of
Christian Democratic Union
action filter_type
action find
entity Christof Wolff
relation member of political party
type political party
['Christof Wolff', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Christof_Wolff property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14550686
P39
Q4164871
USER
What was the position for which Christof Wolff was appointed ?
(Q14550686,P39,c(Q4164871))
action filter_type
action find
entity Q14550686
relation P39
type Q4164871
['Q14550686', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?b WHERE { resource:Q14550686 property:P39 ?b . ?b rdf:type ontology:Q4164871 }
Christof Wolff
action filter_type
action find
entity Christof Wolff
relation position held
type position
['Christof Wolff', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?b WHERE { resource:Christof_Wolff property:position_held ?b . ?b rdf:type ontology:position }
[]
position
Q140686
SYSTEM
chairperson
Q140686
(Q14550686,P39,c(Q4164871))
action filter_type
action find
entity Q14550686
relation P39
type Q4164871
Person [ANSWER]
['Q14550686', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?b WHERE { resource:Q14550686 property:P39 ?b . ?b rdf:type ontology:Q4164871 }
chairperson
Person chairperson
chairperson
action filter_type
action find
entity Christof Wolff
relation position held
type position
['Christof Wolff', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?b WHERE { resource:Christof_Wolff property:position_held ?b . ?b rdf:type ontology:position }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q14550686
Q12737077
USER
And which occupation?
(Q14550686,P39,c(Q12737077))
action filter_type
action find
entity Q14550686
relation P39
type Q12737077
['Q14550686', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q14550686 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Christof Wolff
action filter_type
action find
entity Christof Wolff
relation position held
type occupation
['Christof Wolff', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Christof_Wolff property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q14550686,P39,c(Q12737077))
action filter_type
action find
entity Q14550686
relation P39
type Q12737077
[ANSWER]
['Q14550686', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q14550686 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
mayor
mayor
action filter_type
action find
entity Christof Wolff
relation position held
type occupation
['Christof Wolff', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Christof_Wolff property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49762
P463
Q79913 Q7278
USER
How many non-governmental organizations or political parties were Christian Democratic Union a member of ?
(Q49762,P463,c(Q79913)) (Q49762,P463,c(Q7278))
action count
action union
action filter_type
action find
entity Q49762
relation P463
type Q79913
action filter_type
action find
entity Q49762
relation P463
type Q7278
['Q49762', 'P463', {'concept': 'Q79913'}] ['Q49762', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q79913 ) ( ontology:Q7278 ) } }
Christian Democratic Union
action count
action union
action filter_type
action find
entity Christian Democratic Union
relation member of
type non-governmental organization
action filter_type
action find
entity Christian Democratic Union
relation member of
type political party
['Christian Democratic Union', 'member of', {'concept': 'non-governmental organization'}] ['Christian Democratic Union', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:non-governmental_organization ) ( ontology:political_party ) } }
[]
non-governmental organization political party
SYSTEM
2
Q208242 Q537395
(Q49762,P463,c(Q79913)) (Q49762,P463,c(Q7278))
action count
action union
action filter_type
action find
entity Q49762
relation P463
type Q79913
action filter_type
action find
entity Q49762
relation P463
type Q7278
[ANSWER]
['Q49762', 'P463', {'concept': 'Q79913'}] ['Q49762', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q79913 ) ( ontology:Q7278 ) } }
European People's Party European Movement Germany
2
action count
action union
action filter_type
action find
entity Christian Democratic Union
relation member of
type non-governmental organization
action filter_type
action find
entity Christian Democratic Union
relation member of
type political party
['Christian Democratic Union', 'member of', {'concept': 'non-governmental organization'}] ['Christian Democratic Union', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:non-governmental_organization ) ( ontology:political_party ) } }
[]