Simple Question (Direct)
Simple Question
Q3184615
P39
Q12737077
USER
Which occupations were the positions for which Joseph Blanc were appointed ?
(Q3184615,P39,c(Q12737077))
action filter_type
action find
entity Q3184615
relation P39
type Q12737077
['Q3184615', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q3184615 property:P39 ?e }
Joseph Blanc
action filter_type
action find
entity Joseph Blanc
relation position held
type occupation
['Joseph Blanc', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Joseph_Blanc property:position_held ?e }
[]
occupation
Q382617 Q21032547
SYSTEM
maire, senator of the French Third Republic
Q382617 Q21032547
(Q3184615,P39,c(Q12737077))
action filter_type
action find
entity Q3184615
relation P39
type Q12737077
The [ANSWERS] were the positions for which Joseph Blanc were appointed
['Q3184615', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q3184615 property:P39 ?e }
maire senator of the French Third Republic
The maire and senator of the French Third Republic were the positions for which Joseph Blanc were appointed
maire senator of the French Third Republic
action filter_type
action find
entity Joseph Blanc
relation position held
type occupation
['Joseph Blanc', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Joseph_Blanc property:position_held ?e }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q382617 Q21032547
P17
Q15617994
USER
Which administrative territories are maire and senator of the French Third Republic a part of ?
(Q382617,P17,c(Q15617994)) (Q21032547,P17,c(Q15617994))
action union
action filter_type
action find
entity Q382617
relation P17
type Q15617994
action filter_type
action find
entity Q21032547
relation P17
type Q15617994
['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q21032547', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?p property:P17 ?i . VALUES ( ?p ) { ( resource:Q382617 ) ( resource:Q21032547 ) } }
maire senator of the French Third Republic
action union
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity senator of the French Third Republic
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['senator of the French Third Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?p property:country ?i . VALUES ( ?p ) { ( resource:maire ) ( resource:senator_of_the_French_Third_Republic ) } }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q382617,P17,c(Q15617994)) (Q21032547,P17,c(Q15617994))
action union
action filter_type
action find
entity Q382617
relation P17
type Q15617994
action filter_type
action find
entity Q21032547
relation P17
type Q15617994
And [ANSWER] and [ANSWER] are maire and senator of the French Third Republic a part of
['Q382617', 'P17', {'concept': 'Q15617994'}] ['Q21032547', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?p property:P17 ?i . VALUES ( ?p ) { ( resource:Q382617 ) ( resource:Q21032547 ) } }
France France
And France and France are maire and senator of the French Third Republic a part of
France France
action union
action filter_type
action find
entity maire
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity senator of the French Third Republic
relation country
type designation for an administrative territorial entity
['maire', 'country', {'concept': 'designation for an administrative territorial entity'}] ['senator of the French Third Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?p property:country ?i . VALUES ( ?p ) { ( resource:maire ) ( resource:senator_of_the_French_Third_Republic ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3184615
P19
Q20667921
USER
Which french administrative division was Joseph Blanc born at ?
(Q3184615,P19,c(Q20667921))
action filter_type
action find
entity Q3184615
relation P19
type Q20667921
['Q3184615', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3184615 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Joseph Blanc
action filter_type
action find
entity Joseph Blanc
relation place of birth
type type of french administrative division
['Joseph Blanc', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Joseph_Blanc property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q912337
SYSTEM
Saint-Jorioz
Q912337
(Q3184615,P19,c(Q20667921))
action filter_type
action find
entity Q3184615
relation P19
type Q20667921
Joseph Blanc was born à [ANSWER]
['Q3184615', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3184615 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Saint-Jorioz
Joseph Blanc was born à Saint-Jorioz
Saint-Jorioz
action filter_type
action find
entity Joseph Blanc
relation place of birth
type type of french administrative division
['Joseph Blanc', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Joseph_Blanc property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3184615
P734
Q82799
USER
Who is associated with Joseph Blanc ?
(Q3184615,P734,c(Q82799))
action filter_type
action find
entity Q3184615
relation P734
type Q82799
['Q3184615', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q3184615 property:P734 ?t }
Joseph Blanc
action filter_type
action find
entity Joseph Blanc
relation family name
type name
['Joseph Blanc', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Joseph_Blanc property:family_name ?t }
[]
name
Q21476693
SYSTEM
Blanc
Q21476693
(Q3184615,P734,c(Q82799))
action filter_type
action find
entity Q3184615
relation P734
type Q82799
[ANSWER] is associated with Joseph [ANSWER]
['Q3184615', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q3184615 property:P734 ?t }
Blanc
Blanc is associated with Joseph Blanc
Blanc
action filter_type
action find
entity Joseph Blanc
relation family name
type name
['Joseph Blanc', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Joseph_Blanc property:family_name ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1874851
Q82799
USER
And also tell me about Ludwig Palmer?
(Q1874851,P734,c(Q82799))
action filter_type
action find
entity Q1874851
relation P734
type Q82799
['Q1874851', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q1874851 property:P734 ?s }
Ludwig Palmer
action filter_type
action find
entity Ludwig Palmer
relation family name
type name
['Ludwig Palmer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Ludwig_Palmer property:family_name ?s }
[]
name
Q568872
SYSTEM
Palmer
Q568872
(Q1874851,P734,c(Q82799))
action filter_type
action find
entity Q1874851
relation P734
type Q82799
[ANSWER]
['Q1874851', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q1874851 property:P734 ?s }
Palmer
Palmer
action filter_type
action find
entity Ludwig Palmer
relation family name
type name
['Ludwig Palmer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Ludwig_Palmer property:family_name ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q568872 Q2427963
P734
Q502895
USER
Does Thomas W. Palmer have that one as last name ?
(Q2427963,P734,Q568872)
action is_in
entity Q568872
action find
entity Q2427963
relation P734
['Q2427963', 'P734', 'Q568872']
ASK WHERE { resource:Q2427963 property:P734 resource:Q568872 }
Palmer Thomas W. Palmer
action is_in
entity Palmer
action find
entity Thomas W. Palmer
relation family name
['Thomas W. Palmer', 'family name', 'Palmer']
ASK WHERE { resource:Thomas_W._Palmer property:family_name resource:Palmer }
[]
common name
SYSTEM
YES
(Q2427963,P734,Q568872)
action is_in
entity Q568872
action find
entity Q2427963
relation P734
[ANSWER]
['Q2427963', 'P734', 'Q568872']
ASK WHERE { resource:Q2427963 property:P734 resource:Q568872 }
Yes
action is_in
entity Palmer
action find
entity Thomas W. Palmer
relation family name
['Thomas W. Palmer', 'family name', 'Palmer']
ASK WHERE { resource:Thomas_W._Palmer property:family_name resource:Palmer }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are the languages of work for around 104 names ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 104
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?w ) WHERE { ?r rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 . ?x property:P407 ?r } GROUP BY ?r } . FILTER ( ?w = 104 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 104
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?w ) WHERE { ?r rdf:type ontology:language . ?x rdf:type ontology:name . ?x property:language_of_work_or_name ?r } GROUP BY ?r } . FILTER ( ?w = 104 ) }
[]
language name
SYSTEM
3
Q1321 Q9056 Q652
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 104
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?w ) WHERE { ?r rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 . ?x property:P407 ?r } GROUP BY ?r } . FILTER ( ?w = 104 ) }
Spanish Czech Italian
3
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 104
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?w ) WHERE { ?r rdf:type ontology:language . ?x rdf:type ontology:name . ?x property:language_of_work_or_name ?r } GROUP BY ?r } . FILTER ( ?w = 104 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P127
Q41176
USER
Which buildings are under posessision of France ?
(c(Q41176),P127,Q142)
action filter_type
action find_reverse
entity Q142
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q142 . ?g rdf:type ontology:Q41176 }
France
action filter_type
action find_reverse
entity France
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'France']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:France . ?g rdf:type ontology:building }
[]
building
Q3292683 Q666203
SYSTEM
palais Cambon, Schloss Ernich
Q3292683 Q666203
(c(Q41176),P127,Q142)
action filter_type
action find_reverse
entity Q142
relation P127
type Q41176
[ANSWERS] are under posessision of France
[{'concept': 'Q41176'}, 'P127', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q142 . ?g rdf:type ontology:Q41176 }
palais Cambon Schloss Ernich
Palais Cambon and Schloss Ernich are under posessision of France
palais Cambon Schloss Ernich
action filter_type
action find_reverse
entity France
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'France']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:France . ?g rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3292683 Q666203
P127
Q15617994
USER
Which administrative territories owned palais Cambon and Schloss Ernich ?
(Q3292683,P127,c(Q15617994)) (Q666203,P127,c(Q15617994))
action union
action filter_type
action find
entity Q3292683
relation P127
type Q15617994
action filter_type
action find
entity Q666203
relation P127
type Q15617994
['Q3292683', 'P127', {'concept': 'Q15617994'}] ['Q666203', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q3292683 ) ( resource:Q666203 ) } . ?z property:P127 ?h }
palais Cambon Schloss Ernich
action union
action filter_type
action find
entity palais Cambon
relation owned by
type designation for an administrative territorial entity
action filter_type
action find
entity Schloss Ernich
relation owned by
type designation for an administrative territorial entity
['palais Cambon', 'owned by', {'concept': 'designation for an administrative territorial entity'}] ['Schloss Ernich', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:palais_Cambon ) ( resource:Schloss_Ernich ) } . ?z property:owned_by ?h }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q3292683,P127,c(Q15617994)) (Q666203,P127,c(Q15617994))
action union
action filter_type
action find
entity Q3292683
relation P127
type Q15617994
action filter_type
action find
entity Q666203
relation P127
type Q15617994
[ANSWER] and [ANSWER] owned palais Cambon and Schloss Ernich
['Q3292683', 'P127', {'concept': 'Q15617994'}] ['Q666203', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q3292683 ) ( resource:Q666203 ) } . ?z property:P127 ?h }
France France
France and France owned palais Cambon and Schloss Ernich
France France
action union
action filter_type
action find
entity palais Cambon
relation owned by
type designation for an administrative territorial entity
action filter_type
action find
entity Schloss Ernich
relation owned by
type designation for an administrative territorial entity
['palais Cambon', 'owned by', {'concept': 'designation for an administrative territorial entity'}] ['Schloss Ernich', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:palais_Cambon ) ( resource:Schloss_Ernich ) } . ?z property:owned_by ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3292683
P84
Q502895
USER
Which person designed the architecture of palais Cambon ?
(Q3292683,P84,c(Q502895))
action filter_type
action find
entity Q3292683
relation P84
type Q502895
['Q3292683', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3292683 property:P84 ?x . ?x rdf:type ontology:Q502895 }
palais Cambon
action filter_type
action find
entity palais Cambon
relation architect
type common name
['palais Cambon', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:palais_Cambon property:architect ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2994878
SYSTEM
Constant Moyaux
Q2994878
(Q3292683,P84,c(Q502895))
action filter_type
action find
entity Q3292683
relation P84
type Q502895
[ANSWER] designed the architecture of palais Cambon
['Q3292683', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3292683 property:P84 ?x . ?x rdf:type ontology:Q502895 }
Constant Moyaux
Constant Moyaux designed the architecture of palais Cambon
Constant Moyaux
action filter_type
action find
entity palais Cambon
relation architect
type common name
['palais Cambon', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:palais_Cambon property:architect ?x . ?x rdf:type ontology:common_name }
[]