Simple Question (Direct)
Simple Question
Q2275609
P166
Q618779
USER
What was awarded to Paul Michaux ?
(Q2275609,P166,c(Q618779))
action filter_type
action find
entity Q2275609
relation P166
type Q618779
['Q2275609', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q2275609 property:P166 ?i }
Paul Michaux
action filter_type
action find
entity Paul Michaux
relation award received
type award
['Paul Michaux', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Paul_Michaux property:award_received ?i }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q2275609,P166,c(Q618779))
action filter_type
action find
entity Q2275609
relation P166
type Q618779
De [ANSWER] was awarded to Paul Michaux
['Q2275609', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q2275609 property:P166 ?i }
Knight of the Legion of Honour
De Knight of the Legion of Honour was awarded to Paul Michaux
Knight of the Legion of Honour
action filter_type
action find
entity Paul Michaux
relation award received
type award
['Paul Michaux', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Paul_Michaux property:award_received ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2275609
P138
Q811979
USER
Which architectural structure comes from that person ?
(c(Q811979),P138,Q10855271)
action filter_type
action find_reverse
entity Q2275609
relation P138
type Q811979
[{'concept': 'Q811979'}, 'P138', 'Q10855271']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q2275609 . ?d rdf:type ontology:Q811979 }
Paul Michaux
action filter_type
action find_reverse
entity Paul Michaux
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Knight of the Legion of Honour']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Paul_Michaux . ?d rdf:type ontology:architectural_structure }
[]
architectural structure
Q3390605
SYSTEM
place du Docteur-Paul-Michaux
Q3390605
(c(Q811979),P138,Q10855271)
action filter_type
action find_reverse
entity Q2275609
relation P138
type Q811979
[ANSWER] comes from that person
[{'concept': 'Q811979'}, 'P138', 'Q10855271']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q2275609 . ?d rdf:type ontology:Q811979 }
place du Docteur-Paul-Michaux
Place du Docteur-Paul-Michaux comes from that person
place du Docteur-Paul-Michaux
action filter_type
action find_reverse
entity Paul Michaux
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Knight of the Legion of Honour']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Paul_Michaux . ?d rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q79007 Q811979
USER
How many streets and architectural structures are bordered by that architectural structure ?
(Q3390605,P47,c(Q79007)) (Q3390605,P47,c(Q811979)) (Q3390605,P47,c(Q79007)) (Q3390605,P47,c(Q811979))
action count
action union
action filter_type
action find
entity Q3390605
relation P47
type Q79007
action filter_type
action find
entity Q3390605
relation P47
type Q811979
['Q3390605', 'P47', {'concept': 'Q79007'}] ['Q3390605', 'P47', {'concept': 'Q811979'}] ['Q3390605', 'P47', {'concept': 'Q79007'}] ['Q3390605', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { resource:Q3390605 property:P47 ?p . ?p rdf:type ontology:Q79007 } UNION { resource:Q3390605 property:P47 ?p . ?p rdf:type ontology:Q811979 } }
action count
action union
action filter_type
action find
entity place du Docteur-Paul-Michaux
relation shares border with
type street
action filter_type
action find
entity place du Docteur-Paul-Michaux
relation shares border with
type architectural structure
['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'street'}] ['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'architectural structure'}] ['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'street'}] ['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { resource:place_du_Docteur-Paul-Michaux property:shares_border_with ?p . ?p rdf:type ontology:street } UNION { resource:place_du_Docteur-Paul-Michaux property:shares_border_with ?p . ?p rdf:type ontology:architectural_structure } }
[]
street architectural structure
SYSTEM
2 streets and 1 architectural structures
Q2874036 Q2874181 Q3390400
(Q3390605,P47,c(Q79007)) (Q3390605,P47,c(Q811979)) (Q3390605,P47,c(Q79007)) (Q3390605,P47,c(Q811979))
action count
action union
action filter_type
action find
entity Q3390605
relation P47
type Q79007
action filter_type
action find
entity Q3390605
relation P47
type Q811979
[ANSWER]
['Q3390605', 'P47', {'concept': 'Q79007'}] ['Q3390605', 'P47', {'concept': 'Q811979'}] ['Q3390605', 'P47', {'concept': 'Q79007'}] ['Q3390605', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { resource:Q3390605 property:P47 ?p . ?p rdf:type ontology:Q79007 } UNION { resource:Q3390605 property:P47 ?p . ?p rdf:type ontology:Q811979 } }
avenue de la Porte-de-Saint-Cloud avenue du Parc-des-Princes place de la Porte-de-Saint-Cloud
2 streets and 1 architectural structures
action count
action union
action filter_type
action find
entity place du Docteur-Paul-Michaux
relation shares border with
type street
action filter_type
action find
entity place du Docteur-Paul-Michaux
relation shares border with
type architectural structure
['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'street'}] ['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'architectural structure'}] ['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'street'}] ['place du Docteur-Paul-Michaux', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { resource:place_du_Docteur-Paul-Michaux property:shares_border_with ?p . ?p rdf:type ontology:street } UNION { resource:place_du_Docteur-Paul-Michaux property:shares_border_with ?p . ?p rdf:type ontology:architectural_structure } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7414072
P137
Q895526 Q811979
USER
Which authority organs are the facility operator of more number of architectural structures than San Francisco Municipal Transportation Agency ?
(c(Q811979),P137,c(Q895526))
action greater
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
action count
action filter_type
action find
entity Q7414072
relation P137
type Q895526
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P137 ?r . ?r rdf:type ontology:Q895526 . ?t rdf:type ontology:Q811979 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q7414072 property:P137 ?j . ?j rdf:type ontology:Q895526 } } . FILTER ( ?s > ?q ) }
San Francisco Municipal Transportation Agency
action greater
action find_reverse_tuple_counts
relation operator
type authority organ
type architectural structure
action count
action filter_type
action find
entity San Francisco Municipal Transportation Agency
relation operator
type authority organ
[{'concept': 'architectural structure'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:operator ?r . ?r rdf:type ontology:authority_organ . ?t rdf:type ontology:architectural_structure } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:San_Francisco_Municipal_Transportation_Agency property:operator ?j . ?j rdf:type ontology:authority_organ } } . FILTER ( ?s > ?q ) }
[]
authority organ architectural structure
Q3701698 Q3360446 Q7523123
SYSTEM
National Sports Council, Finnish Transport Agency, Singapore Sports Council
Q3701698 Q3360446 Q7523123
(c(Q811979),P137,c(Q895526))
action greater
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
action count
action filter_type
action find
entity Q7414072
relation P137
type Q895526
[ANSWERS] are the facility operator of more number of architectural structures than San Francisco Municipal Transportation Agency
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P137 ?r . ?r rdf:type ontology:Q895526 . ?t rdf:type ontology:Q811979 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q7414072 property:P137 ?j . ?j rdf:type ontology:Q895526 } } . FILTER ( ?s > ?q ) }
National Sports Council Finnish Transport Agency Singapore Sports Council
National Sports Council, Finnish Transport Agency and Singapore Sports Council are the facility operator of more number of architectural structures than San Francisco Municipal Transportation Agency
National Sports Council Finnish Transport Agency Singapore Sports Council
action greater
action find_reverse_tuple_counts
relation operator
type authority organ
type architectural structure
action count
action filter_type
action find
entity San Francisco Municipal Transportation Agency
relation operator
type authority organ
[{'concept': 'architectural structure'}, 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:operator ?r . ?r rdf:type ontology:authority_organ . ?t rdf:type ontology:architectural_structure } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:San_Francisco_Municipal_Transportation_Agency property:operator ?j . ?j rdf:type ontology:authority_organ } } . FILTER ( ?s > ?q ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7523123
P466
Q811430
USER
Which construction is occupied by that authority organ ?
(c(Q811430),P466,Q7523123)
action filter_type
action find_reverse
entity Q7523123
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q7523123']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811430 . ?j property:P466 resource:Q7523123 }
Singapore Sports Council
action filter_type
action find_reverse
entity Singapore Sports Council
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Singapore Sports Council']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:construction . ?j property:occupant resource:Singapore_Sports_Council }
[]
construction
Clarification for simple ques.
Q3360446
SYSTEM
Did you mean Finnish Transport Agency ?
Q3701698 Q3360446 Q7523123
(c(Q811430),P466,Q3701698) (c(Q811430),P466,Q3360446) (c(Q811430),P466,Q7523123)
[ANSWER]
[{'concept': 'Q811430'}, 'P466', 'Q3701698'] [{'concept': 'Q811430'}, 'P466', 'Q3360446'] [{'concept': 'Q811430'}, 'P466', 'Q7523123']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811430 . ?j property:P466 resource:Q7523123 }
National Sports Council Finnish Transport Agency Singapore Sports Council
Did you mean Finnish Transport Agency ?
Finnish Transport Agency
[{'concept': 'construction'}, 'occupant', 'National Sports Council'] [{'concept': 'construction'}, 'occupant', 'Finnish Transport Agency'] [{'concept': 'construction'}, 'occupant', 'Singapore Sports Council']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:construction . ?j property:occupant resource:Singapore_Sports_Council }
[]
Simple Question (Coreferenced)
USER
No, I meant Singapore Sports Council. Could you tell me the answer for that?
(c(Q811430),P466,Q7523123)
Q7523123
[{'concept': 'Q811430'}, 'P466', 'Q7523123']
[{'concept': 'construction'}, 'occupant', 'Singapore Sports Council']
[]
Q82994
SYSTEM
The Float at Marina Bay
Q82994
(c(Q811430),P466,Q7523123)
action filter_type
action find_reverse
entity Q7523123
relation P466
type Q811430
[ANSWER] is occupied by that authority organ
[{'concept': 'Q811430'}, 'P466', 'Q7523123']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811430 . ?j property:P466 resource:Q7523123 }
The Float at Marina Bay
The Float at Marina Bay is occupied by that authority organ
The Float at Marina Bay
action filter_type
action find_reverse
entity Singapore Sports Council
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Singapore Sports Council']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:construction . ?j property:occupant resource:Singapore_Sports_Council }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3360446
P126
Q537127
USER
Which road bridge is maintained by Finnish Transport Agency ?
(c(Q537127),P126,Q3360446)
action filter_type
action find_reverse
entity Q3360446
relation P126
type Q537127
[{'concept': 'Q537127'}, 'P126', 'Q3360446']
SELECT DISTINCT ?k WHERE { ?k property:P126 resource:Q3360446 . ?k rdf:type ontology:Q537127 }
Finnish Transport Agency
action filter_type
action find_reverse
entity Finnish Transport Agency
relation maintained by
type road bridge
[{'concept': 'road bridge'}, 'maintained by', 'Finnish Transport Agency']
SELECT DISTINCT ?k WHERE { ?k property:maintained_by resource:Finnish_Transport_Agency . ?k rdf:type ontology:road_bridge }
[]
road bridge
Q2209135
SYSTEM
Sami Bridge
Q2209135
(c(Q537127),P126,Q3360446)
action filter_type
action find_reverse
entity Q3360446
relation P126
type Q537127
[ANSWER] is maintained by Finnish Transport Agency
[{'concept': 'Q537127'}, 'P126', 'Q3360446']
SELECT DISTINCT ?k WHERE { ?k property:P126 resource:Q3360446 . ?k rdf:type ontology:Q537127 }
Sami Bridge
Sami Bridge is maintained by Finnish Transport Agency
Sami Bridge
action filter_type
action find_reverse
entity Finnish Transport Agency
relation maintained by
type road bridge
[{'concept': 'road bridge'}, 'maintained by', 'Finnish Transport Agency']
SELECT DISTINCT ?k WHERE { ?k property:maintained_by resource:Finnish_Transport_Agency . ?k rdf:type ontology:road_bridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2209135
P177
Q355304
USER
What is crossed over by that road bridge ?
(Q2209135,P177,c(Q355304))
action filter_type
action find
entity Q2209135
relation P177
type Q355304
['Q2209135', 'P177', {'concept': 'Q355304'}]
SELECT DISTINCT ?w WHERE { resource:Q2209135 property:P177 ?w . ?w rdf:type ontology:Q355304 }
Sami Bridge
action filter_type
action find
entity Sami Bridge
relation crosses
type watercourse
['Sami Bridge', 'crosses', {'concept': 'watercourse'}]
SELECT DISTINCT ?w WHERE { resource:Sami_Bridge property:crosses ?w . ?w rdf:type ontology:watercourse }
[]
watercourse
Q829866
SYSTEM
Tana River
Q829866
(Q2209135,P177,c(Q355304))
action filter_type
action find
entity Q2209135
relation P177
type Q355304
River [ANSWER] is crossed over by that road bridge
['Q2209135', 'P177', {'concept': 'Q355304'}]
SELECT DISTINCT ?w WHERE { resource:Q2209135 property:P177 ?w . ?w rdf:type ontology:Q355304 }
Tana River
River Tana River is crossed over by that road bridge
Tana River
action filter_type
action find
entity Sami Bridge
relation crosses
type watercourse
['Sami Bridge', 'crosses', {'concept': 'watercourse'}]
SELECT DISTINCT ?w WHERE { resource:Sami_Bridge property:crosses ?w . ?w rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q829866
P403
Q355304
USER
Which watercourses have that one as their outlet ?
(c(Q355304),P403,Q829866)
action filter_type
action find_reverse
entity Q829866
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q829866']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q355304 . ?l property:P403 resource:Q829866 }
Tana River
action filter_type
action find_reverse
entity Tana River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Tana River']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:watercourse . ?l property:mouth_of_the_watercourse resource:Tana_River }
[]
watercourse
Q486437 Q2503495 Q1728986
SYSTEM
Anarjohka, Utsjoki, Karasjohka
Q486437 Q2503495 Q1728986
(c(Q355304),P403,Q829866)
action filter_type
action find_reverse
entity Q829866
relation P403
type Q355304
[ANSWERS] have that one as their outlet
[{'concept': 'Q355304'}, 'P403', 'Q829866']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q355304 . ?l property:P403 resource:Q829866 }
Anarjohka Utsjoki Karasjohka
Anarjohka, Utsjoki and Karasjohka have that one as their outlet
Anarjohka Utsjoki Karasjohka
action filter_type
action find_reverse
entity Tana River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Tana River']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:watercourse . ?l property:mouth_of_the_watercourse resource:Tana_River }
[]