Simple Question (Direct)
Simple Question
Q503469
P1376
Q7688
USER
Which raion has Cahul as its capital ?
(Q503469,P1376,c(Q7688))
action filter_type
action find
entity Q503469
relation P1376
type Q7688
['Q503469', 'P1376', {'concept': 'Q7688'}]
SELECT DISTINCT ?n WHERE { resource:Q503469 property:P1376 ?n . ?n rdf:type ontology:Q7688 }
Cahul
action filter_type
action find
entity Cahul
relation capital of
type raion
['Cahul', 'capital of', {'concept': 'raion'}]
SELECT DISTINCT ?n WHERE { resource:Cahul property:capital_of ?n . ?n rdf:type ontology:raion }
[]
raion
Q2128882
SYSTEM
Cahul District
Q2128882
(Q503469,P1376,c(Q7688))
action filter_type
action find
entity Q503469
relation P1376
type Q7688
District [ANSWER] has Cahul as its capital
['Q503469', 'P1376', {'concept': 'Q7688'}]
SELECT DISTINCT ?n WHERE { resource:Q503469 property:P1376 ?n . ?n rdf:type ontology:Q7688 }
Cahul District
District Cahul District has Cahul as its capital
Cahul District
action filter_type
action find
entity Cahul
relation capital of
type raion
['Cahul', 'capital of', {'concept': 'raion'}]
SELECT DISTINCT ?n WHERE { resource:Cahul property:capital_of ?n . ?n rdf:type ontology:raion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503469
P17
Q15617994
USER
Which administrative territories are Cahul a part of ?
(Q503469,P17,c(Q15617994))
action filter_type
action find
entity Q503469
relation P17
type Q15617994
['Q503469', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q503469 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Cahul
action filter_type
action find
entity Cahul
relation country
type designation for an administrative territorial entity
['Cahul', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cahul property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q10957559 Q217
SYSTEM
Romania, Moldavia, Republic of Moldova
Q218 Q10957559 Q217
(Q503469,P17,c(Q15617994))
action filter_type
action find
entity Q503469
relation P17
type Q15617994
[ANSWERS] are Cahul a part of
['Q503469', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q503469 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Romania Moldavia Republic of Moldova
Romania, Moldavia and Republic of Moldova are Cahul a part of
Romania Moldavia Republic of Moldova
action filter_type
action find
entity Cahul
relation country
type designation for an administrative territorial entity
['Cahul', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cahul property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P276
Q1190554
USER
What are situated at Romania ?
(c(Q1190554),P276,Q218)
action filter_type
action find_reverse
entity Q218
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q218']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1190554 . ?i property:P276 resource:Q218 }
Romania
action filter_type
action find_reverse
entity Romania
relation location
type event
[{'concept': 'event'}, 'location', 'Romania']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:event . ?i property:location resource:Romania }
[]
event
Q4859251 Q789406 Q4870887
SYSTEM
Battle of Romania, Balkans Campaign, Battle of Doljești and Orbic
Q4859251 Q789406 Q4870887
(c(Q1190554),P276,Q218)
action filter_type
action find_reverse
entity Q218
relation P276
type Q1190554
[ANSWERS] are situated at Romania
[{'concept': 'Q1190554'}, 'P276', 'Q218']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1190554 . ?i property:P276 resource:Q218 }
Battle of Romania Balkans Campaign Battle of Doljești and Orbic
Battle of Romania, Balkans Campaign and Battle of Doljești and Orbic are situated at Romania
Battle of Romania Balkans Campaign Battle of Doljești and Orbic
action filter_type
action find_reverse
entity Romania
relation location
type event
[{'concept': 'event'}, 'location', 'Romania']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:event . ?i property:location resource:Romania }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2128882
P36
Q56061
USER
Which administrative territory is known as the capital of Cahul District ?
(Q2128882,P36,c(Q56061))
action filter_type
action find
entity Q2128882
relation P36
type Q56061
['Q2128882', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2128882 property:P36 ?e . ?e rdf:type ontology:Q56061 }
Cahul District
action filter_type
action find
entity Cahul District
relation capital
type administrative territorial entity
['Cahul District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cahul_District property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q503469
SYSTEM
Cahul
Q503469
(Q2128882,P36,c(Q56061))
action filter_type
action find
entity Q2128882
relation P36
type Q56061
[ANSWER] is known as the capital of [ANSWER] District
['Q2128882', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2128882 property:P36 ?e . ?e rdf:type ontology:Q56061 }
Cahul
Cahul is known as the capital of Cahul District
Cahul
action filter_type
action find
entity Cahul District
relation capital
type administrative territorial entity
['Cahul District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cahul_District property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2128882
P47
Q1048835
USER
Which political territory shares border with that raion ?
(c(Q1048835),P47,Q503469)
action filter_type
action find
entity Q2128882
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q503469']
SELECT DISTINCT ?k WHERE { resource:Q2128882 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Cahul District
action filter_type
action find
entity Cahul District
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Cahul']
SELECT DISTINCT ?k WHERE { resource:Cahul_District property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q171852
SYSTEM
Odessa Oblast
Q171852
(c(Q1048835),P47,Q503469)
action filter_type
action find
entity Q2128882
relation P47
type Q1048835
Oblast [ANSWER] shares border with that raion
[{'concept': 'Q1048835'}, 'P47', 'Q503469']
SELECT DISTINCT ?k WHERE { resource:Q2128882 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Odessa Oblast
Oblast Odessa Oblast shares border with that raion
Odessa Oblast
action filter_type
action find
entity Cahul District
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Cahul']
SELECT DISTINCT ?k WHERE { resource:Cahul_District property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q171852
P6
Q502895
USER
Who is the head of the government of that political territory ?
(Q171852,P6,c(Q502895))
action filter_type
action find
entity Q171852
relation P6
type Q502895
['Q171852', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q171852 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Odessa Oblast
action filter_type
action find
entity Odessa Oblast
relation head of government
type common name
['Odessa Oblast', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Odessa_Oblast property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q43330
SYSTEM
Mikhail Saakashvili
Q43330
(Q171852,P6,c(Q502895))
action filter_type
action find
entity Q171852
relation P6
type Q502895
The head of the government of that political territory is Minister [ANSWER]
['Q171852', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q171852 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Mikhail Saakashvili
The head of the government of that political territory is Minister Mikhail Saakashvili
Mikhail Saakashvili
action filter_type
action find
entity Odessa Oblast
relation head of government
type common name
['Odessa Oblast', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Odessa_Oblast property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43330
P991
Q40231
USER
Which election had that person as its successful candidate ?
(c(Q40231),P991,Q43330)
action filter_type
action find_reverse
entity Q43330
relation P991
type Q40231
[{'concept': 'Q40231'}, 'P991', 'Q43330']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q40231 . ?n property:P991 resource:Q43330 }
Mikhail Saakashvili
action filter_type
action find_reverse
entity Mikhail Saakashvili
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Mikhail Saakashvili']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:election . ?n property:successful_candidate resource:Mikhail_Saakashvili }
[]
election
Q1816176
SYSTEM
Georgian presidential election
Q1816176
(c(Q40231),P991,Q43330)
action filter_type
action find_reverse
entity Q43330
relation P991
type Q40231
[ANSWER] had that person as its successful candidate
[{'concept': 'Q40231'}, 'P991', 'Q43330']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q40231 . ?n property:P991 resource:Q43330 }
Georgian presidential election
Georgian presidential election had that person as its successful candidate
Georgian presidential election
action filter_type
action find_reverse
entity Mikhail Saakashvili
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Mikhail Saakashvili']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:election . ?n property:successful_candidate resource:Mikhail_Saakashvili }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7860
P180
Q1190554 Q11060274 Q18783400
USER
How many events are demonstrated in more number of prints or genres of sculpture than nature ?
(c(Q11060274)|c(Q18783400),P180,c(Q1190554))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q7860
relation P180
type Q11060274
type Q18783400
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P180 resource:Q7860 . { { ?h rdf:type ontology:Q11060274 } UNION { ?h rdf:type ontology:Q18783400 } } } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?p WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } } GROUP BY ?p } }
nature
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type event
type print
action find_reverse_tuple_counts
relation depicts
type event
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity nature
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:depicts resource:nature . { { ?h rdf:type ontology:print } UNION { ?h rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?p WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } } GROUP BY ?p } }
[]
event print genre of sculpture
SYSTEM
6
Q200538 Q385378 Q1261499 Q7561 Q808132 Q690489
(c(Q11060274)|c(Q18783400),P180,c(Q1190554))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q7860
relation P180
type Q11060274
type Q18783400
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P180 resource:Q7860 . { { ?h rdf:type ontology:Q11060274 } UNION { ?h rdf:type ontology:Q18783400 } } } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?p WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } } GROUP BY ?p } }
party construction naval battle snow barefoot Siege of Paris
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type event
type print
action find_reverse_tuple_counts
relation depicts
type event
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity nature
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:depicts resource:nature . { { ?h rdf:type ontology:print } UNION { ?h rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?p WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q33753
P180
Q1190554 Q11060274 Q18783400
USER
And what about metamorphosis?
(c(Q11060274)|c(Q18783400),P180,c(Q1190554))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q33753
relation P180
type Q11060274
type Q18783400
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } . ?d rdf:type ?x } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P180 resource:Q33753 . { { ?v rdf:type ontology:Q11060274 } UNION { ?v rdf:type ontology:Q18783400 } } } } . FILTER ( ?a > ?g ) }
metamorphosis
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type event
type print
action find_reverse_tuple_counts
relation depicts
type event
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity metamorphosis
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } . ?d rdf:type ?x } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:depicts resource:metamorphosis . { { ?v rdf:type ontology:print } UNION { ?v rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?a > ?g ) }
[]
event print genre of sculpture
SYSTEM
6
Q200538 Q385378 Q1261499 Q7561 Q808132 Q690489
(c(Q11060274)|c(Q18783400),P180,c(Q1190554))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q33753
relation P180
type Q11060274
type Q18783400
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } . ?d rdf:type ?x } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P180 resource:Q33753 . { { ?v rdf:type ontology:Q11060274 } UNION { ?v rdf:type ontology:Q18783400 } } } } . FILTER ( ?a > ?g ) }
party construction naval battle snow barefoot Siege of Paris
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type event
type print
action find_reverse_tuple_counts
relation depicts
type event
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity metamorphosis
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } . ?d rdf:type ?x } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:depicts resource:metamorphosis . { { ?v rdf:type ontology:print } UNION { ?v rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?a > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171852
P1001
Q12737077
USER
Which occupation applies to jurisdiction over Odessa Oblast ?
(c(Q12737077),P1001,Q171852)
action filter_type
action find_reverse
entity Q171852
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q171852']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q171852 . ?s rdf:type ontology:Q12737077 }
Odessa Oblast
action filter_type
action find_reverse
entity Odessa Oblast
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Odessa Oblast']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Odessa_Oblast . ?s rdf:type ontology:occupation }
[]
occupation
Q19971864
SYSTEM
Governor of Odessa Oblast
Q19971864
(c(Q12737077),P1001,Q171852)
action filter_type
action find_reverse
entity Q171852
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over Odessa Oblast
[{'concept': 'Q12737077'}, 'P1001', 'Q171852']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q171852 . ?s rdf:type ontology:Q12737077 }
Governor of Odessa Oblast
The Governor of Odessa Oblast applies to jurisdiction over Odessa Oblast
Governor of Odessa Oblast
action filter_type
action find_reverse
entity Odessa Oblast
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Odessa Oblast']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Odessa_Oblast . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q171852
P19
Q502895
USER
Which people were born at that political territory ?
(c(Q502895),P19,Q19971864)
action filter_type
action find_reverse
entity Q171852
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q19971864']
SELECT DISTINCT ?x WHERE { ?x property:P19 resource:Q171852 . ?x rdf:type ontology:Q502895 }
Odessa Oblast
action filter_type
action find_reverse
entity Odessa Oblast
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Governor of Odessa Oblast']
SELECT DISTINCT ?x WHERE { ?x property:place_of_birth resource:Odessa_Oblast . ?x rdf:type ontology:common_name }
[]
common name
Q259731 Q1930259 Q18275770
SYSTEM
Teodor Oizerman, Mikhail Reshetnyov, Ekaterina Petlyuk
Q441321 Q18275770 Q982464 Q1930259 Q259731 Q7342289
(c(Q502895),P19,Q19971864)
action filter_type
action find_reverse
entity Q171852
relation P19
type Q502895
[ANSWERS] were born at that political territory
[{'concept': 'Q502895'}, 'P19', 'Q19971864']
SELECT DISTINCT ?x WHERE { ?x property:P19 resource:Q171852 . ?x rdf:type ontology:Q502895 }
Svetlana Krachevskaya Ekaterina Petlyuk Igor Levitin Mikhail Reshetnyov Teodor Oizerman Robert Brackman
Teodor Oizerman, Mikhail Reshetnyov and Ekaterina Petlyuk were born at that political territory
Teodor Oizerman Mikhail Reshetnyov Ekaterina Petlyuk
action filter_type
action find_reverse
entity Odessa Oblast
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Governor of Odessa Oblast']
SELECT DISTINCT ?x WHERE { ?x property:place_of_birth resource:Odessa_Oblast . ?x rdf:type ontology:common_name }
[]