Simple Question (Direct)
Simple Question
Q156769
P19
Q15617994
USER
Which administrative territory was Renzo Montagnani born at ?
(Q156769,P19,c(Q15617994))
action filter_type
action find
entity Q156769
relation P19
type Q15617994
['Q156769', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q156769 property:P19 ?f }
Renzo Montagnani
action filter_type
action find
entity Renzo Montagnani
relation place of birth
type designation for an administrative territorial entity
['Renzo Montagnani', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Renzo_Montagnani property:place_of_birth ?f }
[]
designation for an administrative territorial entity
Q6088
SYSTEM
Alessandria
Q6088
(Q156769,P19,c(Q15617994))
action filter_type
action find
entity Q156769
relation P19
type Q15617994
Renzo Montagnani was born in [ANSWER]
['Q156769', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q156769 property:P19 ?f }
Alessandria
Renzo Montagnani was born in Alessandria
Alessandria
action filter_type
action find
entity Renzo Montagnani
relation place of birth
type designation for an administrative territorial entity
['Renzo Montagnani', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Renzo_Montagnani property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q156769
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q6088)
action filter_type
action find_reverse
entity Q156769
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6088']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q156769 . ?b rdf:type ontology:Q838948 }
Renzo Montagnani
action filter_type
action find_reverse
entity Renzo Montagnani
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alessandria']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Renzo_Montagnani . ?b rdf:type ontology:work_of_art }
[]
work of art
Q1210863 Q1057768 Q655230
SYSTEM
The Mad Adventures of Rabbi Jacob, Massacre in Rome, All My Friends Part 2
Q17993083 Q3819378 Q3880667 Q3952004 Q3793648 Q3818822 Q495271 Q3811455 Q645490 Q2596632 Q3791301 Q1430245 Q1430244 Q1210863 Q3822193 Q3824250 Q3794438 Q3831476 Q1052328 Q3823646 Q672656 Q3823202 Q5438295 Q3795345 Q3796290 Q4004151 Q655230 Q3898503 Q3822826 Q3745918 Q4004171 Q3818741 Q3927008 Q3714723 Q680442 Q3666073 Q3927584 Q1057768 Q3855987 Q3793329 Q2690455 Q3648201 Q3795836 Q1108733 Q3818685 Q3713875 Q3824249 Q3823195 Q3926530 Q3823612 Q3953400 Q3935870 Q1477105 Q3791289
(c(Q838948),P161,Q6088)
action filter_type
action find_reverse
entity Q156769
relation P161
type Q838948
The name of works of art staring that person are [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q6088']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q156769 . ?b rdf:type ontology:Q838948 }
Dove volano i corvi d'argento The School Teacher in the House Occhio A Joke of Destiny Il corpo della ragassa L'assistente sociale tutto pepe Le Cadeau Jus primae noctis Metello The Assassination of Matteotti I sogni muoiono all'alba The Schoolteacher Goes to Boys' High L'insegnante balla... con tutta la classe The Mad Adventures of Rabbi Jacob La dottoressa preferisce i marinai La soldatessa alle grandi manovre Il letto in piazza Private Lessons Number One The Prey State buoni se potete La moglie vergine Faustina The Mighty Anselmo and His Squire Il volpone Una bella governante di colore All My Friends Part 2 Scandal in the Family La liceale al mare con l'amica di papà Fiorina la vacca Una cavalla tutta nuda L'arma, l'ora, il movente When Women Lost Their Tails Where Can You Go Without the Little Vice? Lovers and Liars Champagne in paradiso Quel movimento che mi piace tanto Massacre in Rome Mia moglie torna a scuola Il casinista Amici miei – Atto III There Is a Ghost in My Bed Il sindacalista The Libertine L'appuntamento Donna... cosa si fa per te La soldatessa alla visita militare La moglie in vacanza... l'amante in città Qua la mano La poliziotta a New York Scusi lei è normale? Rimini Rimini - Un anno dopo When Women Had Tails I sette fratelli Cervi
The name of works of art staring that person are The Mad Adventures of Rabbi Jacob, Massacre in Rome and All My Friends Part 2
The Mad Adventures of Rabbi Jacob Massacre in Rome All My Friends Part 2
action filter_type
action find_reverse
entity Renzo Montagnani
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alessandria']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Renzo_Montagnani . ?b rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q15416
USER
Which administrative territories are the narrative locations of exactly 2 works of art or television programs ?
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 2
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?i WHERE { VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?u rdf:type ?g } GROUP BY ?i } . FILTER ( ?l = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 2
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?i WHERE { VALUES ( ?g ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?u rdf:type ?g } GROUP BY ?i } . FILTER ( ?l = 2 ) }
[]
designation for an administrative territorial entity work of art television program
Q796 Q1028 Q236
SYSTEM
Iraq, Morocco, Montenegro
Q804 Q796 Q881 Q236 Q1028 Q1030 Q14859 Q2742 Q774
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 2
[ANSWERS] are the narrative locations of exactly 2 works of art or television programs
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?i WHERE { VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?u rdf:type ?g } GROUP BY ?i } . FILTER ( ?l = 2 ) }
Panama Iraq Vietnam Montenegro Morocco Namibia Ansbach Münster Guatemala
Iraq, Morocco and Montenegro are the narrative locations of exactly 2 works of art or television programs
Iraq Morocco Montenegro
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 2
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?i WHERE { VALUES ( ?g ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?u rdf:type ?g } GROUP BY ?i } . FILTER ( ?l = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1028
P463
Q43229
USER
How many organizations were Morocco a member of ?
(Q1028,P463,c(Q43229))
action count
action filter_type
action find
entity Q1028
relation P463
type Q43229
['Q1028', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q1028 property:P463 ?t . ?t rdf:type ontology:Q43229 }
Morocco
action count
action filter_type
action find
entity Morocco
relation member of
type organization
['Morocco', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Morocco property:member_of ?t . ?t rdf:type ontology:organization }
[]
organization
SYSTEM
7
Q340195 Q191384 Q899770 Q624307 Q656801 Q7825 Q827525
(Q1028,P463,c(Q43229))
action count
action filter_type
action find
entity Q1028
relation P463
type Q43229
[ANSWER]
['Q1028', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q1028 property:P463 ?t . ?t rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Arab Monetary Fund International Finance Corporation World Trade Organization International Development Association
7
action count
action filter_type
action find
entity Morocco
relation member of
type organization
['Morocco', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Morocco property:member_of ?t . ?t rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q58588
P463
Q43229
USER
And also tell me about Johann Friedrich Blumenbach?
(Q58588,P463,c(Q43229))
action count
action filter_type
action find
entity Q58588
relation P463
type Q43229
['Q58588', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:Q43229 . resource:Q58588 property:P463 ?v }
Johann Friedrich Blumenbach
action count
action filter_type
action find
entity Johann Friedrich Blumenbach
relation member of
type organization
['Johann Friedrich Blumenbach', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:organization . resource:Johann_Friedrich_Blumenbach property:member_of ?v }
[]
organization
SYSTEM
1
Q253439
(Q58588,P463,c(Q43229))
action count
action filter_type
action find
entity Q58588
relation P463
type Q43229
[ANSWER]
['Q58588', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:Q43229 . resource:Q58588 property:P463 ?v }
Royal Netherlands Academy of Arts and Sciences
1
action count
action filter_type
action find
entity Johann Friedrich Blumenbach
relation member of
type organization
['Johann Friedrich Blumenbach', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ontology:organization . resource:Johann_Friedrich_Blumenbach property:member_of ?v }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q564328
Q43229
USER
And how about Annalena Baerbock?
(Q564328,P463,c(Q43229))
action count
action filter_type
action find
entity Q564328
relation P463
type Q43229
['Q564328', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q564328 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Annalena Baerbock
action count
action filter_type
action find
entity Annalena Baerbock
relation member of
type organization
['Annalena Baerbock', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Annalena_Baerbock property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
SYSTEM
1
(Q564328,P463,c(Q43229))
action count
action filter_type
action find
entity Q564328
relation P463
type Q43229
[ANSWER]
['Q564328', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q564328 property:P463 ?f . ?f rdf:type ontology:Q43229 }
1
action count
action filter_type
action find
entity Annalena Baerbock
relation member of
type organization
['Annalena Baerbock', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Annalena_Baerbock property:member_of ?f . ?f rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q564328
P69
Q19335303 Q3918
USER
How many German business organizations and universities are Annalena Baerbock an alumni of ?
(Q564328,P69,c(Q19335303)) (Q564328,P69,c(Q3918))
action count
action union
action filter_type
action find
entity Q564328
relation P69
type Q19335303
action filter_type
action find
entity Q564328
relation P69
type Q3918
['Q564328', 'P69', {'concept': 'Q19335303'}] ['Q564328', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { resource:Q564328 property:P69 ?c . ?c rdf:type ontology:Q19335303 } UNION { resource:Q564328 property:P69 ?c . ?c rdf:type ontology:Q3918 } }
Annalena Baerbock
action count
action union
action filter_type
action find
entity Annalena Baerbock
relation educated at
type type of business entity in Germany
action filter_type
action find
entity Annalena Baerbock
relation educated at
type university
['Annalena Baerbock', 'educated at', {'concept': 'type of business entity in Germany'}] ['Annalena Baerbock', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { resource:Annalena_Baerbock property:educated_at ?c . ?c rdf:type ontology:type_of_business_entity_in_Germany } UNION { resource:Annalena_Baerbock property:educated_at ?c . ?c rdf:type ontology:university } }
[]
type of business entity in Germany university
SYSTEM
1 German business organizations and 1 universities
Q174570 Q153006
(Q564328,P69,c(Q19335303)) (Q564328,P69,c(Q3918))
action count
action union
action filter_type
action find
entity Q564328
relation P69
type Q19335303
action filter_type
action find
entity Q564328
relation P69
type Q3918
[ANSWER]
['Q564328', 'P69', {'concept': 'Q19335303'}] ['Q564328', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { resource:Q564328 property:P69 ?c . ?c rdf:type ontology:Q19335303 } UNION { resource:Q564328 property:P69 ?c . ?c rdf:type ontology:Q3918 } }
London School of Economics Free University of Berlin
1 German business organizations and 1 universities
action count
action union
action filter_type
action find
entity Annalena Baerbock
relation educated at
type type of business entity in Germany
action filter_type
action find
entity Annalena Baerbock
relation educated at
type university
['Annalena Baerbock', 'educated at', {'concept': 'type of business entity in Germany'}] ['Annalena Baerbock', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { resource:Annalena_Baerbock property:educated_at ?c . ?c rdf:type ontology:type_of_business_entity_in_Germany } UNION { resource:Annalena_Baerbock property:educated_at ?c . ?c rdf:type ontology:university } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:P530 ?u . ?j rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?t = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:diplomatic_relation ?u . ?j rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?t = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:P530 ?u . ?j rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?t = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
4
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:diplomatic_relation ?u . ?j rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?t = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028
P30
Q2221906
USER
Which geographic location is Morocco located in ?
(Q1028,P30,c(Q2221906))
action filter_type
action find
entity Q1028
relation P30
type Q2221906
['Q1028', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q1028 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Morocco
action filter_type
action find
entity Morocco
relation continent
type geographic location
['Morocco', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Morocco property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q1028,P30,c(Q2221906))
action filter_type
action find
entity Q1028
relation P30
type Q2221906
Morocco is located in [ANSWER]
['Q1028', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q1028 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Africa
Morocco is located in Africa
Africa
action filter_type
action find
entity Morocco
relation continent
type geographic location
['Morocco', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Morocco property:continent ?f . ?f rdf:type ontology:geographic_location }
[]