Simple Question (Direct)
Simple Question
Q8320094
P27
Q15617994
USER
Which administrative territory is Paul Féau an inhabitant of ?
(Q8320094,P27,c(Q15617994))
action filter_type
action find
entity Q8320094
relation P27
type Q15617994
['Q8320094', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q8320094 property:P27 ?e }
Paul Féau
action filter_type
action find
entity Paul Féau
relation country of citizenship
type designation for an administrative territorial entity
['Paul Féau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Féau property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q8320094,P27,c(Q15617994))
action filter_type
action find
entity Q8320094
relation P27
type Q15617994
[ANSWER] is Paul Féau an inhabitant of
['Q8320094', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q8320094 property:P27 ?e }
France
France is Paul Féau an inhabitant of
France
action filter_type
action find
entity Paul Féau
relation country of citizenship
type designation for an administrative territorial entity
['Paul Féau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Féau property:country_of_citizenship ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8320094
P19
Q20667921
USER
Which french administrative division is the place of birth of that person ?
(Q142,P19,c(Q20667921))
action filter_type
action find
entity Q8320094
relation P19
type Q20667921
['Q142', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q8320094 property:P19 ?q }
Paul Féau
action filter_type
action find
entity Paul Féau
relation place of birth
type type of french administrative division
['France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Paul_Féau property:place_of_birth ?q }
[]
type of french administrative division
Q6548
SYSTEM
Orléans
Q6548
(Q142,P19,c(Q20667921))
action filter_type
action find
entity Q8320094
relation P19
type Q20667921
[ANSWER] is the place of birth of that person
['Q142', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q8320094 property:P19 ?q }
Orléans
Orléans is the place of birth of that person
Orléans
action filter_type
action find
entity Paul Féau
relation place of birth
type type of french administrative division
['France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Paul_Féau property:place_of_birth ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q689837
P1376
Q15617994 Q20667921
USER
Which administrative territories have more number of french administrative divisions have their first city than Spanish Sahara ?
(c(Q20667921),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q689837
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1376 ?p . ?p rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q20667921 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q689837 property:P1376 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?c ) }
Spanish Sahara
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Spanish Sahara
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:type_of_french_administrative_division } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Spanish_Sahara property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?c ) }
[]
designation for an administrative territorial entity type of french administrative division
Q12753 Q12584 Q3113
SYSTEM
Seine-et-Marne, Maine-et-Loire, Allier
Q12631 Q3368 Q2998020 Q3044731 Q12689 Q3377 Q3372 Q3093 Q3259 Q2528268 Q12594 Q12574 Q12798 Q12792 Q12700 Q12703 Q12709 Q12569 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q3286 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q12789 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12730 Q12736 Q12657 Q12652 Q12556 Q12816 Q3353 Q3357 Q3278 Q3184 Q2900529 Q12772 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q12761 Q12765 Q3334 Q12572 Q12576 Q12578 Q12679 Q3113 Q12758 Q12753 Q12751 Q12564
(c(Q20667921),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q689837
relation P1376
type Q15617994
[ANSWERS] have more number of french administrative divisions have their first city than Spanish Sahara
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1376 ?p . ?p rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q20667921 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q689837 property:P1376 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?b > ?c ) }
Meuse Essonne Corse Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Cantal Mont-Blanc Marne Loiret Vendée Vaucluse Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Cher Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Var Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Haute-Saône Saône-et-Loire Nièvre Moselle Indre-et-Loire Yonne Creuse Dordogne Charente-Maritime Ariège Bezirk Lothringen Tarn Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot Lot-et-Garonne Orne Allier Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Seine-et-Marne, Maine-et-Loire and Allier have more number of french administrative divisions have their first city than Spanish Sahara
Seine-et-Marne Maine-et-Loire Allier
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Spanish Sahara
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:type_of_french_administrative_division } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Spanish_Sahara property:capital_of ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b > ?c ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q20667921
USER
How many administrative territories or french administrative divisions are sister town of that administrative territory ?
(c(Q15617994),P190,Q3113) (c(Q20667921),P190,Q3113) (c(Q15617994),P190,Q12753) (c(Q20667921),P190,Q12753) (c(Q15617994),P190,Q12584) (c(Q20667921),P190,Q12584) (c(Q15617994),P190,Q3113) (c(Q20667921),P190,Q3113)
[{'concept': 'Q15617994'}, 'P190', 'Q3113'] [{'concept': 'Q20667921'}, 'P190', 'Q3113'] [{'concept': 'Q15617994'}, 'P190', 'Q12753'] [{'concept': 'Q20667921'}, 'P190', 'Q12753'] [{'concept': 'Q15617994'}, 'P190', 'Q12584'] [{'concept': 'Q20667921'}, 'P190', 'Q12584'] [{'concept': 'Q15617994'}, 'P190', 'Q3113'] [{'concept': 'Q20667921'}, 'P190', 'Q3113']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1101903 } UNION { ?y property:P190 resource:Q1101903 } UNION { ?z property:P190 resource:Q12753 } UNION { ?y property:P190 resource:Q12753 } UNION { ?z property:P190 resource:Q12584 } UNION { ?y property:P190 resource:Q12584 } UNION { ?z property:P190 resource:Q1101903 } UNION { ?y property:P190 resource:Q1101903 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Allier'] [{'concept': 'type of french administrative division'}, 'sister city', 'Allier'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Seine-et-Marne'] [{'concept': 'type of french administrative division'}, 'sister city', 'Seine-et-Marne'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Maine-et-Loire'] [{'concept': 'type of french administrative division'}, 'sister city', 'Maine-et-Loire'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Allier'] [{'concept': 'type of french administrative division'}, 'sister city', 'Allier']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Allier } UNION { ?y property:sister_city resource:Allier } UNION { ?z property:sister_city resource:Seine-et-Marne } UNION { ?y property:sister_city resource:Seine-et-Marne } UNION { ?z property:sister_city resource:Maine-et-Loire } UNION { ?y property:sister_city resource:Maine-et-Loire } UNION { ?z property:sister_city resource:Allier } UNION { ?y property:sister_city resource:Allier } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
designation for an administrative territorial entity type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q12753
SYSTEM
Did you mean Seine-et-Marne ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1101903 } UNION { ?y property:P190 resource:Q1101903 } UNION { ?z property:P190 resource:Q12753 } UNION { ?y property:P190 resource:Q12753 } UNION { ?z property:P190 resource:Q12584 } UNION { ?y property:P190 resource:Q12584 } UNION { ?z property:P190 resource:Q1101903 } UNION { ?y property:P190 resource:Q1101903 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Did you mean Seine-et-Marne ?
Seine-et-Marne
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Allier } UNION { ?y property:sister_city resource:Allier } UNION { ?z property:sister_city resource:Seine-et-Marne } UNION { ?y property:sister_city resource:Seine-et-Marne } UNION { ?z property:sister_city resource:Maine-et-Loire } UNION { ?y property:sister_city resource:Maine-et-Loire } UNION { ?z property:sister_city resource:Allier } UNION { ?y property:sister_city resource:Allier } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Allier. Could you tell me the answer for that?
(c(Q15617994),P190,Q3113) (c(Q20667921),P190,Q3113) (c(Q15617994),P190,Q12753) (c(Q20667921),P190,Q12753) (c(Q15617994),P190,Q12584) (c(Q20667921),P190,Q12584) (c(Q15617994),P190,Q3113) (c(Q20667921),P190,Q3113)
Q3113
[{'concept': 'Q15617994'}, 'P190', 'Q3113'] [{'concept': 'Q20667921'}, 'P190', 'Q3113'] [{'concept': 'Q15617994'}, 'P190', 'Q12753'] [{'concept': 'Q20667921'}, 'P190', 'Q12753'] [{'concept': 'Q15617994'}, 'P190', 'Q12584'] [{'concept': 'Q20667921'}, 'P190', 'Q12584'] [{'concept': 'Q15617994'}, 'P190', 'Q3113'] [{'concept': 'Q20667921'}, 'P190', 'Q3113']
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Allier'] [{'concept': 'type of french administrative division'}, 'sister city', 'Allier'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Seine-et-Marne'] [{'concept': 'type of french administrative division'}, 'sister city', 'Seine-et-Marne'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Maine-et-Loire'] [{'concept': 'type of french administrative division'}, 'sister city', 'Maine-et-Loire'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Allier'] [{'concept': 'type of french administrative division'}, 'sister city', 'Allier']
[]
SYSTEM
2
Q965 Q321502
(c(Q15617994),P190,Q3113) (c(Q20667921),P190,Q3113) (c(Q15617994),P190,Q12753) (c(Q20667921),P190,Q12753) (c(Q15617994),P190,Q12584) (c(Q20667921),P190,Q12584) (c(Q15617994),P190,Q3113) (c(Q20667921),P190,Q3113)
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q3113'] [{'concept': 'Q20667921'}, 'P190', 'Q3113'] [{'concept': 'Q15617994'}, 'P190', 'Q12753'] [{'concept': 'Q20667921'}, 'P190', 'Q12753'] [{'concept': 'Q15617994'}, 'P190', 'Q12584'] [{'concept': 'Q20667921'}, 'P190', 'Q12584'] [{'concept': 'Q15617994'}, 'P190', 'Q3113'] [{'concept': 'Q20667921'}, 'P190', 'Q3113']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1101903 } UNION { ?y property:P190 resource:Q1101903 } UNION { ?z property:P190 resource:Q12753 } UNION { ?y property:P190 resource:Q12753 } UNION { ?z property:P190 resource:Q12584 } UNION { ?y property:P190 resource:Q12584 } UNION { ?z property:P190 resource:Q1101903 } UNION { ?y property:P190 resource:Q1101903 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Burkina Faso Cusset
2
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Allier'] [{'concept': 'type of french administrative division'}, 'sister city', 'Allier'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Seine-et-Marne'] [{'concept': 'type of french administrative division'}, 'sister city', 'Seine-et-Marne'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Maine-et-Loire'] [{'concept': 'type of french administrative division'}, 'sister city', 'Maine-et-Loire'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Allier'] [{'concept': 'type of french administrative division'}, 'sister city', 'Allier']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Allier } UNION { ?y property:sister_city resource:Allier } UNION { ?z property:sister_city resource:Seine-et-Marne } UNION { ?y property:sister_city resource:Seine-et-Marne } UNION { ?z property:sister_city resource:Maine-et-Loire } UNION { ?y property:sister_city resource:Maine-et-Loire } UNION { ?z property:sister_city resource:Allier } UNION { ?y property:sister_city resource:Allier } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q12584
P17
Q7275 Q15617994
USER
How many states and administrative territories are Maine-et-Loire a part of ?
(Q12584,P17,c(Q7275)) (Q12584,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q12584
relation P17
type Q7275
action filter_type
action find
entity Q12584
relation P17
type Q15617994
['Q12584', 'P17', {'concept': 'Q7275'}] ['Q12584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { resource:Q12584 property:P17 ?k . ?k rdf:type ontology:Q7275 } UNION { resource:Q12584 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
Maine-et-Loire
action count
action union
action filter_type
action find
entity Maine-et-Loire
relation country
type state
action filter_type
action find
entity Maine-et-Loire
relation country
type designation for an administrative territorial entity
['Maine-et-Loire', 'country', {'concept': 'state'}] ['Maine-et-Loire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { resource:Maine-et-Loire property:country ?k . ?k rdf:type ontology:state } UNION { resource:Maine-et-Loire property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
state designation for an administrative territorial entity
SYSTEM
1 states and 1 administrative territories
Q142 Q70972
(Q12584,P17,c(Q7275)) (Q12584,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q12584
relation P17
type Q7275
action filter_type
action find
entity Q12584
relation P17
type Q15617994
[ANSWER]
['Q12584', 'P17', {'concept': 'Q7275'}] ['Q12584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { resource:Q12584 property:P17 ?k . ?k rdf:type ontology:Q7275 } UNION { resource:Q12584 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
France Kingdom of France
1 states and 1 administrative territories
action count
action union
action filter_type
action find
entity Maine-et-Loire
relation country
type state
action filter_type
action find
entity Maine-et-Loire
relation country
type designation for an administrative territorial entity
['Maine-et-Loire', 'country', {'concept': 'state'}] ['Maine-et-Loire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { resource:Maine-et-Loire property:country ?k . ?k rdf:type ontology:state } UNION { resource:Maine-et-Loire property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6548
P1376
Q13220204 Q15617994
USER
How many administrative country subdivisions or administrative territories have Orléans as their county seat ?
(Q6548,P1376,c(Q13220204)) (Q6548,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q6548
relation P1376
type Q13220204
action filter_type
action find
entity Q6548
relation P1376
type Q15617994
['Q6548', 'P1376', {'concept': 'Q13220204'}] ['Q6548', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?t rdf:type ?f }
Orléans
action count
action union
action filter_type
action find
entity Orléans
relation capital of
type second-level administrative country subdivision
action filter_type
action find
entity Orléans
relation capital of
type designation for an administrative territorial entity
['Orléans', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Orléans', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?t rdf:type ?f }
[]
second-level administrative country subdivision designation for an administrative territorial entity
SYSTEM
2
Q12574 Q702025
(Q6548,P1376,c(Q13220204)) (Q6548,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q6548
relation P1376
type Q13220204
action filter_type
action find
entity Q6548
relation P1376
type Q15617994
[ANSWER]
['Q6548', 'P1376', {'concept': 'Q13220204'}] ['Q6548', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } . ?t rdf:type ?f }
Loiret arrondissement of Orléans
2
action count
action union
action filter_type
action find
entity Orléans
relation capital of
type second-level administrative country subdivision
action filter_type
action find
entity Orléans
relation capital of
type designation for an administrative territorial entity
['Orléans', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Orléans', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?t rdf:type ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6548
P291
Q340169
USER
Which media has Orléans as its publication place ?
(c(Q340169),P291,Q6548)
action filter_type
action find_reverse
entity Q6548
relation P291
type Q340169
[{'concept': 'Q340169'}, 'P291', 'Q6548']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q6548 . ?y rdf:type ontology:Q340169 }
Orléans
action filter_type
action find_reverse
entity Orléans
relation place of publication
type media
[{'concept': 'media'}, 'place of publication', 'Orléans']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Orléans . ?y rdf:type ontology:media }
[]
media
Q20740460
SYSTEM
Sainte-Croix d'Orléans. Rapport lu le 13 décembre 1909 dans la nouvelle chapelle
Q20740460
(c(Q340169),P291,Q6548)
action filter_type
action find_reverse
entity Q6548
relation P291
type Q340169
[ANSWER] has Orléans as its publication place
[{'concept': 'Q340169'}, 'P291', 'Q6548']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q6548 . ?y rdf:type ontology:Q340169 }
Sainte-Croix d'Orléans. Rapport lu le 13 décembre 1909 dans la nouvelle chapelle
Sainte-Croix d'Orléans. Rapport lu le 13 décembre 1909 dans la nouvelle chapelle has Orléans as its publication place
Sainte-Croix d'Orléans. Rapport lu le 13 décembre 1909 dans la nouvelle chapelle
action filter_type
action find_reverse
entity Orléans
relation place of publication
type media
[{'concept': 'media'}, 'place of publication', 'Orléans']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Orléans . ?y rdf:type ontology:media }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3279
Q502895 Q15991303 Q18608583
USER
Which people were the statistical leader of max number of association football leagues or recurring sporting events ?
(c(Q15991303)|c(Q18608583),P3279,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q18608583 ) ( ontology:Q15991303 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:P3279 ?c . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15991303 } UNION { ?j property:P3279 ?c . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q18608583 } } GROUP BY ?c } . FILTER ( ?o = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:recurring_sporting_event ) ( ontology:association_football_league ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:statistical_leader ?c . ?c rdf:type ontology:common_name . ?j rdf:type ontology:association_football_league } UNION { ?j property:statistical_leader ?c . ?c rdf:type ontology:common_name . ?j rdf:type ontology:recurring_sporting_event } } GROUP BY ?c } . FILTER ( ?o = ?g ) }
[]
common name association football league recurring sporting event
Q43744
SYSTEM
Gerd Müller
Q43744
(c(Q15991303)|c(Q18608583),P3279,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[ANSWER] was the statistical leader of max number of association football leagues or recurring sporting events
[[{'concept': 'Q15991303'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q18608583 ) ( ontology:Q15991303 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:P3279 ?c . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15991303 } UNION { ?j property:P3279 ?c . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q18608583 } } GROUP BY ?c } . FILTER ( ?o = ?g ) }
Gerd Müller
Gerd Müller was the statistical leader of max number of association football leagues or recurring sporting events
Gerd Müller
action argmax
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'association football league'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:recurring_sporting_event ) ( ontology:association_football_league ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:statistical_leader ?c . ?c rdf:type ontology:common_name . ?j rdf:type ontology:association_football_league } UNION { ?j property:statistical_leader ?c . ?c rdf:type ontology:common_name . ?j rdf:type ontology:recurring_sporting_event } } GROUP BY ?c } . FILTER ( ?o = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12584
P138
Q355304
USER
Which watercourses are the etymology of Maine-et-Loire ?
(Q12584,P138,c(Q355304))
action filter_type
action find
entity Q12584
relation P138
type Q355304
['Q12584', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q355304 . resource:Q12584 property:P138 ?t }
Maine-et-Loire
action filter_type
action find
entity Maine-et-Loire
relation named after
type watercourse
['Maine-et-Loire', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:watercourse . resource:Maine-et-Loire property:named_after ?t }
[]
watercourse
Q1469 Q756886
SYSTEM
Loire, Maine
Q1469 Q756886
(Q12584,P138,c(Q355304))
action filter_type
action find
entity Q12584
relation P138
type Q355304
The etymology of Maine-et-Loire are [ANSWERS]
['Q12584', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q355304 . resource:Q12584 property:P138 ?t }
Loire Maine
The etymology of Maine-et-Loire are Loire and Maine
Loire Maine
action filter_type
action find
entity Maine-et-Loire
relation named after
type watercourse
['Maine-et-Loire', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:watercourse . resource:Maine-et-Loire property:named_after ?t }
[]