Simple Question (Direct)
Simple Question
Q980349
P463
Q3914
USER
What was Luan Starova a member of ?
(Q980349,P463,c(Q3914))
action filter_type
action find
entity Q980349
relation P463
type Q3914
['Q980349', 'P463', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3914 . resource:Q980349 property:P463 ?g }
Luan Starova
action filter_type
action find
entity Luan Starova
relation member of
type school
['Luan Starova', 'member of', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:school . resource:Luan_Starova property:member_of ?g }
[]
school
Q2466285
SYSTEM
Macedonian Academy of Sciences and Arts
Q2466285
(Q980349,P463,c(Q3914))
action filter_type
action find
entity Q980349
relation P463
type Q3914
[ANSWER]
['Q980349', 'P463', {'concept': 'Q3914'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3914 . resource:Q980349 property:P463 ?g }
Macedonian Academy of Sciences and Arts
Macedonian Academy of Sciences and Arts
action filter_type
action find
entity Luan Starova
relation member of
type school
['Luan Starova', 'member of', {'concept': 'school'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:school . resource:Luan_Starova property:member_of ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2466285
P123
Q223393
USER
Which literary genre produced that school ?
(c(Q223393),P123,Q2466285)
action filter_type
action find_reverse
entity Q2466285
relation P123
type Q223393
[{'concept': 'Q223393'}, 'P123', 'Q2466285']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q223393 . ?o property:P123 resource:Q2466285 }
Macedonian Academy of Sciences and Arts
action filter_type
action find_reverse
entity Macedonian Academy of Sciences and Arts
relation publisher
type literary genre
[{'concept': 'literary genre'}, 'publisher', 'Macedonian Academy of Sciences and Arts']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:literary_genre . ?o property:publisher resource:Macedonian_Academy_of_Sciences_and_Arts }
[]
literary genre
Q126608
SYSTEM
Macedonian Encyclopedia
Q126608
(c(Q223393),P123,Q2466285)
action filter_type
action find_reverse
entity Q2466285
relation P123
type Q223393
[ANSWER] produced that school
[{'concept': 'Q223393'}, 'P123', 'Q2466285']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q223393 . ?o property:P123 resource:Q2466285 }
Macedonian Encyclopedia
Macedonian Encyclopedia produced that school
Macedonian Encyclopedia
action filter_type
action find_reverse
entity Macedonian Academy of Sciences and Arts
relation publisher
type literary genre
[{'concept': 'literary genre'}, 'publisher', 'Macedonian Academy of Sciences and Arts']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:literary_genre . ?o property:publisher resource:Macedonian_Academy_of_Sciences_and_Arts }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q980349
P27
Q15617994
USER
How many administrative territories are Luan Starova a civilian of ?
(Q980349,P27,c(Q15617994))
action count
action filter_type
action find
entity Q980349
relation P27
type Q15617994
['Q980349', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q980349 property:P27 ?l }
Luan Starova
action count
action filter_type
action find
entity Luan Starova
relation country of citizenship
type designation for an administrative territorial entity
['Luan Starova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luan_Starova property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
SYSTEM
2
Q222 Q221
(Q980349,P27,c(Q15617994))
action count
action filter_type
action find
entity Q980349
relation P27
type Q15617994
[ANSWER]
['Q980349', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q980349 property:P27 ?l }
Albania Republic of Macedonia
2
action count
action filter_type
action find
entity Luan Starova
relation country of citizenship
type designation for an administrative territorial entity
['Luan Starova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luan_Starova property:country_of_citizenship ?l }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5562439
Q15617994
USER
And also tell me about Petter Augustsson?
(Q5562439,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5562439
relation P27
type Q15617994
['Q5562439', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q5562439 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Petter Augustsson
action count
action filter_type
action find
entity Petter Augustsson
relation country of citizenship
type designation for an administrative territorial entity
['Petter Augustsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Petter_Augustsson property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q5562439,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5562439
relation P27
type Q15617994
[ANSWER]
['Q5562439', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q5562439 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Petter Augustsson
relation country of citizenship
type designation for an administrative territorial entity
['Petter Augustsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Petter_Augustsson property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2466285
P463 P21
Q502895
USER
Which people are a member of Macedonian Academy of Sciences and Arts and have the gender as male ?
AND((c(Q502895),P463,Q2466285), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2466285
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q2466285'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P463 resource:Q2466285 . ?b property:P21 resource:Q6581097 }
male Macedonian Academy of Sciences and Arts
action filter_type
action intersection
action find_reverse
entity Macedonian Academy of Sciences and Arts
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Macedonian Academy of Sciences and Arts'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:member_of resource:Macedonian_Academy_of_Sciences_and_Arts . ?b property:gender resource:male }
[]
common name
Q25852362 Q25851536 Q980349 Q27685312 Q27478567 Q477729 Q3028100 Q1652723 Q1571781 Q25385354
SYSTEM
Some of them are Momir Polenaković, Vitomir Mitevski, Luan Starova, Ilija Vaskov, Risto Lozanovski, Ratko Janev, Dimitar Kondovski, Alajdin Abazi, Vlado Kambovski, Gligor Kanevče
Q3397207 Q26218960 Q3028100 Q3028188 Q9161 Q7914770 Q25674826 Q3406597 Q13036927 Q27685312 Q26257737 Q3359917 Q1090724 Q11527866 Q3408601 Q205634 Q25540428 Q2343104 Q1566039 Q400052 Q209074 Q3359911 Q12295629 Q342010 Q3380639 Q12291927 Q2662030 Q12292404 Q7925907 Q3409656 Q25852362 Q12786345 Q472110 Q25823361 Q25851536 Q12280962 Q12283036 Q3405331 Q929425 Q477729 Q25791622 Q27478567 Q1571781 Q12283768 Q1652723 Q3088154 Q7142202 Q3408717 Q924865 Q12278508 Q25385354 Q76848 Q12286676 Q4846331 Q2059956 Q3399128 Q83645 Q1990673 Q1186126 Q956023 Q3403199 Q11046662 Q194033 Q27578191 Q12297953 Q12276710 Q980349
AND((c(Q502895),P463,Q2466285), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2466285
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a member of Macedonian Academy of Sciences and Arts and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q2466285'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P463 resource:Q2466285 . ?b property:P21 resource:Q6581097 }
Goran Stefanovski Dragi Gjorgiev Dimitar Kondovski Dimo Todorovski Josip Broz Tito Vangel Kodžoman Vlado Matevski Mihail Petruševski Ali Aliu Ilija Vaskov Marjan Markoviḱ Petre M. Andreevski Jordan Grabuloski Gjorgji Filipovski Taško Georgievski Slavko Janevski Ljupčo Kocarev Blaže Ristovski Anto Babić Georgi Efremov Aleksandar Hristovski Ante Popovski Stojan Hristov Aco Šopov Philippe Robert-Jones Rade Siljan Živko Čingo Risto Avramovski Victor Friedman Božin Pavlovski Momir Polenaković Branislav Djurdjev Blaže Koneski Leonid Grčev Vitomir Mitevski Ivan Katardžiev Kiril Miljovski Božidar Vidoeski Ksente Bogoev Ratko Janev Gligor Jovanovski Risto Lozanovski Vlado Kambovski Kosta Abdermanov Alajdin Abazi Mihajlo Apostolski Paskal Sotirovski Ivan Dorovský Nikola Martinoski Dimitar Mitrev Gligor Kanevče Radovan Pavlovski Milan Ćurčinov Cvetan Grozdanov Taki Fiti Todor Skalovski Mitko Madžunkov Nikola Kljusev Dimče Koco Gane Todorovski Vasil Iljoski Bojan Šoptrajanov Risto Vasilevski Aleksandar Andreevski Haralampije Polenaković Georgi Stardelov Luan Starova
Momir Polenaković, Vitomir Mitevski, Luan Starova, Ilija Vaskov, Risto Lozanovski, Ratko Janev, Dimitar Kondovski, Alajdin Abazi, Vlado Kambovski and Gligor Kanevče are a member of Macedonian Academy of Sciences and Arts and have the gender as male
Momir Polenaković Vitomir Mitevski Luan Starova Ilija Vaskov Risto Lozanovski Ratko Janev Dimitar Kondovski Alajdin Abazi Vlado Kambovski Gligor Kanevče
action filter_type
action intersection
action find_reverse
entity Macedonian Academy of Sciences and Arts
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Macedonian Academy of Sciences and Arts'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:member_of resource:Macedonian_Academy_of_Sciences_and_Arts . ?b property:gender resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?l = ?e ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?l = ?e ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?l = ?e ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?i } } . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?l = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
Which musical instruments are the instrumentations used in less number of concertoes than that musical instrument ?
(c(Q9748),P870,c(Q34379))
action less
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_type
action find_reverse
entity Q5994
relation P870
type Q9748
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:Q9748 . ?n property:P870 resource:Q5994 } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P870 ?p . ?u rdf:type ontology:Q9748 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } }
action less
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_type
action find_reverse
entity piano
relation instrumentation
type concerto
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:concerto . ?n property:instrumentation resource:piano } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:instrumentation ?p . ?u rdf:type ontology:concerto . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } }
[]
musical instrument concerto
Q521151 Q81982 Q80284
SYSTEM
baryton, harpsichord, viola
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987 Q81982
(c(Q9748),P870,c(Q34379))
action less
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action count
action filter_type
action find_reverse
entity Q5994
relation P870
type Q9748
[ANSWERS] are the instrumentations used in less number of concertoes than that musical instrument
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:Q9748 . ?n property:P870 resource:Q5994 } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P870 ?p . ?u rdf:type ontology:Q9748 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone harpsichord
Baryton, harpsichord and viola are the instrumentations used in less number of concertoes than that musical instrument
baryton harpsichord viola
action less
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action count
action filter_type
action find_reverse
entity piano
relation instrumentation
type concerto
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:concerto . ?n property:instrumentation resource:piano } } . FILTER ( ?s < ?y ) . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:instrumentation ?p . ?u rdf:type ontology:concerto . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q3305213
USER
Which paintings express atleast 1 musical instrument ?
(c(Q3305213),P180,c(Q34379))
action atleast
action find_tuple_counts
relation P180
type Q3305213
type Q34379
value 1
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?m ) WHERE { ?p property:P180 ?x . ?p rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q34379 } GROUP BY ?p } }
action atleast
action find_tuple_counts
relation depicts
type painting
type musical instrument
value 1
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?m ) WHERE { ?p property:depicts ?x . ?p rdf:type ontology:painting . ?x rdf:type ontology:musical_instrument } GROUP BY ?p } }
[]
musical instrument painting
Q25540861 Q22570045 Q17189257
SYSTEM
L'Ouïe, Picture clock with Alster panorama, Brita at the Piano
Q22570045 Q24090417 Q20081287 Q25540861 Q17189257 Q26972426
(c(Q3305213),P180,c(Q34379))
action atleast
action find_tuple_counts
relation P180
type Q3305213
type Q34379
value 1
[ANSWERS] express atleast 1 musical instrument
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?m ) WHERE { ?p property:P180 ?x . ?p rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q34379 } GROUP BY ?p } }
Picture clock with Alster panorama Sleep that knits up the ravell'd sleeve of care The Sideboard L'Ouïe Brita at the Piano Architectural Fantasy in the Style of Pompeii
L'Ouïe, Picture clock with Alster panorama and Brita at the Piano express atleast 1 musical instrument
L'Ouïe Picture clock with Alster panorama Brita at the Piano
action atleast
action find_tuple_counts
relation depicts
type painting
type musical instrument
value 1
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?m ) WHERE { ?p property:depicts ?x . ?p rdf:type ontology:painting . ?x rdf:type ontology:musical_instrument } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q344759 Q980349
P19 P937
Q56061
USER
Which administrative territories are the work locations of Luan Starova or were Ľubomír Moravčík born in ?
OR((Q980349,P937,c(Q56061)), (Q344759,P19,c(Q56061)))
action filter_type
action union
action find
entity Q980349
relation P937
action find
entity Q344759
relation P19
type Q56061
{'OR': [['Q980349', 'P937', {'concept': 'Q56061'}], ['Q344759', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q980349 property:P937 ?k } UNION { resource:Q344759 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
Ľubomír Moravčík Luan Starova
action filter_type
action union
action find
entity Luan Starova
relation work location
action find
entity Ľubomír Moravčík
relation place of birth
type administrative territorial entity
{'OR': [['Luan Starova', 'work location', {'concept': 'administrative territorial entity'}], ['Ľubomír Moravčík', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Luan_Starova property:work_location ?k } UNION { resource:Ľubomír_Moravčík property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q384 Q26397
SYSTEM
Skopje, Nitra
Q384 Q26397
OR((Q980349,P937,c(Q56061)), (Q344759,P19,c(Q56061)))
action filter_type
action union
action find
entity Q980349
relation P937
action find
entity Q344759
relation P19
type Q56061
[ANSWERS] are the work locations of Luan Starova or were Ľubomír Moravčík born in
{'OR': [['Q980349', 'P937', {'concept': 'Q56061'}], ['Q344759', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q980349 property:P937 ?k } UNION { resource:Q344759 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
Skopje Nitra
Skopje and Nitra are the work locations of Luan Starova or were Ľubomír Moravčík born in
Skopje Nitra
action filter_type
action union
action find
entity Luan Starova
relation work location
action find
entity Ľubomír Moravčík
relation place of birth
type administrative territorial entity
{'OR': [['Luan Starova', 'work location', {'concept': 'administrative territorial entity'}], ['Ľubomír Moravčík', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Luan_Starova property:work_location ?k } UNION { resource:Ľubomír_Moravčík property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q384 Q26397
P190
Q486972
USER
Which human settlements are twin cities of Skopje and Nitra ?
(Q384,P190,c(Q486972)) (Q26397,P190,c(Q486972))
action union
action filter_type
action find
entity Q384
relation P190
type Q486972
action filter_type
action find
entity Q26397
relation P190
type Q486972
['Q384', 'P190', {'concept': 'Q486972'}] ['Q26397', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { ?k property:P190 ?b . VALUES ( ?k ) { ( resource:Q384 ) ( resource:Q26397 ) } }
Skopje Nitra
action union
action filter_type
action find
entity Skopje
relation sister city
type human settlement
action filter_type
action find
entity Nitra
relation sister city
type human settlement
['Skopje', 'sister city', {'concept': 'human settlement'}] ['Nitra', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { ?k property:sister_city ?b . VALUES ( ?k ) { ( resource:Skopje ) ( resource:Nitra ) } }
[]
human settlement
Q1799 Q104720 Q102317
SYSTEM
Wrocław, Zielona Góra, Kielce
Q1799 Q104720 Q102317
(Q384,P190,c(Q486972)) (Q26397,P190,c(Q486972))
action union
action filter_type
action find
entity Q384
relation P190
type Q486972
action filter_type
action find
entity Q26397
relation P190
type Q486972
[ANSWERS] are twin cities of Skopje and Nitra
['Q384', 'P190', {'concept': 'Q486972'}] ['Q26397', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { ?k property:P190 ?b . VALUES ( ?k ) { ( resource:Q384 ) ( resource:Q26397 ) } }
Wrocław Zielona Góra Kielce
Wrocław, Zielona Góra and Kielce are twin cities of Skopje and Nitra
Wrocław Zielona Góra Kielce
action union
action filter_type
action find
entity Skopje
relation sister city
type human settlement
action filter_type
action find
entity Nitra
relation sister city
type human settlement
['Skopje', 'sister city', {'concept': 'human settlement'}] ['Nitra', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { ?k property:sister_city ?b . VALUES ( ?k ) { ( resource:Skopje ) ( resource:Nitra ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1799 Q104720 Q102317
P190
Q15617994
USER
Which administrative territories are twin town of those human settlements ?
(c(Q15617994),P190,Q1799) (c(Q15617994),P190,Q104720) (c(Q15617994),P190,Q102317)
action filter_type
action find
entity prev_answer
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q1799'] [{'concept': 'Q15617994'}, 'P190', 'Q104720'] [{'concept': 'Q15617994'}, 'P190', 'Q102317']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q1799 ) ( resource:Q104720 ) ( resource:Q102317 ) } . ?o property:P190 ?e }
Wrocław Zielona Góra Kielce
action filter_type
action find
entity prev_answer
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Wrocław'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Zielona Góra'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Kielce']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:Wrocław ) ( resource:Zielona_Góra ) ( resource:Kielce ) } . ?o property:sister_city ?e }
[]
designation for an administrative territorial entity
Q3476 Q158876 Q6596
SYSTEM
L'Aquila, Reinickendorf, Gorizia
Q158876 Q3476 Q504754 Q6596 Q6986
(c(Q15617994),P190,Q1799) (c(Q15617994),P190,Q104720) (c(Q15617994),P190,Q102317)
action filter_type
action find
entity prev_answer
relation P190
type Q15617994
[ANSWERS] are twin town of those human settlements
[{'concept': 'Q15617994'}, 'P190', 'Q1799'] [{'concept': 'Q15617994'}, 'P190', 'Q104720'] [{'concept': 'Q15617994'}, 'P190', 'Q102317']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q1799 ) ( resource:Q104720 ) ( resource:Q102317 ) } . ?o property:P190 ?e }
Reinickendorf L'Aquila Soltau Gorizia Gotha
L'Aquila, Reinickendorf and Gorizia are twin town of those human settlements
L'Aquila Reinickendorf Gorizia
action filter_type
action find
entity prev_answer
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Wrocław'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Zielona Góra'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Kielce']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:Wrocław ) ( resource:Zielona_Góra ) ( resource:Kielce ) } . ?o property:sister_city ?e }
[]