Simple Question (Direct)
Simple Question
Q2337377
P27
Q1048835
USER
Which political territory is Stefan Rebmann a civilian of ?
(Q2337377,P27,c(Q1048835))
action filter_type
action find
entity Q2337377
relation P27
type Q1048835
['Q2337377', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q2337377 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Stefan Rebmann
action filter_type
action find
entity Stefan Rebmann
relation country of citizenship
type political territorial entity
['Stefan Rebmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Stefan_Rebmann property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2337377,P27,c(Q1048835))
action filter_type
action find
entity Q2337377
relation P27
type Q1048835
[ANSWER] is Stefan Rebmann a civilian of
['Q2337377', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q2337377 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Germany
Germany is Stefan Rebmann a civilian of
Germany
action filter_type
action find
entity Stefan Rebmann
relation country of citizenship
type political territorial entity
['Stefan Rebmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Stefan_Rebmann property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2337377
P710
Q1499496
USER
Which German presidential election has that person as its participant ?
(c(Q1499496),P710,Q183)
action filter_type
action find_reverse
entity Q2337377
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q183']
SELECT DISTINCT ?o WHERE { ?o property:P710 resource:Q2337377 . ?o rdf:type ontology:Q1499496 }
Stefan Rebmann
action filter_type
action find_reverse
entity Stefan Rebmann
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Germany']
SELECT DISTINCT ?o WHERE { ?o property:participant resource:Stefan_Rebmann . ?o rdf:type ontology:German_presidential_election }
[]
German presidential election
Q670933
SYSTEM
German presidential election, 2012
Q670933
(c(Q1499496),P710,Q183)
action filter_type
action find_reverse
entity Q2337377
relation P710
type Q1499496
[ANSWER] has that person as its participant
[{'concept': 'Q1499496'}, 'P710', 'Q183']
SELECT DISTINCT ?o WHERE { ?o property:P710 resource:Q2337377 . ?o rdf:type ontology:Q1499496 }
German presidential election, 2012
German presidential election, 2012 has that person as its participant
German presidential election, 2012
action filter_type
action find_reverse
entity Stefan Rebmann
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Germany']
SELECT DISTINCT ?o WHERE { ?o property:participant resource:Stefan_Rebmann . ?o rdf:type ontology:German_presidential_election }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2337377
P140
Q879146
USER
What is the religious affiliation of that person ?
(Q670933,P140,c(Q879146))
action filter_type
action find
entity Q2337377
relation P140
type Q879146
['Q670933', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?t WHERE { resource:Q2337377 property:P140 ?t . ?t rdf:type ontology:Q879146 }
Stefan Rebmann
action filter_type
action find
entity Stefan Rebmann
relation religion
type Christian denomination
['German presidential election, 2012', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?t WHERE { resource:Stefan_Rebmann property:religion ?t . ?t rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q670933,P140,c(Q879146))
action filter_type
action find
entity Q2337377
relation P140
type Q879146
The religious affiliation of that person is a [ANSWER]
['Q670933', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?t WHERE { resource:Q2337377 property:P140 ?t . ?t rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of that person is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Stefan Rebmann
relation religion
type Christian denomination
['German presidential election, 2012', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?t WHERE { resource:Stefan_Rebmann property:religion ?t . ?t rdf:type ontology:Christian_denomination }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q879146 Q102496 Q43229
USER
How many Christian denominations are greater number of parishes and organizations a portion of than that Christian denomination ?
(c(Q102496)|c(Q43229),P361,c(Q879146))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q102496
type Q43229
[[{'concept': 'Q102496'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?c WHERE { { ?m property:P361 ?c . ?c rdf:type ontology:Q879146 . ?m rdf:type ontology:Q102496 } UNION { ?m property:P361 ?c . ?c rdf:type ontology:Q879146 . ?m rdf:type ontology:Q43229 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P361 resource:Q9592 . { { ?p rdf:type ontology:Q102496 } UNION { ?p rdf:type ontology:Q43229 } } } } . FILTER ( ?g > ?v ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type parish
type organization
[[{'concept': 'parish'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?c WHERE { { ?m property:part_of ?c . ?c rdf:type ontology:Christian_denomination . ?m rdf:type ontology:parish } UNION { ?m property:part_of ?c . ?c rdf:type ontology:Christian_denomination . ?m rdf:type ontology:organization } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:part_of resource:Roman_Catholic_Church . { { ?p rdf:type ontology:parish } UNION { ?p rdf:type ontology:organization } } } } . FILTER ( ?g > ?v ) }
[]
Christian denomination parish organization
SYSTEM
2
Q749243 Q170111
(c(Q102496)|c(Q43229),P361,c(Q879146))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q102496
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q102496
type Q43229
[ANSWER]
[[{'concept': 'Q102496'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?c WHERE { { ?m property:P361 ?c . ?c rdf:type ontology:Q879146 . ?m rdf:type ontology:Q102496 } UNION { ?m property:P361 ?c . ?c rdf:type ontology:Q879146 . ?m rdf:type ontology:Q43229 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P361 resource:Q9592 . { { ?p rdf:type ontology:Q102496 } UNION { ?p rdf:type ontology:Q43229 } } } } . FILTER ( ?g > ?v ) }
Church of Sweden Evangelical Church in Germany
2
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type parish
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type parish
type organization
[[{'concept': 'parish'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?c WHERE { { ?m property:part_of ?c . ?c rdf:type ontology:Christian_denomination . ?m rdf:type ontology:parish } UNION { ?m property:part_of ?c . ?c rdf:type ontology:Christian_denomination . ?m rdf:type ontology:organization } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:part_of resource:Roman_Catholic_Church . { { ?p rdf:type ontology:parish } UNION { ?p rdf:type ontology:organization } } } } . FILTER ( ?g > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2337377
P102
Q7278
USER
Which political party is Stefan Rebmann a member of ?
(Q2337377,P102,c(Q7278))
action filter_type
action find
entity Q2337377
relation P102
type Q7278
['Q2337377', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { resource:Q2337377 property:P102 ?q . ?q rdf:type ontology:Q7278 }
Stefan Rebmann
action filter_type
action find
entity Stefan Rebmann
relation member of political party
type political party
['Stefan Rebmann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { resource:Stefan_Rebmann property:member_of_political_party ?q . ?q rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q2337377,P102,c(Q7278))
action filter_type
action find
entity Q2337377
relation P102
type Q7278
Party [ANSWER] is Stefan Rebmann a member of
['Q2337377', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { resource:Q2337377 property:P102 ?q . ?q rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Stefan Rebmann a member of
Social Democratic Party of Germany
action filter_type
action find
entity Stefan Rebmann
relation member of political party
type political party
['Stefan Rebmann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { resource:Stefan_Rebmann property:member_of_political_party ?q . ?q rdf:type ontology:political_party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2337377 Q3240860
P21
Q290
USER
How many sexes do Stefan Rebmann or Lilith have ?
(Q2337377,P21,c(Q290)) (Q3240860,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q2337377
relation P21
type Q290
action filter_type
action find
entity Q3240860
relation P21
type Q290
['Q2337377', 'P21', {'concept': 'Q290'}] ['Q3240860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Q2337377 ) ( resource:Q3240860 ) } . ?q property:P21 ?l }
Stefan Rebmann Lilith
action count
action union
action filter_type
action find
entity Stefan Rebmann
relation gender
type sex
action filter_type
action find
entity Lilith
relation gender
type sex
['Stefan Rebmann', 'gender', {'concept': 'sex'}] ['Lilith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Stefan_Rebmann ) ( resource:Lilith ) } . ?q property:gender ?l }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q2337377,P21,c(Q290)) (Q3240860,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q2337377
relation P21
type Q290
action filter_type
action find
entity Q3240860
relation P21
type Q290
[ANSWER]
['Q2337377', 'P21', {'concept': 'Q290'}] ['Q3240860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Q2337377 ) ( resource:Q3240860 ) } . ?q property:P21 ?l }
male female
2
action count
action union
action filter_type
action find
entity Stefan Rebmann
relation gender
type sex
action filter_type
action find
entity Lilith
relation gender
type sex
['Stefan Rebmann', 'gender', {'concept': 'sex'}] ['Lilith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?q ) { ( resource:Stefan_Rebmann ) ( resource:Lilith ) } . ?q property:gender ?l }
[]