Simple Question (Direct)
Simple Question
Q17385505
P27
Q15617994
USER
Which administrative territory is Marko Radivojević an inhabitant of ?
(Q17385505,P27,c(Q15617994))
action filter_type
action find
entity Q17385505
relation P27
type Q15617994
['Q17385505', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q17385505 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Marko Radivojević
action filter_type
action find
entity Marko Radivojević
relation country of citizenship
type designation for an administrative territorial entity
['Marko Radivojević', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Marko_Radivojević property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q17385505,P27,c(Q15617994))
action filter_type
action find
entity Q17385505
relation P27
type Q15617994
[ANSWER] is Marko Radivojević an inhabitant of
['Q17385505', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q17385505 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Serbia
Serbia is Marko Radivojević an inhabitant of
Serbia
action filter_type
action find
entity Marko Radivojević
relation country of citizenship
type designation for an administrative territorial entity
['Marko Radivojević', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Marko_Radivojević property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17385505
P641
Q349
USER
Which sport was Marko Radivojević a part of ?
(Q17385505,P641,c(Q349))
action filter_type
action find
entity Q17385505
relation P641
type Q349
['Q17385505', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q17385505 property:P641 ?a }
Marko Radivojević
action filter_type
action find
entity Marko Radivojević
relation sport
type sport
['Marko Radivojević', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Marko_Radivojević property:sport ?a }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q17385505,P641,c(Q349))
action filter_type
action find
entity Q17385505
relation P641
type Q349
The [ANSWER] was Marko Radivojević a part of
['Q17385505', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q349 . resource:Q17385505 property:P641 ?a }
association football
The association football was Marko Radivojević a part of
association football
action filter_type
action find
entity Marko Radivojević
relation sport
type sport
['Marko Radivojević', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sport . resource:Marko_Radivojević property:sport ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P85
Q484692
USER
Which hymn is the anthem for Serbia ?
(Q403,P85,c(Q484692))
action filter_type
action find
entity Q403
relation P85
type Q484692
['Q403', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q403 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Serbia
action filter_type
action find
entity Serbia
relation anthem
type hymn
['Serbia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Serbia property:anthem ?v . ?v rdf:type ontology:hymn }
[]
hymn
Q185190
SYSTEM
Bože Pravde
Q185190
(Q403,P85,c(Q484692))
action filter_type
action find
entity Q403
relation P85
type Q484692
[ANSWER] is the anthem for Serbia
['Q403', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q403 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Bože Pravde
Bože Pravde is the anthem for Serbia
Bože Pravde
action filter_type
action find
entity Serbia
relation anthem
type hymn
['Serbia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Serbia property:anthem ?v . ?v rdf:type ontology:hymn }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q211435
Q484692
USER
And how about Viceroyalty of Perú?
(Q211435,P85,c(Q484692))
action filter_type
action find
entity Q211435
relation P85
type Q484692
['Q211435', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?n WHERE { resource:Q211435 property:P85 ?n . ?n rdf:type ontology:Q484692 }
Viceroyalty of Perú
action filter_type
action find
entity Viceroyalty of Perú
relation anthem
type hymn
['Viceroyalty of Perú', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?n WHERE { resource:Viceroyalty_of_Perú property:anthem ?n . ?n rdf:type ontology:hymn }
[]
hymn
Q130940
SYSTEM
Marcha Real
Q130940
(Q211435,P85,c(Q484692))
action filter_type
action find
entity Q211435
relation P85
type Q484692
[ANSWER]
['Q211435', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?n WHERE { resource:Q211435 property:P85 ?n . ?n rdf:type ontology:Q484692 }
Marcha Real
Marcha Real
action filter_type
action find
entity Viceroyalty of Perú
relation anthem
type hymn
['Viceroyalty of Perú', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?n WHERE { resource:Viceroyalty_of_Perú property:anthem ?n . ?n rdf:type ontology:hymn }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q238826
P85
Q484692 Q7275 Q56061
USER
How many hymns are the anthems for more number of states or administrative territories than Cherifian Anthem ?
(c(Q7275)|c(Q56061),P85,c(Q484692))
action count
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q7275
action find_reverse_tuple_counts
relation P85
type Q484692
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q238826
relation P85
type Q7275
type Q56061
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P85 resource:Q238826 . { VALUES ( ?l ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } . ?v rdf:type ?l } } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } } GROUP BY ?k } }
Cherifian Anthem
action count
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type state
action find_reverse_tuple_counts
relation anthem
type hymn
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Cherifian Anthem
relation anthem
type state
type administrative territorial entity
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:anthem resource:Cherifian_Anthem . { VALUES ( ?l ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } . ?v rdf:type ?l } } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?k } }
[]
hymn state administrative territorial entity
SYSTEM
78
Q209973 Q200742 Q190226 Q176665 Q147367 Q161744 Q854853 Q833966 Q1190532 Q213267 Q874542 Q162483 Q623034 Q185190 Q169201 Q48147 Q344452 Q271864 Q251918 Q161049 Q271052 Q44696 Q1146473 Q631618 Q1064182 Q1740575 Q1928655 Q45788 Q1036517 Q1640665 Q640136 Q1064003 Q1144355 Q1142935 Q949638 Q11993 Q905016 Q1051855 Q15402214 Q1187971 Q146502 Q1138695 Q665559 Q212725 Q483968 Q326886 Q131713 Q1074993 Q182115 Q483590 Q716364 Q2641577 Q11178664 Q193233 Q172495 Q905777 Q130940 Q263089 Q1093864 Q646622 Q1522013 Q164259 Q30562 Q1147730 Q992460 Q704760 Q1346354 Q3696299 Q1353616 Q1075941 Q256615 Q1209589 Q467988 Q3877793 Q166944 Q3347824 Q1317821 Q1149579
(c(Q7275)|c(Q56061),P85,c(Q484692))
action count
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q7275
action find_reverse_tuple_counts
relation P85
type Q484692
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q238826
relation P85
type Q7275
type Q56061
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P85 resource:Q238826 . { VALUES ( ?l ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } . ?v rdf:type ?l } } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } } GROUP BY ?k } }
Majulah Singapura Mexican National Anthem Inno e Marcia Pontificale Hymn to Liberty Hey, Slavs Shche ne vmerla Ukraina Jedna si jedina The Song to the Auspicious Cloud Anthem of the Lithuanian Soviet Socialist Republic Qaumi Taranah Walla Zaman Ya Selahy Maamme Pheng Xat Lao Bože Pravde Zdrobite cătuşe Auferstanden aus Ruinen İstiklâl Marşı National anthem of Mongolia National Anthem of the Soviet Union A Portuguesa Ålänningens sång The Star-Spangled Banner Anthem of the Ukrainian Soviet Socialist Republic Nokor Reach Ubavoj nam Crnoj Gori Worker's Marseillaise Preußenlied Himnusz Land of the Rising Sun Hymne National Voltaïque Ardulfurataini Watan Moja Republika Dideba Gong Jin'ou National anthem of the Orange Free State Anthem of Europe Wien Neêrlands Bloed Le Retour des Princes français à Paris National anthem of People's Republic of Kampuchea National anthem of the Transvaal Lijepa naša domovino Tera di Solo y suave biento Hawaiʻi Ponoʻī Lupang Hinirang Azərbaycan marşı Burundi Bwacu Wilhelmus Himno di Kòrsou Mila Rodino Kde domov můj? Aruba Dushi Tera Dap Prampi Mesa Chokchey Czechoslovak anthem Aegukga Argentine National Anthem Hino da Independência Marcha Real Für Danzig Inno al Re Stand Ye Guamanians Gi Talo Gi Halom Tasi Mer Hayrenik Gott erhalte Franz den Kaiser Te Atua Mou E Himno de Riego National Anthem of Manchukuo La Zaïroise Deg Tegh Fateh Thanh Niên Hành Khúc La Borinqueña Bayernhymne Virgin Islands March La Renaissance Noi vogliam Dio, Vergine Maria Nad Tatrou sa blýska O Sweet Saint Martin's Land National Anthem of the Kingdom of Yugoslavia Giải phóng miền Nam
78
action count
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type state
action find_reverse_tuple_counts
relation anthem
type hymn
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Cherifian Anthem
relation anthem
type state
type administrative territorial entity
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:anthem resource:Cherifian_Anthem . { VALUES ( ?l ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } . ?v rdf:type ?l } } } . { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q58925
P47
Q15617994
USER
Which administrative territories are adjacent to Valle di Maddaloni ?
(Q58925,P47,c(Q15617994))
action filter_type
action find
entity Q58925
relation P47
type Q15617994
['Q58925', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q58925 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Valle di Maddaloni
action filter_type
action find
entity Valle di Maddaloni
relation shares border with
type designation for an administrative territorial entity
['Valle di Maddaloni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Valle_di_Maddaloni property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1906 Q58693 Q55902
SYSTEM
Caserta, Maddaloni, Durazzano
Q55902 Q58569 Q1906 Q58693
(Q58925,P47,c(Q15617994))
action filter_type
action find
entity Q58925
relation P47
type Q15617994
[ANSWERS] are adjacent to Valle di Maddaloni
['Q58925', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q58925 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Durazzano Cervino, Campania Caserta Maddaloni
Caserta, Maddaloni and Durazzano are adjacent to Valle di Maddaloni
Caserta Maddaloni Durazzano
action filter_type
action find
entity Valle di Maddaloni
relation shares border with
type designation for an administrative territorial entity
['Valle di Maddaloni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Valle_di_Maddaloni property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q58925
Q56061
USER
And which administrative territory?
(Q58925,P47,c(Q56061))
action filter_type
action find
entity Q58925
relation P47
type Q56061
['Q58925', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q58925 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Valle di Maddaloni
action filter_type
action find
entity Valle di Maddaloni
relation shares border with
type administrative territorial entity
['Valle di Maddaloni', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Valle_di_Maddaloni property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q55975
SYSTEM
Sant'Agata de' Goti
Q55975
(Q58925,P47,c(Q56061))
action filter_type
action find
entity Q58925
relation P47
type Q56061
[ANSWER]
['Q58925', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q58925 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Sant'Agata de' Goti
Sant'Agata de' Goti
action filter_type
action find
entity Valle di Maddaloni
relation shares border with
type administrative territorial entity
['Valle di Maddaloni', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Valle_di_Maddaloni property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q58925
P17
Q15617994
USER
Which administrative territory is Valle di Maddaloni located in ?
(Q58925,P17,c(Q15617994))
action filter_type
action find
entity Q58925
relation P17
type Q15617994
['Q58925', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q58925 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Valle di Maddaloni
action filter_type
action find
entity Valle di Maddaloni
relation country
type designation for an administrative territorial entity
['Valle di Maddaloni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Valle_di_Maddaloni property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q58925,P17,c(Q15617994))
action filter_type
action find
entity Q58925
relation P17
type Q15617994
Valle di Maddaloni is located in [ANSWER]
['Q58925', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q58925 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Italy
Valle di Maddaloni is located in Italy
Italy
action filter_type
action find
entity Valle di Maddaloni
relation country
type designation for an administrative territorial entity
['Valle di Maddaloni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Valle_di_Maddaloni property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1906
P190
Q56061
USER
Which administrative territory is the sister city of Caserta ?
(Q1906,P190,c(Q56061))
action filter_type
action find
entity Q1906
relation P190
type Q56061
['Q1906', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1906 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Caserta
action filter_type
action find
entity Caserta
relation sister city
type administrative territorial entity
['Caserta', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Caserta property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26338
SYSTEM
Aley
Q26338
(Q1906,P190,c(Q56061))
action filter_type
action find
entity Q1906
relation P190
type Q56061
[ANSWER] is the sister city of Caserta
['Q1906', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1906 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Aley
Aley is the sister city of Caserta
Aley
action filter_type
action find
entity Caserta
relation sister city
type administrative territorial entity
['Caserta', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Caserta property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1906
P915
Q838948
USER
Which work of art had that administrative territory as its location of filming ?
(c(Q838948),P915,Q26338)
action filter_type
action find_reverse
entity Q1906
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q26338']
SELECT DISTINCT ?t WHERE { ?t property:P915 resource:Q1906 . ?t rdf:type ontology:Q838948 }
Caserta
action filter_type
action find_reverse
entity Caserta
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Aley']
SELECT DISTINCT ?t WHERE { ?t property:filming_location resource:Caserta . ?t rdf:type ontology:work_of_art }
[]
work of art
Q288173
SYSTEM
Mission: Impossible III
Q288173
(c(Q838948),P915,Q26338)
action filter_type
action find_reverse
entity Q1906
relation P915
type Q838948
[ANSWER] had that administrative territory as its location of filming
[{'concept': 'Q838948'}, 'P915', 'Q26338']
SELECT DISTINCT ?t WHERE { ?t property:P915 resource:Q1906 . ?t rdf:type ontology:Q838948 }
Mission: Impossible III
Mission: Impossible III had that administrative territory as its location of filming
Mission: Impossible III
action filter_type
action find_reverse
entity Caserta
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Aley']
SELECT DISTINCT ?t WHERE { ?t property:filming_location resource:Caserta . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q288173
P58
Q502895
USER
Who served as the screenwriter for that work of art ?
(Q288173,P58,c(Q502895))
action filter_type
action find
entity Q288173
relation P58
type Q502895
['Q288173', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q288173 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Mission: Impossible III
action filter_type
action find
entity Mission: Impossible III
relation screenwriter
type common name
['Mission: Impossible III', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mission:_Impossible_III property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
common name
Q467500 Q188137 Q432598
SYSTEM
Roberto Orci, J. J. Abrams, Alex Kurtzman
Q467500 Q188137 Q432598
(Q288173,P58,c(Q502895))
action filter_type
action find
entity Q288173
relation P58
type Q502895
[ANSWERS]
['Q288173', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q288173 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Roberto Orci J. J. Abrams Alex Kurtzman
Roberto Orci, J. Abrams and Alex Kurtzman served as the screenwriter for that work of art
Roberto Orci J. J. Abrams Alex Kurtzman
action filter_type
action find
entity Mission: Impossible III
relation screenwriter
type common name
['Mission: Impossible III', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mission:_Impossible_III property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q26338
P190
Q515 Q15617994
USER
How many cities and administrative territories are sister town of Aley ?
(c(Q515),P190,Q26338) (c(Q15617994),P190,Q26338)
action count
action union
action filter_type
action find_reverse
entity Q26338
relation P190
type Q515
action filter_type
action find_reverse
entity Q26338
relation P190
type Q15617994
[{'concept': 'Q515'}, 'P190', 'Q26338'] [{'concept': 'Q15617994'}, 'P190', 'Q26338']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?c . VALUES ( ?c ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } }
Aley
action count
action union
action filter_type
action find_reverse
entity Aley
relation sister city
type city
action filter_type
action find_reverse
entity Aley
relation sister city
type designation for an administrative territorial entity
[{'concept': 'city'}, 'sister city', 'Aley'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Aley']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?c . VALUES ( ?c ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
city designation for an administrative territorial entity
SYSTEM
1 cities and 1 administrative territories
Q517783 Q1906
(c(Q515),P190,Q26338) (c(Q15617994),P190,Q26338)
action count
action union
action filter_type
action find_reverse
entity Q26338
relation P190
type Q515
action filter_type
action find_reverse
entity Q26338
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P190', 'Q26338'] [{'concept': 'Q15617994'}, 'P190', 'Q26338']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?c . VALUES ( ?c ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } }
Pinamar Caserta
1 cities and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Aley
relation sister city
type city
action filter_type
action find_reverse
entity Aley
relation sister city
type designation for an administrative territorial entity
[{'concept': 'city'}, 'sister city', 'Aley'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Aley']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?c . VALUES ( ?c ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188137
P22
Q502895
USER
Which person was the father of J. J. Abrams ?
(Q188137,P22,c(Q502895))
action filter_type
action find
entity Q188137
relation P22
type Q502895
['Q188137', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q188137 property:P22 ?k . ?k rdf:type ontology:Q502895 }
J. J. Abrams
action filter_type
action find
entity J. J. Abrams
relation father
type common name
['J. J. Abrams', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:J._J._Abrams property:father ?k . ?k rdf:type ontology:common_name }
[]
common name
Q5549650
SYSTEM
Gerald W. Abrams
Q5549650
(Q188137,P22,c(Q502895))
action filter_type
action find
entity Q188137
relation P22
type Q502895
[ANSWER] was the father of J. Abrams
['Q188137', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q188137 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Gerald W. Abrams
Gerald W. Abrams was the father of J. Abrams
Gerald W. Abrams
action filter_type
action find
entity J. J. Abrams
relation father
type common name
['J. J. Abrams', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:J._J._Abrams property:father ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2085981
Q502895
USER
And also tell me about Countess Adelaide of Lippe-Biesterfeld?
(Q2085981,P22,c(Q502895))
action filter_type
action find
entity Q2085981
relation P22
type Q502895
['Q2085981', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2085981 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Countess Adelaide of Lippe-Biesterfeld
action filter_type
action find
entity Countess Adelaide of Lippe-Biesterfeld
relation father
type common name
['Countess Adelaide of Lippe-Biesterfeld', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Countess_Adelaide_of_Lippe-Biesterfeld property:father ?g . ?g rdf:type ontology:common_name }
[]
common name
Q66592
SYSTEM
Ernest II, Count of Lippe-Biesterfeld
Q66592
(Q2085981,P22,c(Q502895))
action filter_type
action find
entity Q2085981
relation P22
type Q502895
[ANSWER]
['Q2085981', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2085981 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Ernest II, Count of Lippe-Biesterfeld
Ernest II, Count of Lippe-Biesterfeld
action filter_type
action find
entity Countess Adelaide of Lippe-Biesterfeld
relation father
type common name
['Countess Adelaide of Lippe-Biesterfeld', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Countess_Adelaide_of_Lippe-Biesterfeld property:father ?g . ?g rdf:type ontology:common_name }
[]