Simple Question (Direct)
Simple Question
Q107156
P140
Q874405
USER
What is the religious affiliation of Rüdiger Althaus ?
(Q107156,P140,c(Q874405))
action filter_type
action find
entity Q107156
relation P140
type Q874405
['Q107156', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { resource:Q107156 property:P140 ?b . ?b rdf:type ontology:Q874405 }
Rüdiger Althaus
action filter_type
action find
entity Rüdiger Althaus
relation religion
type social group
['Rüdiger Althaus', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { resource:Rüdiger_Althaus property:religion ?b . ?b rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q107156,P140,c(Q874405))
action filter_type
action find
entity Q107156
relation P140
type Q874405
The religious affiliation of Rüdiger Althaus is Roman [ANSWER]
['Q107156', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { resource:Q107156 property:P140 ?b . ?b rdf:type ontology:Q874405 }
Catholicism
The religious affiliation of Rüdiger Althaus is Roman Catholicism
Catholicism
action filter_type
action find
entity Rüdiger Althaus
relation religion
type social group
['Rüdiger Althaus', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { resource:Rüdiger_Althaus property:religion ?b . ?b rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q874405 Q15709879
USER
Which social groups were the sources of inspiration for less number of artwork series than that social group ?
(c(Q15709879),P941,c(Q874405))
action less
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find_reverse
entity Q1841
relation P941
type Q15709879
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:Q15709879 . ?y rdf:type ontology:Q874405 . ?h property:P941 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P941 resource:Q1841 . ?q rdf:type ontology:Q15709879 } } . FILTER ( ?i < ?r ) }
action less
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find_reverse
entity Catholicism
relation inspired by
type artwork series
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:artwork_series . ?y rdf:type ontology:social_group . ?h property:inspired_by ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:inspired_by resource:Catholicism . ?q rdf:type ontology:artwork_series } } . FILTER ( ?i < ?r ) }
[]
social group artwork series
Q5043 Q748 Q7560
SYSTEM
Christianity, Buddhism, mother
Q5043 Q7560 Q9235758 Q748 Q41726
(c(Q15709879),P941,c(Q874405))
action less
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find_reverse
entity Q1841
relation P941
type Q15709879
[ANSWERS] were the sources of inspiration for less number of artwork series than that social group
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:Q15709879 . ?y rdf:type ontology:Q874405 . ?h property:P941 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P941 resource:Q1841 . ?q rdf:type ontology:Q15709879 } } . FILTER ( ?i < ?r ) }
Christianity mother grandmother Buddhism freemasonry
Christianity, Buddhism and mother were the sources of inspiration for less number of artwork series than that social group
Christianity Buddhism mother
action less
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find_reverse
entity Catholicism
relation inspired by
type artwork series
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h rdf:type ontology:artwork_series . ?y rdf:type ontology:social_group . ?h property:inspired_by ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:inspired_by resource:Catholicism . ?q rdf:type ontology:artwork_series } } . FILTER ( ?i < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5043
P740
Q56061
USER
How many administrative territories were Christianity formed ?
(Q5043,P740,c(Q56061))
action count
action filter_type
action find
entity Q5043
relation P740
type Q56061
['Q5043', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q5043 property:P740 ?e . ?e rdf:type ontology:Q56061 }
Christianity
action count
action filter_type
action find
entity Christianity
relation location of formation
type administrative territorial entity
['Christianity', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Christianity property:location_of_formation ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1218
(Q5043,P740,c(Q56061))
action count
action filter_type
action find
entity Q5043
relation P740
type Q56061
[ANSWER]
['Q5043', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q5043 property:P740 ?e . ?e rdf:type ontology:Q56061 }
Jerusalem
1
action count
action filter_type
action find
entity Christianity
relation location of formation
type administrative territorial entity
['Christianity', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Christianity property:location_of_formation ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q17090739
P740
Q56061
USER
And what about Unlocking the Truth?
(Q17090739,P740,c(Q56061))
action count
action filter_type
action find
entity Q17090739
relation P740
type Q56061
['Q17090739', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q17090739 property:P740 ?e . ?e rdf:type ontology:Q56061 }
Unlocking the Truth
action count
action filter_type
action find
entity Unlocking the Truth
relation location of formation
type administrative territorial entity
['Unlocking the Truth', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Unlocking_the_Truth property:location_of_formation ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q18419
(Q17090739,P740,c(Q56061))
action count
action filter_type
action find
entity Q17090739
relation P740
type Q56061
[ANSWER]
['Q17090739', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q17090739 property:P740 ?e . ?e rdf:type ontology:Q56061 }
Brooklyn
1
action count
action filter_type
action find
entity Unlocking the Truth
relation location of formation
type administrative territorial entity
['Unlocking the Truth', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Unlocking_the_Truth property:location_of_formation ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7745209
Q56061
USER
And how about The Ladybirds?
(Q7745209,P740,c(Q56061))
action count
action filter_type
action find
entity Q7745209
relation P740
type Q56061
['Q7745209', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q7745209 property:P740 ?r . ?r rdf:type ontology:Q56061 }
The Ladybirds
action count
action filter_type
action find
entity The Ladybirds
relation location of formation
type administrative territorial entity
['The Ladybirds', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:The_Ladybirds property:location_of_formation ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q7745209,P740,c(Q56061))
action count
action filter_type
action find
entity Q7745209
relation P740
type Q56061
[ANSWER]
['Q7745209', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q7745209 property:P740 ?r . ?r rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity The Ladybirds
relation location of formation
type administrative territorial entity
['The Ladybirds', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:The_Ladybirds property:location_of_formation ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18551518 Q5043
P19 P740
Q56061
USER
Which administrative territories did Christianity orginate in or were Hwang Hee-chan born ?
OR((Q5043,P740,c(Q56061)), (Q18551518,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5043
relation P740
action find
entity Q18551518
relation P19
type Q56061
{'OR': [['Q5043', 'P740', {'concept': 'Q56061'}], ['Q18551518', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q5043 property:P740 ?m } UNION { resource:Q18551518 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Hwang Hee-chan Christianity
action filter_type
action union
action find
entity Christianity
relation location of formation
action find
entity Hwang Hee-chan
relation place of birth
type administrative territorial entity
{'OR': [['Christianity', 'location of formation', {'concept': 'administrative territorial entity'}], ['Hwang Hee-chan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Christianity property:location_of_formation ?m } UNION { resource:Hwang_Hee-chan property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218 Q42148
SYSTEM
Jerusalem, Chuncheon
Q1218 Q42148
OR((Q5043,P740,c(Q56061)), (Q18551518,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5043
relation P740
action find
entity Q18551518
relation P19
type Q56061
Christianity orginated to [ANSWERS]
{'OR': [['Q5043', 'P740', {'concept': 'Q56061'}], ['Q18551518', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q5043 property:P740 ?m } UNION { resource:Q18551518 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Jerusalem Chuncheon
Christianity orginated to Jerusalem and Chuncheon
Jerusalem Chuncheon
action filter_type
action union
action find
entity Christianity
relation location of formation
action find
entity Hwang Hee-chan
relation place of birth
type administrative territorial entity
{'OR': [['Christianity', 'location of formation', {'concept': 'administrative territorial entity'}], ['Hwang Hee-chan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Christianity property:location_of_formation ?m } UNION { resource:Hwang_Hee-chan property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q874405 Q2342494 Q838948
USER
How many social groups are depicted in around 1 collectables and works of art ?
(c(Q2342494)|c(Q838948),P180,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q838948
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:P180 ?q . ?q rdf:type ontology:Q874405 . ?v rdf:type ontology:Q2342494 } UNION { ?v property:P180 ?q . ?q rdf:type ontology:Q874405 . ?v rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?r = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type social group
type collectable
action find_reverse_tuple_counts
relation depicts
type social group
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:depicts ?q . ?q rdf:type ontology:social_group . ?v rdf:type ontology:collectable } UNION { ?v property:depicts ?q . ?q rdf:type ontology:social_group . ?v rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?r = 1 ) }
[]
social group collectable work of art
SYSTEM
41
Q39614 Q276548 Q17279967 Q17161 Q2093017 Q10291472 Q4851189 Q15055408 Q748 Q29536 Q41726 Q45813 Q191159 Q3046146 Q327245 Q9089 Q9268 Q52090 Q132603 Q26333389 Q1841 Q108356 Q5043 Q223973 Q203507 Q1508674 Q177232 Q9235758 Q308194 Q241588 Q7660520 Q2344665 Q656902 Q10861465 Q996839 Q402152 Q10082670 Q7565 Q1155605 Q47928 Q618057
(c(Q2342494)|c(Q838948),P180,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:P180 ?q . ?q rdf:type ontology:Q874405 . ?v rdf:type ontology:Q2342494 } UNION { ?v property:P180 ?q . ?q rdf:type ontology:Q874405 . ?v rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?r = 1 ) }
cemetery secret society Oglala Sioux Tribe Etruscan civilization Rough Riders younger brother Ball Brothers Riksråd Buddhism paganism freemasonry Huns working class married couple team Hinduism Judaism bourgeoisie proletariat Royal British Bowmen Catholicism Sabines Christianity godparent Amorites Mérieux family son grandmother daughter middle class Sykes family of Sledmere Committee of Five Parisii brother fraternity ancestor elder sister father upper class circus Holy Family
41
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type social group
type collectable
action find_reverse_tuple_counts
relation depicts
type social group
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:depicts ?q . ?q rdf:type ontology:social_group . ?v rdf:type ontology:collectable } UNION { ?v property:depicts ?q . ?q rdf:type ontology:social_group . ?v rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?r = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748
P112
Q502895
USER
Which person founded Buddhism ?
(Q748,P112,c(Q502895))
action filter_type
action find
entity Q748
relation P112
type Q502895
['Q748', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q748 property:P112 ?v . ?v rdf:type ontology:Q502895 }
Buddhism
action filter_type
action find
entity Buddhism
relation founder
type common name
['Buddhism', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Buddhism property:founder ?v . ?v rdf:type ontology:common_name }
[]
common name
Q9441
SYSTEM
Gautama Buddha
Q9441
(Q748,P112,c(Q502895))
action filter_type
action find
entity Q748
relation P112
type Q502895
[ANSWER] founded Buddhism
['Q748', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q748 property:P112 ?v . ?v rdf:type ontology:Q502895 }
Gautama Buddha
Gautama Buddha founded Buddhism
Gautama Buddha
action filter_type
action find
entity Buddhism
relation founder
type common name
['Buddhism', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Buddhism property:founder ?v . ?v rdf:type ontology:common_name }
[]