Simple Question (Direct)
Simple Question
Q5239877
P248
Q1914636
USER
Which activity is David Smith stated in ?
(Q5239877,P248,c(Q1914636))
action filter_type
action find
entity Q5239877
relation P248
type Q1914636
['Q5239877', 'P248', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q5239877 property:P248 ?g . ?g rdf:type ontology:Q1914636 }
David Smith
action filter_type
action find
entity David Smith
relation stated in
type activity
['David Smith', 'stated in', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:David_Smith property:stated_in ?g . ?g rdf:type ontology:activity }
[]
activity
Q19413232
SYSTEM
Rugby League Project
Q19413232
(Q5239877,P248,c(Q1914636))
action filter_type
action find
entity Q5239877
relation P248
type Q1914636
David Smith is stated in [ANSWER]
['Q5239877', 'P248', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q5239877 property:P248 ?g . ?g rdf:type ontology:Q1914636 }
Rugby League Project
David Smith is stated in Rugby League Project
Rugby League Project
action filter_type
action find
entity David Smith
relation stated in
type activity
['David Smith', 'stated in', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:David_Smith property:stated_in ?g . ?g rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5239877
P734
Q82799
USER
Which name is associated with that person ?
(Q19413232,P734,c(Q82799))
action filter_type
action find
entity Q5239877
relation P734
type Q82799
['Q19413232', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q5239877 property:P734 ?i . ?i rdf:type ontology:Q82799 }
David Smith
action filter_type
action find
entity David Smith
relation family name
type name
['Rugby League Project', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:David_Smith property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q19413232,P734,c(Q82799))
action filter_type
action find
entity Q5239877
relation P734
type Q82799
[ANSWER] is associated with that person
['Q19413232', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q5239877 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Smith
Smith is associated with that person
Smith
action filter_type
action find
entity David Smith
relation family name
type name
['Rugby League Project', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:David_Smith property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5239877
P21
Q290
USER
What is the sex of that person ?
(Q1158446,P21,c(Q290))
action filter_type
action find
entity Q5239877
relation P21
type Q290
['Q1158446', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q5239877 property:P21 ?a . ?a rdf:type ontology:Q290 }
David Smith
action filter_type
action find
entity David Smith
relation gender
type sex
['Smith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:David_Smith property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1158446,P21,c(Q290))
action filter_type
action find
entity Q5239877
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1158446', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q5239877 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity David Smith
relation gender
type sex
['Smith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:David_Smith property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5239877
P54
Q874405
USER
Which social groups are David Smith a member of ?
(Q5239877,P54,c(Q874405))
action filter_type
action find
entity Q5239877
relation P54
type Q874405
['Q5239877', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q5239877 property:P54 ?m . ?m rdf:type ontology:Q874405 }
David Smith
action filter_type
action find
entity David Smith
relation member of sports team
type social group
['David Smith', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:David_Smith property:member_of_sports_team ?m . ?m rdf:type ontology:social_group }
[]
social group
Q3339101 Q2573367 Q3567951
SYSTEM
Newcastle Knights, Sydney Roosters, Widnes Vikings
Q3339101 Q2573367 Q3567951
(Q5239877,P54,c(Q874405))
action filter_type
action find
entity Q5239877
relation P54
type Q874405
The [ANSWERS] are David Smith a member of
['Q5239877', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q5239877 property:P54 ?m . ?m rdf:type ontology:Q874405 }
Newcastle Knights Sydney Roosters Widnes Vikings
The Newcastle Knights, Sydney Roosters and Widnes Vikings are David Smith a member of
Newcastle Knights Sydney Roosters Widnes Vikings
action filter_type
action find
entity David Smith
relation member of sports team
type social group
['David Smith', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:David_Smith property:member_of_sports_team ?m . ?m rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5239877
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q3339101,P27,c(Q1048835)) (Q2573367,P27,c(Q1048835)) (Q3567951,P27,c(Q1048835))
action filter_type
action find
entity Q5239877
relation P27
type Q1048835
['Q3339101', 'P27', {'concept': 'Q1048835'}] ['Q2573367', 'P27', {'concept': 'Q1048835'}] ['Q3567951', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q5239877 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
David Smith
action filter_type
action find
entity David Smith
relation country of citizenship
type political territorial entity
['Newcastle Knights', 'country of citizenship', {'concept': 'political territorial entity'}] ['Sydney Roosters', 'country of citizenship', {'concept': 'political territorial entity'}] ['Widnes Vikings', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:David_Smith property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3339101,P27,c(Q1048835)) (Q2573367,P27,c(Q1048835)) (Q3567951,P27,c(Q1048835))
action filter_type
action find
entity Q5239877
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q3339101', 'P27', {'concept': 'Q1048835'}] ['Q2573367', 'P27', {'concept': 'Q1048835'}] ['Q3567951', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q5239877 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Australia
Australia is the native country of that person
Australia
action filter_type
action find
entity David Smith
relation country of citizenship
type political territorial entity
['Newcastle Knights', 'country of citizenship', {'concept': 'political territorial entity'}] ['Sydney Roosters', 'country of citizenship', {'concept': 'political territorial entity'}] ['Widnes Vikings', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:David_Smith property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5239877
P106
Q12737077
USER
What is the job of that person ?
(Q408,P106,c(Q12737077))
action filter_type
action find
entity Q5239877
relation P106
type Q12737077
['Q408', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q5239877 property:P106 ?z }
David Smith
action filter_type
action find
entity David Smith
relation occupation
type occupation
['Australia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:David_Smith property:occupation ?z }
[]
occupation
Q14373094
SYSTEM
rugby league player
Q14373094
(Q408,P106,c(Q12737077))
action filter_type
action find
entity Q5239877
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q408', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q5239877 property:P106 ?z }
rugby league player
The job of that person is a rugby league player
rugby league player
action filter_type
action find
entity David Smith
relation occupation
type occupation
['Australia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:David_Smith property:occupation ?z }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P655
Q502895 Q7725634 Q2342494
USER
Which people translated max number of literary works or collectables ?
(c(Q7725634)|c(Q2342494),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?f WHERE { { ?b property:P655 ?f . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P655 ?f . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?n WHERE { { ?h property:P655 ?n . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q7725634 } UNION { ?h property:P655 ?n . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?n } . FILTER ( ?d = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?f WHERE { { ?b property:translator ?f . ?f rdf:type ontology:common_name . ?b rdf:type ontology:collectable } UNION { ?b property:translator ?f . ?f rdf:type ontology:common_name . ?b rdf:type ontology:literary_work } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?n WHERE { { ?h property:translator ?n . ?n rdf:type ontology:common_name . ?h rdf:type ontology:literary_work } UNION { ?h property:translator ?n . ?n rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?n } . FILTER ( ?d = ?l ) }
[]
common name literary work collectable
Q461104
SYSTEM
Jaroslav Vrchlický
Q461104
(c(Q7725634)|c(Q2342494),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
[ANSWER] translated max number of literary works or collectables
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?f WHERE { { ?b property:P655 ?f . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P655 ?f . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?n WHERE { { ?h property:P655 ?n . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q7725634 } UNION { ?h property:P655 ?n . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?n } . FILTER ( ?d = ?l ) }
Jaroslav Vrchlický
Jaroslav Vrchlický translated max number of literary works or collectables
Jaroslav Vrchlický
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?f WHERE { { ?b property:translator ?f . ?f rdf:type ontology:common_name . ?b rdf:type ontology:collectable } UNION { ?b property:translator ?f . ?f rdf:type ontology:common_name . ?b rdf:type ontology:literary_work } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?n WHERE { { ?h property:translator ?n . ?n rdf:type ontology:common_name . ?h rdf:type ontology:literary_work } UNION { ?h property:translator ?n . ?n rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?n } . FILTER ( ?d = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q402152
P180
Q874405 Q2342494 Q18783400
USER
Which social groups are demonstrated in less number of collectables or genres of sculpture than ancestor ?
(c(Q2342494)|c(Q18783400),P180,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q402152
relation P180
type Q2342494
type Q18783400
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { { ?a rdf:type ontology:Q874405 . ?t rdf:type ontology:Q18783400 . ?t property:P180 ?a } UNION { ?t property:P180 ?a . ?a rdf:type ontology:Q874405 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?a } . FILTER ( ?g < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P180 resource:Q402152 . { { ?o rdf:type ontology:Q18783400 } UNION { ?o rdf:type ontology:Q2342494 } } } } }
ancestor
action less
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity ancestor
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { { ?a rdf:type ontology:social_group . ?t rdf:type ontology:genre_of_sculpture . ?t property:depicts ?a } UNION { ?t property:depicts ?a . ?a rdf:type ontology:social_group . ?t rdf:type ontology:collectable } } GROUP BY ?a } . FILTER ( ?g < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:depicts resource:ancestor . { { ?o rdf:type ontology:genre_of_sculpture } UNION { ?o rdf:type ontology:collectable } } } } }
[]
social group collectable genre of sculpture
Q177232 Q5043 Q7660520
SYSTEM
son, Christianity, Sykes family of Sledmere
Q39614 Q276548 Q17279967 Q17161 Q2093017 Q10291472 Q4851189 Q15055408 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 Q7560 Q10082670 Q7565 Q1155605 Q47928 Q618057
(c(Q2342494)|c(Q18783400),P180,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q402152
relation P180
type Q2342494
type Q18783400
[ANSWERS] are demonstrated in less number of collectables or genres of sculpture than ancestor
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { { ?a rdf:type ontology:Q874405 . ?t rdf:type ontology:Q18783400 . ?t property:P180 ?a } UNION { ?t property:P180 ?a . ?a rdf:type ontology:Q874405 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?a } . FILTER ( ?g < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P180 resource:Q402152 . { { ?o rdf:type ontology:Q18783400 } UNION { ?o rdf:type ontology:Q2342494 } } } } }
cemetery secret society Oglala Sioux Tribe Etruscan civilization Rough Riders younger brother Ball Brothers Riksråd 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 mother elder sister father upper class circus Holy Family
Son, Christianity and Sykes family of Sledmere are demonstrated in less number of collectables or genres of sculpture than ancestor
son Christianity Sykes family of Sledmere
action less
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity ancestor
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?g ) WHERE { { ?a rdf:type ontology:social_group . ?t rdf:type ontology:genre_of_sculpture . ?t property:depicts ?a } UNION { ?t property:depicts ?a . ?a rdf:type ontology:social_group . ?t rdf:type ontology:collectable } } GROUP BY ?a } . FILTER ( ?g < ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:depicts resource:ancestor . { { ?o rdf:type ontology:genre_of_sculpture } UNION { ?o rdf:type ontology:collectable } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q748
P180
Q874405 Q2342494 Q18783400
USER
And what about Buddhism?
(c(Q2342494)|c(Q18783400),P180,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q748
relation P180
type Q2342494
type Q18783400
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?t WHERE { { ?i property:P180 ?t . ?t rdf:type ontology:Q874405 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P180 ?t . ?i rdf:type ontology:Q18783400 . ?t rdf:type ontology:Q874405 } } GROUP BY ?t } . FILTER ( ?s < ?x ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P180 resource:Q748 . { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q18783400 } } } } }
Buddhism
action less
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity Buddhism
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?t WHERE { { ?i property:depicts ?t . ?t rdf:type ontology:social_group . ?i rdf:type ontology:collectable } UNION { ?i property:depicts ?t . ?i rdf:type ontology:genre_of_sculpture . ?t rdf:type ontology:social_group } } GROUP BY ?t } . FILTER ( ?s < ?x ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:depicts resource:Buddhism . { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:genre_of_sculpture } } } } }
[]
social group collectable genre of sculpture
Q177232 Q5043 Q7660520
SYSTEM
son, Christianity, Sykes family of Sledmere
Q39614 Q276548 Q17279967 Q17161 Q2093017 Q10291472 Q4851189 Q15055408 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 Q7560 Q10082670 Q7565 Q1155605 Q47928 Q618057
(c(Q2342494)|c(Q18783400),P180,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q748
relation P180
type Q2342494
type Q18783400
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?t WHERE { { ?i property:P180 ?t . ?t rdf:type ontology:Q874405 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P180 ?t . ?i rdf:type ontology:Q18783400 . ?t rdf:type ontology:Q874405 } } GROUP BY ?t } . FILTER ( ?s < ?x ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P180 resource:Q748 . { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q18783400 } } } } }
cemetery secret society Oglala Sioux Tribe Etruscan civilization Rough Riders younger brother Ball Brothers Riksråd 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 mother elder sister father upper class circus Holy Family
son Christianity Sykes family of Sledmere
action less
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 genre of sculpture
action count
action filter_multi_types
action find_reverse
entity Buddhism
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?t WHERE { { ?i property:depicts ?t . ?t rdf:type ontology:social_group . ?i rdf:type ontology:collectable } UNION { ?i property:depicts ?t . ?i rdf:type ontology:genre_of_sculpture . ?t rdf:type ontology:social_group } } GROUP BY ?t } . FILTER ( ?s < ?x ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:depicts resource:Buddhism . { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:genre_of_sculpture } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q15617994 Q874405
USER
Which administrative territories are the origin of around 1 social group ?
(c(Q874405),P138,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
value 1
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P138 ?t . ?k rdf:type ontology:Q874405 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?w = 1 ) }
action approx
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:named_after ?t . ?k rdf:type ontology:social_group . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?w = 1 ) }
[]
designation for an administrative territorial entity social group
Q1799797 Q968
SYSTEM
Wolfskehlen, Warburg
Q1799797 Q968
(c(Q874405),P138,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
value 1
[ANSWERS] are the origin of around 1 social group
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P138 ?t . ?k rdf:type ontology:Q874405 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?w = 1 ) }
Wolfskehlen Warburg
Wolfskehlen and Warburg are the origin of around 1 social group
Wolfskehlen Warburg
action approx
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:named_after ?t . ?k rdf:type ontology:social_group . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1799797 Q968
P17
Q1048835
USER
Which political territories are Wolfskehlen and Warburg situated in ?
(Q1799797,P17,c(Q1048835)) (Q968,P17,c(Q1048835))
action union
action filter_type
action find
entity Q1799797
relation P17
type Q1048835
action filter_type
action find
entity Q968
relation P17
type Q1048835
['Q1799797', 'P17', {'concept': 'Q1048835'}] ['Q968', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?o property:P17 ?x . VALUES ( ?o ) { ( resource:Q968 ) ( resource:Q1799797 ) } }
Wolfskehlen Warburg
action union
action filter_type
action find
entity Wolfskehlen
relation country
type political territorial entity
action filter_type
action find
entity Warburg
relation country
type political territorial entity
['Wolfskehlen', 'country', {'concept': 'political territorial entity'}] ['Warburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?o property:country ?x . VALUES ( ?o ) { ( resource:Warburg ) ( resource:Wolfskehlen ) } }
[]
political territorial entity
Q183 Q183
SYSTEM
Germany
Q183 Q183
(Q1799797,P17,c(Q1048835)) (Q968,P17,c(Q1048835))
action union
action filter_type
action find
entity Q1799797
relation P17
type Q1048835
action filter_type
action find
entity Q968
relation P17
type Q1048835
Wolfskehlen and Warburg are situated in [ANSWER] and [ANSWER]
['Q1799797', 'P17', {'concept': 'Q1048835'}] ['Q968', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?o property:P17 ?x . VALUES ( ?o ) { ( resource:Q968 ) ( resource:Q1799797 ) } }
Germany Germany
Wolfskehlen and Warburg are situated in Germany and Germany
Germany Germany
action union
action filter_type
action find
entity Wolfskehlen
relation country
type political territorial entity
action filter_type
action find
entity Warburg
relation country
type political territorial entity
['Wolfskehlen', 'country', {'concept': 'political territorial entity'}] ['Warburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?o property:country ?x . VALUES ( ?o ) { ( resource:Warburg ) ( resource:Wolfskehlen ) } }
[]