Simple Question (Direct)
Simple Question
Q2088760
P735
Q82799
USER
What is the firstname of Anthonie Nicolaas Molenaar ?
(Q2088760,P735,c(Q82799))
action filter_type
action find
entity Q2088760
relation P735
type Q82799
['Q2088760', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q2088760 property:P735 ?b }
Anthonie Nicolaas Molenaar
action filter_type
action find
entity Anthonie Nicolaas Molenaar
relation given name
type name
['Anthonie Nicolaas Molenaar', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Anthonie_Nicolaas_Molenaar property:given_name ?b }
[]
name
Q4771915
SYSTEM
Anthonie
Q4771915
(Q2088760,P735,c(Q82799))
action filter_type
action find
entity Q2088760
relation P735
type Q82799
The firstname of [ANSWER] Nicolaas Molenaar is the [ANSWER]
['Q2088760', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q2088760 property:P735 ?b }
Anthonie
The firstname of Anthonie Nicolaas Molenaar is the Anthonie
Anthonie
action filter_type
action find
entity Anthonie Nicolaas Molenaar
relation given name
type name
['Anthonie Nicolaas Molenaar', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Anthonie_Nicolaas_Molenaar property:given_name ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2088760
P39
Q12737077
USER
Which occupation was a position held by Anthonie Nicolaas Molenaar ?
(Q2088760,P39,c(Q12737077))
action filter_type
action find
entity Q2088760
relation P39
type Q12737077
['Q2088760', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2088760 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Anthonie Nicolaas Molenaar
action filter_type
action find
entity Anthonie Nicolaas Molenaar
relation position held
type occupation
['Anthonie Nicolaas Molenaar', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Anthonie_Nicolaas_Molenaar property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q19305384
SYSTEM
member of the Senate of the Netherlands
Q19305384
(Q2088760,P39,c(Q12737077))
action filter_type
action find
entity Q2088760
relation P39
type Q12737077
The [ANSWER] was a position held by Anthonie Nicolaas Molenaar
['Q2088760', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2088760 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
member of the Senate of the Netherlands
The member of the Senate of the Netherlands was a position held by Anthonie Nicolaas Molenaar
member of the Senate of the Netherlands
action filter_type
action find
entity Anthonie Nicolaas Molenaar
relation position held
type occupation
['Anthonie Nicolaas Molenaar', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Anthonie_Nicolaas_Molenaar property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q19305384
P1001
Q15617994
USER
How many administrative territories are judicially linked to member of the Senate of the Netherlands ?
(Q19305384,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q19305384
relation P1001
type Q15617994
['Q19305384', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q19305384 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
member of the Senate of the Netherlands
action count
action filter_type
action find
entity member of the Senate of the Netherlands
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of the Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:member_of_the_Senate_of_the_Netherlands property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29999
(Q19305384,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q19305384
relation P1001
type Q15617994
[ANSWER]
['Q19305384', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q19305384 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
1
action count
action filter_type
action find
entity member of the Senate of the Netherlands
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of the Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:member_of_the_Senate_of_the_Netherlands property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15631779
P1001
Q15617994
USER
Which administrative territory comes under the supervision of Parliament of Canada Act, 1875 ?
(Q15631779,P1001,c(Q15617994))
action filter_type
action find
entity Q15631779
relation P1001
type Q15617994
['Q15631779', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q15631779 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
Parliament of Canada Act, 1875
action filter_type
action find
entity Parliament of Canada Act, 1875
relation applies to jurisdiction
type designation for an administrative territorial entity
['Parliament of Canada Act, 1875', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Parliament_of_Canada_Act,_1875 property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q15631779,P1001,c(Q15617994))
action filter_type
action find
entity Q15631779
relation P1001
type Q15617994
[ANSWER] comes under the supervision of Parliament of Canada Act, 1875
['Q15631779', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q15631779 property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom comes under the supervision of Parliament of Canada Act, 1875
United Kingdom
action filter_type
action find
entity Parliament of Canada Act, 1875
relation applies to jurisdiction
type designation for an administrative territorial entity
['Parliament of Canada Act, 1875', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Parliament_of_Canada_Act,_1875 property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15631779
P467
Q1752346
USER
Which assembly was Parliament of Canada Act, 1875 gegislated by ?
(Q15631779,P467,c(Q1752346))
action filter_type
action find
entity Q15631779
relation P467
type Q1752346
['Q15631779', 'P467', {'concept': 'Q1752346'}]
SELECT DISTINCT ?g WHERE { resource:Q15631779 property:P467 ?g . ?g rdf:type ontology:Q1752346 }
Parliament of Canada Act, 1875
action filter_type
action find
entity Parliament of Canada Act, 1875
relation legislated by
type assembly
['Parliament of Canada Act, 1875', 'legislated by', {'concept': 'assembly'}]
SELECT DISTINCT ?g WHERE { resource:Parliament_of_Canada_Act,_1875 property:legislated_by ?g . ?g rdf:type ontology:assembly }
[]
assembly
Q11010
SYSTEM
Parliament of the United Kingdom
Q11010
(Q15631779,P467,c(Q1752346))
action filter_type
action find
entity Q15631779
relation P467
type Q1752346
Parliament of Canada Act , 1875 was gegislated by [ANSWER]
['Q15631779', 'P467', {'concept': 'Q1752346'}]
SELECT DISTINCT ?g WHERE { resource:Q15631779 property:P467 ?g . ?g rdf:type ontology:Q1752346 }
Parliament of the United Kingdom
Parliament of Canada Act , 1875 was gegislated by Parliament of the United Kingdom
Parliament of the United Kingdom
action filter_type
action find
entity Parliament of Canada Act, 1875
relation legislated by
type assembly
['Parliament of Canada Act, 1875', 'legislated by', {'concept': 'assembly'}]
SELECT DISTINCT ?g WHERE { resource:Parliament_of_Canada_Act,_1875 property:legislated_by ?g . ?g rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26694101 Q15631779
P1001
Q1048835
USER
Which political territories belong to jurisdiction of Parliament of Canada Act, 1875 or mayor of Valle de Manzanedo ?
OR((Q15631779,P1001,c(Q1048835)), (Q26694101,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q15631779
relation P1001
action find
entity Q26694101
relation P1001
type Q1048835
{'OR': [['Q15631779', 'P1001', {'concept': 'Q1048835'}], ['Q26694101', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?i ) { ( resource:Q15631779 ) ( resource:Q26694101 ) } . ?i property:P1001 ?q } . ?q rdf:type ontology:Q1048835 }
mayor of Valle de Manzanedo Parliament of Canada Act, 1875
action filter_type
action union
action find
entity Parliament of Canada Act, 1875
relation applies to jurisdiction
action find
entity mayor of Valle de Manzanedo
relation applies to jurisdiction
type political territorial entity
{'OR': [['Parliament of Canada Act, 1875', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['mayor of Valle de Manzanedo', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?i ) { ( resource:Parliament_of_Canada_Act,_1875 ) ( resource:mayor_of_Valle_de_Manzanedo ) } . ?i property:applies_to_jurisdiction ?q } . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1643825 Q16
SYSTEM
Valle de Manzanedo, Canada
Q1643825 Q16
OR((Q15631779,P1001,c(Q1048835)), (Q26694101,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q15631779
relation P1001
action find
entity Q26694101
relation P1001
type Q1048835
[ANSWERS] belong to jurisdiction of Parliament of Canada Act, 1875 or mayor of Valle de Manzanedo
{'OR': [['Q15631779', 'P1001', {'concept': 'Q1048835'}], ['Q26694101', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?i ) { ( resource:Q15631779 ) ( resource:Q26694101 ) } . ?i property:P1001 ?q } . ?q rdf:type ontology:Q1048835 }
Valle de Manzanedo Canada
Valle de Manzanedo and Canada belong to jurisdiction of Parliament of Canada Act, 1875 or mayor of Valle de Manzanedo
Valle de Manzanedo Canada
action filter_type
action union
action find
entity Parliament of Canada Act, 1875
relation applies to jurisdiction
action find
entity mayor of Valle de Manzanedo
relation applies to jurisdiction
type political territorial entity
{'OR': [['Parliament of Canada Act, 1875', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['mayor of Valle de Manzanedo', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?i ) { ( resource:Parliament_of_Canada_Act,_1875 ) ( resource:mayor_of_Valle_de_Manzanedo ) } . ?i property:applies_to_jurisdiction ?q } . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P710
Q178561
USER
What event did Canada particiate in ?
(c(Q178561),P710,Q16)
action filter_type
action find_reverse
entity Q16
relation P710
type Q178561
[{'concept': 'Q178561'}, 'P710', 'Q16']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q16 . ?j rdf:type ontology:Q178561 }
Canada
action filter_type
action find_reverse
entity Canada
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'Canada']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Canada . ?j rdf:type ontology:battle }
[]
battle
Q156554
SYSTEM
Battle of Jutland
Q156554
(c(Q178561),P710,Q16)
action filter_type
action find_reverse
entity Q16
relation P710
type Q178561
Canada particiated in [ANSWER]
[{'concept': 'Q178561'}, 'P710', 'Q16']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q16 . ?j rdf:type ontology:Q178561 }
Battle of Jutland
Canada particiated in Battle of Jutland
Battle of Jutland
action filter_type
action find_reverse
entity Canada
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'Canada']
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Canada . ?j rdf:type ontology:battle }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q156554
P607
Q502895
USER
Which people did that battle fight in ?
(c(Q502895),P607,Q156554)
action filter_type
action find_reverse
entity Q156554
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q156554']
SELECT DISTINCT ?h WHERE { ?h property:P607 resource:Q156554 . ?h rdf:type ontology:Q502895 }
Battle of Jutland
action filter_type
action find_reverse
entity Battle of Jutland
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Jutland']
SELECT DISTINCT ?h WHERE { ?h property:conflict resource:Battle_of_Jutland . ?h rdf:type ontology:common_name }
[]
common name
Q335013 Q91714 Q314182
SYSTEM
David Beatty, 1st Earl Beatty, Carl-Alfred Schumacher, Henry Allingham
Q4799508 Q980260 Q6258105 Q5055923 Q5490375 Q57612 Q541177 Q335013 Q7331039 Q71150 Q60810 Q6111829 Q57587 Q5497004 Q2562661 Q5718257 Q314182 Q91714 Q4243090 Q7287744 Q335028 Q5540183
(c(Q502895),P607,Q156554)
action filter_type
action find_reverse
entity Q156554
relation P607
type Q502895
That battle fought between [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q156554']
SELECT DISTINCT ?h WHERE { ?h property:P607 resource:Q156554 . ?h rdf:type ontology:Q502895 }
Arthur Leveson Charles Forbes John Skinner Wilson Cecil Abercrombie Frank William Foster Reinhard Scheer Horace Hood David Beatty, 1st Earl Beatty Richmond Waller Hans Zenker Hans Langsdorff Jack Cornwell Franz von Hipper Frederic Charles Dreyer Francis Harvey Henry Blagrove Henry Allingham Carl-Alfred Schumacher Ernst-Felix Krüder Ralph Kerr John Jellicoe, 1st Earl Jellicoe George Hamilton D'Oyly Lyon
That battle fought between David Beatty, 1st Earl Beatty, Carl-Alfred Schumacher and Henry Allingham
David Beatty, 1st Earl Beatty Carl-Alfred Schumacher Henry Allingham
action filter_type
action find_reverse
entity Battle of Jutland
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Jutland']
SELECT DISTINCT ?h WHERE { ?h property:conflict resource:Battle_of_Jutland . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q340169 Q17335294
USER
Which names are demonstrated in max number of medias or coats of arms ?
(c(Q340169)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[[{'concept': 'Q340169'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?t ) { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ?d . VALUES ( ?d ) { ( ontology:Q340169 ) ( ontology:Q17335294 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:Q340169 ) ( ontology:Q17335294 ) } . ?p rdf:type ?u } GROUP BY ?g } . FILTER ( ?r = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'media'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?t ) { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ?d . VALUES ( ?d ) { ( ontology:media ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:media ) ( ontology:flag_or_coat_of_arms ) } . ?p rdf:type ?u } GROUP BY ?g } . FILTER ( ?r = ?t ) }
[]
name media flag or coat of arms
Q726
SYSTEM
horse
Q726
(c(Q340169)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[ANSWER] is demonstrated in max number of medias or coats of arms
[[{'concept': 'Q340169'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?t ) { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ?d . VALUES ( ?d ) { ( ontology:Q340169 ) ( ontology:Q17335294 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:Q340169 ) ( ontology:Q17335294 ) } . ?p rdf:type ?u } GROUP BY ?g } . FILTER ( ?r = ?t ) }
horse
Horse is demonstrated in max number of medias or coats of arms
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'media'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?t ) { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?v ) WHERE { ?a rdf:type ?d . VALUES ( ?d ) { ( ontology:media ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:media ) ( ontology:flag_or_coat_of_arms ) } . ?p rdf:type ?u } GROUP BY ?g } . FILTER ( ?r = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q734 Q1643825
P1001
Q12737077
USER
Which occupations apply to jurisdiction over Valle de Manzanedo or Guyana ?
OR((c(Q12737077),P1001,Q1643825), (c(Q12737077),P1001,Q734))
action filter_type
action union
action find_reverse
entity Q1643825
relation P1001
action find_reverse
entity Q734
relation P1001
type Q12737077
{'OR': [[{'concept': 'Q12737077'}, 'P1001', 'Q1643825'], [{'concept': 'Q12737077'}, 'P1001', 'Q734']]}
SELECT DISTINCT ?p WHERE { { ?p property:P1001 ?s . VALUES ( ?s ) { ( resource:Q734 ) ( resource:Q1643825 ) } } . ?p rdf:type ontology:Q12737077 }
Guyana Valle de Manzanedo
action filter_type
action union
action find_reverse
entity Valle de Manzanedo
relation applies to jurisdiction
action find_reverse
entity Guyana
relation applies to jurisdiction
type occupation
{'OR': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Valle de Manzanedo'], [{'concept': 'occupation'}, 'applies to jurisdiction', 'Guyana']]}
SELECT DISTINCT ?p WHERE { { ?p property:applies_to_jurisdiction ?s . VALUES ( ?s ) { ( resource:Guyana ) ( resource:Valle_de_Manzanedo ) } } . ?p rdf:type ontology:occupation }
[]
occupation
Q376006 Q18654760 Q26694101
SYSTEM
Prime Minister of Guyana, Member of the National Assembly  of Guyana, mayor of Valle de Manzanedo
Q376006 Q18654760 Q26694101
OR((c(Q12737077),P1001,Q1643825), (c(Q12737077),P1001,Q734))
action filter_type
action union
action find_reverse
entity Q1643825
relation P1001
action find_reverse
entity Q734
relation P1001
type Q12737077
[ANSWERS]
{'OR': [[{'concept': 'Q12737077'}, 'P1001', 'Q1643825'], [{'concept': 'Q12737077'}, 'P1001', 'Q734']]}
SELECT DISTINCT ?p WHERE { { ?p property:P1001 ?s . VALUES ( ?s ) { ( resource:Q734 ) ( resource:Q1643825 ) } } . ?p rdf:type ontology:Q12737077 }
Prime Minister of Guyana Member of the National Assembly  of Guyana mayor of Valle de Manzanedo
Prime Minister of Guyana, Member of the National Assembly of Guyana and mayor of Valle de Manzanedo apply to jurisdiction over Valle de Manzanedo or Guyana
Prime Minister of Guyana Member of the National Assembly  of Guyana mayor of Valle de Manzanedo
action filter_type
action union
action find_reverse
entity Valle de Manzanedo
relation applies to jurisdiction
action find_reverse
entity Guyana
relation applies to jurisdiction
type occupation
{'OR': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Valle de Manzanedo'], [{'concept': 'occupation'}, 'applies to jurisdiction', 'Guyana']]}
SELECT DISTINCT ?p WHERE { { ?p property:applies_to_jurisdiction ?s . VALUES ( ?s ) { ( resource:Guyana ) ( resource:Valle_de_Manzanedo ) } } . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q15416 Q2342494
USER
How many administrative territories did exactly 5 television programs or collectables originate ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 5
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?n WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?n } }
action count
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 5
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?n WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?n } }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
4
Q1041 Q117 Q214 Q1011
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 5
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?n WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?n } }
Senegal Ghana Slovakia Cape Verde
4
action count
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 5
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?n WHERE { ?u rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?n } }
[]