Simple Question (Direct)
Simple Question
Q924622
P641
Q349
USER
Which sport was Yoshio Furukawa a part of ?
(Q924622,P641,c(Q349))
action filter_type
action find
entity Q924622
relation P641
type Q349
['Q924622', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q924622 property:P641 ?i . ?i rdf:type ontology:Q349 }
Yoshio Furukawa
action filter_type
action find
entity Yoshio Furukawa
relation sport
type sport
['Yoshio Furukawa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Yoshio_Furukawa property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q924622,P641,c(Q349))
action filter_type
action find
entity Q924622
relation P641
type Q349
The [ANSWER] was Yoshio Furukawa a part of
['Q924622', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q924622 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
The association football was Yoshio Furukawa a part of
association football
action filter_type
action find
entity Yoshio Furukawa
relation sport
type sport
['Yoshio Furukawa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Yoshio_Furukawa property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q924622
P54
Q1194951
USER
Which national sports team is Yoshio Furukawa a member of ?
(Q924622,P54,c(Q1194951))
action filter_type
action find
entity Q924622
relation P54
type Q1194951
['Q924622', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q924622 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
Yoshio Furukawa
action filter_type
action find
entity Yoshio Furukawa
relation member of sports team
type national sports team
['Yoshio Furukawa', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Yoshio_Furukawa property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
national sports team
Q170566
SYSTEM
Japan national football team
Q170566
(Q924622,P54,c(Q1194951))
action filter_type
action find
entity Q924622
relation P54
type Q1194951
The [ANSWER] is Yoshio Furukawa a member of
['Q924622', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q924622 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
Japan national football team
The Japan national football team is Yoshio Furukawa a member of
Japan national football team
action filter_type
action find
entity Yoshio Furukawa
relation member of sports team
type national sports team
['Yoshio Furukawa', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Yoshio_Furukawa property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q42638 Q170566
P1532 P17
Q15617994
USER
Which administrative territories are played by Japan national football team or are Mariana Mantovana a part of ?
OR((Q170566,P1532,c(Q15617994)), (Q42638,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q170566
relation P1532
action find
entity Q42638
relation P17
type Q15617994
{'OR': [['Q170566', 'P1532', {'concept': 'Q15617994'}], ['Q42638', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q170566 property:P1532 ?k } UNION { resource:Q42638 property:P17 ?k } } }
Mariana Mantovana Japan national football team
action filter_type
action union
action find
entity Japan national football team
relation country for sport
action find
entity Mariana Mantovana
relation country
type designation for an administrative territorial entity
{'OR': [['Japan national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Mariana Mantovana', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Japan_national_football_team property:country_for_sport ?k } UNION { resource:Mariana_Mantovana property:country ?k } } }
[]
designation for an administrative territorial entity
Q17 Q38
SYSTEM
Japan, Italy
Q17 Q38
OR((Q170566,P1532,c(Q15617994)), (Q42638,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q170566
relation P1532
action find
entity Q42638
relation P17
type Q15617994
The [ANSWERS] are played by Japan national football team or are Mariana Mantovana a part of
{'OR': [['Q170566', 'P1532', {'concept': 'Q15617994'}], ['Q42638', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q170566 property:P1532 ?k } UNION { resource:Q42638 property:P17 ?k } } }
Japan Italy
The Japan and Italy are played by Japan national football team or are Mariana Mantovana a part of
Japan Italy
action filter_type
action union
action find
entity Japan national football team
relation country for sport
action find
entity Mariana Mantovana
relation country
type designation for an administrative territorial entity
{'OR': [['Japan national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Mariana Mantovana', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Japan_national_football_team property:country_for_sport ?k } UNION { resource:Mariana_Mantovana property:country ?k } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q38
P206
Q15324
USER
Which bodies of water are located in the neighbourhood of Japan and Italy ?
(Q17,P206,c(Q15324)) (Q38,P206,c(Q15324))
action union
action filter_type
action find
entity Q17
relation P206
type Q15324
action filter_type
action find
entity Q38
relation P206
type Q15324
['Q17', 'P206', {'concept': 'Q15324'}] ['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { ?s property:P206 ?y . VALUES ( ?s ) { ( resource:Q17 ) ( resource:Q38 ) } }
Japan Italy
action union
action filter_type
action find
entity Japan
relation located next to body of water
type body of water
action filter_type
action find
entity Italy
relation located next to body of water
type body of water
['Japan', 'located next to body of water', {'concept': 'body of water'}] ['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { ?s property:located_next_to_body_of_water ?y . VALUES ( ?s ) { ( resource:Japan ) ( resource:Italy ) } }
[]
body of water
Q27092 Q13924
SYSTEM
Sea of Japan, Adriatic Sea
Q27092 Q13924
(Q17,P206,c(Q15324)) (Q38,P206,c(Q15324))
action union
action filter_type
action find
entity Q17
relation P206
type Q15324
action filter_type
action find
entity Q38
relation P206
type Q15324
[ANSWERS] are located in the neighbourhood of Japan and Italy
['Q17', 'P206', {'concept': 'Q15324'}] ['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { ?s property:P206 ?y . VALUES ( ?s ) { ( resource:Q17 ) ( resource:Q38 ) } }
Sea of Japan Adriatic Sea
Sea of Japan and Adriatic Sea are located in the neighbourhood of Japan and Italy
Sea of Japan Adriatic Sea
action union
action filter_type
action find
entity Japan
relation located next to body of water
type body of water
action filter_type
action find
entity Italy
relation located next to body of water
type body of water
['Japan', 'located next to body of water', {'concept': 'body of water'}] ['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { ?s property:located_next_to_body_of_water ?y . VALUES ( ?s ) { ( resource:Japan ) ( resource:Italy ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27092
P403
Q355304
USER
Which watercourses ultimately merges into that body of water ?
(c(Q355304),P403,Q27092)
action filter_type
action find_reverse
entity Q27092
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q27092']
SELECT DISTINCT ?p WHERE { ?p property:P403 resource:Q27092 . ?p rdf:type ontology:Q355304 }
Sea of Japan
action filter_type
action find_reverse
entity Sea of Japan
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Sea of Japan']
SELECT DISTINCT ?p WHERE { ?p property:mouth_of_the_watercourse resource:Sea_of_Japan . ?p rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q27092
SYSTEM
Did you mean Sea of Japan ?
Q27092 Q13924
(c(Q355304),P403,Q27092) (c(Q355304),P403,Q13924)
[ANSWER]
[{'concept': 'Q355304'}, 'P403', 'Q27092'] [{'concept': 'Q355304'}, 'P403', 'Q13924']
SELECT DISTINCT ?p WHERE { ?p property:P403 resource:Q27092 . ?p rdf:type ontology:Q355304 }
Sea of Japan Adriatic Sea
Did you mean Sea of Japan ?
Sea of Japan
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Sea of Japan'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea']
SELECT DISTINCT ?p WHERE { ?p property:mouth_of_the_watercourse resource:Sea_of_Japan . ?p rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q355304),P403,Q27092)
[{'concept': 'Q355304'}, 'P403', 'Q27092']
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Sea of Japan']
[]
Q1061515 Q55499 Q734455
SYSTEM
Ishikari River, Tumen River, Shinano River
Q489946 Q1513968 Q55501 Q1061515 Q11538771 Q1132271 Q7450175 Q390458 Q11603978 Q5359180 Q55499 Q1184865 Q7498582 Q2214518 Q734455 Q596120 Q6449325
(c(Q355304),P403,Q27092)
action filter_type
action find_reverse
entity Q27092
relation P403
type Q355304
[ANSWERS] ultimately merge into that body of water
[{'concept': 'Q355304'}, 'P403', 'Q27092']
SELECT DISTINCT ?p WHERE { ?p property:P403 resource:Q27092 . ?p rdf:type ontology:Q355304 }
Hyeongsan River Omono River Nakdong River Ishikari River Kakehashi River Kurobe River Sendai River Agano River Yoneshiro River Iwaki River Tumen River Teshio River Shiribetsu River Kiyevka River Shinano River Mogami River Kuzuryū River
Ishikari River, Tumen River and Shinano River ultimately merge into that body of water
Ishikari River Tumen River Shinano River
action filter_type
action find_reverse
entity Sea of Japan
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Sea of Japan']
SELECT DISTINCT ?p WHERE { ?p property:mouth_of_the_watercourse resource:Sea_of_Japan . ?p rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P3173
Q355304 Q811979
USER
How many architectural structures have view to atleast 1 watercourse ?
(c(Q811979),P3173,c(Q355304))
action count
action atleast
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 1
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?a ) WHERE { ?f property:P3173 ?n . ?n rdf:type ontology:Q355304 . ?f rdf:type ontology:Q811979 } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
action count
action atleast
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 1
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?a ) WHERE { ?f property:offers_view_on ?n . ?n rdf:type ontology:watercourse . ?f rdf:type ontology:architectural_structure } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
[]
watercourse architectural structure
SYSTEM
2
Q26196531 Q2433474
(c(Q811979),P3173,c(Q355304))
action count
action atleast
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 1
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?a ) WHERE { ?f property:P3173 ?n . ?n rdf:type ontology:Q355304 . ?f rdf:type ontology:Q811979 } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
Washburn Point Tunnel View
2
action count
action atleast
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 1
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?a ) WHERE { ?f property:offers_view_on ?n . ?n rdf:type ontology:watercourse . ?f rdf:type ontology:architectural_structure } GROUP BY ?f } . FILTER ( ?a >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2470303
P3173
Q355304 Q811979
USER
How many architectural structures offer view of greater number of watercourses than Echo Point ?
(c(Q811979),P3173,c(Q355304))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q2470303
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?t ) WHERE { ?s property:P3173 ?g . ?g rdf:type ontology:Q355304 . ?s rdf:type ontology:Q811979 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q2470303 property:P3173 ?o . ?o rdf:type ontology:Q811979 } } . FILTER ( ?t > ?a ) }
Echo Point
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Echo Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?t ) WHERE { ?s property:offers_view_on ?g . ?g rdf:type ontology:watercourse . ?s rdf:type ontology:architectural_structure } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Echo_Point property:offers_view_on ?o . ?o rdf:type ontology:architectural_structure } } . FILTER ( ?t > ?a ) }
[]
watercourse architectural structure
SYSTEM
2
Q26196531 Q2433474
(c(Q811979),P3173,c(Q355304))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q2470303
relation P3173
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?t ) WHERE { ?s property:P3173 ?g . ?g rdf:type ontology:Q355304 . ?s rdf:type ontology:Q811979 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q2470303 property:P3173 ?o . ?o rdf:type ontology:Q811979 } } . FILTER ( ?t > ?a ) }
Washburn Point Tunnel View
2
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Echo Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?t ) WHERE { ?s property:offers_view_on ?g . ?g rdf:type ontology:watercourse . ?s rdf:type ontology:architectural_structure } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Echo_Point property:offers_view_on ?o . ?o rdf:type ontology:architectural_structure } } . FILTER ( ?t > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1144172
P3173
Q355304 Q811979
USER
And how about Dante's View?
(c(Q811979),P3173,c(Q355304))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q1144172
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?s ) WHERE { ?w property:P3173 ?g . ?w rdf:type ontology:Q811979 . ?g rdf:type ontology:Q355304 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q1144172 property:P3173 ?a . ?a rdf:type ontology:Q811979 } } . FILTER ( ?s > ?z ) }
Dante's View
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Dante's View
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?s ) WHERE { ?w property:offers_view_on ?g . ?w rdf:type ontology:architectural_structure . ?g rdf:type ontology:watercourse } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Dante's_View property:offers_view_on ?a . ?a rdf:type ontology:architectural_structure } } . FILTER ( ?s > ?z ) }
[]
watercourse architectural structure
SYSTEM
2
Q26196531 Q2433474
(c(Q811979),P3173,c(Q355304))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q1144172
relation P3173
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?s ) WHERE { ?w property:P3173 ?g . ?w rdf:type ontology:Q811979 . ?g rdf:type ontology:Q355304 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q1144172 property:P3173 ?a . ?a rdf:type ontology:Q811979 } } . FILTER ( ?s > ?z ) }
Washburn Point Tunnel View
2
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Dante's View
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?s ) WHERE { ?w property:offers_view_on ?g . ?w rdf:type ontology:architectural_structure . ?g rdf:type ontology:watercourse } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Dante's_View property:offers_view_on ?a . ?a rdf:type ontology:architectural_structure } } . FILTER ( ?s > ?z ) }
[]