Simple Question (Direct)
Simple Question
Q5079208
P241
Q781132
USER
Which military branch is Charles Hubert Boulby Blount associated with ?
(Q5079208,P241,c(Q781132))
action filter_type
action find
entity Q5079208
relation P241
type Q781132
['Q5079208', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q5079208 property:P241 ?p . ?p rdf:type ontology:Q781132 }
Charles Hubert Boulby Blount
action filter_type
action find
entity Charles Hubert Boulby Blount
relation military branch
type military branch
['Charles Hubert Boulby Blount', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Hubert_Boulby_Blount property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5079208,P241,c(Q781132))
action filter_type
action find
entity Q5079208
relation P241
type Q781132
Charles Hubert Boulby Blount is associated with [ANSWER]
['Q5079208', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q5079208 property:P241 ?p . ?p rdf:type ontology:Q781132 }
British Army
Charles Hubert Boulby Blount is associated with British Army
British Army
action filter_type
action find
entity Charles Hubert Boulby Blount
relation military branch
type military branch
['Charles Hubert Boulby Blount', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Hubert_Boulby_Blount property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5079208
P410
Q4189293
USER
Which title was the military rank held by that person ?
(Q222595,P410,c(Q4189293))
action filter_type
action find
entity Q5079208
relation P410
type Q4189293
['Q222595', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q5079208 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
Charles Hubert Boulby Blount
action filter_type
action find
entity Charles Hubert Boulby Blount
relation military rank
type title
['British Army', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Charles_Hubert_Boulby_Blount property:military_rank ?b . ?b rdf:type ontology:title }
[]
title
Q3106078
SYSTEM
air vice-marshal
Q3106078
(Q222595,P410,c(Q4189293))
action filter_type
action find
entity Q5079208
relation P410
type Q4189293
The [ANSWER] was the military rank held by that person
['Q222595', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q5079208 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
air vice-marshal
The air vice-marshal was the military rank held by that person
air vice-marshal
action filter_type
action find
entity Charles Hubert Boulby Blount
relation military rank
type title
['British Army', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Charles_Hubert_Boulby_Blount property:military_rank ?b . ?b rdf:type ontology:title }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18643350
P361
Q781132 Q12737077 Q21506450
USER
How many military branches are greater number of occupations and military unit size classes a part of than Islamic Republic of Iran Ground Force ?
(c(Q12737077)|c(Q21506450),P361,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q21506450
action count
action filter_multi_types
action find_reverse
entity Q18643350
relation P361
type Q12737077
type Q21506450
[[{'concept': 'Q12737077'}, {'concept': 'Q21506450'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?h WHERE { VALUES ( ?y ) { ( ontology:Q12737077 ) ( ontology:Q21506450 ) } . ?f rdf:type ?y } GROUP BY ?h } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P361 resource:Q18643350 . { { ?r rdf:type ontology:Q21506450 } UNION { ?r rdf:type ontology:Q12737077 } } } } }
Islamic Republic of Iran Ground Force
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type military unit size class
action count
action filter_multi_types
action find_reverse
entity Islamic Republic of Iran Ground Force
relation part of
type occupation
type military unit size class
[[{'concept': 'occupation'}, {'concept': 'military unit size class'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?h WHERE { VALUES ( ?y ) { ( ontology:occupation ) ( ontology:military_unit_size_class ) } . ?f rdf:type ?y } GROUP BY ?h } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:part_of resource:Islamic_Republic_of_Iran_Ground_Force . { { ?r rdf:type ontology:military_unit_size_class } UNION { ?r rdf:type ontology:occupation } } } } }
[]
military branch occupation military unit size class
SYSTEM
20
Q222595 Q210606 Q11220 Q1046947 Q172771 Q1078222 Q5555333 Q19344622 Q642932 Q4117226 Q2575188 Q781360 Q25387 Q1076619 Q741691 Q2384177 Q25436 Q1358152 Q9212 Q2630039
(c(Q12737077)|c(Q21506450),P361,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q21506450
action count
action filter_multi_types
action find_reverse
entity Q18643350
relation P361
type Q12737077
type Q21506450
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q21506450'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?h WHERE { VALUES ( ?y ) { ( ontology:Q12737077 ) ( ontology:Q21506450 ) } . ?f rdf:type ?y } GROUP BY ?h } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P361 resource:Q18643350 . { { ?r rdf:type ontology:Q21506450 } UNION { ?r rdf:type ontology:Q12737077 } } } } }
British Army 2nd Marine Division United States Navy Royal Marines Royal Navy Imperial Russian Army Ghana Army naval reserve force Indian Army Royal Jordanian Land Force Royal Danish Army Australian Army Royal Canadian Navy French Army Royal Australian Navy Norwegian Army Canadian Army Korean People's Army Ground Force United States Army New Zealand Army
20
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type military unit size class
action count
action filter_multi_types
action find_reverse
entity Islamic Republic of Iran Ground Force
relation part of
type occupation
type military unit size class
[[{'concept': 'occupation'}, {'concept': 'military unit size class'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?h WHERE { VALUES ( ?y ) { ( ontology:occupation ) ( ontology:military_unit_size_class ) } . ?f rdf:type ?y } GROUP BY ?h } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:part_of resource:Islamic_Republic_of_Iran_Ground_Force . { { ?r rdf:type ontology:military_unit_size_class } UNION { ?r rdf:type ontology:occupation } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q217406
P361
Q781132 Q12737077 Q21506450
USER
And also tell me about French Navy?
(c(Q12737077)|c(Q21506450),P361,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q21506450
action count
action filter_multi_types
action find_reverse
entity Q217406
relation P361
type Q12737077
type Q21506450
[[{'concept': 'Q12737077'}, {'concept': 'Q21506450'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P361 ?h . ?h rdf:type ontology:Q781132 . ?d rdf:type ontology:Q12737077 } UNION { ?h rdf:type ontology:Q781132 . ?d rdf:type ontology:Q21506450 . ?d property:P361 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q21506450 ) } } . ?n property:P361 resource:Q217406 } } . FILTER ( ?i > ?e ) }
French Navy
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type military unit size class
action count
action filter_multi_types
action find_reverse
entity French Navy
relation part of
type occupation
type military unit size class
[[{'concept': 'occupation'}, {'concept': 'military unit size class'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:part_of ?h . ?h rdf:type ontology:military_branch . ?d rdf:type ontology:occupation } UNION { ?h rdf:type ontology:military_branch . ?d rdf:type ontology:military_unit_size_class . ?d property:part_of ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:occupation ) ( ontology:military_unit_size_class ) } } . ?n property:part_of resource:French_Navy } } . FILTER ( ?i > ?e ) }
[]
military branch occupation military unit size class
SYSTEM
20
Q222595 Q210606 Q11220 Q1046947 Q172771 Q1078222 Q5555333 Q19344622 Q642932 Q4117226 Q2575188 Q781360 Q25387 Q1076619 Q741691 Q2384177 Q25436 Q1358152 Q9212 Q2630039
(c(Q12737077)|c(Q21506450),P361,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q21506450
action count
action filter_multi_types
action find_reverse
entity Q217406
relation P361
type Q12737077
type Q21506450
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q21506450'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:P361 ?h . ?h rdf:type ontology:Q781132 . ?d rdf:type ontology:Q12737077 } UNION { ?h rdf:type ontology:Q781132 . ?d rdf:type ontology:Q21506450 . ?d property:P361 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q12737077 ) ( ontology:Q21506450 ) } } . ?n property:P361 resource:Q217406 } } . FILTER ( ?i > ?e ) }
British Army 2nd Marine Division United States Navy Royal Marines Royal Navy Imperial Russian Army Ghana Army naval reserve force Indian Army Royal Jordanian Land Force Royal Danish Army Australian Army Royal Canadian Navy French Army Royal Australian Navy Norwegian Army Canadian Army Korean People's Army Ground Force United States Army New Zealand Army
20
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type military unit size class
action count
action filter_multi_types
action find_reverse
entity French Navy
relation part of
type occupation
type military unit size class
[[{'concept': 'occupation'}, {'concept': 'military unit size class'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?i ) WHERE { { ?d property:part_of ?h . ?h rdf:type ontology:military_branch . ?d rdf:type ontology:occupation } UNION { ?h rdf:type ontology:military_branch . ?d rdf:type ontology:military_unit_size_class . ?d property:part_of ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:occupation ) ( ontology:military_unit_size_class ) } } . ?n property:part_of resource:French_Navy } } . FILTER ( ?i > ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q322660 Q18643350
P361 P121
Q781132
USER
Which military branches are a component of Islamic Republic of Iran Ground Force or manage RPG-7 ?
OR((c(Q781132),P361,Q18643350), (c(Q781132),P121,Q322660))
action filter_type
action union
action find_reverse
entity Q18643350
relation P361
action find_reverse
entity Q322660
relation P121
type Q781132
{'OR': [[{'concept': 'Q781132'}, 'P361', 'Q18643350'], [{'concept': 'Q781132'}, 'P121', 'Q322660']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P361 resource:Q18643350 } UNION { ?h property:P121 resource:Q322660 } } . ?h rdf:type ontology:Q781132 }
RPG-7 Islamic Republic of Iran Ground Force
action filter_type
action union
action find_reverse
entity Islamic Republic of Iran Ground Force
relation part of
action find_reverse
entity RPG-7
relation item operated
type military branch
{'OR': [[{'concept': 'military branch'}, 'part of', 'Islamic Republic of Iran Ground Force'], [{'concept': 'military branch'}, 'item operated', 'RPG-7']]}
SELECT DISTINCT ?h WHERE { { { ?h property:part_of resource:Islamic_Republic_of_Iran_Ground_Force } UNION { ?h property:item_operated resource:RPG-7 } } . ?h rdf:type ontology:military_branch }
[]
military branch
Q2862841 Q17597972 Q18640276 Q5957893 Q3277832
SYSTEM
Congolese Army, Angolan Army, Bissau-Guinean Army, Islamic Republic of Iran Army Aviation, Hungarian Ground Forces
Q2862841 Q17597972 Q18640276 Q5957893 Q3277832
OR((c(Q781132),P361,Q18643350), (c(Q781132),P121,Q322660))
action filter_type
action union
action find_reverse
entity Q18643350
relation P361
action find_reverse
entity Q322660
relation P121
type Q781132
[ANSWERS] are a component of Islamic Republic of Iran Ground Force or manage RPG-7
{'OR': [[{'concept': 'Q781132'}, 'P361', 'Q18643350'], [{'concept': 'Q781132'}, 'P121', 'Q322660']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P361 resource:Q18643350 } UNION { ?h property:P121 resource:Q322660 } } . ?h rdf:type ontology:Q781132 }
Congolese Army Angolan Army Bissau-Guinean Army Islamic Republic of Iran Army Aviation Hungarian Ground Forces
Congolese Army, Angolan Army, Bissau-Guinean Army, Islamic Republic of Iran Army Aviation and Hungarian Ground Forces are a component of Islamic Republic of Iran Ground Force or manage RPG-7
Congolese Army Angolan Army Bissau-Guinean Army Islamic Republic of Iran Army Aviation Hungarian Ground Forces
action filter_type
action union
action find_reverse
entity Islamic Republic of Iran Ground Force
relation part of
action find_reverse
entity RPG-7
relation item operated
type military branch
{'OR': [[{'concept': 'military branch'}, 'part of', 'Islamic Republic of Iran Ground Force'], [{'concept': 'military branch'}, 'item operated', 'RPG-7']]}
SELECT DISTINCT ?h WHERE { { { ?h property:part_of resource:Islamic_Republic_of_Iran_Ground_Force } UNION { ?h property:item_operated resource:RPG-7 } } . ?h rdf:type ontology:military_branch }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11557596 Q18640276
P17
Q15617994
USER
Which administrative territories are Bissau-Guinean Army or Hamanako service area situated in ?
OR((Q18640276,P17,c(Q15617994)), (Q11557596,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18640276
relation P17
action find
entity Q11557596
relation P17
type Q15617994
{'OR': [['Q18640276', 'P17', {'concept': 'Q15617994'}], ['Q11557596', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?s property:P17 ?y . VALUES ( ?s ) { ( resource:Q18640276 ) ( resource:Q11557596 ) } } }
Hamanako service area Bissau-Guinean Army
action filter_type
action union
action find
entity Bissau-Guinean Army
relation country
action find
entity Hamanako service area
relation country
type designation for an administrative territorial entity
{'OR': [['Bissau-Guinean Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hamanako service area', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?s property:country ?y . VALUES ( ?s ) { ( resource:Bissau-Guinean_Army ) ( resource:Hamanako_service_area ) } } }
[]
designation for an administrative territorial entity
Q17 Q1007
SYSTEM
Japan, Guinea-Bissau
Q17 Q1007
OR((Q18640276,P17,c(Q15617994)), (Q11557596,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18640276
relation P17
action find
entity Q11557596
relation P17
type Q15617994
Bissau-Guinean Army or Hamanako service area are situated in [ANSWERS]
{'OR': [['Q18640276', 'P17', {'concept': 'Q15617994'}], ['Q11557596', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?s property:P17 ?y . VALUES ( ?s ) { ( resource:Q18640276 ) ( resource:Q11557596 ) } } }
Japan Guinea-Bissau
Bissau-Guinean Army or Hamanako service area are situated in Japan and Guinea-Bissau
Japan Guinea-Bissau
action filter_type
action union
action find
entity Bissau-Guinean Army
relation country
action find
entity Hamanako service area
relation country
type designation for an administrative territorial entity
{'OR': [['Bissau-Guinean Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hamanako service area', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?s property:country ?y . VALUES ( ?s ) { ( resource:Bissau-Guinean_Army ) ( resource:Hamanako_service_area ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Do Georgia have ambassadorial relations with those ones ?
(Q230,P530,Q17) (Q230,P530,Q1007)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q17'] ['Q230', 'P530', 'Q1007']
ASK WHERE { resource:Q230 property:P530 ?y . VALUES ( ?y ) { ( resource:Q17 ) ( resource:Q1007 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Japan'] ['Georgia', 'diplomatic relation', 'Guinea-Bissau']
ASK WHERE { resource:Georgia property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Japan ) ( resource:Guinea-Bissau ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q17) (Q230,P530,Q1007)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q17'] ['Q230', 'P530', 'Q1007']
ASK WHERE { resource:Q230 property:P530 ?y . VALUES ( ?y ) { ( resource:Q17 ) ( resource:Q1007 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Japan'] ['Georgia', 'diplomatic relation', 'Guinea-Bissau']
ASK WHERE { resource:Georgia property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Japan ) ( resource:Guinea-Bissau ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1007 Q102953
P163
Q14660
USER
Is Flag of Guinea-Bissau associated with Guinea-Bissau ?
(Q1007,P163,Q102953)
action is_in
entity Q102953
action find
entity Q1007
relation P163
['Q1007', 'P163', 'Q102953']
ASK WHERE { resource:Q1007 property:P163 resource:Q102953 }
Guinea-Bissau Flag of Guinea-Bissau
action is_in
entity Flag of Guinea-Bissau
action find
entity Guinea-Bissau
relation flag
['Guinea-Bissau', 'flag', 'Flag of Guinea-Bissau']
ASK WHERE { resource:Guinea-Bissau property:flag resource:Flag_of_Guinea-Bissau }
[]
flag
SYSTEM
YES
(Q1007,P163,Q102953)
action is_in
entity Q102953
action find
entity Q1007
relation P163
[ANSWER]
['Q1007', 'P163', 'Q102953']
ASK WHERE { resource:Q1007 property:P163 resource:Q102953 }
Yes
action is_in
entity Flag of Guinea-Bissau
action find
entity Guinea-Bissau
relation flag
['Guinea-Bissau', 'flag', 'Flag of Guinea-Bissau']
ASK WHERE { resource:Guinea-Bissau property:flag resource:Flag_of_Guinea-Bissau }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q691283
P915
Q838948
USER
How many works of art were filmed in the location Japan or St John's College ?
(c(Q838948),P915,Q17) (c(Q838948),P915,Q691283)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P915
type Q838948
action filter_type
action find_reverse
entity Q691283
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q17'] [{'concept': 'Q838948'}, 'P915', 'Q691283']
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g rdf:type ontology:Q838948 . ?g property:P915 resource:Q17 } UNION { ?g property:P915 resource:Q691283 . ?g rdf:type ontology:Q838948 } }
Japan St John's College
action count
action union
action filter_type
action find_reverse
entity Japan
relation filming location
type work of art
action filter_type
action find_reverse
entity St John's College
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Japan'] [{'concept': 'work of art'}, 'filming location', "St John's College"]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g rdf:type ontology:work_of_art . ?g property:filming_location resource:Japan } UNION { ?g property:filming_location resource:St_John's_College . ?g rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
175
Q696057 Q26060 Q677987 Q7777743 Q509256 Q575014 Q1915512 Q320423 Q1768462 Q663960 Q1215918 Q1534456 Q14320 Q2659907 Q6691830 Q107270 Q1444735 Q200432 Q11486179 Q588011 Q1403726 Q5227709 Q11486173 Q11486174 Q6791524 Q11486176 Q11486177 Q5307405 Q492142 Q15284489 Q197491 Q1444720 Q880041 Q3072373 Q1153431 Q39946 Q189540 Q17001114 Q1284313 Q107761 Q775709 Q1514098 Q288645 Q7111166 Q1749386 Q4896682 Q191074 Q257818 Q1813350 Q994209 Q1076605 Q1444768 Q6388264 Q4170743 Q1091097 Q7413094 Q1742061 Q1140513 Q854990 Q1533961 Q148330 Q1199128 Q510181 Q2840937 Q6982696 Q1171405 Q664983 Q135465 Q715374 Q1273736 Q659756 Q2044064 Q2630562 Q4595879 Q922792 Q2736281 Q207130 Q614864 Q251335 Q17001135 Q1152485 Q633073 Q25188 Q94033 Q1533970 Q1193488 Q275187 Q676723 Q112275 Q6760871 Q1518701 Q464951 Q45839 Q860461 Q880047 Q17224388 Q8042574 Q6159190 Q18126825 Q15079318 Q3724802 Q2035289 Q17001127 Q17001121 Q1327671 Q128320 Q1348974 Q1647597 Q1549954 Q2869617 Q2816898 Q2290251 Q310204 Q2750748 Q2712128 Q1048085 Q2630549 Q1053293 Q20475 Q4941 Q467111 Q15284388 Q1932371 Q15284383 Q2602267 Q11486175 Q1671523 Q2940707 Q11486181 Q165325 Q15040733 Q1190796 Q847709 Q2430444 Q1066749 Q1464998 Q324557 Q610158 Q747685 Q1444750 Q11486180 Q7923789 Q8042573 Q8042572 Q541079 Q698309 Q1198110 Q7813876 Q678972 Q127430 Q17459558 Q6790128 Q498910 Q1044598 Q213208 Q125772 Q3110272 Q16974667 Q3088054 Q1059733 Q2859045 Q2005041 Q1514075 Q4928014 Q906639 Q1214343 Q431660 Q11339147 Q612298 Q1533972 Q814166 Q565231 Q660666 Q244878 Q880141
(c(Q838948),P915,Q17) (c(Q838948),P915,Q691283)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P915
type Q838948
action filter_type
action find_reverse
entity Q691283
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q17'] [{'concept': 'Q838948'}, 'P915', 'Q691283']
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g rdf:type ontology:Q838948 . ?g property:P915 resource:Q17 } UNION { ?g property:P915 resource:Q691283 . ?g rdf:type ontology:Q838948 } }
Around the World in 80 Days Tokyo Story Godzilla: Tokyo S.O.S. Kumaru Jackass: The Movie Sanjuro Mechanical Love The Spy Who Loved Me Godzilla 2000 Cherry Blossoms King Kong vs. Godzilla All Monsters Attack The Day After Tomorrow The Ramen Girl Love in Tokyo Lost in Translation The War of the Gargantuas Godzilla vs. Hedorah Fight, Zatoichi, Fight Ghidorah, the Three-Headed Monster Bushido, Samurai Saga Zatoichi on the Road Zatoichi's Flashing Sword Zatoichi's Revenge Ulagam Sutrum Valiban Zatoichi and the Chess Expert Zatoichi's Pilgrimage Reunion Beastie Boys Lupin III The Wolverine Destroy All Monsters Kuro no tenshi Vol. 1 Final Victory Sukiyaki Western Django The Hidden Fortress Seven Samurai Zatoichi and the Fugitives Godzilla vs. Mothra You Only Live Twice Godzilla vs. the Sea Monster Godzilla vs. Biollante G.I. Joe: The Rise of Cobra Our School Mr. Baseball Best Guy Babel Throne of Blood Rebirth of Mothra Highlander III: The Sorcerer Ugetsu Son of Godzilla Zatoichi's Vengeance Gurozuka Kikujiro Samurai Commando: Mission 1549 Godzilla vs. Megalon The Ballad of Narayama Kagemusha Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack Zatōichi Shall We Dance? In the Realm of the Senses Detective Conan: Captured in Her Eyes Navy Wife The Teahouse of the August Moon Godzilla vs. Megaguirus Rashomon Initial D Godzilla Raids Again Shutter The Yakuza Rebirth of Mothra III One Direction: This Is Us The Street Fighter The Hunted The Last Samurai Sayonara Godzilla vs. Mechagodzilla Zatoichi's Cane Sword Shinjuku Incident Mothra vs. Godzilla Inception The Twilight Samurai Godzilla vs. SpaceGodzilla The Grudge 2 Letters from Iwo Jima Silk King Kong Appears in Edo Mari's Prey The Return of Godzilla Flags of Our Fathers Memoirs of a Geisha Godzilla Kuro no tenshi Vol. 2 Mount Hakkoda XX: Beautiful Prey Japanil Kalyanaraman Kill Bill: The Whole Bloody Affair The Theory of Everything Emperor The Green Slime Zatoichi the Outlaw Zatoichi Challenged Enter the Void Tokyo Drifter No Regrets for Our Youth The Geisha Boy My Lucky Stars Atout coeur à Tokyo pour OSS 117 47 Ronin The Toxic Avenger Part II The Grudge Rurouni Kenshin Tokyo-Ga Black Rain Rebirth of Mothra II I Wish Yojimbo Skyfall The Japanese Wife Rurouni Kenshin: Densetsu no Saigo-hen The Adventures of Milo and Otis Rurouni Kenshin: Kyoto Taika-hen House of Bamboo Zatoichi and the Chest of Gold Into the Sun Carved Adventures of Zatoichi Kill Bill Volume 1 Tumbling Doll of Flesh Taboo Red Beard The Barbarian and the Geisha Norwegian Wood Godzilla vs. King Ghidorah Resident Evil: Afterlife The Men Who Tread on the Tiger's Tail 8½ Women Godzilla vs. Gigan Zatoichi and the Doomed Man Vettai Mannan XX: Beautiful Hunter XX: Beautiful Beast Jumper Yamato Thunderbolt Tokyo File 212 Stray Dog King Kong Escapes The Sea of Trees Matthew Barney: No Restraint Austin Powers in Goldmember Departures The Fast and the Furious: Tokyo Drift Solaris Golgo 13: Assignment Kowloon Alludu Sreenu Love on a Diet Like Someone in Love After the Rain The Bad Sleep Well Godzilla vs. Destoroyah Bloodstained Memoirs Wasabi The Crucified Lovers Godzilla: Final Wars Postman Blues Nobody Knows Godzilla vs. Mechagodzilla II Invasion of Astro-Monster Ran Godzilla Against Mechagodzilla High and Low Black Cat
175
action count
action union
action filter_type
action find_reverse
entity Japan
relation filming location
type work of art
action filter_type
action find_reverse
entity St John's College
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Japan'] [{'concept': 'work of art'}, 'filming location', "St John's College"]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { ?g rdf:type ontology:work_of_art . ?g property:filming_location resource:Japan } UNION { ?g property:filming_location resource:St_John's_College . ?g rdf:type ontology:work_of_art } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7482504
Q15617994
USER
And what about Le Touquet-Paris Plage Communal Cemetery?
(Q7482504,P17,c(Q15617994))
action filter_type
action find
entity Q7482504
relation P17
type Q15617994
['Q7482504', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7482504 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Le Touquet-Paris Plage Communal Cemetery
action filter_type
action find
entity Le Touquet-Paris Plage Communal Cemetery
relation country
type designation for an administrative territorial entity
['Le Touquet-Paris Plage Communal Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Le_Touquet-Paris_Plage_Communal_Cemetery property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q7482504,P17,c(Q15617994))
action filter_type
action find
entity Q7482504
relation P17
type Q15617994
[ANSWER]
['Q7482504', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7482504 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Le Touquet-Paris Plage Communal Cemetery
relation country
type designation for an administrative territorial entity
['Le Touquet-Paris Plage Communal Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Le_Touquet-Paris_Plage_Communal_Cemetery property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P138
Q34442 Q11028
USER
How many roads and information are named after Japan ?
(c(Q34442),P138,Q17) (c(Q11028),P138,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P138
type Q34442
action filter_type
action find_reverse
entity Q17
relation P138
type Q11028
[{'concept': 'Q34442'}, 'P138', 'Q17'] [{'concept': 'Q11028'}, 'P138', 'Q17']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { ?s property:P138 resource:Q17 . ?s rdf:type ontology:Q34442 } UNION { ?s rdf:type ontology:Q11028 . ?s property:P138 resource:Q17 } }
Japan
action count
action union
action filter_type
action find_reverse
entity Japan
relation named after
type road
action filter_type
action find_reverse
entity Japan
relation named after
type information
[{'concept': 'road'}, 'named after', 'Japan'] [{'concept': 'information'}, 'named after', 'Japan']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { ?s property:named_after resource:Japan . ?s rdf:type ontology:road } UNION { ?s rdf:type ontology:information . ?s property:named_after resource:Japan } }
[]
road information
SYSTEM
1 roads and 1 information
Q3452389 Q6159323
(c(Q34442),P138,Q17) (c(Q11028),P138,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P138
type Q34442
action filter_type
action find_reverse
entity Q17
relation P138
type Q11028
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q17'] [{'concept': 'Q11028'}, 'P138', 'Q17']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { ?s property:P138 resource:Q17 . ?s rdf:type ontology:Q34442 } UNION { ?s rdf:type ontology:Q11028 . ?s property:P138 resource:Q17 } }
rue du Japon Japonaiserie
1 roads and 1 information
action count
action union
action filter_type
action find_reverse
entity Japan
relation named after
type road
action filter_type
action find_reverse
entity Japan
relation named after
type information
[{'concept': 'road'}, 'named after', 'Japan'] [{'concept': 'information'}, 'named after', 'Japan']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { ?s property:named_after resource:Japan . ?s rdf:type ontology:road } UNION { ?s rdf:type ontology:information . ?s property:named_after resource:Japan } }
[]