Simple Question (Direct)
Simple Question
Q837051
P190
Q20667921
USER
Which french administrative division is twin city of Mequinenza ?
(Q837051,P190,c(Q20667921))
action filter_type
action find
entity Q837051
relation P190
type Q20667921
['Q837051', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q837051 property:P190 ?w . ?w rdf:type ontology:Q20667921 }
Mequinenza
action filter_type
action find
entity Mequinenza
relation sister city
type type of french administrative division
['Mequinenza', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Mequinenza property:sister_city ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q210760
SYSTEM
Bressuire
Q210760
(Q837051,P190,c(Q20667921))
action filter_type
action find
entity Q837051
relation P190
type Q20667921
[ANSWER] is twin city of Mequinenza
['Q837051', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q837051 property:P190 ?w . ?w rdf:type ontology:Q20667921 }
Bressuire
Bressuire is twin city of Mequinenza
Bressuire
action filter_type
action find
entity Mequinenza
relation sister city
type type of french administrative division
['Mequinenza', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Mequinenza property:sister_city ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q210760
P6
Q502895
USER
Which person is the head of government of that french administrative division ?
(Q210760,P6,c(Q502895))
action filter_type
action find
entity Q210760
relation P6
type Q502895
['Q210760', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q210760 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Bressuire
action filter_type
action find
entity Bressuire
relation head of government
type common name
['Bressuire', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Bressuire property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q3167949
SYSTEM
Jean-Michel Bernier
Q3167949
(Q210760,P6,c(Q502895))
action filter_type
action find
entity Q210760
relation P6
type Q502895
[ANSWER] is the head of government of that french administrative division
['Q210760', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q210760 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Jean-Michel Bernier
Jean-Michel Bernier is the head of government of that french administrative division
Jean-Michel Bernier
action filter_type
action find
entity Bressuire
relation head of government
type common name
['Bressuire', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Bressuire property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3167949
P734
Q82799
USER
Who is associated with that person ?
(Q3167949,P734,c(Q82799))
action filter_type
action find
entity Q3167949
relation P734
type Q82799
['Q3167949', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q3167949 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Jean-Michel Bernier
action filter_type
action find
entity Jean-Michel Bernier
relation family name
type name
['Jean-Michel Bernier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Jean-Michel_Bernier property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q21029112
SYSTEM
Bernier
Q21029112
(Q3167949,P734,c(Q82799))
action filter_type
action find
entity Q3167949
relation P734
type Q82799
[ANSWER] is associated with that person
['Q3167949', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q3167949 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Bernier
Bernier is associated with that person
Bernier
action filter_type
action find
entity Jean-Michel Bernier
relation family name
type name
['Jean-Michel Bernier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Jean-Michel_Bernier property:family_name ?a . ?a rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q210760
P190
Q15617994 Q56061
USER
How many administrative territories or administrative territories are partner town of Bressuire ?
(c(Q15617994),P190,Q210760) (c(Q56061),P190,Q210760)
action count
action union
action filter_type
action find_reverse
entity Q210760
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q210760
relation P190
type Q56061
[{'concept': 'Q15617994'}, 'P190', 'Q210760'] [{'concept': 'Q56061'}, 'P190', 'Q210760']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P190 resource:Q210760 . ?n rdf:type ontology:Q15617994 } UNION { ?n property:P190 resource:Q210760 . ?n rdf:type ontology:Q56061 } }
Bressuire
action count
action union
action filter_type
action find_reverse
entity Bressuire
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bressuire
relation sister city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Bressuire'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Bressuire']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:sister_city resource:Bressuire . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:sister_city resource:Bressuire . ?n rdf:type ontology:administrative_territorial_entity } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
6
Q987797 Q138873 Q2343396 Q2746 Q507194 Q995413
(c(Q15617994),P190,Q210760) (c(Q56061),P190,Q210760)
action count
action union
action filter_type
action find_reverse
entity Q210760
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q210760
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q210760'] [{'concept': 'Q56061'}, 'P190', 'Q210760']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P190 resource:Q210760 . ?n rdf:type ontology:Q15617994 } UNION { ?n property:P190 resource:Q210760 . ?n rdf:type ontology:Q56061 } }
Leixlip Fraserburgh Parczew Ryazan Friedberg Kpalimé
6
action count
action union
action filter_type
action find_reverse
entity Bressuire
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bressuire
relation sister city
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Bressuire'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Bressuire']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:sister_city resource:Bressuire . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:sister_city resource:Bressuire . ?n rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3629496
P159
Q15617994
USER
Which administrative territory is the head office of Audison ?
(Q3629496,P159,c(Q15617994))
action filter_type
action find
entity Q3629496
relation P159
type Q15617994
['Q3629496', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3629496 property:P159 ?s . ?s rdf:type ontology:Q15617994 }
Audison
action filter_type
action find
entity Audison
relation headquarters location
type designation for an administrative territorial entity
['Audison', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Audison property:headquarters_location ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q83358
SYSTEM
Potenza Picena
Q83358
(Q3629496,P159,c(Q15617994))
action filter_type
action find
entity Q3629496
relation P159
type Q15617994
[ANSWER] is the head office of Audison
['Q3629496', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3629496 property:P159 ?s . ?s rdf:type ontology:Q15617994 }
Potenza Picena
Potenza Picena is the head office of Audison
Potenza Picena
action filter_type
action find
entity Audison
relation headquarters location
type designation for an administrative territorial entity
['Audison', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Audison property:headquarters_location ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q837051
P276
Q1190554
USER
Which event is located at Mequinenza ?
(c(Q1190554),P276,Q837051)
action filter_type
action find_reverse
entity Q837051
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q837051']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q837051 . ?k rdf:type ontology:Q1190554 }
Mequinenza
action filter_type
action find_reverse
entity Mequinenza
relation location
type event
[{'concept': 'event'}, 'location', 'Mequinenza']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Mequinenza . ?k rdf:type ontology:event }
[]
event
Q15277687
SYSTEM
Siege of Mequinenza
Q15277687
(c(Q1190554),P276,Q837051)
action filter_type
action find_reverse
entity Q837051
relation P276
type Q1190554
The [ANSWER] is located at Mequinenza
[{'concept': 'Q1190554'}, 'P276', 'Q837051']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q837051 . ?k rdf:type ontology:Q1190554 }
Siege of Mequinenza
The Siege of Mequinenza is located at Mequinenza
Siege of Mequinenza
action filter_type
action find_reverse
entity Mequinenza
relation location
type event
[{'concept': 'event'}, 'location', 'Mequinenza']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Mequinenza . ?k rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q837051
P19
Q502895
USER
Who were born at that political territory ?
(c(Q502895),P19,Q15277687)
action filter_type
action find_reverse
entity Q837051
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q15277687']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q837051 . ?d rdf:type ontology:Q502895 }
Mequinenza
action filter_type
action find_reverse
entity Mequinenza
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Siege of Mequinenza']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Mequinenza . ?d rdf:type ontology:common_name }
[]
common name
Q3324067 Q1613179 Q11681275
SYSTEM
Raúl Agné, Jesús Moncada, Edmon Vallès i Perdrix
Q3571541 Q17635484 Q3324345 Q3324067 Q1613179 Q11681275
(c(Q502895),P19,Q15277687)
action filter_type
action find_reverse
entity Q837051
relation P19
type Q502895
[ANSWERS] were born at that political territory
[{'concept': 'Q502895'}, 'P19', 'Q15277687']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q837051 . ?d rdf:type ontology:Q502895 }
Josep Ferrer i Beltran Josep Ferrer Juan Carlos Oliva Raúl Agné Jesús Moncada Edmon Vallès i Perdrix
Raúl Agné, Jesús Moncada and Edmon Vallès i Perdrix were born at that political territory
Raúl Agné Jesús Moncada Edmon Vallès i Perdrix
action filter_type
action find_reverse
entity Mequinenza
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Siege of Mequinenza']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Mequinenza . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q587324 Q837051
P19
Q502895
USER
Or Dalwallinu?
OR((c(Q502895),P19,Q837051), (c(Q502895),P19,Q587324))
action filter_type
action union
action find_reverse
entity Q837051
relation P19
action find_reverse
entity Q587324
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q837051'], [{'concept': 'Q502895'}, 'P19', 'Q587324']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:Q837051 ) ( resource:Q587324 ) } . ?d property:P19 ?p } . ?d rdf:type ontology:Q502895 }
Dalwallinu Mequinenza
action filter_type
action union
action find_reverse
entity Mequinenza
relation place of birth
action find_reverse
entity Dalwallinu
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Mequinenza'], [{'concept': 'common name'}, 'place of birth', 'Dalwallinu']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:Mequinenza ) ( resource:Dalwallinu ) } . ?d property:place_of_birth ?p } . ?d rdf:type ontology:common_name }
[]
common name
Q7365290 Q3571541 Q17635484 Q1613179 Q3324067 Q11681275 Q3324345
SYSTEM
Ronald Snook, Josep Ferrer i Beltran, Josep Ferrer, Jesús Moncada, Raúl Agné, Edmon Vallès i Perdrix, Juan Carlos Oliva
Q7365290 Q3571541 Q17635484 Q1613179 Q3324067 Q11681275 Q3324345
OR((c(Q502895),P19,Q837051), (c(Q502895),P19,Q587324))
action filter_type
action union
action find_reverse
entity Q837051
relation P19
action find_reverse
entity Q587324
relation P19
type Q502895
[ANSWERS]
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q837051'], [{'concept': 'Q502895'}, 'P19', 'Q587324']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:Q837051 ) ( resource:Q587324 ) } . ?d property:P19 ?p } . ?d rdf:type ontology:Q502895 }
Ronald Snook Josep Ferrer i Beltran Josep Ferrer Jesús Moncada Raúl Agné Edmon Vallès i Perdrix Juan Carlos Oliva
Ronald Snook Josep Ferrer i Beltran Josep Ferrer Jesús Moncada Raúl Agné Edmon Vallès i Perdrix Juan Carlos Oliva
action filter_type
action union
action find_reverse
entity Mequinenza
relation place of birth
action find_reverse
entity Dalwallinu
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Mequinenza'], [{'concept': 'common name'}, 'place of birth', 'Dalwallinu']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:Mequinenza ) ( resource:Dalwallinu ) } . ?d property:place_of_birth ?p } . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3324067
P106
Q12737077
USER
Which occupations are the professions of Raúl Agné ?
(Q3324067,P106,c(Q12737077))
action filter_type
action find
entity Q3324067
relation P106
type Q12737077
['Q3324067', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q3324067 property:P106 ?v }
Raúl Agné
action filter_type
action find
entity Raúl Agné
relation occupation
type occupation
['Raúl Agné', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Raúl_Agné property:occupation ?v }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q3324067,P106,c(Q12737077))
action filter_type
action find
entity Q3324067
relation P106
type Q12737077
The professions of Raúl Agné are the [ANSWERS]
['Q3324067', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q3324067 property:P106 ?v }
association football manager association football player
The professions of Raúl Agné are the association football manager and association football player
association football manager association football player
action filter_type
action find
entity Raúl Agné
relation occupation
type occupation
['Raúl Agné', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Raúl_Agné property:occupation ?v }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3341938
P106
Q502895
USER
Do Nina Myral have the profession as those occupations ?
(Q3341938,P106,Q628099) (Q3341938,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q3341938
relation P106
['Q3341938', 'P106', 'Q628099'] ['Q3341938', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?i ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q3341938 property:P106 ?i }
Nina Myral
action is_in
entity prev_answer
action find
entity Nina Myral
relation occupation
['Nina Myral', 'occupation', 'association football manager'] ['Nina Myral', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?i ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Nina_Myral property:occupation ?i }
[]
common name
SYSTEM
NO
(Q3341938,P106,Q628099) (Q3341938,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q3341938
relation P106
[ANSWER]
['Q3341938', 'P106', 'Q628099'] ['Q3341938', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?i ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q3341938 property:P106 ?i }
No
action is_in
entity prev_answer
action find
entity Nina Myral
relation occupation
['Nina Myral', 'occupation', 'association football manager'] ['Nina Myral', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?i ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Nina_Myral property:occupation ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q837051
P47
Q1048835
USER
How many political territories are next to the border of Mequinenza ?
(c(Q1048835),P47,Q837051)
action count
action filter_type
action find_reverse
entity Q837051
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q837051']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P47 resource:Q837051 . ?a rdf:type ontology:Q1048835 }
Mequinenza
action count
action filter_type
action find_reverse
entity Mequinenza
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Mequinenza']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:shares_border_with resource:Mequinenza . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
8
Q904212 Q1628416 Q927856 Q1639270 Q983642 Q585795 Q599367 Q956450
(c(Q1048835),P47,Q837051)
action count
action filter_type
action find_reverse
entity Q837051
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q837051']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P47 resource:Q837051 . ?a rdf:type ontology:Q1048835 }
Fraga Nonaspe Almatret Fayón Torrente de Cinca La Granja d'Escarp Seròs Fabara
8
action count
action filter_type
action find_reverse
entity Mequinenza
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Mequinenza']
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:shares_border_with resource:Mequinenza . ?a rdf:type ontology:political_territorial_entity }
[]