Simple Question (Direct)
Simple Question
Q2360110
P54
Q1194951
USER
What is Hiromi Kojima a member of ?
(Q2360110,P54,c(Q1194951))
action filter_type
action find
entity Q2360110
relation P54
type Q1194951
['Q2360110', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q2360110 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Hiromi Kojima
action filter_type
action find
entity Hiromi Kojima
relation member of sports team
type national sports team
['Hiromi Kojima', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Hiromi_Kojima property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q170566
SYSTEM
Japan national football team
Q170566
(Q2360110,P54,c(Q1194951))
action filter_type
action find
entity Q2360110
relation P54
type Q1194951
Hiromi Kojima a member of is the [ANSWER]
['Q2360110', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q2360110 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Japan national football team
Hiromi Kojima a member of is the Japan national football team
Japan national football team
action filter_type
action find
entity Hiromi Kojima
relation member of sports team
type national sports team
['Hiromi Kojima', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Hiromi_Kojima property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170566
P1532
Q15617994
USER
Which administrative territory did that national sports team play for ?
(Q170566,P1532,c(Q15617994))
action filter_type
action find
entity Q170566
relation P1532
type Q15617994
['Q170566', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q170566 property:P1532 ?o . ?o rdf:type ontology:Q15617994 }
Japan national football team
action filter_type
action find
entity Japan national football team
relation country for sport
type designation for an administrative territorial entity
['Japan national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Japan_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q170566,P1532,c(Q15617994))
action filter_type
action find
entity Q170566
relation P1532
type Q15617994
That national sports team played in [ANSWER]
['Q170566', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q170566 property:P1532 ?o . ?o rdf:type ontology:Q15617994 }
Japan
That national sports team played in Japan
Japan
action filter_type
action find
entity Japan national football team
relation country for sport
type designation for an administrative territorial entity
['Japan national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Japan_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1071
Q15709879 Q201658
USER
How many artwork series and film genres have that administrative territory as their final place of assembly ?
(c(Q15709879),P1071,Q17) (c(Q201658),P1071,Q17) (c(Q15709879),P1071,Q17) (c(Q201658),P1071,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P1071
type Q15709879
action filter_type
action find_reverse
entity Q17
relation P1071
type Q201658
[{'concept': 'Q15709879'}, 'P1071', 'Q17'] [{'concept': 'Q201658'}, 'P1071', 'Q17'] [{'concept': 'Q15709879'}, 'P1071', 'Q17'] [{'concept': 'Q201658'}, 'P1071', 'Q17']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P1071 resource:Q17 . ?m rdf:type ontology:Q15709879 } UNION { ?m property:P1071 resource:Q17 . ?m rdf:type ontology:Q201658 } }
action count
action union
action filter_type
action find_reverse
entity Japan
relation location of final assembly
type artwork series
action filter_type
action find_reverse
entity Japan
relation location of final assembly
type film genre
[{'concept': 'artwork series'}, 'location of final assembly', 'Japan'] [{'concept': 'film genre'}, 'location of final assembly', 'Japan'] [{'concept': 'artwork series'}, 'location of final assembly', 'Japan'] [{'concept': 'film genre'}, 'location of final assembly', 'Japan']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:location_of_final_assembly resource:Japan . ?m rdf:type ontology:artwork_series } UNION { ?m property:location_of_final_assembly resource:Japan . ?m rdf:type ontology:film_genre } }
[]
artwork series film genre
SYSTEM
1 artwork series and 1 film genres
Q18627394 Q2525862
(c(Q15709879),P1071,Q17) (c(Q201658),P1071,Q17) (c(Q15709879),P1071,Q17) (c(Q201658),P1071,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P1071
type Q15709879
action filter_type
action find_reverse
entity Q17
relation P1071
type Q201658
[ANSWER]
[{'concept': 'Q15709879'}, 'P1071', 'Q17'] [{'concept': 'Q201658'}, 'P1071', 'Q17'] [{'concept': 'Q15709879'}, 'P1071', 'Q17'] [{'concept': 'Q201658'}, 'P1071', 'Q17']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P1071 resource:Q17 . ?m rdf:type ontology:Q15709879 } UNION { ?m property:P1071 resource:Q17 . ?m rdf:type ontology:Q201658 } }
Bruce Lee in G.O.D.: Shibôteki yûgi Thirty-six Views of Mount Fuji
1 artwork series and 1 film genres
action count
action union
action filter_type
action find_reverse
entity Japan
relation location of final assembly
type artwork series
action filter_type
action find_reverse
entity Japan
relation location of final assembly
type film genre
[{'concept': 'artwork series'}, 'location of final assembly', 'Japan'] [{'concept': 'film genre'}, 'location of final assembly', 'Japan'] [{'concept': 'artwork series'}, 'location of final assembly', 'Japan'] [{'concept': 'film genre'}, 'location of final assembly', 'Japan']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:location_of_final_assembly resource:Japan . ?m rdf:type ontology:artwork_series } UNION { ?m property:location_of_final_assembly resource:Japan . ?m rdf:type ontology:film_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P172
Q502895
USER
Which people have Germany as ethnic group ?
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?a WHERE { ?a property:P172 resource:Q183 . ?a rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?a WHERE { ?a property:ethnic_group resource:Germany . ?a rdf:type ontology:common_name }
[]
common name
Q63997 Q429919 Q30865
SYSTEM
Ken Adam, Philotheus Boehner, Eike Batista
Q26838019 Q63997 Q429919 Q16058601 Q6286878 Q30865
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[ANSWERS] have Germany as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?a WHERE { ?a property:P172 resource:Q183 . ?a rdf:type ontology:Q502895 }
Konrad Baumgarten Ken Adam Philotheus Boehner Wolf Traut Joseph Schipfer Eike Batista
Ken Adam, Philotheus Boehner and Eike Batista have Germany as ethnic group
Ken Adam Philotheus Boehner Eike Batista
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?a WHERE { ?a property:ethnic_group resource:Germany . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P183
Q16521
USER
Which taxon is endemic to Japan ?
(c(Q16521),P183,Q17)
action filter_type
action find_reverse
entity Q17
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q17']
SELECT DISTINCT ?w WHERE { ?w property:P183 resource:Q17 . ?w rdf:type ontology:Q16521 }
Japan
action filter_type
action find_reverse
entity Japan
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Japan']
SELECT DISTINCT ?w WHERE { ?w property:endemic_to resource:Japan . ?w rdf:type ontology:taxon }
[]
taxon
Q305923
SYSTEM
Hakuba salamander
Q305923
(c(Q16521),P183,Q17)
action filter_type
action find_reverse
entity Q17
relation P183
type Q16521
Species [ANSWER] is endemic to Japan
[{'concept': 'Q16521'}, 'P183', 'Q17']
SELECT DISTINCT ?w WHERE { ?w property:P183 resource:Q17 . ?w rdf:type ontology:Q16521 }
Hakuba salamander
Species Hakuba salamander is endemic to Japan
Hakuba salamander
action filter_type
action find_reverse
entity Japan
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Japan']
SELECT DISTINCT ?w WHERE { ?w property:endemic_to resource:Japan . ?w rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q63997
P69
Q2385804
USER
Where was Ken Adam educated ?
(Q63997,P69,c(Q2385804))
action filter_type
action find
entity Q63997
relation P69
type Q2385804
['Q63997', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2385804 . resource:Q63997 property:P69 ?h }
Ken Adam
action filter_type
action find
entity Ken Adam
relation educated at
type educational institution
['Ken Adam', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:educational_institution . resource:Ken_Adam property:educated_at ?h }
[]
educational institution
Q318186
SYSTEM
Französisches Gymnasium Berlin
Q318186
(Q63997,P69,c(Q2385804))
action filter_type
action find
entity Q63997
relation P69
type Q2385804
Ken Adam was educated at [ANSWER]
['Q63997', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2385804 . resource:Q63997 property:P69 ?h }
Französisches Gymnasium Berlin
Ken Adam was educated at Französisches Gymnasium Berlin
Französisches Gymnasium Berlin
action filter_type
action find
entity Ken Adam
relation educated at
type educational institution
['Ken Adam', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:educational_institution . resource:Ken_Adam property:educated_at ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q686046 Q63997
P69
Q2385804
USER
Or Alfred Belpaire?
OR((Q63997,P69,c(Q2385804)), (Q686046,P69,c(Q2385804)))
action filter_type
action union
action find
entity Q63997
relation P69
action find
entity Q686046
relation P69
type Q2385804
{'OR': [['Q63997', 'P69', {'concept': 'Q2385804'}], ['Q686046', 'P69', {'concept': 'Q2385804'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?a ) { ( resource:Q63997 ) ( resource:Q686046 ) } . ?a property:P69 ?n } . ?n rdf:type ontology:Q2385804 }
Alfred Belpaire Ken Adam
action filter_type
action union
action find
entity Ken Adam
relation educated at
action find
entity Alfred Belpaire
relation educated at
type educational institution
{'OR': [['Ken Adam', 'educated at', {'concept': 'educational institution'}], ['Alfred Belpaire', 'educated at', {'concept': 'educational institution'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?a ) { ( resource:Ken_Adam ) ( resource:Alfred_Belpaire ) } . ?a property:educated_at ?n } . ?n rdf:type ontology:educational_institution }
[]
educational institution
Q318186 Q273447
SYSTEM
Französisches Gymnasium Berlin, École Centrale Paris
Q318186 Q273447
OR((Q63997,P69,c(Q2385804)), (Q686046,P69,c(Q2385804)))
action filter_type
action union
action find
entity Q63997
relation P69
action find
entity Q686046
relation P69
type Q2385804
[ANSWERS]
{'OR': [['Q63997', 'P69', {'concept': 'Q2385804'}], ['Q686046', 'P69', {'concept': 'Q2385804'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?a ) { ( resource:Q63997 ) ( resource:Q686046 ) } . ?a property:P69 ?n } . ?n rdf:type ontology:Q2385804 }
Französisches Gymnasium Berlin École Centrale Paris
Französisches Gymnasium Berlin École Centrale Paris
action filter_type
action union
action find
entity Ken Adam
relation educated at
action find
entity Alfred Belpaire
relation educated at
type educational institution
{'OR': [['Ken Adam', 'educated at', {'concept': 'educational institution'}], ['Alfred Belpaire', 'educated at', {'concept': 'educational institution'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?a ) { ( resource:Ken_Adam ) ( resource:Alfred_Belpaire ) } . ?a property:educated_at ?n } . ?n rdf:type ontology:educational_institution }
[]