Simple Question (Direct)
Simple Question
Q3172095
P166
Q618779
USER
What was won by Jean-François-Albert du Pouget de Nadaillac ?
(Q3172095,P166,c(Q618779))
action filter_type
action find
entity Q3172095
relation P166
type Q618779
['Q3172095', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q3172095 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Jean-François-Albert du Pouget de Nadaillac
action filter_type
action find
entity Jean-François-Albert du Pouget de Nadaillac
relation award received
type award
['Jean-François-Albert du Pouget de Nadaillac', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Jean-François-Albert_du_Pouget_de_Nadaillac property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q3172095,P166,c(Q618779))
action filter_type
action find
entity Q3172095
relation P166
type Q618779
The [ANSWER] was won by Jean-François-Albert du Pouget de Nadaillac
['Q3172095', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q3172095 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Knight of the Legion of Honour
The Knight of the Legion of Honour was won by Jean-François-Albert du Pouget de Nadaillac
Knight of the Legion of Honour
action filter_type
action find
entity Jean-François-Albert du Pouget de Nadaillac
relation award received
type award
['Jean-François-Albert du Pouget de Nadaillac', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Jean-François-Albert_du_Pouget_de_Nadaillac property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3172095
P97
Q4164871
USER
What title was held by that person ?
(Q10855271,P97,c(Q4164871))
action filter_type
action find
entity Q3172095
relation P97
type Q4164871
['Q10855271', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q3172095 property:P97 ?f . ?f rdf:type ontology:Q4164871 }
Jean-François-Albert du Pouget de Nadaillac
action filter_type
action find
entity Jean-François-Albert du Pouget de Nadaillac
relation noble title
type position
['Knight of the Legion of Honour', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Jean-François-Albert_du_Pouget_de_Nadaillac property:noble_title ?f . ?f rdf:type ontology:position }
[]
position
Q209726
SYSTEM
marquess
Q209726
(Q10855271,P97,c(Q4164871))
action filter_type
action find
entity Q3172095
relation P97
type Q4164871
The [ANSWER] was held by that person
['Q10855271', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q3172095 property:P97 ?f . ?f rdf:type ontology:Q4164871 }
marquess
The marquess was held by that person
marquess
action filter_type
action find
entity Jean-François-Albert du Pouget de Nadaillac
relation noble title
type position
['Knight of the Legion of Honour', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Jean-François-Albert_du_Pouget_de_Nadaillac property:noble_title ?f . ?f rdf:type ontology:position }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3172095
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Jean-François-Albert du Pouget de Nadaillac ?
(Q3172095,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3172095
relation P27
type Q15617994
['Q3172095', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q3172095 property:P27 ?s }
Jean-François-Albert du Pouget de Nadaillac
action count
action filter_type
action find
entity Jean-François-Albert du Pouget de Nadaillac
relation country of citizenship
type designation for an administrative territorial entity
['Jean-François-Albert du Pouget de Nadaillac', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-François-Albert_du_Pouget_de_Nadaillac property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q3172095,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3172095
relation P27
type Q15617994
[ANSWER]
['Q3172095', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q3172095 property:P27 ?s }
France
1
action count
action filter_type
action find
entity Jean-François-Albert du Pouget de Nadaillac
relation country of citizenship
type designation for an administrative territorial entity
['Jean-François-Albert du Pouget de Nadaillac', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-François-Albert_du_Pouget_de_Nadaillac property:country_of_citizenship ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17439705
P86
Q838948
USER
Which works of art have Ginge Anvik as the melodist ?
(c(Q838948),P86,Q17439705)
action filter_type
action find_reverse
entity Q17439705
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q17439705']
SELECT DISTINCT ?u WHERE { ?u property:P86 resource:Q17439705 . ?u rdf:type ontology:Q838948 }
Ginge Anvik
action filter_type
action find_reverse
entity Ginge Anvik
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Ginge Anvik']
SELECT DISTINCT ?u WHERE { ?u property:composer resource:Ginge_Anvik . ?u rdf:type ontology:work_of_art }
[]
work of art
Q10577725 Q490588 Q12006724
SYSTEM
Mars & Venus, The Bothersome Man, Tommys inferno
Q477307 Q820850 Q10577725 Q12006724 Q1758363 Q1479227 Q490588
(c(Q838948),P86,Q17439705)
action filter_type
action find_reverse
entity Q17439705
relation P86
type Q838948
[ANSWERS] have Ginge Anvik as the melodist
[{'concept': 'Q838948'}, 'P86', 'Q17439705']
SELECT DISTINCT ?u WHERE { ?u property:P86 resource:Q17439705 . ?u rdf:type ontology:Q838948 }
Sons of Norway Uro Mars & Venus Tommys inferno Bitter Flowers Turn Me On, Dammit! The Bothersome Man
Mars & Venus, The Bothersome Man and Tommys inferno have Ginge Anvik as the melodist
Mars & Venus The Bothersome Man Tommys inferno
action filter_type
action find_reverse
entity Ginge Anvik
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Ginge Anvik']
SELECT DISTINCT ?u WHERE { ?u property:composer resource:Ginge_Anvik . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q10577725 Q490588 Q12006724
P58
Q502895
USER
Who wrote the screenplay for those works of art ?
(Q10577725,P58,c(Q502895)) (Q490588,P58,c(Q502895)) (Q12006724,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q10577725', 'P58', {'concept': 'Q502895'}] ['Q490588', 'P58', {'concept': 'Q502895'}] ['Q12006724', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . VALUES ( ?b ) { ( resource:Q477307 ) ( resource:Q820850 ) ( resource:Q10577725 ) } . ?b property:P58 ?l }
Mars & Venus The Bothersome Man Tommys inferno
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Mars & Venus', 'screenwriter', {'concept': 'common name'}] ['The Bothersome Man', 'screenwriter', {'concept': 'common name'}] ['Tommys inferno', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . VALUES ( ?b ) { ( resource:Sons_of_Norway ) ( resource:Uro ) ( resource:Mars_&_Venus ) } . ?b property:screenwriter ?l }
[]
common name
Q6169236 Q5415035 Q22269507
SYSTEM
Per H.V. Schreiner, Eva Dahr, Ove Raymond Gyldenås
Q5415035 Q11957990 Q6169236 Q22269507
(Q10577725,P58,c(Q502895)) (Q490588,P58,c(Q502895)) (Q12006724,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
[ANSWERS] wrote the screenplay for those works of art
['Q10577725', 'P58', {'concept': 'Q502895'}] ['Q490588', 'P58', {'concept': 'Q502895'}] ['Q12006724', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . VALUES ( ?b ) { ( resource:Q477307 ) ( resource:Q820850 ) ( resource:Q10577725 ) } . ?b property:P58 ?l }
Eva Dahr Andreas Markusson Per H.V. Schreiner Ove Raymond Gyldenås
Per H.V. Schreiner, Eva Dahr and Ove Raymond Gyldenås wrote the screenplay for those works of art
Per H.V. Schreiner Eva Dahr Ove Raymond Gyldenås
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Mars & Venus', 'screenwriter', {'concept': 'common name'}] ['The Bothersome Man', 'screenwriter', {'concept': 'common name'}] ['Tommys inferno', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . VALUES ( ?b ) { ( resource:Sons_of_Norway ) ( resource:Uro ) ( resource:Mars_&_Venus ) } . ?b property:screenwriter ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10577725
P57
Q502895
USER
Who was that work of art directed by ?
(Q10577725,P57,c(Q502895))
action filter_type
action find
entity Q10577725
relation P57
type Q502895
['Q10577725', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q10577725 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Mars & Venus
action filter_type
action find
entity Mars & Venus
relation director
type common name
['Mars & Venus', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Mars_&_Venus property:director ?e . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q10577725
SYSTEM
Did you mean Mars & Venus ?
Q6169236 Q5415035 Q22269507
(Q6169236,P57,c(Q502895)) (Q5415035,P57,c(Q502895)) (Q22269507,P57,c(Q502895))
[ANSWER]
['Q6169236', 'P57', {'concept': 'Q502895'}] ['Q5415035', 'P57', {'concept': 'Q502895'}] ['Q22269507', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q10577725 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Per H.V. Schreiner Eva Dahr Ove Raymond Gyldenås
Did you mean Mars & Venus ?
Mars & Venus
['Per H.V. Schreiner', 'director', {'concept': 'common name'}] ['Eva Dahr', 'director', {'concept': 'common name'}] ['Ove Raymond Gyldenås', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Mars_&_Venus property:director ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q10577725,P57,c(Q502895))
['Q10577725', 'P57', {'concept': 'Q502895'}]
['Mars & Venus', 'director', {'concept': 'common name'}]
[]
Q5415035
SYSTEM
Eva Dahr
Q5415035
(Q10577725,P57,c(Q502895))
action filter_type
action find
entity Q10577725
relation P57
type Q502895
By that work of art directed was by [ANSWER]
['Q10577725', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q10577725 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Eva Dahr
By that work of art directed was by Eva Dahr
Eva Dahr
action filter_type
action find
entity Mars & Venus
relation director
type common name
['Mars & Venus', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Mars_&_Venus property:director ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10577725
P344
Q502895
USER
Who is appointed as the cinematographer of Mars & Venus ?
(Q10577725,P344,c(Q502895))
action filter_type
action find
entity Q10577725
relation P344
type Q502895
['Q10577725', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q10577725 property:P344 ?p }
Mars & Venus
action filter_type
action find
entity Mars & Venus
relation director of photography
type common name
['Mars & Venus', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Mars_&_Venus property:director_of_photography ?p }
[]
common name
Q22255012
SYSTEM
Tore Vollan
Q22255012
(Q10577725,P344,c(Q502895))
action filter_type
action find
entity Q10577725
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of Mars & Venus
['Q10577725', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q10577725 property:P344 ?p }
Tore Vollan
Tore Vollan is appointed as the cinematographer of Mars & Venus
Tore Vollan
action filter_type
action find
entity Mars & Venus
relation director of photography
type common name
['Mars & Venus', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Mars_&_Venus property:director_of_photography ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10577725
P1040
Q502895
USER
Who is the editor of that work of art ?
(Q22255012,P1040,c(Q502895))
action filter_type
action find
entity Q10577725
relation P1040
type Q502895
['Q22255012', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q10577725 property:P1040 ?c . ?c rdf:type ontology:Q502895 }
Mars & Venus
action filter_type
action find
entity Mars & Venus
relation film editor
type common name
['Tore Vollan', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Mars_&_Venus property:film_editor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q22282138
SYSTEM
Per Erik Eriksen
Q22282138
(Q22255012,P1040,c(Q502895))
action filter_type
action find
entity Q10577725
relation P1040
type Q502895
The editor of that work of art is the [ANSWER]
['Q22255012', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q10577725 property:P1040 ?c . ?c rdf:type ontology:Q502895 }
Per Erik Eriksen
The editor of that work of art is the Per Erik Eriksen
Per Erik Eriksen
action filter_type
action find
entity Mars & Venus
relation film editor
type common name
['Tore Vollan', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Mars_&_Venus property:film_editor ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22282138
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q22282138,P27,c(Q15617994))
action filter_type
action find
entity Q22282138
relation P27
type Q15617994
['Q22282138', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q22282138 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Per Erik Eriksen
action filter_type
action find
entity Per Erik Eriksen
relation country of citizenship
type designation for an administrative territorial entity
['Per Erik Eriksen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Per_Erik_Eriksen property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q22282138,P27,c(Q15617994))
action filter_type
action find
entity Q22282138
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q22282138', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q22282138 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Norway
Norway is the country of citizenship of that person
Norway
action filter_type
action find
entity Per Erik Eriksen
relation country of citizenship
type designation for an administrative territorial entity
['Per Erik Eriksen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Per_Erik_Eriksen property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories are bordered by that administrative territory ?
(Q20,P47,c(Q15617994)) (Q20,P47,c(Q1048835)) (Q20,P47,c(Q15617994)) (Q20,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q20
relation P47
type Q15617994
action filter_type
action find
entity Q20
relation P47
type Q1048835
['Q20', 'P47', {'concept': 'Q15617994'}] ['Q20', 'P47', {'concept': 'Q1048835'}] ['Q20', 'P47', {'concept': 'Q15617994'}] ['Q20', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?i rdf:type ?r }
action count
action union
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Norway
relation shares border with
type political territorial entity
['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Norway', 'shares border with', {'concept': 'political territorial entity'}] ['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Norway', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?r }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
4
Q33 Q159 Q35 Q34
(Q20,P47,c(Q15617994)) (Q20,P47,c(Q1048835)) (Q20,P47,c(Q15617994)) (Q20,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q20
relation P47
type Q15617994
action filter_type
action find
entity Q20
relation P47
type Q1048835
[ANSWER]
['Q20', 'P47', {'concept': 'Q15617994'}] ['Q20', 'P47', {'concept': 'Q1048835'}] ['Q20', 'P47', {'concept': 'Q15617994'}] ['Q20', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?i rdf:type ?r }
Finland Russia Denmark Sweden
4
action count
action union
action filter_type
action find
entity Norway
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Norway
relation shares border with
type political territorial entity
['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Norway', 'shares border with', {'concept': 'political territorial entity'}] ['Norway', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Norway', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?r }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q25906264
P1001
Q1048835 Q852446 Q4164871
USER
How many positions apply to jurisdiction over more number of political territories and US administrative territories than Shadow Minister for the Environment ?
(c(Q4164871),P1001,c(Q1048835)|c(Q852446))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25906264
relation P1001
type Q1048835
type Q852446
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?l property:P1001 ?e . ?l rdf:type ontology:Q4164871 . ?e rdf:type ontology:Q852446 } UNION { ?l property:P1001 ?e . ?l rdf:type ontology:Q4164871 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q25906264 property:P1001 ?n . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } } } } . FILTER ( ?y > ?q ) }
Shadow Minister for the Environment
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Shadow Minister for the Environment
relation applies to jurisdiction
type political territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?l property:applies_to_jurisdiction ?e . ?l rdf:type ontology:position . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?l property:applies_to_jurisdiction ?e . ?l rdf:type ontology:position . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Shadow_Minister_for_the_Environment property:applies_to_jurisdiction ?n . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } } } } . FILTER ( ?y > ?q ) }
[]
political territorial entity administrative territorial entity of the United States position
SYSTEM
20
Q24851389 Q25513955 Q25514686 Q25712498 Q25712497 Q1647332 Q24232020 Q21070726 Q1420322 Q7574260 Q912560 Q25917099 Q20188454 Q25776270 Q24026255 Q1853515 Q24190727 Q1790061 Q25998902 Q25909440
(c(Q4164871),P1001,c(Q1048835)|c(Q852446))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25906264
relation P1001
type Q1048835
type Q852446
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?l property:P1001 ?e . ?l rdf:type ontology:Q4164871 . ?e rdf:type ontology:Q852446 } UNION { ?l property:P1001 ?e . ?l rdf:type ontology:Q4164871 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q25906264 property:P1001 ?n . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } } } } . FILTER ( ?y > ?q ) }
count of Foix Minister of Social Affairs Minister for Justice and Consumer Affairs Minister for Economic Development Minister for the Treasury Landtagspräsident Member of the Legislative Assembly of the Falkland Islands Deputy Prime Minister Lieutenant Governor of Louisiana Speaker of the Flemish Parliament Lieutenant Governor of Hawaii Deputy Prime Minister Member of the Aragonese Corts Minister for Climate and Energy Minister for Aged Care Lieutenant Governor of Arkansas Minister of Small Business and Tourism Lieutenant Governor of the Isle of Man Minister of Social Development Minister for Special Trade Negotiations
20
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Shadow Minister for the Environment
relation applies to jurisdiction
type political territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?l WHERE { { ?l property:applies_to_jurisdiction ?e . ?l rdf:type ontology:position . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?l property:applies_to_jurisdiction ?e . ?l rdf:type ontology:position . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Shadow_Minister_for_the_Environment property:applies_to_jurisdiction ?n . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } } } } . FILTER ( ?y > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q25906187
P1001
Q1048835 Q852446 Q4164871
USER
And how about Shadow Chancellor of the Duchy of Lancaster?
(c(Q4164871),P1001,c(Q1048835)|c(Q852446))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25906187
relation P1001
type Q1048835
type Q852446
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } . ?s rdf:type ?b } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q25906187 property:P1001 ?m . { { ?m rdf:type ontology:Q1048835 } UNION { ?m rdf:type ontology:Q852446 } } } } }
Shadow Chancellor of the Duchy of Lancaster
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Shadow Chancellor of the Duchy of Lancaster
relation applies to jurisdiction
type political territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) ?z WHERE { VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?s rdf:type ?b } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Shadow_Chancellor_of_the_Duchy_of_Lancaster property:applies_to_jurisdiction ?m . { { ?m rdf:type ontology:political_territorial_entity } UNION { ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States } } } } }
[]
political territorial entity administrative territorial entity of the United States position
SYSTEM
20
Q24851389 Q25513955 Q25514686 Q25712498 Q25712497 Q1647332 Q24232020 Q21070726 Q1420322 Q7574260 Q912560 Q25917099 Q20188454 Q25776270 Q24026255 Q1853515 Q24190727 Q1790061 Q25998902 Q25909440
(c(Q4164871),P1001,c(Q1048835)|c(Q852446))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25906187
relation P1001
type Q1048835
type Q852446
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } . ?s rdf:type ?b } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q25906187 property:P1001 ?m . { { ?m rdf:type ontology:Q1048835 } UNION { ?m rdf:type ontology:Q852446 } } } } }
count of Foix Minister of Social Affairs Minister for Justice and Consumer Affairs Minister for Economic Development Minister for the Treasury Landtagspräsident Member of the Legislative Assembly of the Falkland Islands Deputy Prime Minister Lieutenant Governor of Louisiana Speaker of the Flemish Parliament Lieutenant Governor of Hawaii Deputy Prime Minister Member of the Aragonese Corts Minister for Climate and Energy Minister for Aged Care Lieutenant Governor of Arkansas Minister of Small Business and Tourism Lieutenant Governor of the Isle of Man Minister of Social Development Minister for Special Trade Negotiations
20
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Shadow Chancellor of the Duchy of Lancaster
relation applies to jurisdiction
type political territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) ?z WHERE { VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?s rdf:type ?b } GROUP BY ?z } . FILTER ( ?y > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Shadow_Chancellor_of_the_Duchy_of_Lancaster property:applies_to_jurisdiction ?m . { { ?m rdf:type ontology:political_territorial_entity } UNION { ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P138
Q17444909
USER
Which astronomical object type is named after Norway ?
(c(Q17444909),P138,Q20)
action filter_type
action find_reverse
entity Q20
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q20']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q20 . ?b rdf:type ontology:Q17444909 }
Norway
action filter_type
action find_reverse
entity Norway
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Norway']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Norway . ?b rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q1090596
SYSTEM
11871 Norge
Q1090596
(c(Q17444909),P138,Q20)
action filter_type
action find_reverse
entity Q20
relation P138
type Q17444909
[ANSWER] is named after Norway
[{'concept': 'Q17444909'}, 'P138', 'Q20']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q20 . ?b rdf:type ontology:Q17444909 }
11871 Norge
11871 Norge is named after Norway
11871 Norge
action filter_type
action find_reverse
entity Norway
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Norway']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Norway . ?b rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1090596
P61
Q502895
USER
Which person was the first person to come up with that astronomical object type ?
(Q1090596,P61,c(Q502895))
action filter_type
action find
entity Q1090596
relation P61
type Q502895
['Q1090596', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q1090596 property:P61 ?l }
11871 Norge
action filter_type
action find
entity 11871 Norge
relation discoverer or inventor
type common name
['11871 Norge', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:11871_Norge property:discoverer_or_inventor ?l }
[]
common name
Q312755
SYSTEM
Eric Walter Elst
Q312755
(Q1090596,P61,c(Q502895))
action filter_type
action find
entity Q1090596
relation P61
type Q502895
[ANSWER] was the first person to come up with that astronomical object type
['Q1090596', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q1090596 property:P61 ?l }
Eric Walter Elst
Eric Walter Elst was the first person to come up with that astronomical object type
Eric Walter Elst
action filter_type
action find
entity 11871 Norge
relation discoverer or inventor
type common name
['11871 Norge', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:11871_Norge property:discoverer_or_inventor ?l }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q312755 Q31 Q7808872
P27
Q15617994
USER
Is that person a native of Belgium and Tippecanoe School Corporation ?
(Q312755,P27,Q31) (Q312755,P27,Q7808872)
action is_in
entity Q312755
action intersection
action find_reverse
entity Q31
relation P27
action find_reverse
entity Q7808872
relation P27
['Q312755', 'P27', 'Q31'] ['Q312755', 'P27', 'Q7808872']
ASK WHERE { resource:Q312755 property:P27 resource:Q31 . resource:Q312755 property:P27 resource:Q7808872 }
Eric Walter Elst Belgium Tippecanoe School Corporation
action is_in
entity Eric Walter Elst
action intersection
action find_reverse
entity Belgium
relation country of citizenship
action find_reverse
entity Tippecanoe School Corporation
relation country of citizenship
['Eric Walter Elst', 'country of citizenship', 'Belgium'] ['Eric Walter Elst', 'country of citizenship', 'Tippecanoe School Corporation']
ASK WHERE { resource:Eric_Walter_Elst property:country_of_citizenship resource:Belgium . resource:Eric_Walter_Elst property:country_of_citizenship resource:Tippecanoe_School_Corporation }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q312755,P27,Q31) (Q312755,P27,Q7808872)
action is_in
entity Q312755
action intersection
action find_reverse
entity Q31
relation P27
action find_reverse
entity Q7808872
relation P27
[ANSWER]
['Q312755', 'P27', 'Q31'] ['Q312755', 'P27', 'Q7808872']
ASK WHERE { resource:Q312755 property:P27 resource:Q31 . resource:Q312755 property:P27 resource:Q7808872 }
YES and NO respectively
action is_in
entity Eric Walter Elst
action intersection
action find_reverse
entity Belgium
relation country of citizenship
action find_reverse
entity Tippecanoe School Corporation
relation country of citizenship
['Eric Walter Elst', 'country of citizenship', 'Belgium'] ['Eric Walter Elst', 'country of citizenship', 'Tippecanoe School Corporation']
ASK WHERE { resource:Eric_Walter_Elst property:country_of_citizenship resource:Belgium . resource:Eric_Walter_Elst property:country_of_citizenship resource:Tippecanoe_School_Corporation }
[]