Simple Question (Direct)
Simple Question
Q727592
P19
Q56061
USER
Which administrative territory is the place of birth of Tomáš Jablonský ?
(Q727592,P19,c(Q56061))
action filter_type
action find
entity Q727592
relation P19
type Q56061
['Q727592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q727592 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Tomáš Jablonský
action filter_type
action find
entity Tomáš Jablonský
relation place of birth
type administrative territorial entity
['Tomáš Jablonský', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Tomáš_Jablonský property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q727592,P19,c(Q56061))
action filter_type
action find
entity Q727592
relation P19
type Q56061
[ANSWER] is the place of birth of Tomáš Jablonský
['Q727592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q727592 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Prague
Prague is the place of birth of Tomáš Jablonský
Prague
action filter_type
action find
entity Tomáš Jablonský
relation place of birth
type administrative territorial entity
['Tomáš Jablonský', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Tomáš_Jablonský property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q727592
P641
Q349
USER
Which sport did that person participate in ?
(Q1085,P641,c(Q349))
action filter_type
action find
entity Q727592
relation P641
type Q349
['Q1085', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q727592 property:P641 ?y . ?y rdf:type ontology:Q349 }
Tomáš Jablonský
action filter_type
action find
entity Tomáš Jablonský
relation sport
type sport
['Prague', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Tomáš_Jablonský property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1085,P641,c(Q349))
action filter_type
action find
entity Q727592
relation P641
type Q349
That person participated in [ANSWER]
['Q1085', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q727592 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Tomáš Jablonský
relation sport
type sport
['Prague', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Tomáš_Jablonský property:sport ?y . ?y rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
How many sports do greater number of people and organizations belong to than that sport ?
(c(Q502895)|c(Q43229),P101,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P101 ?h . ?h rdf:type ontology:Q349 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P101 ?h . ?h rdf:type ontology:Q349 . ?p rdf:type ontology:Q43229 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P101 resource:Q2736 . { { ?v rdf:type ontology:Q43229 } UNION { ?v rdf:type ontology:Q502895 } } } } . FILTER ( ?x > ?y ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:field_of_work ?h . ?h rdf:type ontology:sport . ?p rdf:type ontology:common_name } UNION { ?p property:field_of_work ?h . ?h rdf:type ontology:sport . ?p rdf:type ontology:organization } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:field_of_work resource:association_football . { { ?v rdf:type ontology:organization } UNION { ?v rdf:type ontology:common_name } } } } . FILTER ( ?x > ?y ) }
[]
sport common name organization
SYSTEM
2
Q4543 Q500050
(c(Q502895)|c(Q43229),P101,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q43229
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P101 ?h . ?h rdf:type ontology:Q349 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P101 ?h . ?h rdf:type ontology:Q349 . ?p rdf:type ontology:Q43229 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P101 resource:Q2736 . { { ?v rdf:type ontology:Q43229 } UNION { ?v rdf:type ontology:Q502895 } } } } . FILTER ( ?x > ?y ) }
beach volleyball cross country running
2
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:field_of_work ?h . ?h rdf:type ontology:sport . ?p rdf:type ontology:common_name } UNION { ?p property:field_of_work ?h . ?h rdf:type ontology:sport . ?p rdf:type ontology:organization } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:field_of_work resource:association_football . { { ?v rdf:type ontology:organization } UNION { ?v rdf:type ontology:common_name } } } } . FILTER ( ?x > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P710
Q1190554
USER
What event was Prague a participant of ?
(c(Q1190554),P710,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q1085']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1190554 . ?r property:P710 resource:Q1085 }
Prague
action filter_type
action find_reverse
entity Prague
relation participant
type event
[{'concept': 'event'}, 'participant', 'Prague']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:event . ?r property:participant resource:Prague }
[]
event
Q4870163
SYSTEM
Battle for Czech Radio
Q4870163
(c(Q1190554),P710,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P710
type Q1190554
Prague was the [ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q1085']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1190554 . ?r property:P710 resource:Q1085 }
Battle for Czech Radio
Prague was the Battle for Czech Radio
Battle for Czech Radio
action filter_type
action find_reverse
entity Prague
relation participant
type event
[{'concept': 'event'}, 'participant', 'Prague']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:event . ?r property:participant resource:Prague }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P1376
Q7275
USER
Which states have Prague as their county seat ?
(Q1085,P1376,c(Q7275))
action filter_type
action find
entity Q1085
relation P1376
type Q7275
['Q1085', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7275 . resource:Q1085 property:P1376 ?f }
Prague
action filter_type
action find
entity Prague
relation capital of
type state
['Prague', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:state . resource:Prague property:capital_of ?f }
[]
state
Q33946 Q42585 Q1998866
SYSTEM
Czechoslovakia, Kingdom of Bohemia, Czech and Slovak Federal Republic
Q1998866 Q42585 Q2162698 Q33946
(Q1085,P1376,c(Q7275))
action filter_type
action find
entity Q1085
relation P1376
type Q7275
[ANSWERS] have Prague as their county seat
['Q1085', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7275 . resource:Q1085 property:P1376 ?f }
Czech and Slovak Federal Republic Kingdom of Bohemia Duchy of Bohemia Czechoslovakia
Czechoslovakia, Kingdom of Bohemia and Czech and Slovak Federal Republic have Prague as their county seat
Czechoslovakia Kingdom of Bohemia Czech and Slovak Federal Republic
action filter_type
action find
entity Prague
relation capital of
type state
['Prague', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:state . resource:Prague property:capital_of ?f }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33946
P85
Q484692
USER
Which hymn is the anthem for that state ?
(Q33946,P85,c(Q484692))
action filter_type
action find
entity Q33946
relation P85
type Q484692
['Q33946', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?u WHERE { resource:Q33946 property:P85 ?u . ?u rdf:type ontology:Q484692 }
Czechoslovakia
action filter_type
action find
entity Czechoslovakia
relation anthem
type hymn
['Czechoslovakia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?u WHERE { resource:Czechoslovakia property:anthem ?u . ?u rdf:type ontology:hymn }
[]
hymn
Clarification for simple ques.
Q42585
SYSTEM
Did you mean Kingdom of Bohemia ?
Q33946 Q42585 Q1998866
(Q33946,P85,c(Q484692)) (Q42585,P85,c(Q484692)) (Q1998866,P85,c(Q484692))
[ANSWER]
['Q33946', 'P85', {'concept': 'Q484692'}] ['Q42585', 'P85', {'concept': 'Q484692'}] ['Q1998866', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?u WHERE { resource:Q33946 property:P85 ?u . ?u rdf:type ontology:Q484692 }
Czechoslovakia Kingdom of Bohemia Czech and Slovak Federal Republic
Did you mean Kingdom of Bohemia ?
Kingdom of Bohemia
['Czechoslovakia', 'anthem', {'concept': 'hymn'}] ['Kingdom of Bohemia', 'anthem', {'concept': 'hymn'}] ['Czech and Slovak Federal Republic', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?u WHERE { resource:Czechoslovakia property:anthem ?u . ?u rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
USER
No, I meant Czechoslovakia. Could you tell me the answer for that?
(Q33946,P85,c(Q484692))
Q33946
['Q33946', 'P85', {'concept': 'Q484692'}]
['Czechoslovakia', 'anthem', {'concept': 'hymn'}]
[]
Q11178664
SYSTEM
Czechoslovak anthem
Q11178664
(Q33946,P85,c(Q484692))
action filter_type
action find
entity Q33946
relation P85
type Q484692
[ANSWER] is the anthem for that state
['Q33946', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?u WHERE { resource:Q33946 property:P85 ?u . ?u rdf:type ontology:Q484692 }
Czechoslovak anthem
Czechoslovak anthem is the anthem for that state
Czechoslovak anthem
action filter_type
action find
entity Czechoslovakia
relation anthem
type hymn
['Czechoslovakia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?u WHERE { resource:Czechoslovakia property:anthem ?u . ?u rdf:type ontology:hymn }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q493517
P194
Q11204 Q7275
USER
How many legislatures govern more number of states than National Assembly for Wales ?
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q493517
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P194 ?t . ?t rdf:type ontology:Q11204 . ?j rdf:type ontology:Q7275 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q493517 property:P194 ?v . ?v rdf:type ontology:Q11204 } } . FILTER ( ?d > ?q ) }
National Assembly for Wales
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity National Assembly for Wales
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:legislative_body ?t . ?t rdf:type ontology:legislature . ?j rdf:type ontology:state } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:National_Assembly_for_Wales property:legislative_body ?v . ?v rdf:type ontology:legislature } } . FILTER ( ?d > ?q ) }
[]
legislature state
SYSTEM
15
Q494162 Q6879217 Q980284 Q669970 Q1579497 Q3244416 Q388526 Q539149 Q3363019 Q2326816 Q700757 Q920222 Q876529 Q497578 Q3103766
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q493517
relation P194
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P194 ?t . ?t rdf:type ontology:Q11204 . ?j rdf:type ontology:Q7275 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q493517 property:P194 ?v . ?v rdf:type ontology:Q11204 } } . FILTER ( ?d > ?q ) }
National Assembly Mississippi Legislature South Carolina General Assembly Imperial Diet Parliament of Montenegro East Bengal Legislative Assembly Estates of Sint Maarten Congress of Deputies Assembly of the Union Estates of Curaçao Diet of Hungary National Assembly Imperial Diet Witenagemot Georgia General Assembly
15
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity National Assembly for Wales
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:legislative_body ?t . ?t rdf:type ontology:legislature . ?j rdf:type ontology:state } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:National_Assembly_for_Wales property:legislative_body ?v . ?v rdf:type ontology:legislature } } . FILTER ( ?d > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5338634
P144
Q502895 Q15961987 Q6619679
USER
How many people do more number of television genres and fictional humanoids extend upon than Edith O'Shaughnessy ?
(c(Q15961987)|c(Q6619679),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q5338634
relation P144
type Q15961987
type Q6619679
[[{'concept': 'Q15961987'}, {'concept': 'Q6619679'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:Q15961987 ) ( ontology:Q6619679 ) } . ?h rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:Q15961987 } UNION { ?c rdf:type ontology:Q6619679 } } . ?c property:P144 resource:Q5338634 } } . FILTER ( ?b > ?r ) }
Edith O'Shaughnessy
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type television genre
action find_reverse_tuple_counts
relation based on
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Edith O'Shaughnessy
relation based on
type television genre
type fictional humanoid
[[{'concept': 'television genre'}, {'concept': 'fictional humanoid'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:television_genre ) ( ontology:fictional_humanoid ) } . ?h rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:television_genre } UNION { ?c rdf:type ontology:fictional_humanoid } } . ?c property:based_on resource:Edith_O'Shaughnessy } } . FILTER ( ?b > ?r ) }
[]
common name television genre fictional humanoid
SYSTEM
47
Q696052 Q1964376 Q937 Q6851849 Q6968888 Q294931 Q222831 Q717294 Q907550 Q313866 Q296313 Q5358186 Q6389787 Q60029 Q312692 Q232913 Q5264 Q157040 Q378053 Q808209 Q7341746 Q269812 Q467646 Q557360 Q197359 Q189081 Q4532024 Q6814106 Q5296634 Q297743 Q57652 Q110714 Q3083638 Q306914 Q51505 Q4884844 Q23722455 Q6691 Q7106226 Q1441684 Q106255 Q311966 Q1048 Q315607 Q161154 Q4963602 Q40096
(c(Q15961987)|c(Q6619679),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q5338634
relation P144
type Q15961987
type Q6619679
[ANSWER]
[[{'concept': 'Q15961987'}, {'concept': 'Q6619679'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:Q15961987 ) ( ontology:Q6619679 ) } . ?h rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:Q15961987 } UNION { ?c rdf:type ontology:Q6619679 } } . ?c property:P144 resource:Q5338634 } } . FILTER ( ?b > ?r ) }
Arnold Rothstein Anthony Poshepny Albert Einstein Milicent Bagot Nathan Barksdale William Randolph Hearst Ilich Ramírez Sánchez Krystyna Skarbek Eugène Turpin William Adams Kim Philby Yarō Abe Kenneth A. Jackson Oskar Schindler Bud Powell Beatrice Portinari Hippocrates Lajos Kossuth Rob Roy MacGregor Barisan of Ibelin Robert B. Rheault Christina Nilsson Jane Franklin Ármin Vámbéry Empress Zhang Howard Hughes Beulah Annan Melvin Williams Donnie Andrews Lillie Langtry Helle Thorning-Schmidt Lester Young François-René Crespin du Bec Abbé Faria Jean Baptiste Antoine Marcellin de Marbot Belva Gaertner Andrei Homer Oscar Requer Francis Paudras Jean-Paul Belmondo Roger Casement Julius Caesar David Farragut Lola Montez Brian Dowling Will Smith
47
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type television genre
action find_reverse_tuple_counts
relation based on
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Edith O'Shaughnessy
relation based on
type television genre
type fictional humanoid
[[{'concept': 'television genre'}, {'concept': 'fictional humanoid'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:television_genre ) ( ontology:fictional_humanoid ) } . ?h rdf:type ?o } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { { ?c rdf:type ontology:television_genre } UNION { ?c rdf:type ontology:fictional_humanoid } } . ?c property:based_on resource:Edith_O'Shaughnessy } } . FILTER ( ?b > ?r ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q7275
USER
Which legislatures represent approximately 2 states ?
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P194 ?d . ?d rdf:type ontology:Q11204 . ?v rdf:type ontology:Q7275 } GROUP BY ?d } . FILTER ( ?y = 2 ) }
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:legislative_body ?d . ?d rdf:type ontology:legislature . ?v rdf:type ontology:state } GROUP BY ?d } . FILTER ( ?y = 2 ) }
[]
legislature state
Q539149 Q497578
SYSTEM
Congress of Deputies, Witenagemot
Q539149 Q497578
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[ANSWERS] represent approximately 2 states
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P194 ?d . ?d rdf:type ontology:Q11204 . ?v rdf:type ontology:Q7275 } GROUP BY ?d } . FILTER ( ?y = 2 ) }
Congress of Deputies Witenagemot
Congress of Deputies and Witenagemot represent approximately 2 states
Congress of Deputies Witenagemot
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:legislative_body ?d . ?d rdf:type ontology:legislature . ?v rdf:type ontology:state } GROUP BY ?d } . FILTER ( ?y = 2 ) }
[]