Simple Question (Direct)
Simple Question
Q3185041
P166
Q618779
USER
Which award was received by Joseph Guadet ?
(Q3185041,P166,c(Q618779))
action filter_type
action find
entity Q3185041
relation P166
type Q618779
['Q3185041', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q3185041 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Joseph Guadet
action filter_type
action find
entity Joseph Guadet
relation award received
type award
['Joseph Guadet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Joseph_Guadet property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q10855195
SYSTEM
Officer of the Legion of Honour
Q10855195
(Q3185041,P166,c(Q618779))
action filter_type
action find
entity Q3185041
relation P166
type Q618779
France [ANSWER] was received by Joseph Guadet
['Q3185041', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q3185041 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Officer of the Legion of Honour
France Officer of the Legion of Honour was received by Joseph Guadet
Officer of the Legion of Honour
action filter_type
action find
entity Joseph Guadet
relation award received
type award
['Joseph Guadet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Joseph_Guadet property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3185041
P22
Q502895
USER
Who has that one as a father ?
(c(Q502895),P22,Q10855195)
action filter_type
action find_reverse
entity Q3185041
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q10855195']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q3185041 . ?v rdf:type ontology:Q502895 }
Joseph Guadet
action filter_type
action find_reverse
entity Joseph Guadet
relation father
type common name
[{'concept': 'common name'}, 'father', 'Officer of the Legion of Honour']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Joseph_Guadet . ?v rdf:type ontology:common_name }
[]
common name
Q3189515
SYSTEM
Julien Guadet
Q3189515
(c(Q502895),P22,Q10855195)
action filter_type
action find_reverse
entity Q3185041
relation P22
type Q502895
[ANSWER] has that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q10855195']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q3185041 . ?v rdf:type ontology:Q502895 }
Julien Guadet
Julien Guadet has that one as a father
Julien Guadet
action filter_type
action find_reverse
entity Joseph Guadet
relation father
type common name
[{'concept': 'common name'}, 'father', 'Officer of the Legion of Honour']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Joseph_Guadet . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1066
Q502895
USER
How many people are a pupil of that person ?
(c(Q502895),P1066,Q3189515)
action count
action filter_type
action find_reverse
entity Q3189515
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q3189515']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1066 resource:Q3189515 }
action count
action filter_type
action find_reverse
entity Julien Guadet
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Julien Guadet']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:common_name . ?c property:student_of resource:Julien_Guadet }
[]
common name
SYSTEM
4
Q3588473 Q25938059 Q19713453 Q381978
(c(Q502895),P1066,Q3189515)
action count
action filter_type
action find_reverse
entity Q3189515
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q3189515']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1066 resource:Q3189515 }
Émile Dubuisson Lucien Paquin Henri Moncorger Auguste Perret
4
action count
action filter_type
action find_reverse
entity Julien Guadet
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Julien Guadet']
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:common_name . ?c property:student_of resource:Julien_Guadet }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P655
Q502895 Q571 Q2342494
USER
Which people did the translation of max number of books and collectables ?
(c(Q571)|c(Q2342494),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?p WHERE { VALUES ( ?w ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?l rdf:type ?w } GROUP BY ?p } } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?g WHERE { { ?e property:P655 ?g . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P655 ?g . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q571 } } GROUP BY ?g } }
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?p WHERE { VALUES ( ?w ) { ( ontology:book ) ( ontology:collectable ) } . ?l rdf:type ?w } GROUP BY ?p } } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?g WHERE { { ?e property:translator ?g . ?g rdf:type ontology:common_name . ?e rdf:type ontology:collectable } UNION { ?e property:translator ?g . ?g rdf:type ontology:common_name . ?e rdf:type ontology:book } } GROUP BY ?g } }
[]
common name book collectable
Q461104
SYSTEM
Jaroslav Vrchlický
Q461104
(c(Q571)|c(Q2342494),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
[ANSWER] did the translation of max number of books and collectables
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?p WHERE { VALUES ( ?w ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?l rdf:type ?w } GROUP BY ?p } } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?g WHERE { { ?e property:P655 ?g . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P655 ?g . ?g rdf:type ontology:Q502895 . ?e rdf:type ontology:Q571 } } GROUP BY ?g } }
Jaroslav Vrchlický
Jaroslav Vrchlický did the translation of max number of books and collectables
Jaroslav Vrchlický
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?p WHERE { VALUES ( ?w ) { ( ontology:book ) ( ontology:collectable ) } . ?l rdf:type ?w } GROUP BY ?p } } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?g WHERE { { ?e property:translator ?g . ?g rdf:type ontology:common_name . ?e rdf:type ontology:collectable } UNION { ?e property:translator ?g . ?g rdf:type ontology:common_name . ?e rdf:type ontology:book } } GROUP BY ?g } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461104
P7
Q502895
USER
Who is that one a sibling of ?
(Q461104,P7,c(Q502895))
action filter_type
action find
entity Q461104
relation P7
type Q502895
['Q461104', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q461104 property:P7 ?j }
Jaroslav Vrchlický
action filter_type
action find
entity Jaroslav Vrchlický
relation brother
type common name
['Jaroslav Vrchlický', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Jaroslav_Vrchlický property:brother ?j }
[]
common name
Q4492702
SYSTEM
Bedřich Frida
Q4492702
(Q461104,P7,c(Q502895))
action filter_type
action find
entity Q461104
relation P7
type Q502895
That one a sibling of is [ANSWER]
['Q461104', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q461104 property:P7 ?j }
Bedřich Frida
That one a sibling of is Bedřich Frida
Bedřich Frida
action filter_type
action find
entity Jaroslav Vrchlický
relation brother
type common name
['Jaroslav Vrchlický', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Jaroslav_Vrchlický property:brother ?j }
[]