Simple Question (Direct)
Simple Question
Q15969374
P20
Q20667921
USER
Where did the expiration of Arsène Tirion occur ?
(Q15969374,P20,c(Q20667921))
action filter_type
action find
entity Q15969374
relation P20
type Q20667921
['Q15969374', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q15969374 property:P20 ?m . ?m rdf:type ontology:Q20667921 }
Arsène Tirion
action filter_type
action find
entity Arsène Tirion
relation place of death
type type of french administrative division
['Arsène Tirion', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Arsène_Tirion property:place_of_death ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q205586
SYSTEM
Dole
Q205586
(Q15969374,P20,c(Q20667921))
action filter_type
action find
entity Q15969374
relation P20
type Q20667921
The expiration of Arsène Tirion occurred in [ANSWER]
['Q15969374', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q15969374 property:P20 ?m . ?m rdf:type ontology:Q20667921 }
Dole
The expiration of Arsène Tirion occurred in Dole
Dole
action filter_type
action find
entity Arsène Tirion
relation place of death
type type of french administrative division
['Arsène Tirion', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Arsène_Tirion property:place_of_death ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15969374
P27
Q15617994
USER
Which administrative territory is Arsène Tirion a civilian of ?
(Q15969374,P27,c(Q15617994))
action filter_type
action find
entity Q15969374
relation P27
type Q15617994
['Q15969374', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q15969374 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Arsène Tirion
action filter_type
action find
entity Arsène Tirion
relation country of citizenship
type designation for an administrative territorial entity
['Arsène Tirion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Arsène_Tirion property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q15969374,P27,c(Q15617994))
action filter_type
action find
entity Q15969374
relation P27
type Q15617994
[ANSWER] is Arsène Tirion a civilian of
['Q15969374', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q15969374 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
France
France is Arsène Tirion a civilian of
France
action filter_type
action find
entity Arsène Tirion
relation country of citizenship
type designation for an administrative territorial entity
['Arsène Tirion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Arsène_Tirion property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8054457 Q15969374
P19
Q20667921
USER
Which french administrative divisions are the birthplace of Arsène Tirion or Yohann Boulic ?
OR((Q15969374,P19,c(Q20667921)), (Q8054457,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q15969374
relation P19
action find
entity Q8054457
relation P19
type Q20667921
{'OR': [['Q15969374', 'P19', {'concept': 'Q20667921'}], ['Q8054457', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q15969374 property:P19 ?l } UNION { resource:Q8054457 property:P19 ?l } } . ?l rdf:type ontology:Q20667921 }
Yohann Boulic Arsène Tirion
action filter_type
action union
action find
entity Arsène Tirion
relation place of birth
action find
entity Yohann Boulic
relation place of birth
type type of french administrative division
{'OR': [['Arsène Tirion', 'place of birth', {'concept': 'type of french administrative division'}], ['Yohann Boulic', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Arsène_Tirion property:place_of_birth ?l } UNION { resource:Yohann_Boulic property:place_of_birth ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q167141 Q12193
SYSTEM
Laon, Brest
Q167141 Q12193
OR((Q15969374,P19,c(Q20667921)), (Q8054457,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q15969374
relation P19
action find
entity Q8054457
relation P19
type Q20667921
[ANSWERS] are the birthplace of Arsène Tirion or Yohann Boulic
{'OR': [['Q15969374', 'P19', {'concept': 'Q20667921'}], ['Q8054457', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q15969374 property:P19 ?l } UNION { resource:Q8054457 property:P19 ?l } } . ?l rdf:type ontology:Q20667921 }
Laon Brest
Laon and Brest are the birthplace of Arsène Tirion or Yohann Boulic
Laon Brest
action filter_type
action union
action find
entity Arsène Tirion
relation place of birth
action find
entity Yohann Boulic
relation place of birth
type type of french administrative division
{'OR': [['Arsène Tirion', 'place of birth', {'concept': 'type of french administrative division'}], ['Yohann Boulic', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Arsène_Tirion property:place_of_birth ?l } UNION { resource:Yohann_Boulic property:place_of_birth ?l } } . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q20667921
USER
How many administrative territories have approximately 2 french administrative divisions as their capital ?
(c(Q20667921),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 2
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P1376 ?i . ?k rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?l = 2 ) }
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 2
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:capital_of ?i . ?k rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?l = 2 ) }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
6
Q2998020 Q3259 Q12798 Q12730 Q3278 Q12772
(c(Q20667921),P1376,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 2
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P1376 ?i . ?k rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?l = 2 ) }
Corse Cantal Vendée Haute-Saône Charente-Maritime Tarn
6
action count
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 2
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:capital_of ?i . ?k rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?l = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q205586 Q22890
P740
Q2088357
USER
How many musical ensembles were formed at Dole or Ireland ?
(c(Q2088357),P740,Q205586) (c(Q2088357),P740,Q22890)
action count
action union
action filter_type
action find_reverse
entity Q205586
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q22890
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q205586'] [{'concept': 'Q2088357'}, 'P740', 'Q22890']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:P740 resource:Q205586 . ?d rdf:type ontology:Q2088357 } UNION { ?d rdf:type ontology:Q2088357 . ?d property:P740 resource:Q22890 } }
Dole Ireland
action count
action union
action filter_type
action find_reverse
entity Dole
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Ireland
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Dole'] [{'concept': 'musical ensemble'}, 'location of formation', 'Ireland']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:location_of_formation resource:Dole . ?d rdf:type ontology:musical_ensemble } UNION { ?d rdf:type ontology:musical_ensemble . ?d property:location_of_formation resource:Ireland } }
[]
musical ensemble
SYSTEM
4
Q2250020 Q7263975 Q5203286 Q19750492
(c(Q2088357),P740,Q205586) (c(Q2088357),P740,Q22890)
action count
action union
action filter_type
action find_reverse
entity Q205586
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q22890
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q205586'] [{'concept': 'Q2088357'}, 'P740', 'Q22890']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:P740 resource:Q205586 . ?d rdf:type ontology:Q2088357 } UNION { ?d rdf:type ontology:Q2088357 . ?d property:P740 resource:Q22890 } }
Téada Pzazz D-Side HomeTown
4
action count
action union
action filter_type
action find_reverse
entity Dole
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Ireland
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Dole'] [{'concept': 'musical ensemble'}, 'location of formation', 'Ireland']
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { ?d property:location_of_formation resource:Dole . ?d rdf:type ontology:musical_ensemble } UNION { ?d rdf:type ontology:musical_ensemble . ?d property:location_of_formation resource:Ireland } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories holds diplomatic relationship with France ?
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?x rdf:type ?n }
France
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?x rdf:type ?n }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3 political territories and 15 administrative territories
Q711 Q38 Q159 Q222 Q40 Q145 Q155 Q183 Q1011 Q32 Q17 Q408 Q30 Q399 Q27 Q403 Q801 Q228
(Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?x rdf:type ?n }
Mongolia Italy Russia Albania Austria United Kingdom Brazil Germany Cape Verde Luxembourg Japan Australia United States of America Armenia Ireland Serbia Israel Andorra
3 political territories and 15 administrative territories
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?x rdf:type ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12193
P17
Q15617994
USER
How many administrative territories are Brest a part of ?
(Q12193,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12193
relation P17
type Q15617994
['Q12193', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q12193 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Brest
action count
action filter_type
action find
entity Brest
relation country
type designation for an administrative territorial entity
['Brest', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Brest property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q12193,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12193
relation P17
type Q15617994
[ANSWER]
['Q12193', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q12193 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Brest
relation country
type designation for an administrative territorial entity
['Brest', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Brest property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q26612381
P17
Q15617994
USER
And also tell me about Musgrave House?
(Q26612381,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26612381
relation P17
type Q15617994
['Q26612381', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q26612381 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Musgrave House
action count
action filter_type
action find
entity Musgrave House
relation country
type designation for an administrative territorial entity
['Musgrave House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Musgrave_House property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q26612381,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26612381
relation P17
type Q15617994
[ANSWER]
['Q26612381', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q26612381 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Musgrave House
relation country
type designation for an administrative territorial entity
['Musgrave House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Musgrave_House property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3518634
Q15617994
USER
And how about Terre de Bas?
(Q3518634,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3518634
relation P17
type Q15617994
['Q3518634', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q3518634 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Terre de Bas
action count
action filter_type
action find
entity Terre de Bas
relation country
type designation for an administrative territorial entity
['Terre de Bas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Terre_de_Bas property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3518634,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3518634
relation P17
type Q15617994
[ANSWER]
['Q3518634', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q3518634 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Terre de Bas
relation country
type designation for an administrative territorial entity
['Terre de Bas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Terre_de_Bas property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]