Simple Question (Direct)
Simple Question
Q3576492
P39
Q12737077
USER
Which occupations were the positions for which Zénobe Alexis de Lespinay were appointed ?
(Q3576492,P39,c(Q12737077))
action filter_type
action find
entity Q3576492
relation P39
type Q12737077
['Q3576492', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3576492 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Zénobe Alexis de Lespinay
action filter_type
action find
entity Zénobe Alexis de Lespinay
relation position held
type occupation
['Zénobe Alexis de Lespinay', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Zénobe_Alexis_de_Lespinay property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q3576492,P39,c(Q12737077))
action filter_type
action find
entity Q3576492
relation P39
type Q12737077
[ANSWERS]
['Q3576492', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3576492 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly were the positions for which Zénobe Alexis de Lespinay were appointed
maire member of the French National Assembly
action filter_type
action find
entity Zénobe Alexis de Lespinay
relation position held
type occupation
['Zénobe Alexis de Lespinay', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Zénobe_Alexis_de_Lespinay property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q382617
P17
Q15617994
USER
Which administrative territory is that occupation present in ?
(Q382617,P17,c(Q15617994))
action filter_type
action find
entity Q382617
relation P17
type Q15617994
['Q382617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q382617 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
maire
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:maire property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q382617
SYSTEM
Did you mean maire ?
Q382617 Q3044918
(Q382617,P17,c(Q15617994)) (Q3044918,P17,c(Q15617994))
[ANSWER]
['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q382617 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
maire member of the French National Assembly
Did you mean maire ?
maire
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:maire property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q382617,P17,c(Q15617994))
['Q382617', 'P17', {'concept': 'Q15617994'}]
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q382617,P17,c(Q15617994))
action filter_type
action find
entity Q382617
relation P17
type Q15617994
That occupation is [ANSWER]
['Q382617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q382617 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
That occupation is France
France
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:maire property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q403
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with greater number of administrative territories than Serbia ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q403
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P530 resource:Q403 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { ?y property:P530 ?n . ?y rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?y } }
Serbia
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:diplomatic_relation resource:Serbia . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { ?y property:diplomatic_relation ?n . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q145 Q148 Q159 Q155 Q30 Q38 Q17
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q403
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Serbia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P530 resource:Q403 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { ?y property:P530 ?n . ?y rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?y } }
Israel Yemen France United Kingdom People's Republic of China Russia Brazil United States of America Italy Japan
Italy, Brazil and United States of America have diplomatic relationships with greater number of administrative territories than Serbia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:diplomatic_relation resource:Serbia . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?e ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { ?y property:diplomatic_relation ?n . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories did more number of releases originate than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Italy ?
Italy
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
United States of America
1
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P610
Q14524493
USER
Which is the highest peak of Italy ?
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q38 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Italy
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Italy property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
The highest peak of Italy is the [ANSWER]
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q38 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Mont Blanc
The highest peak of Italy is the Mont Blanc
Mont Blanc
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Italy property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P921
Q2342494
USER
Which collectable has that administrative territory as its principal topic ?
(c(Q2342494),P921,Q583)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q583']
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q38 . ?v rdf:type ontology:Q2342494 }
Italy
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Mont Blanc']
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:Italy . ?v rdf:type ontology:collectable }
[]
collectable
Q455305
SYSTEM
Italian Journey
Q455305
(c(Q2342494),P921,Q583)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
[ANSWER] has that administrative territory as its principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q583']
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q38 . ?v rdf:type ontology:Q2342494 }
Italian Journey
Italian Journey has that administrative territory as its principal topic
Italian Journey
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Mont Blanc']
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:Italy . ?v rdf:type ontology:collectable }
[]