Simple Question (Direct)
Simple Question
Q382107
P166
Q618779
USER
Which award was Louis Poinsot awarded with ?
(Q382107,P166,c(Q618779))
action filter_type
action find
entity Q382107
relation P166
type Q618779
['Q382107', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q382107 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Louis Poinsot
action filter_type
action find
entity Louis Poinsot
relation award received
type award
['Louis Poinsot', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Louis_Poinsot property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q382107,P166,c(Q618779))
action filter_type
action find
entity Q382107
relation P166
type Q618779
Louis Poinsot was awarded a [ANSWER]
['Q382107', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q382107 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Louis Poinsot was awarded a Knight of the Legion of Honour
Knight of the Legion of Honour
action filter_type
action find
entity Louis Poinsot
relation award received
type award
['Louis Poinsot', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Louis_Poinsot property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382107
P138
Q34442
USER
Which road comes from that person ?
(c(Q34442),P138,Q10855271)
action filter_type
action find_reverse
entity Q382107
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q10855271']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q382107 . ?a rdf:type ontology:Q34442 }
Louis Poinsot
action filter_type
action find_reverse
entity Louis Poinsot
relation named after
type road
[{'concept': 'road'}, 'named after', 'Knight of the Legion of Honour']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Louis_Poinsot . ?a rdf:type ontology:road }
[]
road
Q3449584
SYSTEM
rue Poinsot
Q3449584
(c(Q34442),P138,Q10855271)
action filter_type
action find_reverse
entity Q382107
relation P138
type Q34442
[ANSWER] comes from that person
[{'concept': 'Q34442'}, 'P138', 'Q10855271']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q382107 . ?a rdf:type ontology:Q34442 }
rue Poinsot
Rue Poinsot comes from that person
rue Poinsot
action filter_type
action find_reverse
entity Louis Poinsot
relation named after
type road
[{'concept': 'road'}, 'named after', 'Knight of the Legion of Honour']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Louis_Poinsot . ?a rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3449584
P47
Q34442
USER
Which roads share border with that one ?
(Q3449584,P47,c(Q34442))
action filter_type
action find
entity Q3449584
relation P47
type Q34442
['Q3449584', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?x WHERE { resource:Q3449584 property:P47 ?x . ?x rdf:type ontology:Q34442 }
rue Poinsot
action filter_type
action find
entity rue Poinsot
relation shares border with
type road
['rue Poinsot', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?x WHERE { resource:rue_Poinsot property:shares_border_with ?x . ?x rdf:type ontology:road }
[]
road
Q3448560 Q3452428
SYSTEM
rue Jolivet, rue du Maine
Q3448560 Q3452428
(Q3449584,P47,c(Q34442))
action filter_type
action find
entity Q3449584
relation P47
type Q34442
[ANSWERS] share border with that one
['Q3449584', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?x WHERE { resource:Q3449584 property:P47 ?x . ?x rdf:type ontology:Q34442 }
rue Jolivet rue du Maine
Rue Jolivet and rue du Maine share border with that one
rue Jolivet rue du Maine
action filter_type
action find
entity rue Poinsot
relation shares border with
type road
['rue Poinsot', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?x WHERE { resource:rue_Poinsot property:shares_border_with ?x . ?x rdf:type ontology:road }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3449584
Q79007
USER
And which street?
(Q3449584,P47,c(Q79007))
action filter_type
action find
entity Q3449584
relation P47
type Q79007
['Q3449584', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?q WHERE { resource:Q3449584 property:P47 ?q . ?q rdf:type ontology:Q79007 }
rue Poinsot
action filter_type
action find
entity rue Poinsot
relation shares border with
type street
['rue Poinsot', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?q WHERE { resource:rue_Poinsot property:shares_border_with ?q . ?q rdf:type ontology:street }
[]
street
Q2921810
SYSTEM
boulevard Edgar-Quinet
Q2921810
(Q3449584,P47,c(Q79007))
action filter_type
action find
entity Q3449584
relation P47
type Q79007
[ANSWER]
['Q3449584', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?q WHERE { resource:Q3449584 property:P47 ?q . ?q rdf:type ontology:Q79007 }
boulevard Edgar-Quinet
boulevard Edgar-Quinet
action filter_type
action find
entity rue Poinsot
relation shares border with
type street
['rue Poinsot', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?q WHERE { resource:rue_Poinsot property:shares_border_with ?q . ?q rdf:type ontology:street }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2921810
P669
Q39614
USER
Which cemetery has its location as that street ?
(c(Q39614),P669,Q2921810)
action filter_type
action find_reverse
entity Q2921810
relation P669
type Q39614
[{'concept': 'Q39614'}, 'P669', 'Q2921810']
SELECT DISTINCT ?w WHERE { ?w property:P669 resource:Q2921810 . ?w rdf:type ontology:Q39614 }
boulevard Edgar-Quinet
action filter_type
action find_reverse
entity boulevard Edgar-Quinet
relation located on street
type cemetery
[{'concept': 'cemetery'}, 'located on street', 'boulevard Edgar-Quinet']
SELECT DISTINCT ?w WHERE { ?w property:located_on_street resource:boulevard_Edgar-Quinet . ?w rdf:type ontology:cemetery }
[]
cemetery
Q272208
SYSTEM
Montparnasse Cemetery
Q272208
(c(Q39614),P669,Q2921810)
action filter_type
action find_reverse
entity Q2921810
relation P669
type Q39614
Paris [ANSWER] has its location as that street
[{'concept': 'Q39614'}, 'P669', 'Q2921810']
SELECT DISTINCT ?w WHERE { ?w property:P669 resource:Q2921810 . ?w rdf:type ontology:Q39614 }
Montparnasse Cemetery
Paris Montparnasse Cemetery has its location as that street
Montparnasse Cemetery
action filter_type
action find_reverse
entity boulevard Edgar-Quinet
relation located on street
type cemetery
[{'concept': 'cemetery'}, 'located on street', 'boulevard Edgar-Quinet']
SELECT DISTINCT ?w WHERE { ?w property:located_on_street resource:boulevard_Edgar-Quinet . ?w rdf:type ontology:cemetery }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P276
Q838948 Q18783400
USER
How many works of art and genres of sculpture are located at that cemetery ?
(c(Q838948),P276,Q272208) (c(Q18783400),P276,Q272208) (c(Q838948),P276,Q272208) (c(Q18783400),P276,Q272208)
action count
action union
action filter_type
action find_reverse
entity Q272208
relation P276
type Q838948
action filter_type
action find_reverse
entity Q272208
relation P276
type Q18783400
[{'concept': 'Q838948'}, 'P276', 'Q272208'] [{'concept': 'Q18783400'}, 'P276', 'Q272208'] [{'concept': 'Q838948'}, 'P276', 'Q272208'] [{'concept': 'Q18783400'}, 'P276', 'Q272208']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } }
action count
action union
action filter_type
action find_reverse
entity Montparnasse Cemetery
relation location
type work of art
action filter_type
action find_reverse
entity Montparnasse Cemetery
relation location
type genre of sculpture
[{'concept': 'work of art'}, 'location', 'Montparnasse Cemetery'] [{'concept': 'genre of sculpture'}, 'location', 'Montparnasse Cemetery'] [{'concept': 'work of art'}, 'location', 'Montparnasse Cemetery'] [{'concept': 'genre of sculpture'}, 'location', 'Montparnasse Cemetery']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } }
[]
work of art genre of sculpture
SYSTEM
1 works of art and 1 genres of sculpture
Q3220192 Q3010223
(c(Q838948),P276,Q272208) (c(Q18783400),P276,Q272208) (c(Q838948),P276,Q272208) (c(Q18783400),P276,Q272208)
action count
action union
action filter_type
action find_reverse
entity Q272208
relation P276
type Q838948
action filter_type
action find_reverse
entity Q272208
relation P276
type Q18783400
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q272208'] [{'concept': 'Q18783400'}, 'P276', 'Q272208'] [{'concept': 'Q838948'}, 'P276', 'Q272208'] [{'concept': 'Q18783400'}, 'P276', 'Q272208']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } }
The Kiss Cenotaph of Baudelaire
1 works of art and 1 genres of sculpture
action count
action union
action filter_type
action find_reverse
entity Montparnasse Cemetery
relation location
type work of art
action filter_type
action find_reverse
entity Montparnasse Cemetery
relation location
type genre of sculpture
[{'concept': 'work of art'}, 'location', 'Montparnasse Cemetery'] [{'concept': 'genre of sculpture'}, 'location', 'Montparnasse Cemetery'] [{'concept': 'work of art'}, 'location', 'Montparnasse Cemetery'] [{'concept': 'genre of sculpture'}, 'location', 'Montparnasse Cemetery']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3449584 Q3001067
P47
Q34442
USER
How many roads share border with rue Poinsot or cour du Nom-de-Jésus ?
(c(Q34442),P47,Q3449584) (c(Q34442),P47,Q3001067)
action count
action union
action filter_type
action find_reverse
entity Q3449584
relation P47
type Q34442
action filter_type
action find_reverse
entity Q3001067
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q3449584'] [{'concept': 'Q34442'}, 'P47', 'Q3001067']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?p ) { ( resource:Q3001067 ) ( resource:Q3449584 ) } . ?i property:P47 ?p }
rue Poinsot cour du Nom-de-Jésus
action count
action union
action filter_type
action find_reverse
entity rue Poinsot
relation shares border with
type road
action filter_type
action find_reverse
entity cour du Nom-de-Jésus
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Poinsot'] [{'concept': 'road'}, 'shares border with', 'cour du Nom-de-Jésus']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?p ) { ( resource:cour_du_Nom-de-Jésus ) ( resource:rue_Poinsot ) } . ?i property:shares_border_with ?p }
[]
road
SYSTEM
3
Q3448560 Q3452428 Q493084
(c(Q34442),P47,Q3449584) (c(Q34442),P47,Q3001067)
action count
action union
action filter_type
action find_reverse
entity Q3449584
relation P47
type Q34442
action filter_type
action find_reverse
entity Q3001067
relation P47
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P47', 'Q3449584'] [{'concept': 'Q34442'}, 'P47', 'Q3001067']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?p ) { ( resource:Q3001067 ) ( resource:Q3449584 ) } . ?i property:P47 ?p }
rue Jolivet rue du Maine rue du Faubourg-Saint-Antoine
3
action count
action union
action filter_type
action find_reverse
entity rue Poinsot
relation shares border with
type road
action filter_type
action find_reverse
entity cour du Nom-de-Jésus
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Poinsot'] [{'concept': 'road'}, 'shares border with', 'cour du Nom-de-Jésus']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { VALUES ( ?p ) { ( resource:cour_du_Nom-de-Jésus ) ( resource:rue_Poinsot ) } . ?i property:shares_border_with ?p }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3449584
Q15617994
USER
And which administrative territory?
(Q3449584,P17,c(Q15617994))
action filter_type
action find
entity Q3449584
relation P17
type Q15617994
['Q3449584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3449584 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
rue Poinsot
action filter_type
action find
entity rue Poinsot
relation country
type designation for an administrative territorial entity
['rue Poinsot', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:rue_Poinsot property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3449584,P17,c(Q15617994))
action filter_type
action find
entity Q3449584
relation P17
type Q15617994
[ANSWER]
['Q3449584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3449584 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity rue Poinsot
relation country
type designation for an administrative territorial entity
['rue Poinsot', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:rue_Poinsot property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2921810
P669
Q55488 Q39614
USER
How many railway stations and cemeteries are located on boulevard Edgar-Quinet ?
(c(Q55488),P669,Q2921810) (c(Q39614),P669,Q2921810)
action count
action union
action filter_type
action find_reverse
entity Q2921810
relation P669
type Q55488
action filter_type
action find_reverse
entity Q2921810
relation P669
type Q39614
[{'concept': 'Q55488'}, 'P669', 'Q2921810'] [{'concept': 'Q39614'}, 'P669', 'Q2921810']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:P669 resource:Q2921810 . ?m rdf:type ontology:Q55488 } UNION { ?m property:P669 resource:Q2921810 . ?m rdf:type ontology:Q39614 } }
boulevard Edgar-Quinet
action count
action union
action filter_type
action find_reverse
entity boulevard Edgar-Quinet
relation located on street
type railway station
action filter_type
action find_reverse
entity boulevard Edgar-Quinet
relation located on street
type cemetery
[{'concept': 'railway station'}, 'located on street', 'boulevard Edgar-Quinet'] [{'concept': 'cemetery'}, 'located on street', 'boulevard Edgar-Quinet']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:located_on_street resource:boulevard_Edgar-Quinet . ?m rdf:type ontology:railway_station } UNION { ?m property:located_on_street resource:boulevard_Edgar-Quinet . ?m rdf:type ontology:cemetery } }
[]
railway station cemetery
SYSTEM
1 railway stations and 1 cemeteries
Q272208 Q1284106
(c(Q55488),P669,Q2921810) (c(Q39614),P669,Q2921810)
action count
action union
action filter_type
action find_reverse
entity Q2921810
relation P669
type Q55488
action filter_type
action find_reverse
entity Q2921810
relation P669
type Q39614
[ANSWER]
[{'concept': 'Q55488'}, 'P669', 'Q2921810'] [{'concept': 'Q39614'}, 'P669', 'Q2921810']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:P669 resource:Q2921810 . ?m rdf:type ontology:Q55488 } UNION { ?m property:P669 resource:Q2921810 . ?m rdf:type ontology:Q39614 } }
Montparnasse Cemetery Edgar Quinet
1 railway stations and 1 cemeteries
action count
action union
action filter_type
action find_reverse
entity boulevard Edgar-Quinet
relation located on street
type railway station
action filter_type
action find_reverse
entity boulevard Edgar-Quinet
relation located on street
type cemetery
[{'concept': 'railway station'}, 'located on street', 'boulevard Edgar-Quinet'] [{'concept': 'cemetery'}, 'located on street', 'boulevard Edgar-Quinet']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:located_on_street resource:boulevard_Edgar-Quinet . ?m rdf:type ontology:railway_station } UNION { ?m property:located_on_street resource:boulevard_Edgar-Quinet . ?m rdf:type ontology:cemetery } }
[]