Simple Question (Direct)
Simple Question
Q3262538
P21
Q290
USER
Which sex does Louis Leygue have ?
(Q3262538,P21,c(Q290))
action filter_type
action find
entity Q3262538
relation P21
type Q290
['Q3262538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q3262538 property:P21 ?f . ?f rdf:type ontology:Q290 }
Louis Leygue
action filter_type
action find
entity Louis Leygue
relation gender
type sex
['Louis Leygue', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Louis_Leygue property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3262538,P21,c(Q290))
action filter_type
action find
entity Q3262538
relation P21
type Q290
Louis Leygue has a [ANSWER]
['Q3262538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q3262538 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Louis Leygue has a male
male
action filter_type
action find
entity Louis Leygue
relation gender
type sex
['Louis Leygue', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Louis_Leygue property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3262538
P39
Q12737077
USER
Which occupation was a position held by Louis Leygue ?
(Q3262538,P39,c(Q12737077))
action filter_type
action find
entity Q3262538
relation P39
type Q12737077
['Q3262538', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3262538 property:P39 ?z }
Louis Leygue
action filter_type
action find
entity Louis Leygue
relation position held
type occupation
['Louis Leygue', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Louis_Leygue property:position_held ?z }
[]
occupation
Q14828018
SYSTEM
member of the Senate of France
Q14828018
(Q3262538,P39,c(Q12737077))
action filter_type
action find
entity Q3262538
relation P39
type Q12737077
A [ANSWER] was a position held by Louis Leygue
['Q3262538', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3262538 property:P39 ?z }
member of the Senate of France
A member of the Senate of France was a position held by Louis Leygue
member of the Senate of France
action filter_type
action find
entity Louis Leygue
relation position held
type occupation
['Louis Leygue', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Louis_Leygue property:position_held ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3262538
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q14828018,P27,c(Q15617994))
action filter_type
action find
entity Q3262538
relation P27
type Q15617994
['Q14828018', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3262538 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Louis Leygue
action filter_type
action find
entity Louis Leygue
relation country of citizenship
type designation for an administrative territorial entity
['member of the Senate of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Louis_Leygue property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q14828018,P27,c(Q15617994))
action filter_type
action find
entity Q3262538
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q14828018', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3262538 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Louis Leygue
relation country of citizenship
type designation for an administrative territorial entity
['member of the Senate of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Louis_Leygue property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P123
Q166142 Q2342494
USER
How many applications and collectables were released by that administrative territory ?
(c(Q166142),P123,Q142) (c(Q2342494),P123,Q142) (c(Q166142),P123,Q142) (c(Q2342494),P123,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
[{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142'] [{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:P123 resource:Q142 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P123 resource:Q142 . ?o rdf:type ontology:Q166142 } }
action count
action union
action filter_type
action find_reverse
entity France
relation publisher
type application
action filter_type
action find_reverse
entity France
relation publisher
type collectable
[{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France'] [{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:publisher resource:France . ?o rdf:type ontology:collectable } UNION { ?o property:publisher resource:France . ?o rdf:type ontology:application } }
[]
application collectable
SYSTEM
2 applications and 1 collectables
Q1165469 Q22338335 Q3038553
(c(Q166142),P123,Q142) (c(Q2342494),P123,Q142) (c(Q166142),P123,Q142) (c(Q2342494),P123,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P123
type Q166142
action filter_type
action find_reverse
entity Q142
relation P123
type Q2342494
[ANSWER]
[{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142'] [{'concept': 'Q166142'}, 'P123', 'Q142'] [{'concept': 'Q2342494'}, 'P123', 'Q142']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:P123 resource:Q142 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P123 resource:Q142 . ?o rdf:type ontology:Q166142 } }
Post Mortem Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX Dracula: Origin
2 applications and 1 collectables
action count
action union
action filter_type
action find_reverse
entity France
relation publisher
type application
action filter_type
action find_reverse
entity France
relation publisher
type collectable
[{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France'] [{'concept': 'application'}, 'publisher', 'France'] [{'concept': 'collectable'}, 'publisher', 'France']
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:publisher resource:France . ?o rdf:type ontology:collectable } UNION { ?o property:publisher resource:France . ?o rdf:type ontology:application } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q818376
P1313
Q12737077
USER
How many occupations are fulfilled by France or Mieres ?
(Q142,P1313,c(Q12737077)) (Q818376,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q142
relation P1313
type Q12737077
action filter_type
action find
entity Q818376
relation P1313
type Q12737077
['Q142', 'P1313', {'concept': 'Q12737077'}] ['Q818376', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:Q142 property:P1313 ?e . ?e rdf:type ontology:Q12737077 } UNION { resource:Q818376 property:P1313 ?e . ?e rdf:type ontology:Q12737077 } }
France Mieres
action count
action union
action filter_type
action find
entity France
relation office held by head of government
type occupation
action filter_type
action find
entity Mieres
relation office held by head of government
type occupation
['France', 'office held by head of government', {'concept': 'occupation'}] ['Mieres', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:France property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation } UNION { resource:Mieres property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation } }
[]
occupation
SYSTEM
2
Q1587677 Q26700634
(Q142,P1313,c(Q12737077)) (Q818376,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q142
relation P1313
type Q12737077
action filter_type
action find
entity Q818376
relation P1313
type Q12737077
[ANSWER]
['Q142', 'P1313', {'concept': 'Q12737077'}] ['Q818376', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:Q142 property:P1313 ?e . ?e rdf:type ontology:Q12737077 } UNION { resource:Q818376 property:P1313 ?e . ?e rdf:type ontology:Q12737077 } }
Prime Minister of France mayor of Mieres
2
action count
action union
action filter_type
action find
entity France
relation office held by head of government
type occupation
action filter_type
action find
entity Mieres
relation office held by head of government
type occupation
['France', 'office held by head of government', {'concept': 'occupation'}] ['Mieres', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:France property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation } UNION { resource:Mieres property:office_held_by_head_of_government ?e . ?e rdf:type ontology:occupation } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16105407 Q3262538
P19
Q20667921
USER
Which french administrative divisions were Louis Leygue or Maurice Lurot born at ?
OR((Q3262538,P19,c(Q20667921)), (Q16105407,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3262538
relation P19
action find
entity Q16105407
relation P19
type Q20667921
{'OR': [['Q3262538', 'P19', {'concept': 'Q20667921'}], ['Q16105407', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3262538 property:P19 ?l } UNION { resource:Q16105407 property:P19 ?l } } . ?l rdf:type ontology:Q20667921 }
Maurice Lurot Louis Leygue
action filter_type
action union
action find
entity Louis Leygue
relation place of birth
action find
entity Maurice Lurot
relation place of birth
type type of french administrative division
{'OR': [['Louis Leygue', 'place of birth', {'concept': 'type of french administrative division'}], ['Maurice Lurot', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Louis_Leygue property:place_of_birth ?l } UNION { resource:Maurice_Lurot property:place_of_birth ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q47383 Q530347
SYSTEM
Charleville-Mézières, Miradoux
Q47383 Q530347
OR((Q3262538,P19,c(Q20667921)), (Q16105407,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3262538
relation P19
action find
entity Q16105407
relation P19
type Q20667921
Louis Leygue or Maurice Lurot were born in [ANSWERS]
{'OR': [['Q3262538', 'P19', {'concept': 'Q20667921'}], ['Q16105407', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3262538 property:P19 ?l } UNION { resource:Q16105407 property:P19 ?l } } . ?l rdf:type ontology:Q20667921 }
Charleville-Mézières Miradoux
Louis Leygue or Maurice Lurot were born in Charleville-Mézières and Miradoux
Charleville-Mézières Miradoux
action filter_type
action union
action find
entity Louis Leygue
relation place of birth
action find
entity Maurice Lurot
relation place of birth
type type of french administrative division
{'OR': [['Louis Leygue', 'place of birth', {'concept': 'type of french administrative division'}], ['Maurice Lurot', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Louis_Leygue property:place_of_birth ?l } UNION { resource:Maurice_Lurot property:place_of_birth ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16105407
P26
Q502895
USER
How many people are married to Maurice Lurot ?
(c(Q502895),P26,Q16105407)
action count
action filter_type
action find_reverse
entity Q16105407
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q16105407']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:P26 resource:Q16105407 . ?h rdf:type ontology:Q502895 }
Maurice Lurot
action count
action filter_type
action find_reverse
entity Maurice Lurot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Maurice Lurot']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:spouse resource:Maurice_Lurot . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q16106328
(c(Q502895),P26,Q16105407)
action count
action filter_type
action find_reverse
entity Q16105407
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q16105407']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:P26 resource:Q16105407 . ?h rdf:type ontology:Q502895 }
Michèle Lurot
1
action count
action filter_type
action find_reverse
entity Maurice Lurot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Maurice Lurot']
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { ?h property:spouse resource:Maurice_Lurot . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16105407
P26
Q502895
USER
Who is the spouse of that one ?
action filter_type
action find
entity Q16105407
relation P26
type Q502895
SELECT DISTINCT ?l WHERE { resource:Q16105407 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Maurice Lurot
action filter_type
action find
entity Maurice Lurot
relation spouse
type common name
SELECT DISTINCT ?l WHERE { resource:Maurice_Lurot property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q16106328
SYSTEM
Michèle Lurot
Q16106328
action filter_type
action find
entity Q16105407
relation P26
type Q502895
The spouse of that one is the [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q16105407 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Michèle Lurot
The spouse of that one is the Michèle Lurot
Michèle Lurot
action filter_type
action find
entity Maurice Lurot
relation spouse
type common name
SELECT DISTINCT ?l WHERE { resource:Maurice_Lurot property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16106328 Q7789824 Q312715
P26
Q502895
USER
Does that person have Thomas Fremantle, 2nd Baron Cottesloe and Anna Khitrik as spouse ?
(Q16106328,P26,Q7789824) (Q16106328,P26,Q312715)
action is_in
entity Q16106328
action intersection
action find_reverse
entity Q7789824
relation P26
action find_reverse
entity Q312715
relation P26
['Q16106328', 'P26', 'Q7789824'] ['Q16106328', 'P26', 'Q312715']
ASK WHERE { resource:Q16106328 property:P26 resource:Q7789824 . resource:Q16106328 property:P26 resource:Q312715 }
Michèle Lurot Thomas Fremantle, 2nd Baron Cottesloe Anna Khitrik
action is_in
entity Michèle Lurot
action intersection
action find_reverse
entity Thomas Fremantle, 2nd Baron Cottesloe
relation spouse
action find_reverse
entity Anna Khitrik
relation spouse
['Michèle Lurot', 'spouse', 'Thomas Fremantle, 2nd Baron Cottesloe'] ['Michèle Lurot', 'spouse', 'Anna Khitrik']
ASK WHERE { resource:Michèle_Lurot property:spouse resource:Thomas_Fremantle,_2nd_Baron_Cottesloe . resource:Michèle_Lurot property:spouse resource:Anna_Khitrik }
[]
common name
SYSTEM
NO
(Q16106328,P26,Q7789824) (Q16106328,P26,Q312715)
action is_in
entity Q16106328
action intersection
action find_reverse
entity Q7789824
relation P26
action find_reverse
entity Q312715
relation P26
[ANSWER]
['Q16106328', 'P26', 'Q7789824'] ['Q16106328', 'P26', 'Q312715']
ASK WHERE { resource:Q16106328 property:P26 resource:Q7789824 . resource:Q16106328 property:P26 resource:Q312715 }
No
action is_in
entity Michèle Lurot
action intersection
action find_reverse
entity Thomas Fremantle, 2nd Baron Cottesloe
relation spouse
action find_reverse
entity Anna Khitrik
relation spouse
['Michèle Lurot', 'spouse', 'Thomas Fremantle, 2nd Baron Cottesloe'] ['Michèle Lurot', 'spouse', 'Anna Khitrik']
ASK WHERE { resource:Michèle_Lurot property:spouse resource:Thomas_Fremantle,_2nd_Baron_Cottesloe . resource:Michèle_Lurot property:spouse resource:Anna_Khitrik }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q2089236 Q949303
P47
Q1048835
USER
Does France share border with Pavussu and Lousado ?
(Q142,P47,Q2089236) (Q142,P47,Q949303)
action is_in
entity Q142
action intersection
action find_reverse
entity Q2089236
relation P47
action find_reverse
entity Q949303
relation P47
['Q142', 'P47', 'Q2089236'] ['Q142', 'P47', 'Q949303']
ASK WHERE { resource:Q142 property:P47 resource:Q949303 . resource:Q142 property:P47 resource:Q2089236 }
France Pavussu Lousado
action is_in
entity France
action intersection
action find_reverse
entity Pavussu
relation shares border with
action find_reverse
entity Lousado
relation shares border with
['France', 'shares border with', 'Pavussu'] ['France', 'shares border with', 'Lousado']
ASK WHERE { resource:France property:shares_border_with resource:Lousado . resource:France property:shares_border_with resource:Pavussu }
[]
political territorial entity
SYSTEM
NO
(Q142,P47,Q2089236) (Q142,P47,Q949303)
action is_in
entity Q142
action intersection
action find_reverse
entity Q2089236
relation P47
action find_reverse
entity Q949303
relation P47
[ANSWER]
['Q142', 'P47', 'Q2089236'] ['Q142', 'P47', 'Q949303']
ASK WHERE { resource:Q142 property:P47 resource:Q949303 . resource:Q142 property:P47 resource:Q2089236 }
No
action is_in
entity France
action intersection
action find_reverse
entity Pavussu
relation shares border with
action find_reverse
entity Lousado
relation shares border with
['France', 'shares border with', 'Pavussu'] ['France', 'shares border with', 'Lousado']
ASK WHERE { resource:France property:shares_border_with resource:Lousado . resource:France property:shares_border_with resource:Pavussu }
[]