Simple Question (Direct)
Simple Question
Q722337
P7
Q502895
USER
Who has Serge Marquand as their sibling ?
(Q722337,P7,c(Q502895))
action filter_type
action find
entity Q722337
relation P7
type Q502895
['Q722337', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q722337 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Serge Marquand
action filter_type
action find
entity Serge Marquand
relation brother
type common name
['Serge Marquand', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Serge_Marquand property:brother ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1081030
SYSTEM
Christian Marquand
Q1081030
(Q722337,P7,c(Q502895))
action filter_type
action find
entity Q722337
relation P7
type Q502895
[ANSWER] has Serge Marquand as their sibling
['Q722337', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q722337 property:P7 ?h . ?h rdf:type ontology:Q502895 }
Christian Marquand
Christian Marquand has Serge Marquand as their sibling
Christian Marquand
action filter_type
action find
entity Serge Marquand
relation brother
type common name
['Serge Marquand', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Serge_Marquand property:brother ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1081030
P57
Q838948
USER
Which work of art did that person direct ?
(c(Q838948),P57,Q1081030)
action filter_type
action find_reverse
entity Q1081030
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1081030']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P57 resource:Q1081030 }
Christian Marquand
action filter_type
action find_reverse
entity Christian Marquand
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Christian Marquand']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:director resource:Christian_Marquand }
[]
work of art
Q922251
SYSTEM
Candy
Q922251
(c(Q838948),P57,Q1081030)
action filter_type
action find_reverse
entity Q1081030
relation P57
type Q838948
That person directed to [ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q1081030']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P57 resource:Q1081030 }
Candy
That person directed to Candy
Candy
action filter_type
action find_reverse
entity Christian Marquand
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Christian Marquand']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:director resource:Christian_Marquand }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q922251
P2554
Q502895
USER
Who is the production designer of that work of art ?
(Q922251,P2554,c(Q502895))
action filter_type
action find
entity Q922251
relation P2554
type Q502895
['Q922251', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q922251 property:P2554 ?f . ?f rdf:type ontology:Q502895 }
Candy
action filter_type
action find
entity Candy
relation production designer
type common name
['Candy', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Candy property:production_designer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q940271
SYSTEM
Dean Tavoularis
Q940271
(Q922251,P2554,c(Q502895))
action filter_type
action find
entity Q922251
relation P2554
type Q502895
The production designer of that work of art is the [ANSWER]
['Q922251', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q922251 property:P2554 ?f . ?f rdf:type ontology:Q502895 }
Dean Tavoularis
The production designer of that work of art is the Dean Tavoularis
Dean Tavoularis
action filter_type
action find
entity Candy
relation production designer
type common name
['Candy', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Candy property:production_designer ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q811979 Q207628
USER
Which people are max number of architectural structures and musical compositions dedicated to ?
(c(Q811979)|c(Q207628),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?k ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:Q811979 ) ( ontology:Q207628 ) } . ?l rdf:type ?o } GROUP BY ?j } } . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?c ) { ( ontology:Q811979 ) ( ontology:Q207628 ) } . ?a rdf:type ?c } GROUP BY ?u } . FILTER ( ?v = ?k ) }
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?k ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:architectural_structure ) ( ontology:musical_composition ) } . ?l rdf:type ?o } GROUP BY ?j } } . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?c ) { ( ontology:architectural_structure ) ( ontology:musical_composition ) } . ?a rdf:type ?c } GROUP BY ?u } . FILTER ( ?v = ?k ) }
[]
common name architectural structure musical composition
Q66005
SYSTEM
Margrave Christian Ludwig of Brandenburg-Schwedt
Q66005
(c(Q811979)|c(Q207628),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
Which people is max number of architectural structures and musical compositions dedicated to
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?k ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:Q811979 ) ( ontology:Q207628 ) } . ?l rdf:type ?o } GROUP BY ?j } } . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?c ) { ( ontology:Q811979 ) ( ontology:Q207628 ) } . ?a rdf:type ?c } GROUP BY ?u } . FILTER ( ?v = ?k ) }
Margrave Christian Ludwig of Brandenburg-Schwedt
Which people is max number of architectural structures and musical compositions dedicated to
Margrave Christian Ludwig of Brandenburg-Schwedt
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?k ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { VALUES ( ?o ) { ( ontology:architectural_structure ) ( ontology:musical_composition ) } . ?l rdf:type ?o } GROUP BY ?j } } . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { VALUES ( ?c ) { ( ontology:architectural_structure ) ( ontology:musical_composition ) } . ?a rdf:type ?c } GROUP BY ?u } . FILTER ( ?v = ?k ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q66005
P119
Q16970
USER
Which church is the resting place of that person ?
(Q66005,P119,c(Q16970))
action filter_type
action find
entity Q66005
relation P119
type Q16970
['Q66005', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?f WHERE { resource:Q66005 property:P119 ?f . ?f rdf:type ontology:Q16970 }
Margrave Christian Ludwig of Brandenburg-Schwedt
action filter_type
action find
entity Margrave Christian Ludwig of Brandenburg-Schwedt
relation place of burial
type church
['Margrave Christian Ludwig of Brandenburg-Schwedt', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?f WHERE { resource:Margrave_Christian_Ludwig_of_Brandenburg-Schwedt property:place_of_burial ?f . ?f rdf:type ontology:church }
[]
church
Q154563
SYSTEM
Berlin Cathedral
Q154563
(Q66005,P119,c(Q16970))
action filter_type
action find
entity Q66005
relation P119
type Q16970
[ANSWER] is the resting place of that person
['Q66005', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?f WHERE { resource:Q66005 property:P119 ?f . ?f rdf:type ontology:Q16970 }
Berlin Cathedral
Berlin Cathedral is the resting place of that person
Berlin Cathedral
action filter_type
action find
entity Margrave Christian Ludwig of Brandenburg-Schwedt
relation place of burial
type church
['Margrave Christian Ludwig of Brandenburg-Schwedt', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?f WHERE { resource:Margrave_Christian_Ludwig_of_Brandenburg-Schwedt property:place_of_burial ?f . ?f rdf:type ontology:church }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q16970 Q11060274 Q15709879
USER
Which churches are expressed in greater number of prints or artwork series than that church ?
(c(Q11060274)|c(Q15709879),P180,c(Q16970))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16970
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16970
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q154563
relation P180
type Q11060274
type Q15709879
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q16970'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?v WHERE { VALUES ( ?o ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } . ?s rdf:type ?o } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:P180 resource:Q154563 . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?j > ?q ) }
action greater
action union
action find_reverse_tuple_counts
relation depicts
type church
type print
action find_reverse_tuple_counts
relation depicts
type church
type artwork series
action count
action filter_multi_types
action find_reverse
entity Berlin Cathedral
relation depicts
type print
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'church'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?v WHERE { VALUES ( ?o ) { ( ontology:print ) ( ontology:artwork_series ) } . ?s rdf:type ?o } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:depicts resource:Berlin_Cathedral . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:print ) } } } } . FILTER ( ?j > ?q ) }
[]
church print artwork series
Q84090 Q476516 Q1348719
SYSTEM
Archbasilica of St. John Lateran, Rouen Cathedral, Notre-Dame Cathedral
Q1348719 Q18042989 Q84090 Q476516
(c(Q11060274)|c(Q15709879),P180,c(Q16970))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16970
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16970
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q154563
relation P180
type Q11060274
type Q15709879
[ANSWERS] are expressed in greater number of prints or artwork series than that church
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q16970'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?v WHERE { VALUES ( ?o ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } . ?s rdf:type ?o } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:P180 resource:Q154563 . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?j > ?q ) }
Notre-Dame Cathedral Collegiate Church of St. Mary Magdalene Penitent Archbasilica of St. John Lateran Rouen Cathedral
Archbasilica of St. John Lateran, Rouen Cathedral and Notre-Dame Cathedral are expressed in greater number of prints or artwork series than that church
Archbasilica of St. John Lateran Rouen Cathedral Notre-Dame Cathedral
action greater
action union
action find_reverse_tuple_counts
relation depicts
type church
type print
action find_reverse_tuple_counts
relation depicts
type church
type artwork series
action count
action filter_multi_types
action find_reverse
entity Berlin Cathedral
relation depicts
type print
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'church'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?v WHERE { VALUES ( ?o ) { ( ontology:print ) ( ontology:artwork_series ) } . ?s rdf:type ?o } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:depicts resource:Berlin_Cathedral . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:print ) } } } } . FILTER ( ?j > ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1348719
P119
Q502895
USER
How many people were burried at Notre-Dame Cathedral ?
(c(Q502895),P119,Q1348719)
action count
action filter_type
action find_reverse
entity Q1348719
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1348719']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P119 resource:Q1348719 . ?r rdf:type ontology:Q502895 }
Notre-Dame Cathedral
action count
action filter_type
action find_reverse
entity Notre-Dame Cathedral
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Notre-Dame Cathedral']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:place_of_burial resource:Notre-Dame_Cathedral . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
10
Q234895 Q155167 Q445045 Q62071 Q155608 Q160984 Q57302 Q1879444 Q159075 Q158235
(c(Q502895),P119,Q1348719)
action count
action filter_type
action find_reverse
entity Q1348719
relation P119
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P119', 'Q1348719']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P119 resource:Q1348719 . ?r rdf:type ontology:Q502895 }
Infanta Marie Anne of Portugal John of Bohemia Prince Felix of Bourbon-Parma Wilhelm Voigt Charlotte, Grand Duchess of Luxembourg Princess Joséphine Charlotte of Belgium Adolphe, Grand Duke of Luxembourg Léon Lommel Marie-Adélaïde, Grand Duchess of Luxembourg William IV, Grand Duke of Luxembourg
10
action count
action filter_type
action find_reverse
entity Notre-Dame Cathedral
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Notre-Dame Cathedral']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:place_of_burial resource:Notre-Dame_Cathedral . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036028
P17
Q15617994
USER
Which administrative territory is Aoyama Cemetery situated in ?
(Q1036028,P17,c(Q15617994))
action filter_type
action find
entity Q1036028
relation P17
type Q15617994
['Q1036028', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q1036028 property:P17 ?d }
Aoyama Cemetery
action filter_type
action find
entity Aoyama Cemetery
relation country
type designation for an administrative territorial entity
['Aoyama Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aoyama_Cemetery property:country ?d }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1036028,P17,c(Q15617994))
action filter_type
action find
entity Q1036028
relation P17
type Q15617994
Aoyama Cemetery is situated in [ANSWER]
['Q1036028', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q1036028 property:P17 ?d }
Japan
Aoyama Cemetery is situated in Japan
Japan
action filter_type
action find
entity Aoyama Cemetery
relation country
type designation for an administrative territorial entity
['Aoyama Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aoyama_Cemetery property:country ?d }
[]